configcat-openfeature-provider 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bed72c8e9d480f7f261be86b760a6328c2d30a37debbf2835f6f55e8eca8a6b7
4
- data.tar.gz: 0af26ce4ad07589802f0dde75aa4f9be8b23d0345c4d84e60e608b23bf75bc41
3
+ metadata.gz: 3387c3a49aa92397ce8dde8d175afc121111c72cd4aafb04dd874c5461d267f9
4
+ data.tar.gz: bdf5d8b39c7cb4671ef27be434888d344e62238de9603d5052c93f7e67e5497d
5
5
  SHA512:
6
- metadata.gz: 2a4c439d0849b523ddbd08228cde46f5e92747ea0936ad56d53598de61d352ccb5807a5cff04312b2f29c5aa92f6a367a3f32f7a8242bf55db267fcd385b5af5
7
- data.tar.gz: d76022f65cbfd1f220ae452c0b1ffd48891a0be017d90f9ac9443f8c1ed5789483b5f3fdc6457767ec8ca97c53facf11c60983ff8903b15bcbbf1f284b2dc796
6
+ metadata.gz: f3e6149ffb58775dcd07102dd7511185ef3b0df7b638edb91db5cb6cb5c6cd8f1f90ffef1b6dfc1a9c9ea3cbe0660eff202144de9bc82c6dee974696a12b7ad9
7
+ data.tar.gz: 90e1e80e3d3d1ee1b33c64e65603980a43793cc962bfe08d777642e1cd59b2910d1fb2e5bc0d1d0757887bac02b383c49dea1ada37310ff10368361cd14063c6
@@ -1,11 +1,14 @@
1
1
  name: CI
2
2
 
3
3
  on:
4
+ schedule:
5
+ - cron: '0 1 * * 1'
4
6
  push:
5
7
  branches: [ '*' ]
6
8
  paths-ignore:
7
9
  - '**.md'
8
10
  pull_request:
11
+ branches: [ main ]
9
12
  paths-ignore:
10
13
  - '**.md'
11
14
 
@@ -13,10 +16,10 @@ jobs:
13
16
  standard:
14
17
  runs-on: ubuntu-latest
15
18
  steps:
16
- - uses: actions/checkout@v4
19
+ - uses: actions/checkout@v7
17
20
  - uses: ruby/setup-ruby@v1
18
21
  with:
19
- ruby-version: 3.2
22
+ ruby-version: 3.4
20
23
  - run: bundle install
21
24
  - run: bundle exec rake standard
22
25
 
@@ -26,12 +29,11 @@ jobs:
26
29
  strategy:
27
30
  matrix:
28
31
  ruby:
29
- - "3.3"
30
- - "3.2"
31
- - "3.1"
32
+ - "3.4"
33
+ - "4.0"
32
34
 
33
35
  steps:
34
- - uses: actions/checkout@v4
36
+ - uses: actions/checkout@v7
35
37
  - uses: ruby/setup-ruby@v1
36
38
  with:
37
39
  ruby-version: ${{ matrix.ruby }}
@@ -7,10 +7,10 @@ jobs:
7
7
  publish:
8
8
  runs-on: ubuntu-latest
9
9
  steps:
10
- - uses: actions/checkout@v4
10
+ - uses: actions/checkout@v7
11
11
  - uses: ruby/setup-ruby@v1
12
12
  with:
13
- ruby-version: 3.2
13
+ ruby-version: 3.4
14
14
  - name: Publish to RubyGems
15
15
  run: |
16
16
  mkdir -p $HOME/.gem
data/Gemfile.lock CHANGED
@@ -2,22 +2,22 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  configcat-openfeature-provider (0.1.0)
5
- configcat (~> 8.0.1)
6
- openfeature-sdk (~> 0.4.0)
5
+ configcat (~> 9.0)
6
+ openfeature-sdk (~> 0.6)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
11
  ast (2.4.3)
12
12
  concurrent-ruby (1.3.5)
13
- configcat (8.0.1)
13
+ configcat (9.0.1)
14
14
  concurrent-ruby (~> 1.1)
15
15
  semantic (~> 1.6)
16
16
  diff-lcs (1.6.2)
17
17
  json (2.12.2)
18
18
  language_server-protocol (3.17.0.5)
19
19
  lint_roller (1.1.0)
20
- openfeature-sdk (0.4.0)
20
+ openfeature-sdk (0.6.5)
21
21
  parallel (1.27.0)
22
22
  parser (3.3.8.0)
23
23
  ast (~> 2.4.1)
data/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # ConfigCat OpenFeature Provider for Ruby
2
2
 
