Permalink
Browse files

bump to 2.7.0.rc1

  • Loading branch information...
1 parent 4a1cb78 commit aea643f3a4018ae4e4272a13509e1b00ffadc54a @dchelimsky dchelimsky committed Oct 9, 2011
Showing with 8 additions and 6 deletions.
  1. +3 −1 Changelog.md
  2. +1 −1 lib/rspec/rails/version.rb
  3. +4 −4 rspec-rails.gemspec
View
@@ -1,4 +1,6 @@
-### dev
+### 2.7.0.rc1 / 2011-10-09
+
+[full changelog](http://github.com/rspec/rspec-rails/compare/v2.6.1...v2.7.0.rc1)
* Enhancments
* ActiveRecord::Relation can use the "=~" matcher (Andy Lindeman)
@@ -1,7 +1,7 @@
module RSpec # :nodoc:
module Rails # :nodoc:
module Version # :nodoc:
- STRING = '2.6.1'
+ STRING = '2.7.0.rc1'
end
end
end
View
@@ -23,10 +23,10 @@ Gem::Specification.new do |s|
s.add_runtime_dependency(%q<activesupport>, ["~> 3.0"])
s.add_runtime_dependency(%q<actionpack>, ["~> 3.0"])
s.add_runtime_dependency(%q<railties>, ["~> 3.0"])
- # if RSpec::Rails::Version::STRING =~ /[a-zA-Z]+/
- # s.add_runtime_dependency "rspec", "= #{RSpec::Rails::Version::STRING}"
- # else
+ if RSpec::Rails::Version::STRING =~ /[a-zA-Z]+/ # prerelease builds
+ s.add_runtime_dependency "rspec", "= #{RSpec::Rails::Version::STRING}"
+ else
s.add_runtime_dependency "rspec", "~> #{RSpec::Rails::Version::STRING.split('.')[0..1].concat(['0']).join('.')}"
- # end
+ end
end

0 comments on commit aea643f

Please sign in to comment.