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:
parent
5e911bc4e9
commit
5eac31a14b
2 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
module RSpec # :nodoc:
|
||||
module Version # :nodoc:
|
||||
STRING = '2.5.0'
|
||||
STRING = '2.6.0.rc1'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue