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 +4 -4
- data/.github/workflows/ci.yml +8 -6
- data/.github/workflows/publish.yml +2 -2
- data/Gemfile.lock +4 -4
- data/README.md +3 -3
- data/configcat-openfeature-provider.gemspec +6 -3
- data/lib/configcat-openfeature-provider/version.rb +1 -1
- metadata +8 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3387c3a49aa92397ce8dde8d175afc121111c72cd4aafb04dd874c5461d267f9
|
|
4
|
+
data.tar.gz: bdf5d8b39c7cb4671ef27be434888d344e62238de9603d5052c93f7e67e5497d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f3e6149ffb58775dcd07102dd7511185ef3b0df7b638edb91db5cb6cb5c6cd8f1f90ffef1b6dfc1a9c9ea3cbe0660eff202144de9bc82c6dee974696a12b7ad9
|
|
7
|
+
data.tar.gz: 90e1e80e3d3d1ee1b33c64e65603980a43793cc962bfe08d777642e1cd59b2910d1fb2e5bc0d1d0757887bac02b383c49dea1ada37310ff10368361cd14063c6
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -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@
|
|
19
|
+
- uses: actions/checkout@v7
|
|
17
20
|
- uses: ruby/setup-ruby@v1
|
|
18
21
|
with:
|
|
19
|
-
ruby-version: 3.
|
|
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.
|
|
30
|
-
- "
|
|
31
|
-
- "3.1"
|
|
32
|
+
- "3.4"
|
|
33
|
+
- "4.0"
|
|
32
34
|
|
|
33
35
|
steps:
|
|
34
|
-
- uses: actions/checkout@
|
|
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@
|
|
10
|
+
- uses: actions/checkout@v7
|
|
11
11
|
- uses: ruby/setup-ruby@v1
|
|
12
12
|
with:
|
|
13
|
-
ruby-version: 3.
|
|
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 (~>
|
|
6
|
-
openfeature-sdk (~> 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 (
|
|
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.
|
|
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
|
[](https://github.com/configcat/openfeature-ruby/actions/workflows/ci.yml)
|
|
4
|
-
[](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.
|
|
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.
|
|
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", "~>
|
|
35
|
-
spec.add_dependency "openfeature-sdk", "~> 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"
|
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.
|
|
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:
|
|
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:
|
|
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:
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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: []
|