Skip to content

Commit

Permalink
Add Rails 7.1.0 and Ruby 3.1 and 3.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
KoenSengers committed Oct 11, 2023
1 parent a15a545 commit e2cfc7e
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@ jobs:
fail-fast: false
matrix:
ruby:
- 2.7
- '2.7'
- '3.0'
- '3.1'
- '3.2'
gemfile:
- rails_6
- rails_7
- rails_6_1
- rails_7_0
- rails_7_1
runs-on: ubuntu-latest
steps:
- name: Check out code
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruby 3.2.2
2 changes: 1 addition & 1 deletion gemfiles/rails_6.gemfile → gemfiles/rails_6_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

source "https://rubygems.org"

gem "rails", "~> 6.1"
gem "rails", "~> 6.1.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/rails_7.gemfile → gemfiles/rails_7_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

source "https://rubygems.org"

gem "rails", "~> 7.0"
gem "rails", "~> 7.0.0"

gemspec path: "../"
7 changes: 7 additions & 0 deletions gemfiles/rails_7_1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rails", "~> 7.1.0"

gemspec path: "../"
4 changes: 2 additions & 2 deletions keypairs.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Gem::Specification.new do |spec|

spec.files = Dir['{app,db,lib}/**/*', 'LICENSE', 'README.md']

spec.add_dependency 'actionpack', '>= 6.0' # Depend on actionpack to share public keys
spec.add_dependency 'activerecord', '>= 6.0' # Depend on activerecord as ORM
spec.add_dependency 'actionpack', '>= 7.0' # Depend on actionpack to share public keys
spec.add_dependency 'activerecord', '>= 7.0' # Depend on activerecord as ORM
spec.add_dependency 'jwt', '~> 2.5' # Working with JSON Web Tokens
spec.add_dependency 'lockbox', '~> 1.3' # Encrypt and decrypt attributes

Expand Down

0 comments on commit e2cfc7e

Please sign in to comment.