1
0
Fork 0
mirror of https://github.com/rspec/rspec-metagem.git synced 2022-11-09 12:09:29 -05:00

prep for 2.6.0.rc1

This commit is contained in:
David Chelimsky 2011-04-17 19:00:14 -05:00
parent 5e911bc4e9
commit 5eac31a14b
2 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,5 @@
module RSpec # :nodoc:
module Version # :nodoc:
STRING = '2.5.0'
STRING = '2.6.0.rc1'
end
end

View file

@ -24,6 +24,10 @@ 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].concat(['0']).join('.')}"
if RSpec::Version::STRING =~ /[a-zA-Z]+/
s.add_runtime_dependency "rspec-#{name}", "= #{RSpec::Version::STRING}"
else
s.add_runtime_dependency "rspec-#{name}", "~> #{RSpec::Version::STRING.split('.')[0..1].concat(['0']).join('.')}"
end
end
end