Permalink
Browse files

prep for 2.6.0.rc1

  • Loading branch information...
1 parent 5e911bc commit 5eac31a14bc846fac6820cbb3cc9f89f83245740 @dchelimsky dchelimsky committed Apr 18, 2011
Showing with 6 additions and 2 deletions.
  1. +1 −1 lib/rspec/version.rb
  2. +5 −1 rspec.gemspec
View
@@ -1,5 +1,5 @@
module RSpec # :nodoc:
module Version # :nodoc:
- STRING = '2.5.0'
+ STRING = '2.6.0.rc1'
end
end
View
@@ -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

0 comments on commit 5eac31a

Please sign in to comment.