3
3
  [![Build Status](https://github.com/configcat/openfeature-ruby/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/configcat/openfeature-ruby/actions/workflows/ci.yml)
4
- [![Gem version](https://badge.fury.io/rb/configcat-openfeature-provider.svg)](https://rubygems.org/gems/configcat-openfeature-provider)
4
+ [![Gem Version](https://badge.fury.io/rb/configcat-openfeature-provider.svg?icon=si%3Arubygems)](https://badge.fury.io/rb/configcat-openfeature-provider)
5
5
 
6
6
  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).
7
7
 
8
8
  ## Requirements
9
- - Ruby >= 3.1
9
+ - Ruby >= 3.4
10
10
 
11
11
  ## Installation
12
12
 
@@ -57,4 +57,4 @@ ConfigCat is a <a href="https://configcat.com" target="_blank">hosted feature fl
57
57
 
58
58
  - [Official ConfigCat SDKs for other platforms](https://github.com/configcat)
59
59
  - [Documentation](https://configcat.com/docs)
60
- - [Blog](https://configcat.com/blog)
60
+ - [Blog](https://configcat.com/blog)
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
 
15
15
  spec.homepage = "https://configcat.com"
16
16
 
17
- spec.required_ruby_version = ">= 3.1"
17
+ spec.required_ruby_version = ">= 3.4"
18
18
 
19
19
  spec.metadata["homepage_uri"] = spec.homepage
20
20
  spec.metadata["source_code_uri"] = "https://github.com/configcat/openfeature-ruby"
@@ -31,8 +31,11 @@ Gem::Specification.new do |spec|
31
31
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
32
32
  spec.require_paths = ["lib"]
33
33
 
34
- spec.add_dependency "configcat", "~> 8.0.1"
35
- spec.add_dependency "openfeature-sdk", "~> 0.4.0"
34
+ spec.add_dependency "configcat", "~> 9.0"
35
+ spec.add_dependency "openfeature-sdk", "~> 0.6"
36
+ if Gem::Version.new(RUBY_VERSION) > Gem::Version.new("4.0")
37
+ spec.add_dependency "logger", "~> 1.7"
38
+ end
36
39
 
37
40
  spec.add_development_dependency "rake", "~> 13.0"
38
41
  spec.add_development_dependency "rspec", "~> 3.12"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ConfigCat
4
4
  module OpenFeature
5
- VERSION = "0.1.0"
5
+ VERSION = "0.2.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configcat-openfeature-provider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ConfigCat
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2025-06-14 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: configcat
@@ -16,28 +15,28 @@ dependencies:
16
15
  requirements:
17
16
  - - "~>"
18
17
  - !ruby/object:Gem::Version
19
- version: 8.0.1
18
+ version: '9.0'
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - "~>"
25
24
  - !ruby/object:Gem::Version
26
- version: 8.0.1
25
+ version: '9.0'
27
26
  - !ruby/object:Gem::Dependency
28
27
  name: openfeature-sdk
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - "~>"
32
31
  - !ruby/object:Gem::Version
33
- version: 0.4.0
32
+ version: '0.6'
34
33
  type: :runtime
35
34
  prerelease: false
36
35
  version_requirements: !ruby/object:Gem::Requirement
37
36
  requirements:
38
37
  - - "~>"
39
38
  - !ruby/object:Gem::Version
40
- version: 0.4.0
39
+ version: '0.6'
41
40
  - !ruby/object:Gem::Dependency
42
41
  name: rake
43
42
  requirement: !ruby/object:Gem::Requirement
@@ -133,7 +132,6 @@ metadata:
133
132
  changelog_uri: https://github.com/configcat/openfeature-ruby/blob/main/CHANGELOG.md
134
133
  bug_tracker_uri: https://github.com/configcat/openfeature-ruby/issues
135
134
  documentation_uri: https://configcat.com/docs/sdk-reference/openfeature/ruby
136
- post_install_message:
137
135
  rdoc_options: []
138
136
  require_paths:
139
137
  - lib
@@ -141,15 +139,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
141
139
  requirements:
142
140
  - - ">="
143
141
  - !ruby/object:Gem::Version
144
- version: '3.1'
142
+ version: '3.4'
145
143
  required_rubygems_version: !ruby/object:Gem::Requirement
146
144
  requirements:
147
145
  - - ">="
148
146
  - !ruby/object:Gem::Version
149
147
  version: '0'
150
148
  requirements: []
151
- rubygems_version: 3.4.19
152
- signing_key:
149
+ rubygems_version: 3.6.9
153
150
  specification_version: 4
154
151
  summary: ConfigCat OpenFeature Provider for Ruby.
155
152
  test_files: []