Skip to content

Commit

Permalink
Merge pull request #234 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
sbfaulkner committed Apr 5, 2024
2 parents bba9630 + 97da99d commit b6b449b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ 2.7.1, 3.2.1 ]
ruby: [ 3.0, 3.1, 3.2 ]
name: Test Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v4
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.4
Exclude:
- vendor/**/*
UseCache: true
Expand Down
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.2.1
2 changes: 1 addition & 1 deletion dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: recordstore

up:
- ruby: 3.2.1
- ruby
- bundler

commands:
Expand Down
2 changes: 1 addition & 1 deletion record_store.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
spec.executables = ['record-store']
spec.require_paths = ['lib']

spec.required_ruby_version = '>= 2.0'
spec.required_ruby_version = '>= 3.0.0'

spec.add_runtime_dependency 'activemodel', '>= 4.2'
spec.add_runtime_dependency 'activesupport', '>= 4.2'
Expand Down

0 comments on commit b6b449b

Please sign in to comment.