Skip to content

Commit 4f9fb81

Browse files
authored
Merge pull request #2016 from rubocop/ruby34
Update Ruby version in GitHub Actions workflow to 3.4
2 parents 5d768fe + 207434c commit 4f9fb81

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.github/workflows/main.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v4
1919
- uses: ruby/setup-ruby@v1
2020
with:
21-
ruby-version: "3.3"
21+
ruby-version: "3.4"
2222
bundler-cache: true
2323
- run: bundle exec rake confirm_config documentation_syntax_check confirm_documentation
2424

@@ -32,6 +32,7 @@ jobs:
3232
- "3.1"
3333
- "3.2"
3434
- "3.3"
35+
- "3.4"
3536
- ruby-head
3637
- jruby-9.4
3738
task:
@@ -53,7 +54,7 @@ jobs:
5354
- uses: actions/checkout@v4
5455
- uses: ruby/setup-ruby@v1
5556
with:
56-
ruby-version: "3.3"
57+
ruby-version: "3.4"
5758
bundler-cache: true
5859
- run: bundle exec rake spec
5960

@@ -73,7 +74,7 @@ jobs:
7374
cat Gemfile.local
7475
- uses: ruby/setup-ruby@v1
7576
with:
76-
ruby-version: "3.3"
77+
ruby-version: "3.4"
7778
bundler-cache: true
7879
- run: bundle exec rubocop -V
7980
- run: NO_COVERAGE=true bundle exec rake ${{ matrix.task }}
@@ -94,7 +95,7 @@ jobs:
9495
cat Gemfile.local
9596
- uses: ruby/setup-ruby@v1
9697
with:
97-
ruby-version: "3.3"
98+
ruby-version: "3.4"
9899
bundler-cache: true
99100
- run: bundle exec rubocop -V
100101
- run: NO_COVERAGE=true bundle exec rake ${{ matrix.task }}
@@ -116,7 +117,7 @@ jobs:
116117
EOF
117118
- uses: ruby/setup-ruby@v1
118119
with:
119-
ruby-version: "3.3"
120+
ruby-version: "3.4"
120121
bundler-cache: true
121122
- run: NO_COVERAGE=true bundle exec rake spec
122123

docs/modules/ROOT/pages/cops_rspec.adoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ end
870870
| Array
871871
872872
| IgnoredMetadata
873-
| `{"type"=>["channel", "controller", "helper", "job", "mailer", "model", "request", "routing", "view", "feature", "system", "mailbox", "aruba", "task"]}`
873+
| `{"type" => ["channel", "controller", "helper", "job", "mailer", "model", "request", "routing", "view", "feature", "system", "mailbox", "aruba", "task"]}`
874874
|
875875
|===
876876
@@ -1994,7 +1994,7 @@ end
19941994
| Name | Default value | Configurable values
19951995
19961996
| CustomTransform
1997-
| `{"be"=>"is", "BE"=>"IS", "have"=>"has", "HAVE"=>"HAS"}`
1997+
| `{"be" => "is", "BE" => "IS", "have" => "has", "HAVE" => "HAS"}`
19981998
|
19991999
20002000
| IgnoredWords
@@ -5838,15 +5838,15 @@ whatever_spec.rb # describe MyClass, type: :routing do; end
58385838
| Array
58395839
58405840
| CustomTransform
5841-
| `{"RuboCop"=>"rubocop", "RSpec"=>"rspec"}`
5841+
| `{"RuboCop" => "rubocop", "RSpec" => "rspec"}`
58425842
|
58435843
58445844
| IgnoreMethods
58455845
| `false`
58465846
| Boolean
58475847
58485848
| IgnoreMetadata
5849-
| `{"type"=>"routing"}`
5849+
| `{"type" => "routing"}`
58505850
|
58515851
|===
58525852

0 commit comments

Comments
 (0)