Skip to content

Commit

Permalink
build: Update lockbox
Browse files Browse the repository at this point in the history
Update lockbox
Update github action versions
Add rails 7.2 support
  • Loading branch information
KoenSengers committed Oct 28, 2024
1 parent 02226ae commit dfdeb87
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
ruby-version: 3.3
bundler-cache: true

- name: Setup reviewdog
Expand All @@ -26,17 +26,18 @@ jobs:
fail-fast: false
matrix:
ruby:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
gemfile:
- rails_6_1
- rails_7_0
- rails_7_1
- rails_7_2
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set BUNDLE_GEMFILE
run: echo 'BUNDLE_GEMFILE=${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile' >> $GITHUB_ENV
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_6_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
source "https://rubygems.org"

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

gemspec path: "../"
7 changes: 7 additions & 0 deletions gemfiles/rails_7_2.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.2.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion keypairs.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
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 'jwt', '~> 2.5' # Working with JSON Web Tokens
spec.add_dependency 'lockbox', '~> 1.3' # Encrypt and decrypt attributes
spec.add_dependency 'lockbox', '>= 1.3', '< 3.0' # Encrypt and decrypt attributes

spec.add_development_dependency 'appraisal' # Test against multiple gem versions
spec.add_development_dependency 'brakeman' # Static analysis security vulnerability scanner
Expand Down

0 comments on commit dfdeb87

Please sign in to comment.