Skip to content

Commit

Permalink
prep for 2.6.0.rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Apr 18, 2011
1 parent 5e911bc commit 5eac31a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rspec/version.rb
@@ -1,5 +1,5 @@
module RSpec # :nodoc:
module Version # :nodoc:
STRING = '2.5.0'
STRING = '2.6.0.rc1'
end
end
6 changes: 5 additions & 1 deletion rspec.gemspec
Expand Up @@ -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.