Sha256: afeda4e4871a6a9f6cbbf575b486a792a31a8bae6bda06f665388db9643f663a

Contents?: true

Size: 889 Bytes

Versions: 11

Compression:

Stored size: 889 Bytes

Contents

require 'hoe'

@config_file = "~/.rubyforge/user-config.yml"
@config = nil
RUBYFORGE_USERNAME = "unknown"
def rubyforge_username
  unless @config
    begin
      @config = YAML.load(File.read(File.expand_path(@config_file)))
    rescue
      puts <<-EOS
ERROR: No rubyforge config file found: #{@config_file}
Run 'rubyforge setup' to prepare your env for access to Rubyforge
 - See http://newgem.rubyforge.org/rubyforge.html for more details
      EOS
      exit
    end
  end
  RUBYFORGE_USERNAME.replace @config["username"]
end

hoe = Hoe.new(GEM_NAME, GEM_VERSION) do |p|

  p.developer(AUTHOR, EMAIL)

  p.description = PROJECT_DESCRIPTION
  p.summary = PROJECT_SUMMARY
  p.url = PROJECT_URL

  p.rubyforge_name = PROJECT_NAME if PROJECT_NAME

  p.clean_globs |= GEM_CLEAN
  p.spec_extras = GEM_EXTRAS if GEM_EXTRAS

  GEM_DEPENDENCIES.each do |dep|
    p.extra_deps << dep
  end

end

Version data entries

11 entries across 11 versions & 4 rubygems

Version Path
dm-taggings-1.0.2 tasks/hoe.rb
dm-taggings-1.0.1 tasks/hoe.rb
dm-taggings-1.0.0 tasks/hoe.rb
dm-taggings-0.11.0 tasks/hoe.rb
dm-fasten-the-seat-belt-0.9.11 tasks/hoe.rb
dm-fasten-the-seat-belt-0.9.9 tasks/hoe.rb
dm-is-taggable-0.9.11 tasks/hoe.rb
dm-is-taggable-0.9.7 tasks/hoe.rb
dm-is-taggable-0.9.9 tasks/hoe.rb
dm-is-taggable-0.9.8 tasks/hoe.rb
extlib-0.9.3 tasks/hoe.rb