Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: CI

on:
schedule:
- cron: '0 1 * * 1'
push:
branches: [ '*' ]
paths-ignore:
- '**.md'
pull_request:
branches: [ main ]
paths-ignore:
- '**.md'

Expand All @@ -16,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

Expand All @@ -26,9 +29,8 @@ jobs:
strategy:
matrix:
ruby:
- "3.3"
- "3.2"
- "3.1"
- "3.4"
- "4.0"

steps:
- uses: actions/checkout@v7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 6 additions & 3 deletions configcat-openfeature-provider.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -31,8 +31,11 @@ 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"
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"
Expand Down
2 changes: 1 addition & 1 deletion lib/configcat-openfeature-provider/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module ConfigCat
module OpenFeature
VERSION = "0.1.0"
VERSION = "0.2.0"
end
end
Loading