Skip to content

Commit

Permalink
bump to 2.7.0.rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Oct 9, 2011
1 parent 4a1cb78 commit aea643f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/rspec/rails/version.rb
Original file line number Diff line number Diff line change
@@ -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
8 changes: 4 additions & 4 deletions rspec-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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.