Rakefile in eycap-0.5.23 vs Rakefile in eycap-0.6.0

- old
+ new

@@ -1,33 +1,2 @@ -require 'rubygems' -require 'hoe' -require './lib/eycap' - -Hoe.new('eycap', Eycap::VERSION) do |p| - p.author = 'Engine Yard' - p.email = 'appsupport@engineyard.com' - p.summary = 'Capistrano tasks for Engine Yard private cloud slices' - p.description = 'A bunch of useful recipes to help deployment to Engine Yard private cloud slices' - p.url = 'http://github.com/engineyard/eycap' - p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n") - p.extra_deps << ['capistrano', '>= 2.2.0'] -end - -desc "Open an irb session preloaded with this library" -task :console do - sh "irb -rubygems -r ./lib/eycap.rb" -end - -task :coverage do - system("rm -fr coverage") - system("rcov test/test_*.rb") - system("open coverage/index.html") -end - -desc "Upload site to Rubyforge" -task :site do -end - -desc 'Install the package as a gem.' -task :install_gem_no_doc => [:clean, :package] do - sh "#{'sudo ' unless Hoe::WINDOZE}gem install --local --no-rdoc --no-ri pkg/*.gem" -end +require 'bundler' +Bundler::GemHelper.install_tasks \ No newline at end of file