Rakefile in bbcoder-1.0.0 vs Rakefile in bbcoder-1.0.1

- old
+ new

@@ -2,16 +2,17 @@ Bundler.setup require "rspec" require "rspec/core/rake_task" -Rspec::Core::RakeTask.new(:spec) +RSpec::Core::RakeTask.new(:spec) gemspec = eval(File.read(File.join(Dir.pwd, "bbcoder.gemspec"))) task :build => "#{gemspec.full_name}.gem" task :test => :spec +task :default => :spec file "#{gemspec.full_name}.gem" => gemspec.files + ["bbcoder.gemspec"] do system "gem build bbcoder.gemspec" system "gem install bbcoder-#{BBCoder::VERSION}.gem" end