Skip to content

Commit

Permalink
Set required_ruby_version to >= 3.0.0
Browse files Browse the repository at this point in the history
TargetRubyVersion will read from required_ruby_version in Rubocop 1.61+, and updated ruby versions in the CI matrix
  • Loading branch information
jenshenny committed Mar 26, 2024
1 parent 4c30484 commit ffc1a36
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 18 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ jobs:
fail-fast: false
matrix:
ruby:
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"
steps:
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby }}
Expand Down
3 changes: 0 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@ inherit_gem:

require: rubocop-performance

AllCops:
TargetRubyVersion: 3.1

Style/StringLiterals:
EnforcedStyle: double_quotes
31 changes: 18 additions & 13 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ GEM
httpclient (2.8.3)
i18n (1.8.2)
concurrent-ruby (~> 1.0)
json (2.7.1)
jwt (2.3.0)
language_server-protocol (3.17.0.3)
loofah (2.21.4)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
Expand All @@ -120,9 +122,10 @@ GEM
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
os (1.1.4)
parallel (1.22.1)
parser (3.1.2.0)
parallel (1.24.0)
parser (3.3.0.5)
ast (~> 2.4.1)
racc
public_suffix (4.0.6)
racc (1.7.1)
rack (2.2.8)
Expand All @@ -142,29 +145,31 @@ GEM
thor (>= 0.19.0, < 2.0)
rainbow (3.1.1)
rake (13.0.1)
regexp_parser (2.4.0)
regexp_parser (2.9.0)
representable (3.1.1)
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
retriable (3.1.2)
rexml (3.2.5)
rubocop (1.29.0)
rexml (3.2.6)
rubocop (1.62.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.1.0.0)
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.17.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.17.0)
parser (>= 3.1.1.0)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.2)
parser (>= 3.3.0.4)
rubocop-performance (1.6.0)
rubocop (>= 0.71.0)
rubocop-shopify (2.5.0)
rubocop (~> 1.25)
ruby-progressbar (1.11.0)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
signet (0.16.1)
addressable (~> 2.8)
Expand All @@ -178,7 +183,7 @@ GEM
tzinfo (1.2.10)
thread_safe (~> 0.1)
uber (0.1.0)
unicode-display_width (2.1.0)
unicode-display_width (2.5.0)
webrick (1.7.0)

PLATFORMS
Expand All @@ -199,4 +204,4 @@ DEPENDENCIES
rubocop-shopify

BUNDLED WITH
2.4.18
2.5.7
2 changes: 1 addition & 1 deletion app_profiler.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |spec|

spec.files = Dir["lib/**/*.rb"]
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.7"
spec.required_ruby_version = ">= 3.0.0"

spec.metadata["allowed_push_host"] = "https://rubygems.org"

Expand Down

0 comments on commit ffc1a36

Please sign in to comment.