Rakefile in ripple-0.7.1 vs Rakefile in ripple-0.8.0.beta
- old
+ new
@@ -9,14 +9,14 @@
gem.description = %Q{ripple is an object-mapper library for Riak, the distributed database by Basho. It uses ActiveModel to provide an experience that integrates well with Rails 3 applications.}
gem.version = version
gem.email = "seancribbs@gmail.com"
gem.homepage = "http://seancribbs.github.com/ripple"
gem.authors = ["Sean Cribbs"]
- gem.add_development_dependency "rspec", "~>2.0.0.beta.6"
+ gem.add_development_dependency "rspec", "~>2.0.0.beta.18"
gem.add_dependency "riak-client", version
- gem.add_dependency "activesupport", "3.0.0.beta3"
- gem.add_dependency "activemodel", "3.0.0.beta3"
+ gem.add_dependency "activesupport", "3.0.0.rc2"
+ gem.add_dependency "activemodel", "3.0.0.rc2"
files = FileList["**/*"]
files.exclude /\.DS_Store/
files.exclude /\#/
files.exclude /~/
@@ -24,10 +24,11 @@
files.exclude '**/._*'
files.exclude '**/*.orig'
files.exclude '**/*.rej'
files.exclude /^pkg/
files.exclude 'ripple.gemspec'
+ files.exclude 'Gemfile'
gem.files = files.to_a
gem.test_files = FileList["spec/**/*.rb"].to_a
end
@@ -46,10 +47,10 @@
File.open("#{gemspec.name}.gemspec", 'w'){|f| f.write gemspec.to_ruby }
end
desc %{Release the gem to RubyGems.org}
task :release => :gem do
- "gem push pkg/#{gemspec.name}-#{gemspec.version}.gem"
+ system "gem push pkg/#{gemspec.name}-#{gemspec.version}.gem"
end
require 'rspec/core'
require 'rspec/core/rake_task'