Skip to content

Commit d0dfce1

Browse files
authored
chore(deps): bump ruby version to 3.2.0 (#737)
* chore(deps): Update ruby (3.2.0), bundler and gems * Fix new rubocop warnings * Update ruby version on CI config file * use latest rubygems version for github actions * rebuild gemfile.lock
1 parent f89c6f7 commit d0dfce1

File tree

60 files changed

+326
-309
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+326
-309
lines changed

.github/workflows/ci.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ jobs:
99
- name: Set up Ruby
1010
uses: ruby/setup-ruby@v1
1111
with:
12-
ruby-version: 3.0.3
12+
ruby-version: 3.2.0
1313
bundler-cache: true
14+
rubygems: latest
1415
- run: bundle exec rubocop
1516
eslint:
1617
name: JS linter
@@ -20,8 +21,9 @@ jobs:
2021
- name: Set up Ruby
2122
uses: ruby/setup-ruby@v1
2223
with:
23-
ruby-version: 3.0.3
24+
ruby-version: 3.2.0
2425
bundler-cache: true
26+
rubygems: latest
2527
- name: Install JS dependencies
2628
run: yarn install
2729
- run: yarn lint
@@ -53,8 +55,9 @@ jobs:
5355
- name: Set up Ruby
5456
uses: ruby/setup-ruby@v1
5557
with:
56-
ruby-version: 3.0.3
58+
ruby-version: 3.2.0
5759
bundler-cache: true
60+
rubygems: latest
5861
- name: Install JS dependencies
5962
run: yarn install
6063
- name: Setup test database

.rubocop.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ Metrics/BlockLength:
5656
Layout/LineLength:
5757
Max: 120
5858

59+
Layout/LineContinuationLeadingSpace:
60+
Enabled: false
61+
5962
Metrics/ClassLength:
6063
Max: 120
6164

@@ -66,6 +69,9 @@ Metrics/MethodLength:
6669
Metrics/AbcSize:
6770
Max: 20
6871

72+
Style/HashSyntax:
73+
Enabled: false
74+
6975
Rails/HasAndBelongsToMany:
7076
Enabled: false
7177

@@ -114,6 +120,9 @@ RSpec/BeEq:
114120
RSpec/VerifiedDoubleReference:
115121
Enabled: false
116122

123+
RSpec/NoExpectationExample:
124+
Enabled: false
125+
117126
RSpec/DescribeClass:
118127
Exclude:
119-
- "spec/features/**/*"
128+
- "spec/requests/**/*"

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.3
1+
3.2.0

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source 'https://rubygems.org'
22
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
33

4-
ruby '3.0.3'
4+
ruby '3.2.0'
55

66
# Environment variables management
77
gem 'dotenv-rails'

0 commit comments

Comments
 (0)