Skip to content

Commit e5a99e2

Browse files
committed
Remove support for Ruby 3.1
- rubycritic.gemspec: update minimum Ruby version to 3.2 - .rubocop.yml: update target Ruby version to 3.2 - CI: drop Ruby 3.1, and change jruby from 9.4 (Ruby 3.1) to HEAD (Ruby 3.4, still in testing) # Conflicts: # CHANGELOG.md
1 parent a20ccf1 commit e5a99e2

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ jobs:
2929
fail-fast: false
3030
matrix:
3131
ruby-version:
32-
- '3.1'
3332
- '3.2'
3433
- '3.3'
3534
- '3.4'
3635
experimental: [false]
3736
include:
3837
- ruby-version: 'ruby-head'
3938
experimental: true
40-
- ruby-version: 'jruby-9.4'
39+
- ruby-version: 'jruby-head'
4140
experimental: true
41+
continue-on-error: true
4242
steps:
4343
- uses: actions/checkout@v2
4444
- name: Set up Ruby ${{ matrix.ruby-version }}
@@ -59,16 +59,16 @@ jobs:
5959
fail-fast: false
6060
matrix:
6161
ruby-version:
62-
- '3.1'
6362
- '3.2'
6463
- '3.3'
6564
- '3.4'
6665
experimental: [false]
6766
include:
6867
- ruby-version: 'ruby-head'
6968
experimental: true
70-
- ruby-version: 'jruby-9.4'
69+
- ruby-version: 'jruby-head'
7170
experimental: true
71+
continue-on-error: true
7272
steps:
7373
- uses: actions/checkout@v2
7474
- name: Set up Ruby ${{ matrix.ruby-version }}
@@ -89,16 +89,16 @@ jobs:
8989
fail-fast: false
9090
matrix:
9191
ruby-version:
92-
- '3.1'
9392
- '3.2'
9493
- '3.3'
9594
- '3.4'
9695
experimental: [false]
9796
include:
9897
- ruby-version: 'ruby-head'
9998
experimental: true
100-
- ruby-version: 'jruby-9.4'
99+
- ruby-version: 'jruby-head'
101100
experimental: true
101+
continue-on-error: true
102102
steps:
103103
- uses: actions/checkout@v2
104104
- name: Set up Ruby ${{ matrix.ruby-version }}
@@ -119,16 +119,16 @@ jobs:
119119
fail-fast: false
120120
matrix:
121121
ruby-version:
122-
- '3.1'
123122
- '3.2'
124123
- '3.3'
125124
- '3.4'
126125
experimental: [false]
127126
include:
128127
- ruby-version: 'ruby-head'
129128
experimental: true
130-
- ruby-version: 'jruby-9.4'
129+
- ruby-version: 'jruby-head'
131130
experimental: true
131+
continue-on-error: true
132132

133133
steps:
134134
- uses: actions/checkout@v2

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ AllCops:
1111
- 'tmp/**/*'
1212
- 'vendor/**/*'
1313
- 'gemfiles/*'
14-
TargetRubyVersion: 3.1
14+
TargetRubyVersion: 3.2
1515

1616
Metrics/BlockLength:
1717
Enabled: false

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* [CHANGE] Bump aruba, fakefs, minitest, mocha, reek, rubocop dependencies (by [@faisal][])
55
* [CHANGE] Loosen Rubocop dependency to pick up any new versions < 2.0 (by [@faisal][])
66
* [CHANGE] Add .solargraph.yml config file to enable Solargraph LSP use in editors such as BBedit (by [@faisal][])
7-
* [CHANGE] Drop support for Ruby 2.7.x, 3.0.x (by [@faisal][])
7+
* [CHANGE] Drop support for Ruby 2.7.x, 3.0.x, 3.1.x (by [@faisal][])
88
* [CHANGE] Cache the reek configuration loading for faster execution (by [@raff-s][])
99

1010
# v4.9.1 / 2024-04-14 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.9.0...v4.9.1)

rubycritic.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
1414
spec.summary = 'RubyCritic is a Ruby code quality reporter'
1515
spec.homepage = 'https://github.com/whitesmith/rubycritic'
1616
spec.license = 'MIT'
17-
spec.required_ruby_version = '>= 3.1.0'
17+
spec.required_ruby_version = '>= 3.2.0'
1818

1919
spec.files = [
2020
'CHANGELOG.md',

0 commit comments

Comments
 (0)