Rakefile in autotest-notification-2.2.1 vs Rakefile in autotest-notification-2.3.0
- old
+ new
@@ -1,4 +1,26 @@
-require 'config/requirements'
-require 'config/hoe' # setup Hoe + all gem configuration
+require 'rubygems'
+gem 'hoe', '>= 2.1.0'
+require 'hoe'
+require 'fileutils'
+require './lib/autotest_notification.rb'
-Dir['tasks/**/*.rake'].each { |rake| load rake }
\ No newline at end of file
+Hoe.plugin :newgem
+# Hoe.plugin :website
+# Hoe.plugin :cucumberfeatures
+
+# Generate all the Rake tasks
+# Run 'rake -T' to see list of generated tasks (from gem root directory)
+$hoe = Hoe.spec 'autotest-notification.rb' do
+ self.developer 'Carlos Brando', 'eduardobrando@gmail.com'
+ self.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
+ self.rubyforge_name = self.name # TODO this is default value
+ self.extra_deps = [['autotest','~> 4.3']]
+
+end
+
+require 'newgem/tasks'
+Dir['tasks/**/*.rake'].each { |t| load t }
+
+# TODO - want other tests/tasks run by default? Add them to the list
+# remove_task :default
+# task :default => [:spec, :features]