Rakefile in merb_helpers-0.9.5 vs Rakefile in merb_helpers-0.9.6
- old
+ new
@@ -16,11 +16,11 @@
GEM_AUTHOR = "Yehuda Katz"
GEM_EMAIL = "ykatz@engineyard.com"
GEM_NAME = "merb_helpers"
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"
@@ -34,11 +34,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.require_path = 'lib'
s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib,specs}/**/*")
end
Rake::GemPackageTask.new(spec) do |pkg|
@@ -48,16 +48,16 @@
##############################################################################
# Installation
##############################################################################
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
##############################################################################
# Specs