From e9c3b88c38187909feaa9bab24d843a2af617743 Mon Sep 17 00:00:00 2001 From: bivanalhar Date: Thu, 6 Jun 2024 09:53:37 +0800 Subject: [PATCH] chore(dep): support rails 7 and ruby 3.2 - add sprockets-rails dependencies as it's no longer included in rails >= 7 --- .github/workflows/ruby.yml | 4 ++-- rails_utils.gemspec | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 6b275df..4d90c0a 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -23,8 +23,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['3.0', '3.1'] - activerecord: ['6.0', '6.1'] + ruby-version: ['3.0', '3.1', '3.2'] + activerecord: ['6.0', '6.1', '7.0', '7.1'] env: BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.activerecord }}.gemfile steps: diff --git a/rails_utils.gemspec b/rails_utils.gemspec index 123916b..e18faf9 100644 --- a/rails_utils.gemspec +++ b/rails_utils.gemspec @@ -20,6 +20,7 @@ Gem::Specification.new do |s| s.add_dependency "rails", ">= 6" s.add_development_dependency "minitest" , ">= 4.7.5" + s.add_development_dependency "sprockets-rails", '~>3.0' s.add_development_dependency "sprockets", '~>3.0' s.add_development_dependency "appraisal", "~> 2.1" s.add_development_dependency "mocha"