Rakefile in trop-0.0.1 vs Rakefile in trop-0.0.12

- old
+ new

@@ -1,7 +1,8 @@ require 'rubygems' require 'bundler' +require "bundler_geminabox/gem_tasks" begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e warn e.message warn 'Run `bundle install` to install missing gems' @@ -36,15 +37,14 @@ ENV['COVERAGE'] = 'true' Rake::Task['test'].execute end task default: :test - -require 'rdoc/task' -Rake::RDocTask.new do |rdoc| - version = File.exist?('VERSION') ? File.read('VERSION') : '' - - rdoc.rdoc_dir = 'rdoc' - rdoc.title = "trop #{version}" - rdoc.rdoc_files.include('README*') - rdoc.rdoc_files.include('lib/**/*.rb') + +task :next do + Rake::Task['version:bump:patch'].invoke + Rake::Task['gemspec'].invoke + Rake::Task[:clobber].invoke + `git save` + Rake::Task[:release].invoke('origin') + Rake::Task[:build].invoke end