Skip to content

Commit dcdc8e8

Browse files
committed
Test against Ruby 3.5.0.preview1
1 parent cd564b3 commit dcdc8e8

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
ruby: [3.4.1, 3.3.6, 3.2.6, 3.1.6]
15+
ruby: [3.5.0-preview1, 3.4.5, 3.3.8, 3.2.8, 3.1.7]
1616

1717
name: CI Ruby ${{ matrix.ruby }}
1818
steps:
@@ -29,18 +29,18 @@ jobs:
2929
- name: Standard
3030
run: bundle exec standardrb
3131
- name: Coveralls
32-
if: ${{ matrix.ruby == '3.4.1' }}
32+
if: ${{ matrix.ruby == '3.4.5' }}
3333
continue-on-error: true
3434
uses: coverallsapp/github-action@v2
3535
with:
3636
github-token: ${{ secrets.GITHUB_TOKEN }}
3737
- name: Codacy Coverage
38-
if: ${{ matrix.ruby == '3.4.1' }}
38+
if: ${{ matrix.ruby == '3.4.5' }}
3939
uses: codacy/codacy-coverage-reporter-action@v1
4040
with:
4141
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
4242
- name: Code Climate
43-
if: ${{ matrix.ruby == '3.4.1' }}
43+
if: ${{ matrix.ruby == '3.4.5' }}
4444
continue-on-error: true
4545
uses: paambaati/codeclimate-action@v9
4646
env:

.standard-rspec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
require:
1+
plugins:
22
- rubocop-rspec

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
*unreleased*
22

3+
* Ensure Ruby 3.5 compability
34
* Ensure Ruby 3.4 compability
45
* Ensure Rails 8.0 compability
56
* Stop testing against Ruby 3.0

has_configuration.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Gem::Specification.new do |spec|
2727
spec.required_ruby_version = ">= 3.1.0"
2828

2929
spec.add_dependency("activesupport", ">= 6.1.0")
30+
spec.add_dependency("ostruct") if Gem::Version.new(RUBY_VERSION) > Gem::Version.new('3.4')
3031

3132
spec.metadata["rubygems_mfa_required"] = "true"
3233
end

0 commit comments

Comments
 (0)