Skip to content

Commit

Permalink
Merge pull request #30 from projectblacklight/rails72
Browse files Browse the repository at this point in the history
Support Rails 7.2.0
  • Loading branch information
jcoyne authored Aug 19, 2024
2 parents c2dd00c + f2e44a5 commit ee247ed
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
32 changes: 18 additions & 14 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion blacklight-locale_picker.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ee247ed

Please sign in to comment.