Skip to content

Commit

Permalink
Merge pull request #38 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
peterzhu2118 committed Apr 2, 2024
2 parents f1c547e + 17567d1 commit 7890afa
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -11,7 +11,10 @@ jobs:
strategy:
matrix:
ruby:
- "3.0"
- "3.1"
- "3.2"
- "3.3"

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Expand Up @@ -6,5 +6,3 @@
/pkg/
/spec/reports/
/tmp/

Gemfile.lock
1 change: 0 additions & 1 deletion .rubocop.yml
Expand Up @@ -7,7 +7,6 @@ require:
AllCops:
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: 2.6

Style/StringLiterals:
Enabled: true
Expand Down
1 change: 1 addition & 0 deletions .ruby-version
@@ -0,0 +1 @@
3.3.0
55 changes: 55 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,55 @@
PATH
remote: .
specs:
shopify-ruby-definitions (1.4.0)

GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
json (2.7.1)
language_server-protocol (3.17.0.3)
minitest (5.22.3)
parallel (1.24.0)
parser (3.3.0.5)
ast (~> 2.4.1)
racc
racc (1.7.3)
rainbow (3.1.1)
rake (13.1.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.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.31.1, < 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.35.0)
rubocop (>= 1.61, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-shopify (2.15.1)
rubocop (~> 1.51)
ruby-progressbar (1.13.0)
unicode-display_width (2.5.0)

PLATFORMS
ruby

DEPENDENCIES
minitest (~> 5.0)
rake (~> 13.0)
rubocop (~> 1.21)
rubocop-minitest
rubocop-shopify
shopify-ruby-definitions!

BUNDLED WITH
2.4.10
2 changes: 1 addition & 1 deletion shopify-ruby-definitions.gemspec
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
spec.summary = "Ruby builds used at Shopify."
spec.homepage = "https://github.com/Shopify/ruby-definitions"
spec.license = "MIT"
spec.required_ruby_version = ">= 2.6.0"
spec.required_ruby_version = ">= 3.0.0"

spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/Shopify/ruby-definitions"
Expand Down

0 comments on commit 7890afa

Please sign in to comment.