From 3cb67746afa560a17ed2a7e645fba5ef1f563363 Mon Sep 17 00:00:00 2001 From: Pierre Merlin Date: Mon, 27 Oct 2025 16:35:44 +0100 Subject: [PATCH 1/2] Add logger dependency to suppress Ruby 3.5.0 deprecation warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Starting from Ruby 3.5.0, logger will no longer be part of the default gems. This change adds logger as an explicit runtime dependency to prevent deprecation warnings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- couchbase-orm.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/couchbase-orm.gemspec b/couchbase-orm.gemspec index 5a67a51..8747f05 100644 --- a/couchbase-orm.gemspec +++ b/couchbase-orm.gemspec @@ -23,6 +23,7 @@ Gem::Specification.new do |gem| gem.add_runtime_dependency 'couchbase', '>= 3.4.2' gem.add_runtime_dependency 'radix', '~> 2.2' # converting numbers to and from any base gem.add_runtime_dependency 'json-schema', '>= 3' # validating JSON against a schema + gem.add_runtime_dependency 'logger' # Required from Ruby 3.5.0+ gem.add_development_dependency 'rake', '~> 12.2' gem.add_development_dependency 'rspec', '~> 3.7' From e89645c7b857e2a8ab4517b2487256a3e017ff04 Mon Sep 17 00:00:00 2001 From: Pierre Merlin Date: Mon, 27 Oct 2025 16:43:01 +0100 Subject: [PATCH 2/2] Add version constraint to logger dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use pessimistic version constraint (~> 1.6) to ensure build reproducibility and prevent accidentally pulling in future versions with potential breaking changes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- couchbase-orm.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchbase-orm.gemspec b/couchbase-orm.gemspec index 8747f05..b67bee8 100644 --- a/couchbase-orm.gemspec +++ b/couchbase-orm.gemspec @@ -23,7 +23,7 @@ Gem::Specification.new do |gem| gem.add_runtime_dependency 'couchbase', '>= 3.4.2' gem.add_runtime_dependency 'radix', '~> 2.2' # converting numbers to and from any base gem.add_runtime_dependency 'json-schema', '>= 3' # validating JSON against a schema - gem.add_runtime_dependency 'logger' # Required from Ruby 3.5.0+ + gem.add_runtime_dependency 'logger', '~> 1.6' # Required from Ruby 3.5.0+ gem.add_development_dependency 'rake', '~> 12.2' gem.add_development_dependency 'rspec', '~> 3.7'