2013-12-01 17:57:03 -05:00
|
|
|
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
|
|
|
|
|
|
|
|
#---
|
|
|
|
|
2013-03-15 16:52:55 -04:00
|
|
|
if RUBY_VERSION < '2.0'
|
|
|
|
appraise '3.0' do
|
|
|
|
gem 'rails', '~> 3.0.17'
|
2013-05-10 13:13:48 -04:00
|
|
|
gem 'strong_parameters'
|
2013-03-15 16:52:55 -04:00
|
|
|
end
|
2011-05-25 14:38:07 -04:00
|
|
|
|
2013-03-15 16:52:55 -04:00
|
|
|
appraise '3.1' do
|
|
|
|
gem 'rails', '~> 3.1.8'
|
2013-08-18 13:17:19 -04:00
|
|
|
gem 'bcrypt-ruby', '~> 3.0.0'
|
2013-03-15 16:52:55 -04:00
|
|
|
gem 'jquery-rails'
|
|
|
|
gem 'sass-rails'
|
2013-05-10 13:13:48 -04:00
|
|
|
gem 'strong_parameters'
|
2013-03-15 16:52:55 -04:00
|
|
|
end
|
2011-05-25 14:38:07 -04:00
|
|
|
end
|
2012-03-09 10:53:23 -05:00
|
|
|
|
|
|
|
appraise '3.2' do
|
2013-03-15 16:52:55 -04:00
|
|
|
gem 'rails', '~> 3.2.13'
|
2013-08-18 13:17:19 -04:00
|
|
|
gem 'bcrypt-ruby', '~> 3.0.0'
|
2012-03-09 10:53:23 -05:00
|
|
|
gem 'jquery-rails'
|
|
|
|
gem 'sass-rails'
|
2013-05-10 13:13:48 -04:00
|
|
|
gem 'strong_parameters'
|
|
|
|
end
|
|
|
|
|
2013-12-01 17:57:03 -05:00
|
|
|
appraise '4.0.0' do
|
|
|
|
instance_eval(&rails_4_0)
|
2013-05-10 13:13:48 -04:00
|
|
|
gem 'rails', '4.0.0'
|
2013-12-01 17:57:03 -05:00
|
|
|
gem 'sass-rails', '4.0.0'
|
|
|
|
gem 'bcrypt-ruby', '~> 3.0.0'
|
|
|
|
end
|
2013-05-10 13:13:48 -04:00
|
|
|
|
2013-12-01 17:57:03 -05:00
|
|
|
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'
|
2012-03-09 10:53:23 -05:00
|
|
|
end
|
2013-12-31 14:54:21 -05:00
|
|
|
|
|
|
|
appraise '4.1' do
|
|
|
|
instance_eval(&rails_4_0)
|
|
|
|
gem 'rails', '~> 4.1.0'
|
|
|
|
gem 'sass-rails', '4.0.3'
|
|
|
|
gem 'bcrypt-ruby', '~> 3.1.2'
|
|
|
|
gem "protected_attributes", '~> 1.0.6'
|
|
|
|
end
|