From 399e9422c96bbe64314dd2ee539e45ba608bfa9f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 14 Jun 2024 09:51:27 +0000 Subject: [PATCH 1/3] Update sqlite3 requirement from ~> 1.7.0 to ~> 2.0.2 Updates the requirements on [sqlite3](https://github.com/sparklemotion/sqlite3-ruby) to permit the latest version. - [Release notes](https://github.com/sparklemotion/sqlite3-ruby/releases) - [Changelog](https://github.com/sparklemotion/sqlite3-ruby/blob/main/CHANGELOG.md) - [Commits](https://github.com/sparklemotion/sqlite3-ruby/compare/v1.7.0...v2.0.2) --- updated-dependencies: - dependency-name: sqlite3 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- statesman.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statesman.gemspec b/statesman.gemspec index 521d90da..53b6aae8 100644 --- a/statesman.gemspec +++ b/statesman.gemspec @@ -33,7 +33,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 = { From 3c3b7549ec7126f537b391c1fa7e2bd6f4371465 Mon Sep 17 00:00:00 2001 From: Tabby Cromarty Date: Fri, 14 Jun 2024 11:09:07 +0100 Subject: [PATCH 2/3] Add required rubygems version to match SQLite 2.x requirements --- statesman.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/statesman.gemspec b/statesman.gemspec index 53b6aae8..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" From 76fdcdea0068c62ad0af78b934d56303cbd09aff Mon Sep 17 00:00:00 2001 From: Tabby Cromarty Date: Fri, 14 Jun 2024 11:13:21 +0100 Subject: [PATCH 3/3] Update rubygems in tests using Ruby 3.0 --- .github/workflows/tests.yml | 2 ++ 1 file changed, 2 insertions(+) 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