Skip to content

Commit

Permalink
Merge pull request #2016 from rubocop/ruby34
Browse files Browse the repository at this point in the history
Update Ruby version in GitHub Actions workflow to 3.4
  • Loading branch information
ydah authored Dec 25, 2024
2 parents 5d768fe + 207434c commit 4f9fb81
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
ruby-version: "3.4"
bundler-cache: true
- run: bundle exec rake confirm_config documentation_syntax_check confirm_documentation

Expand All @@ -32,6 +32,7 @@ jobs:
- "3.1"
- "3.2"
- "3.3"
- "3.4"
- ruby-head
- jruby-9.4
task:
Expand All @@ -53,7 +54,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
ruby-version: "3.4"
bundler-cache: true
- run: bundle exec rake spec

Expand All @@ -73,7 +74,7 @@ jobs:
cat Gemfile.local
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
ruby-version: "3.4"
bundler-cache: true
- run: bundle exec rubocop -V
- run: NO_COVERAGE=true bundle exec rake ${{ matrix.task }}
Expand All @@ -94,7 +95,7 @@ jobs:
cat Gemfile.local
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
ruby-version: "3.4"
bundler-cache: true
- run: bundle exec rubocop -V
- run: NO_COVERAGE=true bundle exec rake ${{ matrix.task }}
Expand All @@ -116,7 +117,7 @@ jobs:
EOF
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
ruby-version: "3.4"
bundler-cache: true
- run: NO_COVERAGE=true bundle exec rake spec

Expand Down
8 changes: 4 additions & 4 deletions docs/modules/ROOT/pages/cops_rspec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ end
| Array
| IgnoredMetadata
| `{"type"=>["channel", "controller", "helper", "job", "mailer", "model", "request", "routing", "view", "feature", "system", "mailbox", "aruba", "task"]}`
| `{"type" => ["channel", "controller", "helper", "job", "mailer", "model", "request", "routing", "view", "feature", "system", "mailbox", "aruba", "task"]}`
|
|===
Expand Down Expand Up @@ -1994,7 +1994,7 @@ end
| Name | Default value | Configurable values
| CustomTransform
| `{"be"=>"is", "BE"=>"IS", "have"=>"has", "HAVE"=>"HAS"}`
| `{"be" => "is", "BE" => "IS", "have" => "has", "HAVE" => "HAS"}`
|
| IgnoredWords
Expand Down Expand Up @@ -5838,15 +5838,15 @@ whatever_spec.rb # describe MyClass, type: :routing do; end
| Array
| CustomTransform
| `{"RuboCop"=>"rubocop", "RSpec"=>"rspec"}`
| `{"RuboCop" => "rubocop", "RSpec" => "rspec"}`
|
| IgnoreMethods
| `false`
| Boolean
| IgnoreMetadata
| `{"type"=>"routing"}`
| `{"type" => "routing"}`
|
|===
Expand Down

0 comments on commit 4f9fb81

Please sign in to comment.