diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 625dc6f4..04706346 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -61,6 +61,7 @@ jobs: with: bundler-cache: true ruby-version: "${{ matrix.ruby-version }}" + rubygems: "${{ matrix.ruby-version == '3.0' && '3.3.22' || 'default' }}" - name: Run specs run: | bundle exec rspec --profile --format progress --format RSpec::Github::Formatter @@ -107,6 +108,7 @@ jobs: with: bundler-cache: true ruby-version: "${{ matrix.ruby-version }}" + rubygems: "${{ matrix.ruby-version == '3.0' && '3.3.22' || 'default' }}" - name: Run specs run: | bundle exec rspec --profile --format progress --format RSpec::Github::Formatter diff --git a/statesman.gemspec b/statesman.gemspec index 521d90da..d76cd76f 100644 --- a/statesman.gemspec +++ b/statesman.gemspec @@ -21,6 +21,7 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] spec.required_ruby_version = ">= 3.0" + spec.required_rubygems_version = ">= 3.3.22" spec.add_development_dependency "ammeter", "~> 1.1" spec.add_development_dependency "bundler", "~> 2" @@ -33,7 +34,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency "rspec-github", "~> 2.4.0" spec.add_development_dependency "rspec-its", "~> 1.1" spec.add_development_dependency "rspec-rails", "~> 6.0" - spec.add_development_dependency "sqlite3", "~> 1.7.0" + spec.add_development_dependency "sqlite3", "~> 2.0.2" spec.add_development_dependency "timecop", "~> 0.9.1" spec.metadata = {