From 17aeb082e4583da0c7b31d6ba355c438b4dd74c8 Mon Sep 17 00:00:00 2001 From: David Rice Date: Thu, 11 Apr 2024 13:12:37 +0100 Subject: [PATCH 1/3] build: add Ruby 2.7.8 to supported versions --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f8c63f4..e9f6b58 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,6 +11,7 @@ jobs: strategy: matrix: ruby: [ + '2.7.8', '3.0.6', '3.1.4', '3.2.3', From a35a357352f29ddf063e34c207f55a0fe6533c92 Mon Sep 17 00:00:00 2001 From: David Rice Date: Thu, 11 Apr 2024 14:01:15 +0100 Subject: [PATCH 2/3] fix: try allow older versions of bundler --- Gemfile | 1 + Gemfile.lock | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 7259538..ef29a81 100644 --- a/Gemfile +++ b/Gemfile @@ -4,4 +4,5 @@ source "https://rubygems.org" gemspec +gem "bundler", "~> 2.2" gem "rubocop", require: false diff --git a/Gemfile.lock b/Gemfile.lock index cf398c3..30de760 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - atco (1.0.0) + atco (1.0.1) GEM remote: https://rubygems.org/ @@ -58,8 +58,9 @@ PLATFORMS DEPENDENCIES atco! - rake - rspec + bundler (~> 2.2) + rake (~> 13.0) + rspec (~> 3.9) rubocop BUNDLED WITH From 201d2235f51ac6efc17bfe80177157f148f658f7 Mon Sep 17 00:00:00 2001 From: David Rice Date: Thu, 11 Apr 2024 14:19:46 +0100 Subject: [PATCH 3/3] fix: remove the BUNDLED WITH section from Gemfile.lock to make it easier portable between ruby versions --- Gemfile | 1 - Gemfile.lock | 4 ---- 2 files changed, 5 deletions(-) diff --git a/Gemfile b/Gemfile index ef29a81..7259538 100644 --- a/Gemfile +++ b/Gemfile @@ -4,5 +4,4 @@ source "https://rubygems.org" gemspec -gem "bundler", "~> 2.2" gem "rubocop", require: false diff --git a/Gemfile.lock b/Gemfile.lock index 30de760..53ad196 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -58,10 +58,6 @@ PLATFORMS DEPENDENCIES atco! - bundler (~> 2.2) rake (~> 13.0) rspec (~> 3.9) rubocop - -BUNDLED WITH - 2.5.3