Rakefile in merb_screw_unit-0.9.5 vs Rakefile in merb_screw_unit-0.9.6
- old
+ new
@@ -16,11 +16,11 @@
GEM_AUTHOR = "Yehuda Katz"
GEM_EMAIL = "ykatz@engineyard.com"
GEM_NAME = "merb_screw_unit"
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,12 +34,12 @@
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-slices', '>= 0.9.5')
+ s.add_dependency('merb-core', '>= 0.9.6')
+ s.add_dependency('merb-slices', '>= 0.9.6')
s.require_path = 'lib'
s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib,spec,app,public,stubs}/**/*")
end
Rake::GemPackageTask.new(spec) do |pkg|
@@ -57,14 +57,14 @@
# 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
"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