Permalink
Browse files

Do not add rspec as dependency twice on the remarkble core gemspec.

  • Loading branch information...
1 parent afdf127 commit 95c851c28cc20b27789d70ad2df948bc75974e46 @josevalim josevalim committed May 21, 2009
Showing with 2 additions and 4 deletions.
  1. +1 −1 rake_helpers.rb
  2. +1 −3 remarkable/Rakefile
View
@@ -33,7 +33,7 @@ def self.configure_gemspec!
s.files = EXTRA_RDOC_FILES + Dir.glob("{lib,locale}/**/*")
s.test_files = Dir.glob("spec/**/*")
s.add_dependency('rspec', ">= #{RSPEC_VERSION}")
- yield s
+ yield s if block_given?
end
Rake::GemPackageTask.new($spec) do |pkg|
View
@@ -11,9 +11,7 @@ require File.join(File.dirname(__FILE__), "..", "rake_helpers.rb")
########### Package && release
-configure_gemspec! do |s|
- s.add_dependency('rspec', ">= #{RSPEC_VERSION}")
-end
+configure_gemspec!
########### Specs

0 comments on commit 95c851c

Please sign in to comment.