Skip to content

Commit e290fa9

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 a0b3739 commit e290fa9

4 files changed

Lines changed: 7 additions & 11 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,14 @@ 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
4241
steps:
4342
- uses: actions/checkout@v2
@@ -59,15 +58,14 @@ jobs:
5958
fail-fast: false
6059
matrix:
6160
ruby-version:
62-
- '3.1'
6361
- '3.2'
6462
- '3.3'
6563
- '3.4'
6664
experimental: [false]
6765
include:
6866
- ruby-version: 'ruby-head'
6967
experimental: true
70-
- ruby-version: 'jruby-9.4'
68+
- ruby-version: 'jruby-head'
7169
experimental: true
7270
steps:
7371
- uses: actions/checkout@v2
@@ -89,15 +87,14 @@ jobs:
8987
fail-fast: false
9088
matrix:
9189
ruby-version:
92-
- '3.1'
9390
- '3.2'
9491
- '3.3'
9592
- '3.4'
9693
experimental: [false]
9794
include:
9895
- ruby-version: 'ruby-head'
9996
experimental: true
100-
- ruby-version: 'jruby-9.4'
97+
- ruby-version: 'jruby-head'
10198
experimental: true
10299
steps:
103100
- uses: actions/checkout@v2
@@ -119,15 +116,14 @@ jobs:
119116
fail-fast: false
120117
matrix:
121118
ruby-version:
122-
- '3.1'
123119
- '3.2'
124120
- '3.3'
125121
- '3.4'
126122
experimental: [false]
127123
include:
128124
- ruby-version: 'ruby-head'
129125
experimental: true
130-
- ruby-version: 'jruby-9.4'
126+
- ruby-version: 'jruby-head'
131127
experimental: true
132128

133129
steps:

.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
@@ -3,7 +3,7 @@
33
* [CHANGE] Adds development dependency for gems removed from standard library in Ruby 3.5 -- ostruct, irb, rdoc (by [@faisal][])
44
* [CHANGE] Bump aruba, fakefs, minitest, mocha, reek, rubocop dependencies (by [@faisal][])
55
* [CHANGE] Add .solargraph.yml config file to enable Solargraph LSP use in editors such as BBedit (by [@faisal][])
6-
* [CHANGE] Drop support for Ruby 2.7.x, 3.0.x (by [@faisal][])
6+
* [CHANGE] Drop support for Ruby 2.7.x, 3.0.x, 3.1.x (by [@faisal][])
77
* [CHANGE] Cache the reek configuration loading for faster execution (by [@raff-s][])
88

99
# 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)