From 9d195ac233ded12185b441edaaca9a30c69ea982 Mon Sep 17 00:00:00 2001 From: Pierre Merlin Date: Tue, 7 Jul 2026 07:53:54 +0200 Subject: [PATCH 1/2] ci: drop Ruby 3.1 and 3.2 EOL versions from CI matrix Remove Ruby 3.1 and 3.2 from the test matrix (both reached EOL) and bump required_ruby_version to >= 3.3.0 in the gemspec accordingly. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/test.yml | 9 --------- couchbase-orm.gemspec | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 48b172f..fe06f25 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,15 +20,6 @@ jobs: - ruby: '3.3' active-model: '7.2' couchbase: '7.2.3' - - ruby: '3.2' - active-model: '7.2.0' - couchbase: '7.1.1' - - ruby: '3.2' - active-model: '7.1.0' - couchbase: '6.6.5' - - ruby: '3.1' - active-model: '7.1.0' - couchbase: '7.1.0' fail-fast: false runs-on: ubuntu-24.04 name: ${{ matrix.ruby }} rails-${{ matrix.active-model }} couchbase-${{ matrix.couchbase }} diff --git a/couchbase-orm.gemspec b/couchbase-orm.gemspec index 281a4aa..78cbde0 100644 --- a/couchbase-orm.gemspec +++ b/couchbase-orm.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |gem| gem.summary = 'Couchbase ORM for Rails' gem.description = 'A Couchbase ORM for Rails' - gem.required_ruby_version = '>= 3.1.0' + gem.required_ruby_version = '>= 3.3.0' gem.require_paths = ['lib'] gem.add_runtime_dependency 'activemodel', ENV['ACTIVE_MODEL_VERSION'] || '>= 7.1' From 26afff628b850a70586b2a30e9885252be7aa734 Mon Sep 17 00:00:00 2001 From: Pierre Merlin Date: Tue, 7 Jul 2026 08:31:57 +0200 Subject: [PATCH 2/2] ci: fix libtinfo5 download URL (404 on stale version) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The hardcoded libtinfo5 .deb URL pinned version 6.3-2ubuntu0.1, which has been superseded in the Ubuntu pool and now returns 404. libtinfo5 is not available via apt on ubuntu-24.04, so the manual download is still required — bump the pinned version to 6.3-2ubuntu0.2. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fe06f25..d78e938 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,8 +26,8 @@ jobs: steps: - uses: actions/checkout@v3 - run: sudo apt-get update && sudo apt-get install libevent-dev libev-dev python3-httplib2 - - run: wget http://security.ubuntu.com/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.1_amd64.deb - - run: sudo apt install ./libtinfo5_6.3-2ubuntu0.1_amd64.deb + - run: wget http://security.ubuntu.com/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.2_amd64.deb + - run: sudo apt install ./libtinfo5_6.3-2ubuntu0.2_amd64.deb - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }}