Feature/docs upgrade guides 2 (#12025)
[spree.git] / common_spree_dependencies.rb
blob306849980699d0c428c4fda7d6c01f0d7f4b3ef4
1 # By placing all of Spree's shared dependencies in this file and then loading
2 # it for each component's Gemfile, we can be sure that we're only testing just
3 # the one component of Spree.
4 source 'https://rubygems.org'
6 gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
8 %w[
9   actionmailer actionpack actionview activejob activemodel activerecord
10   activestorage activesupport railties
11 ].each do |rails_gem|
12   gem rails_gem, ENV.fetch('RAILS_VERSION', '~> 7.1.0'), require: false
13 end
15 platforms :jruby do
16   gem 'jruby-openssl'
17 end
19 platforms :ruby do
20   if ENV['DB'] == 'mysql'
21     gem 'mysql2'
22   elsif ENV['DB'] == 'postgres'
23     gem 'pg'
24   else
25     gem 'sqlite3', '~> 1.4'
26   end
27 end
29 gem 'sprockets-rails', '>= 2.0.0'
31 group :test do
32   gem 'capybara'
33   gem 'capybara-screenshot'
34   gem 'capybara-select-2'
35   gem 'database_cleaner-active_record'
36   gem 'email_spec'
37   gem 'factory_bot_rails', '~> 6.2.0'
38   gem 'multi_json'
39   gem 'rspec-activemodel-mocks'
40   gem 'rspec-rails'
41   gem 'rspec-retry'
42   gem 'rspec_junit_formatter'
43   gem 'rswag-specs'
44   gem 'jsonapi-rspec'
45   gem 'simplecov'
46   gem 'webmock'
47   gem 'timecop'
48   gem 'rails-controller-testing'
49 end
51 group :test, :development do
52   gem 'awesome_print'
53   gem 'brakeman'
54   gem 'gem-release'
55   gem 'i18n-tasks'
56   gem 'rubocop', '~> 1.0', require: false
57   gem 'rubocop-rspec', require: false
58   gem 'pry-byebug'
59   gem 'puma'
60   gem 'ffaker'
61 end
63 group :development do
64   # gem 'github_fast_changelog'
65   gem 'solargraph'
66 end