Rakefile in FluxTuna-0.0.1 vs Rakefile in FluxTuna-0.0.3

- old
+ new

@@ -57,20 +57,12 @@ desc "Run all our tests" task :test do Rake::TestTask.new do |t| t.libs << "test" + t.pattern = "test/**/*_test.rb" t.verbose = false - - # List of files. We need to specifiy these explicity so they - # are loaded in the correct order: init, data, then the tests - # themselves - t.test_files = ["test/init_test.rb", - - "test/data/data_test.rb", - - "test/dir_walk/create_witness_test.rb"] end end ## Set testing as the default action task :default => :test @@ -91,10 +83,8 @@ task :before_release do # Update the HISTORY file `vclog history -f gnu > HISTORY` end -## Update the HISTORY file before a version bump -Rake::Task["version:bump:major"].enhance([:before_release]) -Rake::Task["version:bump:minor"].enhance([:before_release]) -Rake::Task["version:bump:patch"].enhance([:before_release]) +## Extend the default (Jeweler) 'release' task +Rake::Task[:release].enhance([:before_release]) \ No newline at end of file