From 483fc269bf42a365455decdb4cfda5aa7b998122 Mon Sep 17 00:00:00 2001 From: Alexander Lang Date: Tue, 13 Jan 2026 11:27:13 +0100 Subject: [PATCH 1/2] add railties 8.1, ruby 3.4 --- .github/workflows/ruby.yml | 5 ++++- couch_potato.gemspec | 2 +- gemfiles/active_support_8_1 | 7 +++++++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 gemfiles/active_support_8_1 diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 37fb20c..6d699e7 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -16,13 +16,16 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.2", "3.3", "jruby"] + ruby: ["3.2", "3.3", "3.4", "jruby"] gemfile: - "active_support_7_2" - "active_support_8_0" + - "active_support_8_1" exclude: - ruby: "jruby" gemfile: "active_support_8_0" + - ruby: "jruby" + gemfile: "active_support_8_1" steps: - uses: actions/checkout@v4 - name: Set up CouchDB diff --git a/couch_potato.gemspec b/couch_potato.gemspec index 113b2c8..d10ab16 100644 --- a/couch_potato.gemspec +++ b/couch_potato.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |s| s.version = CouchPotato::VERSION s.platform = Gem::Platform::RUBY - s.add_dependency 'activemodel', ['>= 7.2', '< 8.1'] + s.add_dependency 'activemodel', ['>= 7.2', '<= 8.1'] s.add_dependency 'couchrest', '~>2.0.0' s.add_dependency 'json', '~> 2.3' diff --git a/gemfiles/active_support_8_1 b/gemfiles/active_support_8_1 new file mode 100644 index 0000000..176539d --- /dev/null +++ b/gemfiles/active_support_8_1 @@ -0,0 +1,7 @@ +source 'https://rubygems.org' + +gem 'railties', '~>8.1.2' +gem 'activemodel' +gem 'execjs' + +gemspec name: 'couch_potato', path: '..' From 8e85772bdc3c7bde01f3872a7692fcaea3a5549c Mon Sep 17 00:00:00 2001 From: Alexander Lang Date: Tue, 13 Jan 2026 12:03:55 +0100 Subject: [PATCH 2/2] fix version --- couch_potato.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couch_potato.gemspec b/couch_potato.gemspec index d10ab16..a6642f9 100644 --- a/couch_potato.gemspec +++ b/couch_potato.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |s| s.version = CouchPotato::VERSION s.platform = Gem::Platform::RUBY - s.add_dependency 'activemodel', ['>= 7.2', '<= 8.1'] + s.add_dependency 'activemodel', ['>= 7.2', '< 8.2'] s.add_dependency 'couchrest', '~>2.0.0' s.add_dependency 'json', '~> 2.3'