From f2e44a51db009203ef839846ed62d55a23bfdc98 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Mon, 19 Aug 2024 10:22:01 -0500 Subject: [PATCH] Support Rails 7.2.0 --- .github/workflows/ruby.yml | 32 ++++++++++++++++++-------------- blacklight-locale_picker.gemspec | 2 +- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index e7b854f..1d704e7 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -2,29 +2,33 @@ name: CI on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: test: runs-on: ubuntu-latest strategy: matrix: - rails_version: [6.1.7, 7.0.4, 7.1.2] - ruby: ['3.2'] + rails_version: [7.1.3.4, 7.2.0] + ruby: [3.3] include: + - ruby: 3.2 + rails_version: 7.1.3.4 - ruby: 3.1 - rails_version: 7.0.4 + rails_version: 7.0.8.4 + - ruby: 3.1 + rails_version: 6.1.7.8 env: RAILS_VERSION: ${{ matrix.rails_version }} steps: - - uses: actions/checkout@v2 - - name: Set up Ruby ${{ matrix.ruby }} - uses: ruby/setup-ruby@v1 - with: - ruby-version: ${{ matrix.ruby }} - - name: Install dependencies with Rails ${{ matrix.rails_version }} - run: bundle install - - name: Run tests - run: bundle exec rake + - uses: actions/checkout@v2 + - name: Set up Ruby ${{ matrix.ruby }} + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + - name: Install dependencies with Rails ${{ matrix.rails_version }} + run: bundle install + - name: Run tests + run: bundle exec rake diff --git a/blacklight-locale_picker.gemspec b/blacklight-locale_picker.gemspec index 790b95e..967280e 100644 --- a/blacklight-locale_picker.gemspec +++ b/blacklight-locale_picker.gemspec @@ -22,7 +22,7 @@ Gem::Specification.new do |spec| spec.require_paths = ['lib'] spec.required_ruby_version = '>= 2.5.0' - spec.add_dependency "rails", ">= 5.2.3", "< 7.2" + spec.add_dependency "rails", ">= 5.2.3", "< 7.3" spec.add_development_dependency "capybara" spec.add_development_dependency "engine_cart"