Skip to content

Commit

Permalink
Merge pull request #30 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 authored May 1, 2024
2 parents 6ee68f2 + e3de691 commit 7413a23
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
- run: bundle install --jobs=3 --retry=3 --path=vendor/bundle
- run: bundle exec rubocop
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Gemfile.lock

/.bundle/
/.yardoc
/_yardoc/
Expand Down
1 change: 0 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ inherit_gem:
rubocop-shopify: rubocop.yml

AllCops:
TargetRubyVersion: 2.6
SuggestExtensions: false

Style/GlobalVars:
Expand Down
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.3.0
68 changes: 68 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
PATH
remote: .
specs:
ruby_memcheck (2.3.0)
nokogiri

GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
json (2.7.1)
language_server-protocol (3.17.0.3)
mini_portile2 (2.8.5)
minitest (5.22.3)
minitest-parallel_fork (1.3.1)
minitest (>= 5.15.0)
nokogiri (1.16.3)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nokogiri (1.16.3-arm64-darwin)
racc (~> 1.4)
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)
rake-compiler (1.2.7)
rake
regexp_parser (2.9.0)
rexml (3.2.6)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
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-shopify (2.15.1)
rubocop (~> 1.51)
ruby-progressbar (1.13.0)
unicode-display_width (2.5.0)

PLATFORMS
ruby

DEPENDENCIES
minitest (~> 5.0)
minitest-parallel_fork (~> 1.2)
rake (~> 13.0)
rake-compiler (~> 1.1)
rspec-core
rubocop (~> 1.22)
rubocop-shopify (~> 2.3)
ruby_memcheck!

BUNDLED WITH
2.4.10
2 changes: 1 addition & 1 deletion ruby_memcheck.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
spec.summary = "Use Valgrind memcheck without going crazy"
spec.homepage = "https://github.com/Shopify/ruby_memcheck"
spec.license = "MIT"
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
spec.required_ruby_version = ">= 3.0.0"

spec.metadata["homepage_uri"] = spec.homepage

Expand Down

0 comments on commit 7413a23

Please sign in to comment.