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