Permalink
Browse files

include 3 parts in gem dep

  • Loading branch information...
1 parent e806890 commit 37b371ad6e0b842b5051df5e375dabd225df0446 @dchelimsky dchelimsky committed Nov 29, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 rspec.gemspec
View
@@ -24,6 +24,6 @@ Gem::Specification.new do |s|
s.require_path = "lib"
%w[core expectations mocks].each do |name|
- s.add_runtime_dependency "rspec-#{name}", "~> #{RSpec::Version::STRING.split('.')[0..1].join('.')}"
+ s.add_runtime_dependency "rspec-#{name}", "~> #{RSpec::Version::STRING.split('.')[0..1].concat(['0']).join('.')}"
end
end

0 comments on commit 37b371a

Please sign in to comment.