Skip to content

Commit 990a896

Browse files
Merge pull request #1003 from cloudfoundry/support-ruby-31
Adds CI/Rubocop support for Ruby 3.1
2 parents 85c7159 + 387ffcf commit 990a896

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.rubocop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,7 @@ Lint/RedundantCopDisableDirective:
7171
Enabled: false # disabled as this can be tough to manage across multiple ruby versions
7272
Style/RedundantFreeze:
7373
Enabled: false # enable when we only support ruby 3.0+
74+
Naming/BlockForwarding:
75+
Enabled: false # enable when we only support Ruby 3.1+
76+
Style/HashSyntax:
77+
EnforcedShorthandSyntax: either

ci/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,6 @@ RUN eval "$(rbenv init -)" \
3636

3737
RUN eval "$(rbenv init -)" \
3838
&& rbenv install 3.0.4
39+
40+
RUN eval "$(rbenv init -)" \
41+
&& rbenv install 3.1.3

0 commit comments

Comments
 (0)