@@ -7,40 +7,26 @@ branch = ENV.fetch('SOLIDUS_BRANCH', 'main')
77gem 'solidus' , github : 'solidusio/solidus' , branch : branch
88
99# The solidus_frontend gem has been pulled out since v3.2
10- if branch >= 'v3.2'
11- gem 'solidus_frontend'
12- elsif branch == 'main'
13- gem 'solidus_frontend' , github : 'solidusio/solidus_frontend'
14- else
15- gem 'solidus_frontend' , github : 'solidusio/solidus' , branch : branch
16- end
17-
18- # Needed to help Bundler figure out how to resolve dependencies,
19- # otherwise it takes forever to resolve them.
20- # See https://github.com/bundler/bundler/issues/6677
21- gem 'rails' , '>0.a'
10+ gem 'solidus_frontend'
2211
23- # Provides basic authentication functionality for testing parts of your engine
24- gem 'solidus_auth_devise'
12+ rails_version = ENV . fetch ( 'RAILS_VERSION' , '7.2' )
13+ gem 'rails' , "~> #{ rails_version } "
2514
2615case ENV [ 'DB' ]
2716when 'mysql'
2817 gem 'mysql2'
2918when 'postgresql'
3019 gem 'pg'
3120else
32- gem 'sqlite3'
21+ if rails_version <= "7.2"
22+ gem 'sqlite3' , "~> 1.7"
23+ else
24+ gem 'sqlite3' , "~> 2.0"
25+ end
3326end
3427
3528gemspec
3629
37- if Gem ::Version . new ( RUBY_VERSION ) >= Gem ::Version . new ( '3' )
38- # Fix for Rails 7+ / Ruby 3+, see https://stackoverflow.com/a/72474475
39- gem 'net-imap' , require : false
40- gem 'net-pop' , require : false
41- gem 'net-smtp' , require : false
42- end
43-
4430# Use a local Gemfile to include development dependencies that might not be
4531# relevant for the project or for other contributors, e.g. pry-byebug.
4632#
0 commit comments