Rakefile in heimdallr-1.0.0.RC2 vs Rakefile in heimdallr-1.0.0

- old
+ new

@@ -1,21 +1,7 @@ -require "bundler/gem_tasks" +require 'bundler/gem_tasks' +require 'rspec/core/rake_task' -Dir.chdir File.dirname(__FILE__) +RSpec::Core::RakeTask.new(:spec) -gemspec = Bundler.load_gemspec Dir["{,*}.gemspec"].first - -task :release => :prepare_for_release - -task :prepare_for_release do - readme = File.read('README.yard.md') - readme.gsub! /{([[:alnum:]:]+)}/i do |match| - %Q|[#{$1}](http://rubydoc.info/gems/#{gemspec.name}/#{gemspec.version}/#{$1.gsub '::', '/'})| - end - - File.open('README.md', 'w') do |f| - f.write readme - end - - %x|git add README.md| - #%x|git commit -m "Bump version to #{gemspec.version}."| -end +desc "Default: run the unit tests." +task :default => [:spec] \ No newline at end of file