Rakefile in spreedly-1.3.0 vs Rakefile in spreedly-1.3.1
- old
+ new
@@ -1,17 +1,15 @@
require 'hoe'
require './lib/spreedly/version.rb'
ENV["COPYFILE_DISABLE"] = "true" # Lose all the fugly ._ files when tar'ing
-hoe = nil
-Hoe.new('spreedly', Spreedly::VERSION) do |project|
- hoe = project
- project.rubyforge_name = 'terralien'
- project.developer('Nathaniel Talbott', 'nathaniel@terralien.com')
- project.test_globs = ["test/**/*_test.rb"]
- project.extra_deps = ["mechanize"]
- project.extra_dev_deps = ["thoughtbot-shoulda"]
+hoe = Hoe.spec('spreedly') do
+ developer('Nathaniel Talbott', 'nathaniel@terralien.com')
+ self.rubyforge_name = 'terralien'
+ self.test_globs = ["test/**/*_test.rb"]
+ self.extra_deps << ["mechanize"]
+ self.extra_dev_deps << ["thoughtbot-shoulda"]
end
def remove_task(*task_names)
task_names.each do |task_name|
Rake.application.instance_eval{@tasks.delete(task_name.to_s)}
\ No newline at end of file