From 982f6348b1b045aca1e206bb2464d864c7f52de9 Mon Sep 17 00:00:00 2001 From: Peter Csajtai Date: Thu, 8 Oct 2026 13:26:28 +0200 Subject: [PATCH 1/6] Update dependencies / add scheduled CI run --- .github/workflows/ci.yml | 3 +++ Gemfile.lock | 8 ++++---- configcat-openfeature-provider.gemspec | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f7cc75..96d472c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,11 +1,14 @@ name: CI on: + schedule: + - cron: '0 1 * * 1' push: branches: [ '*' ] paths-ignore: - '**.md' pull_request: + branches: [ main ] paths-ignore: - '**.md' diff --git a/Gemfile.lock b/Gemfile.lock index 1439ca6..ad6f63a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,22 +2,22 @@ PATH remote: . specs: configcat-openfeature-provider (0.1.0) - configcat (~> 8.0.1) - openfeature-sdk (~> 0.4.0) + configcat (~> 9.0) + openfeature-sdk (~> 0.6) GEM remote: https://rubygems.org/ specs: ast (2.4.3) concurrent-ruby (1.3.5) - configcat (8.0.1) + configcat (9.0.1) concurrent-ruby (~> 1.1) semantic (~> 1.6) diff-lcs (1.6.2) json (2.12.2) language_server-protocol (3.17.0.5) lint_roller (1.1.0) - openfeature-sdk (0.4.0) + openfeature-sdk (0.6.5) parallel (1.27.0) parser (3.3.8.0) ast (~> 2.4.1) diff --git a/configcat-openfeature-provider.gemspec b/configcat-openfeature-provider.gemspec index 9f5d818..6ec1031 100644 --- a/configcat-openfeature-provider.gemspec +++ b/configcat-openfeature-provider.gemspec @@ -31,8 +31,8 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_dependency "configcat", "~> 8.0.1" - spec.add_dependency "openfeature-sdk", "~> 0.4.0" + spec.add_dependency "configcat", "~> 9.0" + spec.add_dependency "openfeature-sdk", "~> 0.6" spec.add_development_dependency "rake", "~> 13.0" spec.add_development_dependency "rspec", "~> 3.12" From 8a9f65b813a1f97263179f718c5727de4fc02881 Mon Sep 17 00:00:00 2001 From: Peter Csajtai Date: Thu, 8 Oct 2026 13:30:04 +0200 Subject: [PATCH 2/6] Fix CI --- .github/workflows/ci.yml | 7 +++---- .github/workflows/publish.yml | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 96d472c..386a0c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v7 - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.2 + ruby-version: 3.4 - run: bundle install - run: bundle exec rake standard @@ -29,9 +29,8 @@ jobs: strategy: matrix: ruby: - - "3.3" - - "3.2" - - "3.1" + - "3.4" + - "4.0" steps: - uses: actions/checkout@v7 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3b5f83a..f9162c9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v7 - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.2 + ruby-version: 3.4 - name: Publish to RubyGems run: | mkdir -p $HOME/.gem From 9e8ac1dcb7839a4aca722158f324359e86f505af Mon Sep 17 00:00:00 2001 From: Peter Csajtai Date: Thu, 8 Oct 2026 13:40:05 +0200 Subject: [PATCH 3/6] Add logger dependency as it was removed from standard in Ruby 4.0 --- configcat-openfeature-provider.gemspec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configcat-openfeature-provider.gemspec b/configcat-openfeature-provider.gemspec index 6ec1031..704a0e8 100644 --- a/configcat-openfeature-provider.gemspec +++ b/configcat-openfeature-provider.gemspec @@ -33,6 +33,9 @@ Gem::Specification.new do |spec| spec.add_dependency "configcat", "~> 9.0" spec.add_dependency "openfeature-sdk", "~> 0.6" + if Gem::Version.new(RUBY_VERSION) > Gem::Version.new("4.0") + spec.add_dependency "logger", "~> 1.7" + end spec.add_development_dependency "rake", "~> 13.0" spec.add_development_dependency "rspec", "~> 3.12" From 57050f5fc7c4b46517628db3369f79f5f21026eb Mon Sep 17 00:00:00 2001 From: Peter Csajtai Date: Thu, 8 Oct 2026 13:42:24 +0200 Subject: [PATCH 4/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 69fa1da..514e905 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This repository contains an OpenFeature provider that allows [ConfigCat](https://configcat.com) to be used with the [OpenFeature Ruby SDK](https://github.com/open-feature/ruby-sdk). ## Requirements -- Ruby >= 3.1 +- Ruby >= 3.4 ## Installation From 75b368d1913bc60b324c2dfcd6b9fa62570b4ac5 Mon Sep 17 00:00:00 2001 From: Peter Csajtai Date: Thu, 8 Oct 2026 13:44:17 +0200 Subject: [PATCH 5/6] Bump version --- lib/configcat-openfeature-provider/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/configcat-openfeature-provider/version.rb b/lib/configcat-openfeature-provider/version.rb index 7701ae2..6f1bf6c 100644 --- a/lib/configcat-openfeature-provider/version.rb +++ b/lib/configcat-openfeature-provider/version.rb @@ -2,6 +2,6 @@ module ConfigCat module OpenFeature - VERSION = "0.1.0" + VERSION = "0.2.0" end end From 32c2c9ed7c473dad098cd28641b56698804bde13 Mon Sep 17 00:00:00 2001 From: Peter Csajtai Date: Thu, 8 Oct 2026 14:06:35 +0200 Subject: [PATCH 6/6] Update configcat-openfeature-provider.gemspec --- configcat-openfeature-provider.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configcat-openfeature-provider.gemspec b/configcat-openfeature-provider.gemspec index 704a0e8..013d53c 100644 --- a/configcat-openfeature-provider.gemspec +++ b/configcat-openfeature-provider.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |spec| spec.homepage = "https://configcat.com" - spec.required_ruby_version = ">= 3.1" + spec.required_ruby_version = ">= 3.4" spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = "https://github.com/configcat/openfeature-ruby"