openfeature-sdk 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6286e12fce6a89a9b310e838fd456bfb6dd0fa35ea7d1bd99745beca5781fbd8
4
- data.tar.gz: ed73a6433ca51fa55403f0893097f102e8816ca93c3b4ec5a21c26b019055461
3
+ metadata.gz: 5e0ab3e707e31b5e81d0a804445506bf8cf08b4be649f6f3eee1f38c61b5c286
4
+ data.tar.gz: e4fa9d61a1c04de6b058c62ea31b4d359f251cf17c3a2323366118baaf64dea7
5
5
  SHA512:
6
- metadata.gz: d81f9a31e72afb82edae5cb499d7cec3955199f9b5c795b7f477be314b1de5e5bc26cf9db292b1333b4da5a41ed3f068cab55494a10c1d355a3b641aa3560e4e
7
- data.tar.gz: 7aff559376dd006308d92806521731aa0b95ddc098f2455bfdb8aa5d7ca4bb8dc57ac7f8ae5939bef9c66672c032d65548c09d704a74df51f2fdd5cad0aa6c28
6
+ metadata.gz: 2b2e10cc74a605dabbc540cb3eeaa15d887f4173170bd4189526cae141312fdd2f71cbf3f02a41693b6b9eb76716ae8896680072f90f0ce9e89a39aed46c121d
7
+ data.tar.gz: 696d50f1ff5b0632a77cfb4956fe3fe9b20132d2a39f0850a7b6514c154cf8ae93722bab2348b15443e6b7c6fd1ad354b053828ad7c95140873713025fbf5cd5
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.1.0"
2
+ ".": "0.1.1"
3
3
  }
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.3
1
+ 3.2.2
data/.simplecov ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "simplecov-cobertura"
4
+
5
+ SimpleCov.start do
6
+ add_filter "/spec/"
7
+ if ENV["CI"] == "true"
8
+ formatter SimpleCov::Formatter::CoberturaFormatter
9
+ else
10
+ formatter SimpleCov::Formatter::HTMLFormatter
11
+ end
12
+ end
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.1](https://github.com/open-feature/ruby-sdk/compare/v0.1.0...v0.1.1) (2023-09-13)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * OpenFeature::SDK::Configuration uses concurrent-ruby gem even though it doesn't depend on it ([#61](https://github.com/open-feature/ruby-sdk/issues/61)) ([c3c1222](https://github.com/open-feature/ruby-sdk/commit/c3c12226a21e43d62358562f4008a4a44a10e72b))
9
+
3
10
  ## [0.1.0](https://github.com/open-feature/ruby-sdk/compare/v0.0.3...v0.1.0) (2022-12-15)
4
11
 
5
12
 
data/CODEOWNERS ADDED
@@ -0,0 +1,6 @@
1
+ # These owners will be the default owners for everything in
2
+ # the repo. Unless a later match takes precedence
3
+ #
4
+ # Managed by Peribolos: https://github.com/open-feature/community/blob/main/config/open-feature/sdk-ruby/workgroup.yaml
5
+ #
6
+ * @open-feature/sdk-ruby-maintainers
data/Gemfile.lock CHANGED
@@ -1,35 +1,39 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- openfeature-sdk (0.1.0)
4
+ openfeature-sdk (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  ast (2.4.2)
10
- concurrent-ruby (1.1.10)
10
+ concurrent-ruby (1.2.2)
11
11
  diff-lcs (1.5.0)
12
- json (2.6.2)
13
- parallel (1.22.1)
14
- parser (3.1.2.1)
12
+ docile (1.4.0)
13
+ json (2.6.3)
14
+ markly (0.10.0)
15
+ parallel (1.23.0)
16
+ parser (3.2.2.3)
15
17
  ast (~> 2.4.1)
18
+ racc
19
+ racc (1.7.1)
16
20
  rainbow (3.1.1)
17
21
  rake (13.0.6)
18
- regexp_parser (2.6.0)
19
- rexml (3.2.5)
22
+ regexp_parser (2.8.1)
23
+ rexml (3.2.6)
20
24
  rspec (3.12.0)
21
25
  rspec-core (~> 3.12.0)
22
26
  rspec-expectations (~> 3.12.0)
23
27
  rspec-mocks (~> 3.12.0)
24
- rspec-core (3.12.0)
28
+ rspec-core (3.12.2)
25
29
  rspec-support (~> 3.12.0)
26
- rspec-expectations (3.12.0)
30
+ rspec-expectations (3.12.3)
27
31
  diff-lcs (>= 1.2.0, < 2.0)
28
32
  rspec-support (~> 3.12.0)
29
- rspec-mocks (3.12.0)
33
+ rspec-mocks (3.12.6)
30
34
  diff-lcs (>= 1.2.0, < 2.0)
31
35
  rspec-support (~> 3.12.0)
32
- rspec-support (3.12.0)
36
+ rspec-support (3.12.1)
33
37
  rubocop (1.37.1)
34
38
  json (~> 2.3)
35
39
  parallel (~> 1.10)
@@ -40,10 +44,19 @@ GEM
40
44
  rubocop-ast (>= 1.23.0, < 2.0)
41
45
  ruby-progressbar (~> 1.7)
42
46
  unicode-display_width (>= 1.4.0, < 3.0)
43
- rubocop-ast (1.23.0)
44
- parser (>= 3.1.1.0)
45
- ruby-progressbar (1.11.0)
46
- unicode-display_width (2.3.0)
47
+ rubocop-ast (1.29.0)
48
+ parser (>= 3.2.1.0)
49
+ ruby-progressbar (1.13.0)
50
+ simplecov (0.22.0)
51
+ docile (~> 1.1)
52
+ simplecov-html (~> 0.11)
53
+ simplecov_json_formatter (~> 0.1)
54
+ simplecov-cobertura (2.1.0)
55
+ rexml
56
+ simplecov (~> 0.19)
57
+ simplecov-html (0.12.3)
58
+ simplecov_json_formatter (0.1.4)
59
+ unicode-display_width (2.4.2)
47
60
 
48
61
  PLATFORMS
49
62
  arm64-darwin-21
@@ -57,10 +70,13 @@ PLATFORMS
57
70
 
58
71
  DEPENDENCIES
59
72
  concurrent-ruby
73
+ markly
60
74
  openfeature-sdk!
61
75
  rake (~> 13.0)
62
76
  rspec (~> 3.12.0)
63
77
  rubocop (~> 1.37.1)
78
+ simplecov (~> 0.22.0)
79
+ simplecov-cobertura (~> 2.1.0)
64
80
 
65
81
  BUNDLED WITH
66
82
  2.3.25
data/README.md CHANGED
@@ -14,9 +14,10 @@ We support multiple data types for flags (numbers, strings, booleans, objects) a
14
14
 
15
15
  | Ruby Version | OS |
16
16
  | ----------- | ----------- |
17
- | Ruby 2.7.6 | Windows, MacOS, Linux |
18
- | Ruby 3.0.4 | Windows, MacOS, Linux |
19
- | Ruby 3.1.2 | Windows, MacOS, Linux |
17
+ | Ruby 2.7.8 | Windows, MacOS, Linux |
18
+ | Ruby 3.0.6 | Windows, MacOS, Linux |
19
+ | Ruby 3.1.4 | Windows, MacOS, Linux |
20
+ | Ruby 3.2.2 | Windows, MacOS, Linux |
20
21
 
21
22
 
22
23
  ## Installation
@@ -63,7 +64,7 @@ integer_value = client.fetch_number_value(flag_key: 'number_value', default_valu
63
64
  object = client.fetch_object_value(flag_key: 'object_value', default_value: JSON.dump({ name: 'object'}))
64
65
  ```
65
66
 
66
- For complete documentation, visit: https://docs.openfeature.dev/docs/category/concepts
67
+ For complete documentation, visit: https://openfeature.dev/docs/category/concepts
67
68
 
68
69
  ## Contributing
69
70
 
@@ -18,7 +18,7 @@ module OpenFeature
18
18
  def_delegator :@provider, :metadata
19
19
 
20
20
  def initialize
21
- @hooks = Concurrent::Array.new([])
21
+ @hooks = []
22
22
  end
23
23
  end
24
24
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OpenFeature
4
4
  module SDK
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
data/renovate.json CHANGED
@@ -1,6 +1,18 @@
1
1
  {
2
2
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
3
  "extends": [
4
- "config:base"
4
+ "config:base",
5
+ "helpers:pinGitHubActionDigests"
6
+ ],
7
+ "packageRules": [
8
+ {
9
+ "matchUpdateTypes": ["minor", "patch"],
10
+ "matchCurrentVersion": "!/^0/",
11
+ "automerge": true
12
+ },
13
+ {
14
+ "matchManagers": ["github-actions"],
15
+ "automerge": true
16
+ }
5
17
  ]
6
18
  }
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openfeature-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenFeature Authors
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-19 00:00:00.000000000 Z
11
+ date: 2023-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: markly
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: rake
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +66,34 @@ dependencies:
52
66
  - - "~>"
53
67
  - !ruby/object:Gem::Version
54
68
  version: 1.37.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.22.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.22.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: simplecov-cobertura
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 2.1.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 2.1.0
55
97
  description: Ruby SDK for an the specifications for the open standard of feature flag
56
98
  management
57
99
  email:
@@ -64,7 +106,9 @@ files:
64
106
  - ".rspec"
65
107
  - ".rubocop.yml"
66
108
  - ".ruby-version"
109
+ - ".simplecov"
67
110
  - CHANGELOG.md
111
+ - CODEOWNERS
68
112
  - CODE_OF_CONDUCT.md
69
113
  - Gemfile
70
114
  - Gemfile.lock
@@ -98,14 +142,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
98
142
  requirements:
99
143
  - - ">="
100
144
  - !ruby/object:Gem::Version
101
- version: 2.7.6
145
+ version: '2.7'
102
146
  required_rubygems_version: !ruby/object:Gem::Requirement
103
147
  requirements:
104
148
  - - ">="
105
149
  - !ruby/object:Gem::Version
106
150
  version: '0'
107
151
  requirements: []
108
- rubygems_version: 3.3.26
152
+ rubygems_version: 3.4.10
109
153
  signing_key:
110
154
  specification_version: 4
111
155
  summary: OpenFeature SDK for Ruby