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

105 lines
2.7 KiB
Text
Raw Normal View History

2017-09-17 19:10:00 -04:00
# Note: All of the dependencies here were obtained by running `rails new` with
# various versions of Rails and copying lines from the generated Gemfile. It's
# best to keep the gems here in the same order as they're listed there so you
# can compare them more easily.
shared_jruby_dependencies = proc do
gem 'activerecord-jdbc-adapter', platform: :jruby
gem 'activerecord-jdbcsqlite3-adapter', platform: :jruby
gem 'jdbc-sqlite3', platform: :jruby
gem 'jruby-openssl', platform: :jruby
gem 'therubyrhino', platform: :jruby
end
2017-09-17 19:10:00 -04:00
shared_rails_dependencies = proc do
gem 'sqlite3', platform: :ruby
gem 'pg', platform: :ruby
end
shared_spring_dependencies = proc do
gem 'spring'
gem 'spring-commands-rspec'
end
2017-09-17 19:10:00 -04:00
shared_test_dependencies = proc do
gem 'minitest-reporters'
# gem 'nokogiri', '~> 1.8'
gem 'rspec-rails', '~> 3.6'
gem 'shoulda-context', '~> 1.2.0'
end
shared_dependencies = proc do
instance_eval(&shared_jruby_dependencies)
instance_eval(&shared_rails_dependencies)
instance_eval(&shared_spring_dependencies)
instance_eval(&shared_test_dependencies)
end
appraise 'rails_4_2' do
instance_eval(&shared_dependencies)
2017-09-17 19:10:00 -04:00
2019-03-17 18:44:06 -04:00
gem 'rails', '~> 4.2.11.1'
gem 'sass-rails', '~> 5.0'
2017-09-17 20:18:50 -04:00
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.1.0'
2017-09-17 20:18:50 -04:00
gem 'jquery-rails'
gem 'turbolinks'
gem 'jbuilder', '~> 2.0'
2017-09-17 20:18:50 -04:00
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'bcrypt', '~> 3.1.7'
2017-09-17 20:18:50 -04:00
# Other dependencies we use
gem 'activeresource', '4.0.0'
gem 'json', '~> 1.4'
2017-09-17 19:10:00 -04:00
gem 'protected_attributes', '~> 1.0.6'
end
appraise 'rails_5_0' do
instance_eval(&shared_dependencies)
2017-09-17 19:10:00 -04:00
2019-03-17 18:44:06 -04:00
gem 'rails', '~> 5.0.7.2'
gem 'rails-controller-testing', '>= 1.0.1'
2017-07-25 02:13:17 -04:00
gem 'puma', '~> 3.0'
gem 'sass-rails', '~> 5.0'
gem 'jquery-rails'
gem 'turbolinks', '~> 5'
gem 'jbuilder', '~> 2.5'
gem 'bcrypt', '~> 3.1.7'
gem 'listen', '~> 3.0.5'
2017-07-25 02:13:17 -04:00
gem 'spring-watcher-listen', '~> 2.0.0'
2017-09-17 19:10:00 -04:00
end
appraise 'rails_5_1' do
2017-09-17 19:10:00 -04:00
instance_eval(&shared_dependencies)
2019-03-17 18:44:06 -04:00
gem 'rails', '~> 5.1.6.2'
2017-09-17 19:10:00 -04:00
gem 'rails-controller-testing', '>= 1.0.1'
gem 'puma', '~> 3.7'
gem 'sass-rails', '~> 5.0'
gem 'turbolinks', '~> 5'
gem 'jbuilder', '~> 2.5'
gem 'bcrypt', '~> 3.1.7'
gem 'capybara', '~> 2.13'
gem 'selenium-webdriver'
2017-09-17 19:10:00 -04:00
gem 'listen', '>= 3.0.5', '< 3.2'
gem 'spring-watcher-listen', '~> 2.0.0'
2016-09-03 23:31:40 -04:00
end
appraise 'rails_5_2' do
instance_eval(&shared_dependencies)
2019-03-17 18:44:06 -04:00
gem 'rails', '~> 5.2.2.1'
gem 'rails-controller-testing', '>= 1.0.1'
gem 'puma', '~> 3.11'
gem 'bootsnap', '>= 1.1.0', require: false
gem 'sass-rails', '~> 5.0'
gem 'turbolinks', '~> 5'
gem 'jbuilder', '~> 2.5'
gem 'bcrypt', '~> 3.1.7'
gem 'capybara', '~> 3.1.1'
gem 'selenium-webdriver'
gem 'chromedriver-helper'
gem 'listen', '>= 3.0.5', '< 3.2'
gem 'spring-watcher-listen', '~> 2.0.0'
end