Skip to content

Commit

Permalink
Relax rails version in gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
mkmn committed Oct 6, 2023
1 parent 5d243dc commit 0f7aa49
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/gemfiles/rails-7.1.Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
source 'https://rubygems.org'

gemspec path: '../..'

gem "rails", "~> 7.1"

# Since rails 7.0, rails does not require sprockets-rails.
# This is added to run the same tests as in previous versions.
gem 'sprockets-rails'
2 changes: 2 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ jobs:
- 6.1.7.3
# 2023-03-13 releases
- 7.0.4.3
# 2023-10-05 releases
- 7.1
exclude:
## be careful with which versions of ruby does rails support
## cf https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
Expand Down
2 changes: 1 addition & 1 deletion scimaenaga.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |s|
s.files = Dir['{app,config,db,lib}/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md']

s.required_ruby_version = '>= 2.5.9', '< 3.3'
s.add_dependency 'rails', '>= 5.2.4.6', '< 7.1'
s.add_dependency 'rails', '>= 5.2.4.6', '< 7.2'
s.add_runtime_dependency 'jwt', '>= 1.5'
s.test_files = Dir['spec/**/*']

Expand Down

0 comments on commit 0f7aa49

Please sign in to comment.