diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc2db39e..47bba746 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,15 +7,16 @@ jobs: strategy: fail-fast: false matrix: - ruby_version: ["2.7", "3.0", "3.1"] + ruby_version: ["2.7", "3.0", "3.1", "3.2"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: Update .ruby-version with matrix value + run: echo "${{ matrix.ruby_version }}" >| .ruby-version - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: ${{ matrix.ruby_version }} - - name: Install dependencies - run: bundle install --jobs 4 --retry 3 + bundler-cache: true + rubygems: latest - name: Run tests run: bundle exec rake diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 00000000..e4604e3a --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +3.2.1 diff --git a/CODEOWNERS b/CODEOWNERS index fb48a77e..165ff874 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1 +1 @@ -* @github/ruby-architecture-reviewers +* @github/rubocop-reviewers diff --git a/Gemfile.lock b/Gemfile.lock index 37967364..2bec5a35 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -9,75 +9,83 @@ PATH GEM remote: https://rubygems.org/ specs: - actionview (7.0.4) - activesupport (= 7.0.4) + actionview (7.0.4.3) + activesupport (= 7.0.4.3) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) - activesupport (7.0.4) + activesupport (7.0.4.3) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) ast (2.4.2) builder (3.2.4) - concurrent-ruby (1.1.10) + concurrent-ruby (1.2.2) crass (1.0.6) - erubi (1.11.0) + erubi (1.12.0) i18n (1.12.0) concurrent-ruby (~> 1.0) - json (2.6.2) - loofah (2.19.0) + json (2.6.3) + loofah (2.19.1) crass (~> 1.0.2) nokogiri (>= 1.5.9) - minitest (5.16.3) - nokogiri (1.13.9-arm64-darwin) + mini_portile2 (2.8.1) + minitest (5.18.0) + nokogiri (1.14.2) + mini_portile2 (~> 2.8.0) racc (~> 1.4) - nokogiri (1.13.9-x86_64-darwin) + nokogiri (1.14.2-arm64-darwin) + racc (~> 1.4) + nokogiri (1.14.2-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.14.2-x86_64-linux) racc (~> 1.4) parallel (1.22.1) - parser (3.1.2.1) + parser (3.2.1.1) ast (~> 2.4.1) - racc (1.6.0) - rack (3.0.0) + racc (1.6.2) + rack (3.0.7) rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) - rails-html-sanitizer (1.4.3) - loofah (~> 2.3) + rails-html-sanitizer (1.5.0) + loofah (~> 2.19, >= 2.19.1) rainbow (3.1.1) rake (13.0.6) - regexp_parser (2.6.0) + regexp_parser (2.7.0) rexml (3.2.5) - rubocop (1.37.1) + rubocop (1.48.1) json (~> 2.3) parallel (~> 1.10) - parser (>= 3.1.2.1) + parser (>= 3.2.0.0) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.23.0, < 2.0) + rubocop-ast (>= 1.26.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.23.0) - parser (>= 3.1.1.0) - rubocop-performance (1.15.0) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.27.0) + parser (>= 3.2.1.0) + rubocop-performance (1.16.0) rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) - rubocop-rails (2.17.2) + rubocop-rails (2.18.0) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) - ruby-progressbar (1.11.0) - tzinfo (2.0.5) + ruby-progressbar (1.13.0) + tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (2.3.0) + unicode-display_width (2.4.2) PLATFORMS arm64-darwin-21 + ruby x86_64-darwin-19 x86_64-darwin-20 + x86_64-linux DEPENDENCIES actionview @@ -86,4 +94,4 @@ DEPENDENCIES rubocop-github! BUNDLED WITH - 2.3.24 + 2.4.9 diff --git a/test/cop_test.rb b/test/cop_test.rb index 4af051c1..0125a4ec 100644 --- a/test/cop_test.rb +++ b/test/cop_test.rb @@ -17,7 +17,7 @@ def setup def investigate(cop, src, filename = nil) processed_source = RuboCop::ProcessedSource.new(src, RUBY_VERSION.to_f, filename) - team = RuboCop::Cop::Team.new([cop], nil, raise_error: true) + team = RuboCop::Cop::Team.new([cop], cop.config, raise_error: true) report = team.investigate(processed_source) report.offenses end pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy