From ff0a17c7807fe293535bb6eba474e44fc386d444 Mon Sep 17 00:00:00 2001 From: Matheus Richard Date: Wed, 4 Oct 2023 13:30:31 -0300 Subject: [PATCH] Run CI against newer Rubies --- .github/workflows/tests-and-linter.yml | 4 +- Gemfile | 2 +- Gemfile.lock | 52 ++++++++++++++++---------- 3 files changed, 36 insertions(+), 22 deletions(-) diff --git a/.github/workflows/tests-and-linter.yml b/.github/workflows/tests-and-linter.yml index f9e19e8..7a09e93 100644 --- a/.github/workflows/tests-and-linter.yml +++ b/.github/workflows/tests-and-linter.yml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby: [2.6, 2.7, '3.0'] + ruby: [2.6, 2.7, '3.0', '3.1', '3.2'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Ruby ${{ matrix.ruby }} uses: ruby/setup-ruby@v1 with: diff --git a/Gemfile b/Gemfile index 02a82c8..54961d8 100644 --- a/Gemfile +++ b/Gemfile @@ -8,7 +8,7 @@ gemspec gem "guard-rspec", require: false gem "rake", "~> 12.0" gem "rspec", "~> 3.0" -gem "standard", "~> 1.3.0" +gem "standard", "~> 1.30.0" gem "simplecov", "~> 0.18.5", require: false gem "solargraph", "~> 0.39" gem "yard", "~> 0.9.25" diff --git a/Gemfile.lock b/Gemfile.lock index 85a39c6..78294e6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -35,10 +35,13 @@ GEM guard-compat (~> 1.1) rspec (>= 2.99.0, < 4.0) jaro_winkler (1.5.4) + json (2.6.3) kramdown (2.3.1) rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) + language_server-protocol (3.17.0.3) + lint_roller (1.1.0) listen (3.7.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) @@ -53,22 +56,23 @@ GEM notiffany (0.1.3) nenv (~> 0.1) shellany (~> 0.0) - parallel (1.20.1) - parser (3.0.2.0) + parallel (1.23.0) + parser (3.2.2.4) ast (~> 2.4.1) + racc pry (0.14.1) coderay (~> 1.1) method_source (~> 1.0) racc (1.5.2) - rainbow (3.0.0) + rainbow (3.1.1) rake (12.3.3) rb-fsevent (0.11.0) rb-inotify (0.10.1) ffi (~> 1.0) - regexp_parser (2.1.1) + regexp_parser (2.8.1) reverse_markdown (2.0.0) nokogiri - rexml (3.2.5) + rexml (3.2.6) rspec (3.10.0) rspec-core (~> 3.10.0) rspec-expectations (~> 3.10.0) @@ -82,21 +86,22 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.10.0) rspec-support (3.10.2) - rubocop (1.20.0) + rubocop (1.52.1) + json (~> 2.3) parallel (~> 1.10) - parser (>= 3.0.0.0) + parser (>= 3.2.2.3) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) - rexml - rubocop-ast (>= 1.9.1, < 2.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.28.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.11.0) - parser (>= 3.0.1.1) - rubocop-performance (1.11.5) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.29.0) + parser (>= 3.2.1.0) + rubocop-performance (1.18.0) rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) - ruby-progressbar (1.11.0) + ruby-progressbar (1.13.0) shellany (0.0.1) simplecov (0.18.5) docile (~> 1.1) @@ -117,12 +122,21 @@ GEM thor (~> 1.0) tilt (~> 2.0) yard (~> 0.9, >= 0.9.24) - standard (1.3.0) - rubocop (= 1.20.0) - rubocop-performance (= 1.11.5) + standard (1.30.1) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.0) + rubocop (~> 1.52.0) + standard-custom (~> 1.0.0) + standard-performance (~> 1.1.0) + standard-custom (1.0.2) + lint_roller (~> 1.0) + rubocop (~> 1.50) + standard-performance (1.1.2) + lint_roller (~> 1.1) + rubocop-performance (~> 1.18.0) thor (1.1.0) tilt (2.0.10) - unicode-display_width (2.0.0) + unicode-display_width (2.5.0) yard (0.9.26) PLATFORMS @@ -135,7 +149,7 @@ DEPENDENCIES rspec (~> 3.0) simplecov (~> 0.18.5) solargraph (~> 0.39) - standard (~> 1.3.0) + standard (~> 1.30.0) yard (~> 0.9.25) BUNDLED WITH