Rakefile in merb-mailer-0.9.5 vs Rakefile in merb-mailer-0.9.6
- old
+ new
@@ -15,11 +15,11 @@
GEM_AUTHOR = "Yehuda Katz"
GEM_EMAIL = "ykatz@engineyard.com"
GEM_NAME = "merb-mailer"
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
-GEM_VERSION = (Merb::MORE_VERSION rescue "0.9.5") + PKG_BUILD
+GEM_VERSION = (Merb::MORE_VERSION rescue "0.9.6") + PKG_BUILD
RELEASE_NAME = "REL #{GEM_VERSION}"
require "extlib/tasks/release"
@@ -33,11 +33,11 @@
s.summary = PROJECT_SUMMARY
s.description = PROJECT_DESCRIPTION
s.author = GEM_AUTHOR
s.email = GEM_EMAIL
s.homepage = PROJECT_URL
- s.add_dependency('merb-core', '>= 0.9.5')
+ s.add_dependency('merb-core', '>= 0.9.6')
s.add_dependency('mailfactory', '>= 1.2.3')
s.require_path = 'lib'
s.files = %w(LICENSE README.textile Rakefile TODO) + Dir.glob("{lib,spec}/**/*")
end
@@ -45,17 +45,17 @@
pkg.gem_spec = spec
end
desc "Install the gem"
task :install => [:package] do
- sh %{#{sudo} gem install #{install_home} pkg/#{GEM_NAME}-#{GEM_VERSION} --no-update-sources}
+ sh install_command(GEM_NAME, GEM_VERSION)
end
namespace :jruby do
desc "Run :package and install the resulting .gem with jruby"
task :install => :package do
- sh %{#{sudo} jruby -S gem install #{install_home} pkg/#{GEM_NAME}-#{GEM_VERSION}.gem --no-rdoc --no-ri}
+ sh jinstall_command(GEM_NAME, GEM_VERSION)
end
end
desc "Run all specs"