Skip to content

Commit

Permalink
build: Update rails and ruby dependencies
Browse files Browse the repository at this point in the history
- Remove rails support 6.1
- Remove rails support 7.0
- Remove ruby support 3.1

- Add rails support 8.0
- Add ruby support 3.4
  • Loading branch information
KoenSengers committed Jan 10, 2025
1 parent 6d7a206 commit c702c88
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,17 @@ jobs:
fail-fast: false
matrix:
ruby:
- '3.1'
- '3.2'
- '3.3'
- '3.4'
gemfile:
- rails_6_1
- rails_7_0
- rails_7_1
- rails_7_2
- rails_8_0
exclude:
- ruby: '3.4'
gemfile: rails_7_0
runs-on: ubuntu-latest
steps:
- name: Check out code
Expand Down
3 changes: 1 addition & 2 deletions gemfiles/rails_6_1.gemfile → gemfiles/rails_8_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

source "https://rubygems.org"

gem "rails", "~> 6.1.0"
gem "lockbox", "< 2.0"
gem "rails", "~> 8.0.0"

gemspec path: "../"
7 changes: 4 additions & 3 deletions keypairs.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@ Gem::Specification.new do |spec|
MESSAGE
spec.description = spec.summary
spec.license = 'MIT'
spec.required_ruby_version = Gem::Requirement.new('>= 2.7.0')

spec.required_ruby_version = '>= 3.2'

spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = 'https://github.com/Drieam/keypairs'

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

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

Expand Down

0 comments on commit c702c88

Please sign in to comment.