1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
thoughtbot--shoulda-matchers/Appraisals
2013-12-18 22:32:28 -07:00

45 lines
855 B
Ruby

rails_4_0 = proc do
gem 'jquery-rails'
gem 'activeresource', '4.0.0'
# Test suite makes heavy use of attr_accessible
gem 'protected_attributes'
end
#---
if RUBY_VERSION < '2.0'
appraise '3.0' do
gem 'rails', '~> 3.0.17'
gem 'strong_parameters'
end
appraise '3.1' do
gem 'rails', '~> 3.1.8'
gem 'bcrypt-ruby', '~> 3.0.0'
gem 'jquery-rails'
gem 'sass-rails'
gem 'strong_parameters'
end
end
appraise '3.2' do
gem 'rails', '~> 3.2.13'
gem 'bcrypt-ruby', '~> 3.0.0'
gem 'jquery-rails'
gem 'sass-rails'
gem 'strong_parameters'
end
appraise '4.0.0' do
instance_eval(&rails_4_0)
gem 'rails', '4.0.0'
gem 'sass-rails', '4.0.0'
gem 'bcrypt-ruby', '~> 3.0.0'
end
appraise '4.0.1' do
instance_eval(&rails_4_0)
gem 'rails', '4.0.1'
gem 'sass-rails', '4.0.1'
gem 'bcrypt-ruby', '~> 3.1.2'
end