Skip to content

Commit

Permalink
Merge pull request #66 from Shopify/centralize_ruby_version
Browse files Browse the repository at this point in the history
Centralize Ruby Version to `.ruby-version`
  • Loading branch information
jenshenny authored Apr 3, 2024
2 parents 2d179a6 + 8513db1 commit ad702b5
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 14 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
bundler: latest
- name: Ruby Tests
run: bundle exec rake test
- name: RuboCop
Expand Down
1 change: 0 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ inherit_gem:
rubocop-shopify: rubocop.yml

AllCops:
TargetRubyVersion: 2.7
Exclude:
- 'vendor/**/*'
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.3.0
30 changes: 17 additions & 13 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,35 @@ GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
json (2.6.3)
json (2.7.1)
language_server-protocol (3.17.0.3)
minitest (5.17.0)
parallel (1.22.1)
parser (3.2.0.0)
parallel (1.24.0)
parser (3.3.0.5)
ast (~> 2.4.1)
racc
racc (1.7.3)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.6.1)
rexml (3.2.5)
rubocop (1.43.0)
regexp_parser (2.9.0)
rexml (3.2.6)
rubocop (1.62.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.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.24.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.24.1)
parser (>= 3.1.1.0)
rubocop-ast (1.31.2)
parser (>= 3.3.0.4)
rubocop-shopify (2.11.1)
rubocop (~> 1.42)
ruby-progressbar (1.11.0)
unicode-display_width (2.4.2)
ruby-progressbar (1.13.0)
unicode-display_width (2.5.0)

PLATFORMS
ruby
Expand All @@ -44,4 +48,4 @@ DEPENDENCIES
rubocop-shopify

BUNDLED WITH
2.4.22
2.5.7
2 changes: 2 additions & 0 deletions bootboot.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Gem::Specification.new do |spec|
spec.extra_rdoc_files = ["LICENSE.txt", "README.md"]
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.7.0"

spec.add_development_dependency("minitest", "~> 5.0")
spec.add_development_dependency("rake", "~> 10.0")
end

0 comments on commit ad702b5

Please sign in to comment.