Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

Commit

Permalink
Set required_ruby_version to >= 2.7.0
Browse files Browse the repository at this point in the history
TargetRubyVersion will read from required_ruby_version in Rubocop 1.61+
  • Loading branch information
jenshenny committed Apr 1, 2024
1 parent f1aeec1 commit eb7d467
Show file tree
Hide file tree
Showing 5 changed files with 153 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
/tmp/

*.gem
Gemfile.lock

.rubocop-https---shopify-github-io-ruby-style-guide-rubocop-yml
packaging/builds
Expand Down
1 change: 0 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ require:
- rubocop-rake

AllCops:
TargetRubyVersion: 2.6
Exclude:
- 'vendor/bundle/**/*'
- 'packaging/builds/**/*'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ group :development do
gem 'solargraph'
end

gem 'rubocop', '~> 1.12.0', require: false
gem 'rubocop', '~> 1.61.0', require: false
gem 'rubocop-performance', '~> 1.10.2', require: false
gem 'rubocop-shopify', '~> 1.0.7', require: false
gem 'rubocop-minitest', '~> 0.11.0', require: false
Expand Down
151 changes: 151 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
PATH
remote: .
specs:
theme-check (1.15.0)
liquid (>= 5.4.0)
nokogiri (>= 1.12)
parser (~> 3)

GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
backport (1.2.0)
benchmark (0.3.0)
byebug (11.1.3)
coderay (1.1.3)
diff-lcs (1.5.1)
e2mmap (0.1.0)
ffi (1.16.3)
formatador (1.1.0)
guard (2.18.1)
formatador (>= 0.2.4)
listen (>= 2.7, < 4.0)
lumberjack (>= 1.0.12, < 2.0)
nenv (~> 0.1)
notiffany (~> 0.0)
pry (>= 0.13.0)
shellany (~> 0.0)
thor (>= 0.18.1)
guard-compat (1.2.1)
guard-minitest (2.4.6)
guard-compat (~> 1.2)
minitest (>= 3.0)
jaro_winkler (1.5.6)
json (2.7.1)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
language_server-protocol (3.17.0.3)
liquid (5.5.0)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
lumberjack (1.2.10)
method_source (1.0.0)
mini_portile2 (2.8.5)
minitest (5.22.3)
minitest-focus (1.4.0)
minitest (>= 4, < 6)
mocha (2.1.0)
ruby2_keywords (>= 0.0.5)
nenv (0.3.0)
nokogiri (1.16.3)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
notiffany (0.1.3)
nenv (~> 0.1)
shellany (~> 0.0)
parallel (1.24.0)
parser (3.3.0.5)
ast (~> 2.4.1)
racc
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
racc (1.7.3)
rainbow (3.1.1)
rake (13.1.0)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
regexp_parser (2.9.0)
reverse_markdown (2.1.1)
nokogiri
rexml (3.2.6)
rubocop (1.61.0)
json (~> 2.3)
language_server-protocol (>= 3.17.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)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.2)
parser (>= 3.3.0.4)
rubocop-minitest (0.11.1)
rubocop (>= 0.90, < 2.0)
rubocop-performance (1.10.2)
rubocop (>= 0.90.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rake (0.5.1)
rubocop
rubocop-shopify (1.0.7)
rubocop (~> 1.4)
ruby-prof (0.18.0)
ruby-prof-flamegraph (0.3.0)
ruby-prof (~> 0.13)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
shellany (0.0.1)
solargraph (0.48.0)
backport (~> 1.2)
benchmark
bundler (>= 1.17.2)
diff-lcs (~> 1.4)
e2mmap
jaro_winkler (~> 1.5)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.1)
parser (~> 3.0)
reverse_markdown (>= 1.0.5, < 3)
rubocop (>= 0.52)
thor (~> 1.0)
tilt (~> 2.0)
yard (~> 0.9, >= 0.9.24)
thor (1.3.1)
tilt (2.3.0)
unicode-display_width (2.5.0)
yard (0.9.36)

PLATFORMS
ruby

DEPENDENCIES
bundler
guard
guard-minitest
minitest
minitest-focus
mocha
pry-byebug
rake
rubocop (~> 1.61.0)
rubocop-minitest (~> 0.11.0)
rubocop-performance (~> 1.10.2)
rubocop-rake (~> 0.5.1)
rubocop-shopify (~> 1.0.7)
ruby-prof
ruby-prof-flamegraph
solargraph
theme-check!

BUNDLED WITH
2.5.7
2 changes: 1 addition & 1 deletion theme-check.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
spec.homepage = "https://github.com/Shopify/theme-check"
spec.license = "MIT"

spec.required_ruby_version = ">= 2.7"
spec.required_ruby_version = ">= 2.7.0"

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

Expand Down

0 comments on commit eb7d467

Please sign in to comment.