diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 041a3b9..5e06d26 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.rubocop.yml b/.rubocop.yml index 7237025..89b7f4d 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -2,7 +2,6 @@ inherit_gem: rubocop-shopify: rubocop.yml AllCops: - TargetRubyVersion: 2.6.4 Exclude: - vendor/**/* UseCache: true diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000..e4604e3 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +3.2.1 diff --git a/dev.yml b/dev.yml index 4f9c7af..ffb2cfa 100644 --- a/dev.yml +++ b/dev.yml @@ -2,7 +2,7 @@ name: recordstore up: - - ruby: 3.2.1 + - ruby - bundler commands: diff --git a/record_store.gemspec b/record_store.gemspec index d438013..c3d865f 100644 --- a/record_store.gemspec +++ b/record_store.gemspec @@ -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'