diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edee0d7..0744751 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: 2 - name: Run tests run: bundle exec rake diff --git a/Gemfile b/Gemfile index 0d756cb..9b5d046 100644 --- a/Gemfile +++ b/Gemfile @@ -4,3 +4,5 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } # Specify your gem's dependencies in active_interaction-extras.gemspec gemspec + +gem "sqlite3", ">= 2" diff --git a/active_interaction-extras.gemspec b/active_interaction-extras.gemspec index 7d6f715..5f4a768 100644 --- a/active_interaction-extras.gemspec +++ b/active_interaction-extras.gemspec @@ -34,7 +34,7 @@ Gem::Specification.new do |spec| 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"