diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 69b9dfb6d..2552c68b2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -32,6 +32,7 @@ jobs: - "3.1" - "3.2" - "3.3" + - "3.4" - ruby-head - jruby-9.4 task: @@ -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 @@ -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 }} @@ -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 }} @@ -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 diff --git a/docs/modules/ROOT/pages/cops_rspec.adoc b/docs/modules/ROOT/pages/cops_rspec.adoc index 85a6c21ef..0d235a7c4 100644 --- a/docs/modules/ROOT/pages/cops_rspec.adoc +++ b/docs/modules/ROOT/pages/cops_rspec.adoc @@ -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"]}` | |=== @@ -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 @@ -5838,7 +5838,7 @@ whatever_spec.rb # describe MyClass, type: :routing do; end | Array | CustomTransform -| `{"RuboCop"=>"rubocop", "RSpec"=>"rspec"}` +| `{"RuboCop" => "rubocop", "RSpec" => "rspec"}` | | IgnoreMethods @@ -5846,7 +5846,7 @@ whatever_spec.rb # describe MyClass, type: :routing do; end | Boolean | IgnoreMetadata -| `{"type"=>"routing"}` +| `{"type" => "routing"}` | |===