diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edee0d7..ff4920e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,10 +19,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3'] + ruby-version: ['3.0', '3.1', '3.2', '3.3'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Ruby # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, # change this to (see https://github.com/ruby/setup-ruby#versioning): @@ -31,5 +31,6 @@ jobs: with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically + cache-version: 3 - name: Run tests run: bundle exec rake diff --git a/active_interaction-extras.gemspec b/active_interaction-extras.gemspec index 7d6f715..1b31689 100644 --- a/active_interaction-extras.gemspec +++ b/active_interaction-extras.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |spec| "changelog_uri" => "https://github.com/antulik/active_interaction-extras/blob/master/CHANGELOG.md", } - spec.required_ruby_version = '>= 2.7' + spec.required_ruby_version = '>= 3.0' spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) @@ -27,14 +27,14 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] spec.add_dependency "active_interaction", ">= 5.0", "< 6.0" - spec.add_dependency "activemodel", ">= 6.0" + spec.add_dependency "activemodel", ">= 7.1" spec.add_dependency "activesupport", ">= 7.1" spec.add_development_dependency "bundler", "~> 2.2" spec.add_development_dependency "rake", ">= 12.3.3" spec.add_development_dependency "rspec", "~> 3.7" spec.add_development_dependency "pry" - spec.add_development_dependency "sqlite3" + spec.add_development_dependency "sqlite3", "< 2" spec.add_development_dependency "activerecord" spec.add_development_dependency "activejob" spec.add_development_dependency "actionpack"