Skip to content

Commit

Permalink
Merge pull request #2812 from rspec/expand-permitted-rails-versions
Browse files Browse the repository at this point in the history
Expand permitted rails versions for other rspec builds
  • Loading branch information
JonRowe authored Nov 11, 2024
2 parents 6ca3a8f + 09e1284 commit 57d7db4
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Gemfile-rails-dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,19 @@ when /main/

gem 'sqlite3', '~> 2.0', platforms: [:ruby]
when nil, false, ""
gem "rails", "~> 8.0.0"
if RUBY_VERSION.to_f > 3.1
gem "rails", "~> 8.0.0"
gem 'sqlite3', '~> 2.0', platforms: [:ruby]
elsif RUBY_VERSION.to_f > 3.0
gem "rails", "~> 7.2.0"
gem 'sqlite3', '~> 1.7', platforms: [:ruby]
else
gem "rails", "~> 7.1.0"
gem 'sqlite3', '~> 1.7', platforms: [:ruby]
end

gem 'activerecord-jdbcsqlite3-adapter', platforms: [:jruby]
gem 'selenium-webdriver', require: false
gem 'sqlite3', '~> 2.0', platforms: [:ruby]
else
version_number = version.split(' ').last
add_net_gems_dependency if version_number < '7.0'
Expand Down

0 comments on commit 57d7db4

Please sign in to comment.