Skip to content

Commit a702d01

Browse files
Merge branch 'gjmurakami-10gen-1.x-stable-shoulda-matchers' into 1.x-stable
2 parents 698e75d + 176d99a commit a702d01

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Gemfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@ group :testing do
2121
gem 'test-unit'
2222
gem 'mocha', ">=0.13.0", :require => 'mocha/setup'
2323
gem 'shoulda', ">=3.3.2"
24-
gem 'shoulda-matchers', '~>1.0'
25-
24+
if RUBY_VERSION >= '1.9.2'
25+
gem 'shoulda-matchers', '~>2.0'
26+
else
27+
gem 'shoulda-matchers', '~>1.0'
28+
end
2629
gem 'sfl'
2730
if RUBY_VERSION > '1.8.7' || RUBY_PLATFORM =~ /java/
2831
gem 'coveralls', :require => false

0 commit comments

Comments
 (0)