Rakefile in rubyforge-1.0.3 vs Rakefile in rubyforge-1.0.4
- old
+ new
@@ -1,29 +1,21 @@
# -*- ruby -*-
-$:.unshift 'lib'
-require 'rubyforge'
+require 'rubygems'
+require 'hoe'
-begin
- require 'hoe'
-rescue LoadError
- abort "ERROR: This Rakefile is only useful with hoe installed.
- If you're trying to install the rubyforge library,
- please install it via rubygems."
-end
-
abort "you _must_ install this gem to release it" if
ENV['VERSION'] && ENV['VERSION'] != RubyForge::VERSION
-Hoe.new("rubyforge", RubyForge::VERSION) do |rubyforge|
- rubyforge.rubyforge_name = "codeforpeople"
- rubyforge.need_tar = false
+Hoe.spec "rubyforge" do
+ developer 'Ryan Davis', 'ryand-ruby@zenspider.com'
+ developer 'Eric Hodel', 'drbrain@segment7.net'
+ developer 'Ara T Howard', 'ara.t.howard@gmail.com'
- rubyforge.developer('Ryan Davis', 'ryand-ruby@zenspider.com')
- rubyforge.developer('Eric Hodel', 'drbrain@segment7.net')
- rubyforge.developer('Ara T Howard', 'ara.t.howard@gmail.com')
+ multiruby_skip << "rubinius"
- rubyforge.multiruby_skip << "rubinius"
+ self.rubyforge_name = "codeforpeople"
+ self.need_tar = false
end
task :backup do
Dir.chdir File.expand_path("~/.rubyforge") do
cp "user-config.yml", "user-config.yml.bak"