Skip to content

Commit 654de96

Browse files
authored
Merge pull request #79 from petergoldstein/feature/add_ruby_3_2_to_ci
Add Ruby 3.2 to the CI matrix
2 parents b750ac7 + a1fff55 commit 654de96

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,17 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
ruby: ['3.1', '3.0', '2.7', '2.6', '2.5']
12+
ruby: ['3.2', '3.1', '3.0', '2.7', '2.6', '2.5']
1313
rails: ['5.1', '5.2', '6.0', '6.1', '7.0']
1414
exclude:
15+
- ruby: '3.2'
16+
rails: '5.1'
17+
- ruby: '3.2'
18+
rails: '5.2'
19+
- ruby: '3.2'
20+
rails: '6.0'
21+
- ruby: '3.2'
22+
rails: '6.1'
1523
- ruby: '3.1'
1624
rails: '5.1'
1725
- ruby: '3.1'
@@ -29,7 +37,7 @@ jobs:
2937
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
3038
BUNDLE_GEMFILE: gemfiles/rails_${{ matrix.rails }}.gemfile
3139
steps:
32-
- uses: actions/checkout@v2
40+
- uses: actions/checkout@v3
3341
- name: Set up Ruby ${{ matrix.ruby }}
3442
uses: ruby/setup-ruby@v1
3543
with:

spec/database_cleaner/active_record/base_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ module ActiveRecord
6262
allow(::ActiveRecord::Base)
6363
.to receive(:configurations).and_return(ac_db_configurations_mock)
6464
allow(ac_db_configurations_mock)
65-
.to receive(:configs_for).with(name: my_db.to_s).and_return(hash_config_mock)
65+
.to receive(:configs_for).with({ name: my_db.to_s }).and_return(hash_config_mock)
6666
end
6767

6868
let(:ac_db_configurations_mock) do

0 commit comments

Comments
 (0)