Rakefile in bait-0.5.12 vs Rakefile in bait-0.5.13

- old
+ new

@@ -33,28 +33,28 @@ end namespace :gem do task :build do `bundle install` + Rake::Task['assets:precompile'].invoke Rake::Task['git:dirty'].invoke if !git_master? puts "I'll only build the gem on the master branch" else puts "On master branch, running test suite; please wait." `rspec spec` if $?.exitstatus != 0 puts "Uhh.. you have failing specs -- not building the gem" else puts "Specs pass. you're ready" - Rake::Task['assets:precompile'].invoke Rake::Task['git:dirty'].invoke puts `gem build bait.gemspec` puts "Done! You can gem push that now" end end end - task :push => :build do + task :publish => :build do require "bait/version" gem = "bait-#{Bait::VERSION}.gem" if File.exists?(gem) begin puts "Press any key to push to Rubygems"