lib/tasks/release.rake in spree-0.0.9 vs lib/tasks/release.rake in spree-0.2.0
- old
+ new
@@ -13,11 +13,11 @@
RELEASE_NAME = PKG_VERSION
RUBY_FORGE_GROUPID = '5614'
RUBY_FORGE_PACKAGEID = '7123'
RDOC_TITLE = "Spree -- Complete Commerce Solution for Ruby on Rails"
-RDOC_EXTRAS = ["README", "CONTRIBUTORS", "CHANGELOG", "INSTALL", "LICENSE"]
+RDOC_EXTRAS = ["README.markdown", "CONTRIBUTORS", "CHANGELOG", "INSTALL", "LICENSE"]
namespace 'spree' do
spec = Gem::Specification.new do |s|
s.name = PKG_NAME
s.version = PKG_VERSION
@@ -29,15 +29,12 @@
s.rubyforge_project = RUBY_FORGE_PROJECT
s.platform = Gem::Platform::RUBY
s.bindir = 'bin'
s.executables = (Dir['bin/*'] + Dir['scripts/*']).map { |file| File.basename(file) }
s.add_dependency 'rake', '>= 0.7.1'
- s.add_dependency 'activemerchant', '>= 1.2.1'
s.add_dependency 'has_many_polymorphs', '>= 2.12'
s.add_dependency 'highline', '>=1.4.0'
- s.add_dependency 'mini_magick', '>=1.2.3'
- s.add_dependency 'rspec', '=1.1.3'
s.autorequire = 'spree'
s.has_rdoc = true
#s.rdoc_options << '--title' << RDOC_TITLE << '--line-numbers' << '--main' << 'README'
rdoc_excludes = Dir["**"].reject { |f| !File.directory? f }
rdoc_excludes.each do |e|
@@ -85,10 +82,10 @@
end
end
desc "Publish the release files to RubyForge."
task :release => [:gem, :package] do
- files = ["gem", "tgz", "zip"].map { |ext| "pkg/#{PKG_FILE_NAME}.#{ext}" }
+ files = ["gem", "tgz"].map { |ext| "pkg/#{PKG_FILE_NAME}.#{ext}" }
system %{rubyforge login --username #{RUBY_FORGE_USER}}
files.each do |file|
system %{rubyforge add_release #{RUBY_FORGE_GROUPID} #{RUBY_FORGE_PACKAGEID} "#{RELEASE_NAME}" #{file}}