diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2f2242a..46a60de 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,7 +4,21 @@ updates: directory: "/" schedule: interval: weekly + groups: + all-dependencies: + patterns: + - "*" + update-types: + - "minor" + - "patch" - package-ecosystem: github-actions directory: "/" schedule: - interval: weekly \ No newline at end of file + interval: weekly + groups: + all-dependencies: + patterns: + - "*" + update-types: + - "minor" + - "patch" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fac6b77..682d1fc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,10 @@ on: - main pull_request: +permissions: + contents: write + pull-requests: write + jobs: build: runs-on: ubuntu-latest @@ -13,12 +17,12 @@ jobs: strategy: matrix: ruby: - - '3.0' + - '3.2' steps: - uses: actions/checkout@v4 - name: Set up Ruby - uses: ruby/setup-ruby@v1 + uses: ruby/setup-ruby@13e7a03dc3ac6c3798f4570bfead2aed4d96abfb with: ruby-version: ${{ matrix.ruby }} bundler-cache: true diff --git a/Gemfile.lock b/Gemfile.lock index a1cd924..3e0ff87 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -7,111 +7,122 @@ PATH GEM remote: https://rubygems.org/ specs: - actionview (7.1.3) - activesupport (= 7.1.3) + actionview (8.0.2) + activesupport (= 8.0.2) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activesupport (7.1.3) + activesupport (8.0.2) base64 + benchmark (>= 0.3) bigdecimal - concurrent-ruby (~> 1.0, >= 1.0.2) + concurrent-ruby (~> 1.0, >= 1.3.1) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) + logger (>= 1.4.2) minitest (>= 5.1) - mutex_m - tzinfo (~> 2.0) - ast (2.4.2) - base64 (0.2.0) - bigdecimal (3.1.6) - builder (3.2.4) - concurrent-ruby (1.2.3) - connection_pool (2.4.1) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) + ast (2.4.3) + base64 (0.3.0) + benchmark (0.4.1) + bigdecimal (3.2.1) + builder (3.3.0) + concurrent-ruby (1.3.5) + connection_pool (2.5.3) crass (1.0.6) - diff-lcs (1.5.1) - drb (2.2.0) - ruby2_keywords - erubi (1.12.0) - i18n (1.14.1) + diff-lcs (1.6.2) + drb (2.2.3) + erubi (1.13.1) + i18n (1.14.7) concurrent-ruby (~> 1.0) - json (2.7.1) - language_server-protocol (3.17.0.3) - loofah (2.22.0) + json (2.12.2) + language_server-protocol (3.17.0.5) + lint_roller (1.1.0) + logger (1.7.0) + loofah (2.24.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) - minitest (5.21.2) - mutex_m (0.2.0) - nokogiri (1.16.2-arm64-darwin) + minitest (5.25.5) + nokogiri (1.18.8-arm64-darwin) racc (~> 1.4) - nokogiri (1.16.2-x86_64-darwin) + nokogiri (1.18.8-x86_64-darwin) racc (~> 1.4) - nokogiri (1.16.2-x86_64-linux) + nokogiri (1.18.8-x86_64-linux-gnu) racc (~> 1.4) - parallel (1.24.0) - parser (3.3.0.5) + parallel (1.27.0) + parser (3.3.8.0) ast (~> 2.4.1) racc - racc (1.7.3) - rack (3.0.8) + prism (1.4.0) + racc (1.8.1) + rack (3.1.16) rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.6.0) + rails-html-sanitizer (1.6.2) loofah (~> 2.21) - nokogiri (~> 1.14) + nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0) rainbow (3.1.1) - rake (13.1.0) - regexp_parser (2.9.0) - rexml (3.2.6) - rspec (3.13.0) + rake (13.3.0) + regexp_parser (2.10.0) + rspec (3.13.1) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.0) + rspec-core (3.13.4) rspec-support (~> 3.13.0) - rspec-expectations (3.13.0) + rspec-expectations (3.13.5) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.0) + rspec-mocks (3.13.5) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-support (3.13.0) - rubocop (1.60.2) + rspec-support (3.13.4) + rubocop (1.75.8) json (~> 2.3) - language_server-protocol (>= 3.17.0) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.1.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8, < 3.0) - rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.30.0, < 2.0) + regexp_parser (>= 2.9.3, < 3.0) + rubocop-ast (>= 1.44.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.30.0) - parser (>= 3.2.1.0) - rubocop-github (0.20.0) - rubocop (>= 1.37) - rubocop-performance (>= 1.15) - rubocop-rails (>= 2.17) - rubocop-performance (1.20.2) - rubocop (>= 1.48.1, < 2.0) - rubocop-ast (>= 1.30.0, < 2.0) - rubocop-rails (2.23.1) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.44.1) + parser (>= 3.3.7.2) + prism (~> 1.4) + rubocop-github (0.25.0) + rubocop (>= 1.72) + rubocop-performance (>= 1.24) + rubocop-rails (>= 2.23) + rubocop-performance (1.25.0) + lint_roller (~> 1.1) + rubocop (>= 1.75.0, < 2.0) + rubocop-ast (>= 1.38.0, < 2.0) + rubocop-rails (2.32.0) activesupport (>= 4.2.0) + lint_roller (~> 1.1) rack (>= 1.1) - rubocop (>= 1.33.0, < 2.0) - rubocop-ast (>= 1.30.0, < 2.0) + rubocop (>= 1.75.0, < 2.0) + rubocop-ast (>= 1.44.0, < 2.0) ruby-progressbar (1.13.0) - ruby2_keywords (0.0.5) + securerandom (0.4.1) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (2.5.0) + unicode-display_width (3.1.4) + unicode-emoji (~> 4.0, >= 4.0.4) + unicode-emoji (4.0.4) + uri (1.0.3) PLATFORMS arm64-darwin-21 + arm64-darwin-23 x86_64-darwin-19 x86_64-darwin-21 x86_64-linux @@ -127,4 +138,4 @@ DEPENDENCIES rubocop-rails-accessibility! BUNDLED WITH - 2.3.7 + 2.4.10 diff --git a/rubocop-rails-accessibility.gemspec b/rubocop-rails-accessibility.gemspec index 34cc0df..8becc3b 100644 --- a/rubocop-rails-accessibility.gemspec +++ b/rubocop-rails-accessibility.gemspec @@ -11,7 +11,7 @@ Gem::Specification.new do |spec| spec.summary = "Custom RuboCop rules for Rails Accessibility." spec.homepage = "https://github.com/github/rubocop-rails-accessibility" spec.license = "MIT" - spec.required_ruby_version = ">= 3.0.0" + spec.required_ruby_version = ">= 3.2.0" spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage