launchdarkly-openfeature-server-sdk 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/.release-please-manifest.json +1 -1
- data/.rubocop.yml +204 -201
- data/CHANGELOG.md +7 -0
- data/Gemfile +3 -3
- data/PROVENANCE.md +26 -20
- data/README.md +2 -2
- data/launchdarkly-openfeature-server-sdk.gemspec +3 -3
- data/lib/ldclient-openfeature/version.rb +1 -1
- data/release-please-config.json +4 -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: cde8b4698ae233e35dbfb0374fe5d01f86cad889a5dd7cdb5d501bf460a08e59
|
|
4
|
+
data.tar.gz: 800e91c816324cd7fdd1c00476fee09e1b70eb03cfaa7d1064e748c4584e7139
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bc87f538233fc26f07dfe75f064186d5780cf4bc75ddbc176b433ddd926da733d1d2369f9801f627370fd7c45e3427742bfe6a1fff1be5b47de6a6f13e15af95
|
|
7
|
+
data.tar.gz: b4ff462356adf44223d27c2aeabd6ccc60516390d137b87b5b9cbb726ca8790cb1ca9616db93854b715843685dcecec4c44ca9f2f4f1aa81698dd3eab4633886
|
data/.rubocop.yml
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
plugins:
|
|
2
2
|
- rubocop-performance
|
|
3
3
|
- rubocop-rake
|
|
4
4
|
- rubocop-rspec
|
|
@@ -15,78 +15,78 @@ Naming/AccessorMethodName:
|
|
|
15
15
|
Enabled: false
|
|
16
16
|
|
|
17
17
|
Style/AccessModifierDeclarations:
|
|
18
|
-
Description:
|
|
19
|
-
StyleGuide:
|
|
18
|
+
Description: "Access modifiers should be declared to apply to a group of methods or inline before each method, depending on configuration."
|
|
19
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#alias-method"
|
|
20
20
|
Enabled: false
|
|
21
21
|
|
|
22
22
|
Style/Alias:
|
|
23
|
-
Description:
|
|
24
|
-
StyleGuide:
|
|
23
|
+
Description: "Use alias_method instead of alias."
|
|
24
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#alias-method"
|
|
25
25
|
Enabled: false
|
|
26
26
|
|
|
27
27
|
Style/ArrayJoin:
|
|
28
|
-
Description:
|
|
29
|
-
StyleGuide:
|
|
28
|
+
Description: "Use Array#join instead of Array#*."
|
|
29
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#array-join"
|
|
30
30
|
Enabled: false
|
|
31
31
|
|
|
32
32
|
Style/AsciiComments:
|
|
33
|
-
Description:
|
|
34
|
-
StyleGuide:
|
|
33
|
+
Description: "Use only ascii symbols in comments."
|
|
34
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#english-comments"
|
|
35
35
|
Enabled: false
|
|
36
36
|
|
|
37
37
|
Naming/AsciiIdentifiers:
|
|
38
|
-
Description:
|
|
39
|
-
StyleGuide:
|
|
38
|
+
Description: "Use only ascii symbols in identifiers."
|
|
39
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#english-identifiers"
|
|
40
40
|
Enabled: false
|
|
41
41
|
|
|
42
42
|
Naming/VariableName:
|
|
43
|
-
Description:
|
|
43
|
+
Description: "Makes sure that all variables use the configured style, snake_case or camelCase, for their names."
|
|
44
44
|
Enabled: false
|
|
45
45
|
|
|
46
46
|
Style/Attr:
|
|
47
|
-
Description:
|
|
48
|
-
StyleGuide:
|
|
47
|
+
Description: "Checks for uses of Module#attr."
|
|
48
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#attr"
|
|
49
49
|
Enabled: false
|
|
50
50
|
|
|
51
51
|
Metrics/AbcSize:
|
|
52
|
-
Description:
|
|
52
|
+
Description: "Checks that the ABC size of methods is not higher than the configured maximum."
|
|
53
53
|
Enabled: false
|
|
54
54
|
|
|
55
55
|
Metrics/BlockLength:
|
|
56
|
-
Description:
|
|
56
|
+
Description: "Checks if the length of a block exceeds some maximum value."
|
|
57
57
|
Enabled: false
|
|
58
58
|
|
|
59
59
|
Metrics/BlockNesting:
|
|
60
|
-
Description:
|
|
61
|
-
StyleGuide:
|
|
60
|
+
Description: "Avoid excessive block nesting"
|
|
61
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#three-is-the-number-thou-shalt-count"
|
|
62
62
|
Enabled: false
|
|
63
63
|
|
|
64
64
|
Style/CaseEquality:
|
|
65
|
-
Description:
|
|
66
|
-
StyleGuide:
|
|
65
|
+
Description: "Avoid explicit use of the case equality operator(===)."
|
|
66
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#no-case-equality"
|
|
67
67
|
Enabled: false
|
|
68
68
|
|
|
69
69
|
Style/CharacterLiteral:
|
|
70
|
-
Description:
|
|
71
|
-
StyleGuide:
|
|
70
|
+
Description: "Checks for uses of character literals."
|
|
71
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#no-character-literals"
|
|
72
72
|
Enabled: false
|
|
73
73
|
|
|
74
74
|
Style/ClassAndModuleChildren:
|
|
75
|
-
Description:
|
|
75
|
+
Description: "Checks style of children classes and modules."
|
|
76
76
|
Enabled: true
|
|
77
77
|
EnforcedStyle: nested
|
|
78
78
|
|
|
79
79
|
Metrics/ClassLength:
|
|
80
|
-
Description:
|
|
80
|
+
Description: "Avoid classes longer than 100 lines of code."
|
|
81
81
|
Enabled: false
|
|
82
82
|
|
|
83
83
|
Metrics/ModuleLength:
|
|
84
|
-
Description:
|
|
84
|
+
Description: "Avoid modules longer than 100 lines of code."
|
|
85
85
|
Enabled: false
|
|
86
86
|
|
|
87
87
|
Style/ClassVars:
|
|
88
|
-
Description:
|
|
89
|
-
StyleGuide:
|
|
88
|
+
Description: "Avoid the use of class variables."
|
|
89
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#no-class-vars"
|
|
90
90
|
Enabled: false
|
|
91
91
|
|
|
92
92
|
Style/CollectionMethods:
|
|
@@ -98,44 +98,44 @@ Style/CollectionMethods:
|
|
|
98
98
|
find_all: select
|
|
99
99
|
|
|
100
100
|
Style/ColonMethodCall:
|
|
101
|
-
Description:
|
|
102
|
-
StyleGuide:
|
|
101
|
+
Description: "Do not use :: for method call."
|
|
102
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#double-colons"
|
|
103
103
|
Enabled: false
|
|
104
104
|
|
|
105
105
|
Style/CommentAnnotation:
|
|
106
106
|
Description: >-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
StyleGuide:
|
|
107
|
+
Checks formatting of special comments
|
|
108
|
+
(TODO, FIXME, OPTIMIZE, HACK, REVIEW).
|
|
109
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#annotate-keywords"
|
|
110
110
|
Enabled: false
|
|
111
111
|
|
|
112
112
|
Metrics/CyclomaticComplexity:
|
|
113
113
|
Description: >-
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
A complexity metric that is strongly correlated to the number
|
|
115
|
+
of test cases needed to validate a method.
|
|
116
116
|
Enabled: false
|
|
117
117
|
|
|
118
118
|
Style/PreferredHashMethods:
|
|
119
|
-
Description:
|
|
120
|
-
StyleGuide:
|
|
119
|
+
Description: "Checks for use of deprecated Hash methods."
|
|
120
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#hash-key"
|
|
121
121
|
Enabled: false
|
|
122
122
|
|
|
123
123
|
Style/Documentation:
|
|
124
|
-
Description:
|
|
124
|
+
Description: "Document classes and non-namespace modules."
|
|
125
125
|
Enabled: false
|
|
126
126
|
|
|
127
127
|
Style/DoubleNegation:
|
|
128
|
-
Description:
|
|
129
|
-
StyleGuide:
|
|
128
|
+
Description: "Checks for uses of double negation (!!)."
|
|
129
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#no-bang-bang"
|
|
130
130
|
Enabled: false
|
|
131
131
|
|
|
132
132
|
Style/EachWithObject:
|
|
133
|
-
Description:
|
|
133
|
+
Description: "Prefer `each_with_object` over `inject` or `reduce`."
|
|
134
134
|
Enabled: false
|
|
135
135
|
|
|
136
136
|
Style/EmptyLiteral:
|
|
137
|
-
Description:
|
|
138
|
-
StyleGuide:
|
|
137
|
+
Description: "Prefer literals to Array.new/Hash.new/String.new."
|
|
138
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#literal-array-hash"
|
|
139
139
|
Enabled: false
|
|
140
140
|
|
|
141
141
|
# Checks whether the source file has a utf-8 encoding comment or not
|
|
@@ -145,264 +145,264 @@ Style/Encoding:
|
|
|
145
145
|
Enabled: false
|
|
146
146
|
|
|
147
147
|
Style/EvenOdd:
|
|
148
|
-
Description:
|
|
149
|
-
StyleGuide:
|
|
148
|
+
Description: "Favor the use of Fixnum#even? && Fixnum#odd?"
|
|
149
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#predicate-methods"
|
|
150
150
|
Enabled: false
|
|
151
151
|
|
|
152
152
|
Naming/FileName:
|
|
153
|
-
Description:
|
|
154
|
-
StyleGuide:
|
|
153
|
+
Description: "Use snake_case for source file names."
|
|
154
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#snake-case-files"
|
|
155
155
|
Enabled: false
|
|
156
156
|
|
|
157
157
|
Lint/FlipFlop:
|
|
158
|
-
Description:
|
|
159
|
-
StyleGuide:
|
|
158
|
+
Description: "Checks for flip flops"
|
|
159
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#no-flip-flops"
|
|
160
160
|
Enabled: false
|
|
161
161
|
|
|
162
162
|
Style/FrozenStringLiteralComment:
|
|
163
|
-
Description:
|
|
163
|
+
Description: "Helps you transition from mutable string literals to frozen string literals."
|
|
164
164
|
Enabled: false
|
|
165
165
|
|
|
166
166
|
Style/FormatString:
|
|
167
|
-
Description:
|
|
168
|
-
StyleGuide:
|
|
167
|
+
Description: "Enforce the use of Kernel#sprintf, Kernel#format or String#%."
|
|
168
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#sprintf"
|
|
169
169
|
Enabled: false
|
|
170
170
|
|
|
171
171
|
Style/GlobalVars:
|
|
172
|
-
Description:
|
|
173
|
-
StyleGuide:
|
|
174
|
-
Reference:
|
|
172
|
+
Description: "Do not introduce global variables."
|
|
173
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#instance-vars"
|
|
174
|
+
Reference: "https://www.zenspider.com/ruby/quickref.html"
|
|
175
175
|
Enabled: false
|
|
176
176
|
|
|
177
177
|
Style/GuardClause:
|
|
178
|
-
Description:
|
|
179
|
-
StyleGuide:
|
|
178
|
+
Description: "Check for conditionals that can be replaced with guard clauses"
|
|
179
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals"
|
|
180
180
|
Enabled: false
|
|
181
181
|
|
|
182
182
|
Style/IfUnlessModifier:
|
|
183
183
|
Description: >-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
StyleGuide:
|
|
184
|
+
Favor modifier if/unless usage when you have a
|
|
185
|
+
single-line body.
|
|
186
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier"
|
|
187
187
|
Enabled: false
|
|
188
188
|
|
|
189
189
|
Style/IfWithSemicolon:
|
|
190
|
-
Description:
|
|
191
|
-
StyleGuide:
|
|
190
|
+
Description: "Do not use if x; .... Use the ternary operator instead."
|
|
191
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#no-semicolon-ifs"
|
|
192
192
|
Enabled: false
|
|
193
193
|
|
|
194
194
|
Style/InlineComment:
|
|
195
|
-
Description:
|
|
195
|
+
Description: "Avoid inline comments."
|
|
196
196
|
Enabled: false
|
|
197
197
|
|
|
198
198
|
Style/Lambda:
|
|
199
|
-
Description:
|
|
200
|
-
StyleGuide:
|
|
199
|
+
Description: "Use the new lambda literal syntax for single-line blocks."
|
|
200
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#lambda-multi-line"
|
|
201
201
|
Enabled: false
|
|
202
202
|
|
|
203
203
|
Style/LambdaCall:
|
|
204
|
-
Description:
|
|
205
|
-
StyleGuide:
|
|
204
|
+
Description: "Use lambda.call(...) instead of lambda.(...)."
|
|
205
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#proc-call"
|
|
206
206
|
Enabled: false
|
|
207
207
|
|
|
208
208
|
Style/LineEndConcatenation:
|
|
209
209
|
Description: >-
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
Use \ instead of + or << to concatenate two string literals at
|
|
211
|
+
line end.
|
|
212
212
|
Enabled: false
|
|
213
213
|
|
|
214
214
|
Layout/LineLength:
|
|
215
|
-
Description:
|
|
216
|
-
StyleGuide:
|
|
215
|
+
Description: "Limit lines to 150 characters."
|
|
216
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#80-character-limits"
|
|
217
217
|
Max: 180
|
|
218
218
|
|
|
219
219
|
Metrics/MethodLength:
|
|
220
|
-
Description:
|
|
221
|
-
StyleGuide:
|
|
220
|
+
Description: "Avoid methods longer than 10 lines of code."
|
|
221
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#short-methods"
|
|
222
222
|
Enabled: false
|
|
223
223
|
|
|
224
224
|
Style/ModuleFunction:
|
|
225
|
-
Description:
|
|
226
|
-
StyleGuide:
|
|
225
|
+
Description: "Checks for usage of `extend self` in modules."
|
|
226
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#module-function"
|
|
227
227
|
Enabled: false
|
|
228
228
|
|
|
229
229
|
Style/NegatedIf:
|
|
230
230
|
Description: >-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
StyleGuide:
|
|
231
|
+
Favor unless over if for negative conditions
|
|
232
|
+
(or control flow or).
|
|
233
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#unless-for-negatives"
|
|
234
234
|
Enabled: true
|
|
235
235
|
|
|
236
236
|
Style/NegatedWhile:
|
|
237
|
-
Description:
|
|
238
|
-
StyleGuide:
|
|
237
|
+
Description: "Favor until over while for negative conditions."
|
|
238
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#until-for-negatives"
|
|
239
239
|
Enabled: true
|
|
240
240
|
|
|
241
241
|
Style/Next:
|
|
242
|
-
Description:
|
|
243
|
-
StyleGuide:
|
|
242
|
+
Description: "Use `next` to skip iteration instead of a condition at the end."
|
|
243
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals"
|
|
244
244
|
Enabled: false
|
|
245
245
|
|
|
246
246
|
Style/NilComparison:
|
|
247
|
-
Description:
|
|
248
|
-
StyleGuide:
|
|
247
|
+
Description: "Prefer x.nil? to x == nil."
|
|
248
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#predicate-methods"
|
|
249
249
|
Enabled: false
|
|
250
250
|
|
|
251
251
|
Style/Not:
|
|
252
|
-
Description:
|
|
253
|
-
StyleGuide:
|
|
252
|
+
Description: "Use ! instead of not."
|
|
253
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#bang-not-not"
|
|
254
254
|
Enabled: false
|
|
255
255
|
|
|
256
256
|
Style/NumericLiterals:
|
|
257
257
|
Description: >-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
StyleGuide:
|
|
258
|
+
Add underscores to large numeric literals to improve their
|
|
259
|
+
readability.
|
|
260
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#underscores-in-numerics"
|
|
261
261
|
Enabled: false
|
|
262
262
|
|
|
263
263
|
Style/OneLineConditional:
|
|
264
264
|
Description: >-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
StyleGuide:
|
|
265
|
+
Favor the ternary operator(?:) over
|
|
266
|
+
if/then/else/end constructs.
|
|
267
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#ternary-operator"
|
|
268
268
|
Enabled: false
|
|
269
269
|
|
|
270
270
|
Naming/BinaryOperatorParameterName:
|
|
271
|
-
Description:
|
|
272
|
-
StyleGuide:
|
|
271
|
+
Description: "When defining binary operators, name the argument other."
|
|
272
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#other-arg"
|
|
273
273
|
Enabled: false
|
|
274
274
|
|
|
275
275
|
Metrics/ParameterLists:
|
|
276
|
-
Description:
|
|
277
|
-
StyleGuide:
|
|
276
|
+
Description: "Avoid parameter lists longer than three or four parameters."
|
|
277
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#too-many-params"
|
|
278
278
|
Enabled: false
|
|
279
279
|
|
|
280
280
|
Metrics/PerceivedComplexity:
|
|
281
281
|
Enabled: false
|
|
282
282
|
|
|
283
283
|
Style/PercentLiteralDelimiters:
|
|
284
|
-
Description:
|
|
285
|
-
StyleGuide:
|
|
284
|
+
Description: "Use `%`-literal delimiters consistently"
|
|
285
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#percent-literal-braces"
|
|
286
286
|
Enabled: false
|
|
287
287
|
|
|
288
288
|
Style/PerlBackrefs:
|
|
289
|
-
Description:
|
|
290
|
-
StyleGuide:
|
|
289
|
+
Description: "Avoid Perl-style regex back references."
|
|
290
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers"
|
|
291
291
|
Enabled: false
|
|
292
292
|
|
|
293
|
-
Naming/
|
|
294
|
-
Description:
|
|
295
|
-
StyleGuide:
|
|
293
|
+
Naming/PredicatePrefix:
|
|
294
|
+
Description: "Check the names of predicate methods."
|
|
295
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark"
|
|
296
296
|
ForbiddenPrefixes:
|
|
297
297
|
- is_
|
|
298
298
|
Exclude:
|
|
299
299
|
- spec/**/*
|
|
300
300
|
|
|
301
301
|
Style/Proc:
|
|
302
|
-
Description:
|
|
303
|
-
StyleGuide:
|
|
302
|
+
Description: "Use proc instead of Proc.new."
|
|
303
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#proc"
|
|
304
304
|
Enabled: false
|
|
305
305
|
|
|
306
306
|
Style/RaiseArgs:
|
|
307
|
-
Description:
|
|
308
|
-
StyleGuide:
|
|
307
|
+
Description: "Checks the arguments passed to raise/fail."
|
|
308
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#exception-class-messages"
|
|
309
309
|
Enabled: false
|
|
310
310
|
|
|
311
311
|
Style/RegexpLiteral:
|
|
312
|
-
Description:
|
|
313
|
-
StyleGuide:
|
|
312
|
+
Description: "Use / or %r around regular expressions."
|
|
313
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#percent-r"
|
|
314
314
|
Enabled: false
|
|
315
315
|
|
|
316
316
|
Style/SelfAssignment:
|
|
317
317
|
Description: >-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
StyleGuide:
|
|
318
|
+
Checks for places where self-assignment shorthand should have
|
|
319
|
+
been used.
|
|
320
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#self-assignment"
|
|
321
321
|
Enabled: false
|
|
322
322
|
|
|
323
323
|
Style/SingleLineBlockParams:
|
|
324
|
-
Description:
|
|
325
|
-
StyleGuide:
|
|
324
|
+
Description: "Enforces the names of some block params."
|
|
325
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#reduce-blocks"
|
|
326
326
|
Enabled: false
|
|
327
327
|
|
|
328
328
|
Style/SingleLineMethods:
|
|
329
|
-
Description:
|
|
330
|
-
StyleGuide:
|
|
329
|
+
Description: "Avoid single-line methods."
|
|
330
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#no-single-line-methods"
|
|
331
331
|
Enabled: false
|
|
332
332
|
|
|
333
333
|
Style/SignalException:
|
|
334
|
-
Description:
|
|
335
|
-
StyleGuide:
|
|
334
|
+
Description: "Checks for proper usage of fail and raise."
|
|
335
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#fail-method"
|
|
336
336
|
Enabled: false
|
|
337
337
|
|
|
338
338
|
Style/SpecialGlobalVars:
|
|
339
|
-
Description:
|
|
340
|
-
StyleGuide:
|
|
339
|
+
Description: "Avoid Perl-style global variables."
|
|
340
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#no-cryptic-perlisms"
|
|
341
341
|
Enabled: false
|
|
342
342
|
|
|
343
343
|
Style/StringLiterals:
|
|
344
|
-
Description:
|
|
345
|
-
StyleGuide:
|
|
344
|
+
Description: "Checks if uses of quotes match the configured preference."
|
|
345
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#consistent-string-literals"
|
|
346
346
|
EnforcedStyle: double_quotes
|
|
347
347
|
Enabled: false
|
|
348
348
|
|
|
349
349
|
Style/TrailingCommaInArguments:
|
|
350
|
-
Description:
|
|
351
|
-
StyleGuide:
|
|
350
|
+
Description: "Checks for trailing comma in argument lists."
|
|
351
|
+
StyleGuide: "#no-trailing-params-comma"
|
|
352
352
|
Enabled: true
|
|
353
353
|
|
|
354
354
|
Style/TrailingCommaInArrayLiteral:
|
|
355
|
-
Description:
|
|
355
|
+
Description: "Checks for trailing comma in array and hash literals."
|
|
356
356
|
EnforcedStyleForMultiline: comma
|
|
357
357
|
|
|
358
358
|
Style/TrailingCommaInHashLiteral:
|
|
359
|
-
Description:
|
|
359
|
+
Description: "Checks for trailing comma in array and hash literals."
|
|
360
360
|
EnforcedStyleForMultiline: comma
|
|
361
361
|
|
|
362
362
|
Style/TrivialAccessors:
|
|
363
|
-
Description:
|
|
364
|
-
StyleGuide:
|
|
363
|
+
Description: "Prefer attr_* methods to trivial readers/writers."
|
|
364
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#attr_family"
|
|
365
365
|
Enabled: false
|
|
366
366
|
|
|
367
367
|
Style/VariableInterpolation:
|
|
368
368
|
Description: >-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
StyleGuide:
|
|
369
|
+
Don't interpolate global, instance and class variables
|
|
370
|
+
directly in strings.
|
|
371
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#curlies-interpolate"
|
|
372
372
|
Enabled: false
|
|
373
373
|
|
|
374
374
|
Style/WhenThen:
|
|
375
|
-
Description:
|
|
376
|
-
StyleGuide:
|
|
375
|
+
Description: "Use when x then ... for one-line cases."
|
|
376
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#one-line-cases"
|
|
377
377
|
Enabled: false
|
|
378
378
|
|
|
379
379
|
Style/WhileUntilModifier:
|
|
380
380
|
Description: >-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
StyleGuide:
|
|
381
|
+
Favor modifier while/until usage when you have a
|
|
382
|
+
single-line body.
|
|
383
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#while-as-a-modifier"
|
|
384
384
|
Enabled: false
|
|
385
385
|
|
|
386
386
|
Style/WordArray:
|
|
387
|
-
Description:
|
|
388
|
-
StyleGuide:
|
|
387
|
+
Description: "Use %w or %W for arrays of words."
|
|
388
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#percent-w"
|
|
389
389
|
Enabled: false
|
|
390
390
|
|
|
391
391
|
# Layout
|
|
392
392
|
Layout/DotPosition:
|
|
393
|
-
Description:
|
|
394
|
-
StyleGuide:
|
|
393
|
+
Description: "Checks the position of the dot in multi-line method calls."
|
|
394
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains"
|
|
395
395
|
EnforcedStyle: leading
|
|
396
396
|
|
|
397
397
|
Layout/ExtraSpacing:
|
|
398
|
-
Description:
|
|
398
|
+
Description: "Do not use unnecessary spacing."
|
|
399
399
|
Enabled: true
|
|
400
400
|
AllowBeforeTrailingComments: true
|
|
401
401
|
|
|
402
402
|
Layout/MultilineOperationIndentation:
|
|
403
403
|
Description: >-
|
|
404
|
-
|
|
405
|
-
|
|
404
|
+
Checks indentation of binary operations that span more than
|
|
405
|
+
one line.
|
|
406
406
|
Enabled: true
|
|
407
407
|
EnforcedStyle: indented
|
|
408
408
|
|
|
@@ -423,20 +423,20 @@ Layout/TrailingWhitespace:
|
|
|
423
423
|
|
|
424
424
|
Lint/AmbiguousOperator:
|
|
425
425
|
Description: >-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
StyleGuide:
|
|
426
|
+
Checks for ambiguous operators in the first argument of a
|
|
427
|
+
method invocation without parentheses.
|
|
428
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#parens-as-args"
|
|
429
429
|
Enabled: false
|
|
430
430
|
|
|
431
431
|
Lint/AmbiguousRegexpLiteral:
|
|
432
432
|
Description: >-
|
|
433
|
-
|
|
434
|
-
|
|
433
|
+
Checks for ambiguous regexp literals in the first argument of
|
|
434
|
+
a method invocation without parenthesis.
|
|
435
435
|
Enabled: false
|
|
436
436
|
|
|
437
437
|
Lint/AssignmentInCondition:
|
|
438
438
|
Description: "Don't use assignment in conditions."
|
|
439
|
-
StyleGuide:
|
|
439
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition"
|
|
440
440
|
Enabled: false
|
|
441
441
|
|
|
442
442
|
Lint/CircularArgumentReference:
|
|
@@ -445,143 +445,143 @@ Lint/CircularArgumentReference:
|
|
|
445
445
|
|
|
446
446
|
Layout/ConditionPosition:
|
|
447
447
|
Description: >-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
StyleGuide:
|
|
448
|
+
Checks for condition placed in a confusing position relative to
|
|
449
|
+
the keyword.
|
|
450
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#same-line-condition"
|
|
451
451
|
Enabled: false
|
|
452
452
|
|
|
453
453
|
Lint/DeprecatedClassMethods:
|
|
454
|
-
Description:
|
|
454
|
+
Description: "Check for deprecated class method calls."
|
|
455
455
|
Enabled: false
|
|
456
456
|
|
|
457
457
|
Lint/DuplicateHashKey:
|
|
458
|
-
Description:
|
|
458
|
+
Description: "Check for duplicate keys in hash literals."
|
|
459
459
|
Enabled: false
|
|
460
460
|
|
|
461
461
|
Lint/EachWithObjectArgument:
|
|
462
|
-
Description:
|
|
462
|
+
Description: "Check for immutable argument given to each_with_object."
|
|
463
463
|
Enabled: false
|
|
464
464
|
|
|
465
465
|
Lint/ElseLayout:
|
|
466
|
-
Description:
|
|
466
|
+
Description: "Check for odd code arrangement in an else block."
|
|
467
467
|
Enabled: false
|
|
468
468
|
|
|
469
469
|
Lint/FormatParameterMismatch:
|
|
470
|
-
Description:
|
|
470
|
+
Description: "The number of parameters to format/sprint must match the fields."
|
|
471
471
|
Enabled: false
|
|
472
472
|
|
|
473
473
|
Lint/SuppressedException:
|
|
474
474
|
Description: "Don't suppress exception."
|
|
475
|
-
StyleGuide:
|
|
475
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions"
|
|
476
476
|
Enabled: false
|
|
477
477
|
|
|
478
478
|
Lint/LiteralAsCondition:
|
|
479
|
-
Description:
|
|
479
|
+
Description: "Checks of literals used in conditions."
|
|
480
480
|
Enabled: false
|
|
481
481
|
|
|
482
482
|
Lint/LiteralInInterpolation:
|
|
483
|
-
Description:
|
|
483
|
+
Description: "Checks for literals used in interpolation."
|
|
484
484
|
Enabled: false
|
|
485
485
|
|
|
486
486
|
Lint/Loop:
|
|
487
487
|
Description: >-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
StyleGuide:
|
|
488
|
+
Use Kernel#loop with break rather than begin/end/until or
|
|
489
|
+
begin/end/while for post-loop tests.
|
|
490
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#loop-with-break"
|
|
491
491
|
Enabled: false
|
|
492
492
|
|
|
493
493
|
Lint/NestedMethodDefinition:
|
|
494
|
-
Description:
|
|
495
|
-
StyleGuide:
|
|
494
|
+
Description: "Do not use nested method definitions."
|
|
495
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#no-nested-methods"
|
|
496
496
|
Enabled: false
|
|
497
497
|
|
|
498
498
|
Lint/NonLocalExitFromIterator:
|
|
499
|
-
Description:
|
|
499
|
+
Description: "Do not use return in iterator to cause non-local exit."
|
|
500
500
|
Enabled: false
|
|
501
501
|
|
|
502
502
|
Lint/ParenthesesAsGroupedExpression:
|
|
503
503
|
Description: >-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
StyleGuide:
|
|
504
|
+
Checks for method calls with a space before the opening
|
|
505
|
+
parenthesis.
|
|
506
|
+
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#parens-no-spaces"
|
|
507
507
|
Enabled: false
|
|
508
508
|
|
|
509
509
|
Lint/RequireParentheses:
|
|
510
510
|
Description: >-
|
|
511
|
-
|
|
512
|
-
|
|
511
|
+
Use parentheses in the method call to avoid confusion
|
|
512
|
+
about precedence.
|
|
513
513
|
Enabled: false
|
|
514
514
|
|
|
515
515
|
Lint/UnderscorePrefixedVariableName:
|
|
516
|
-
Description:
|
|
516
|
+
Description: "Do not use prefix `_` for a variable that is used."
|
|
517
517
|
Enabled: false
|
|
518
518
|
|
|
519
519
|
Lint/RedundantCopDisableDirective:
|
|
520
520
|
Description: >-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
521
|
+
Checks for rubocop:disable comments that can be removed.
|
|
522
|
+
Note: this cop is not disabled when disabling all cops.
|
|
523
|
+
It must be explicitly disabled.
|
|
524
524
|
Enabled: false
|
|
525
525
|
|
|
526
526
|
Lint/Void:
|
|
527
|
-
Description:
|
|
527
|
+
Description: "Possible use of operator/literal/variable in void context."
|
|
528
528
|
Enabled: false
|
|
529
529
|
|
|
530
530
|
# Performance
|
|
531
531
|
|
|
532
532
|
Performance/CaseWhenSplat:
|
|
533
533
|
Description: >-
|
|
534
|
-
|
|
535
|
-
|
|
534
|
+
Place `when` conditions that use splat at the end
|
|
535
|
+
of the list of `when` branches.
|
|
536
536
|
Enabled: false
|
|
537
537
|
|
|
538
538
|
Performance/Count:
|
|
539
539
|
Description: >-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
540
|
+
Use `count` instead of `select...size`, `reject...size`,
|
|
541
|
+
`select...count`, `reject...count`, `select...length`,
|
|
542
|
+
and `reject...length`.
|
|
543
543
|
Enabled: false
|
|
544
544
|
|
|
545
545
|
Performance/Detect:
|
|
546
546
|
Description: >-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
Reference:
|
|
547
|
+
Use `detect` instead of `select.first`, `find_all.first`,
|
|
548
|
+
`select.last`, and `find_all.last`.
|
|
549
|
+
Reference: "https://github.com/JuanitoFatas/fast-ruby#enumerabledetect-vs-enumerableselectfirst-code"
|
|
550
550
|
Enabled: false
|
|
551
551
|
|
|
552
552
|
Performance/FlatMap:
|
|
553
553
|
Description: >-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
Reference:
|
|
554
|
+
Use `Enumerable#flat_map`
|
|
555
|
+
instead of `Enumerable#map...Array#flatten(1)`
|
|
556
|
+
or `Enumberable#collect..Array#flatten(1)`
|
|
557
|
+
Reference: "https://github.com/JuanitoFatas/fast-ruby#enumerablemaparrayflatten-vs-enumerableflat_map-code"
|
|
558
558
|
Enabled: false
|
|
559
559
|
|
|
560
560
|
Performance/ReverseEach:
|
|
561
|
-
Description:
|
|
562
|
-
Reference:
|
|
561
|
+
Description: "Use `reverse_each` instead of `reverse.each`."
|
|
562
|
+
Reference: "https://github.com/JuanitoFatas/fast-ruby#enumerablereverseeach-vs-enumerablereverse_each-code"
|
|
563
563
|
Enabled: false
|
|
564
564
|
|
|
565
565
|
Style/Sample:
|
|
566
566
|
Description: >-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
Reference:
|
|
567
|
+
Use `sample` instead of `shuffle.first`,
|
|
568
|
+
`shuffle.last`, and `shuffle[Fixnum]`.
|
|
569
|
+
Reference: "https://github.com/JuanitoFatas/fast-ruby#arrayshufflefirst-vs-arraysample-code"
|
|
570
570
|
Enabled: false
|
|
571
571
|
|
|
572
572
|
Performance/Size:
|
|
573
573
|
Description: >-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
Reference:
|
|
574
|
+
Use `size` instead of `count` for counting
|
|
575
|
+
the number of elements in `Array` and `Hash`.
|
|
576
|
+
Reference: "https://github.com/JuanitoFatas/fast-ruby#arraycount-vs-arraysize-code"
|
|
577
577
|
Enabled: false
|
|
578
578
|
|
|
579
579
|
Performance/StringReplacement:
|
|
580
580
|
Description: >-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
Reference:
|
|
581
|
+
Use `tr` instead of `gsub` when you are replacing the same
|
|
582
|
+
number of characters. Use `delete` instead of `gsub` when
|
|
583
|
+
you are deleting characters.
|
|
584
|
+
Reference: "https://github.com/JuanitoFatas/fast-ruby#stringgsub-vs-stringtr-code"
|
|
585
585
|
Enabled: false
|
|
586
586
|
|
|
587
587
|
# Disabled temporarily while we bring code base inline
|
|
@@ -889,8 +889,11 @@ Style/WhileUntilDo:
|
|
|
889
889
|
Style/ZeroLengthPredicate:
|
|
890
890
|
Enabled: false
|
|
891
891
|
|
|
892
|
-
RSpec/
|
|
893
|
-
|
|
892
|
+
RSpec/SpecFilePathFormat:
|
|
893
|
+
Enabled: false
|
|
894
|
+
|
|
895
|
+
RSpec/SpecFilePathSuffix:
|
|
896
|
+
Enabled: true
|
|
894
897
|
|
|
895
898
|
RSpec/ExampleLength:
|
|
896
899
|
Enabled: false
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.0](https://github.com/launchdarkly/openfeature-ruby-server/compare/0.1.0...0.2.0) (2026-04-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Update to 0.6.x openfeature-sdk. ([#16](https://github.com/launchdarkly/openfeature-ruby-server/issues/16)) ([31e7222](https://github.com/launchdarkly/openfeature-ruby-server/commit/31e7222251e33a2fc7e7378d8734f0f09e6090c4))
|
|
9
|
+
|
|
3
10
|
## 0.1.0 (2024-08-05)
|
|
4
11
|
|
|
5
12
|
|
data/Gemfile
CHANGED
|
@@ -9,7 +9,7 @@ gem "rake", "~> 13.0"
|
|
|
9
9
|
|
|
10
10
|
gem "rspec", "~> 3.0"
|
|
11
11
|
|
|
12
|
-
gem "rubocop", "~> 1.
|
|
13
|
-
gem "rubocop-performance", "~> 1.
|
|
12
|
+
gem "rubocop", "~> 1.76"
|
|
13
|
+
gem "rubocop-performance", "~> 1.25"
|
|
14
14
|
gem "rubocop-rake", "~> 0.6"
|
|
15
|
-
gem "rubocop-rspec", "~>
|
|
15
|
+
gem "rubocop-rspec", "~> 3.9"
|
data/PROVENANCE.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
## Verifying SDK build provenance with
|
|
1
|
+
## Verifying SDK build provenance with GitHub artifact attestations
|
|
2
2
|
|
|
3
|
-
LaunchDarkly uses
|
|
3
|
+
LaunchDarkly uses [GitHub artifact attestations](https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds) to help developers make their supply chain more secure by ensuring the authenticity and build integrity of our published SDK packages.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
LaunchDarkly publishes provenance about our SDK package builds using [GitHub's `actions/attest` action](https://github.com/actions/attest). These attestations are stored in GitHub's attestation API and can be verified using the [GitHub CLI](https://cli.github.com/).
|
|
6
6
|
|
|
7
|
-
To verify
|
|
7
|
+
To verify build provenance attestations, we recommend using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). Example usage for verifying SDK packages is included below:
|
|
8
8
|
|
|
9
9
|
<!-- x-release-please-start-version -->
|
|
10
10
|
```
|
|
11
11
|
# Set the version of the SDK to verify
|
|
12
|
-
SDK_VERSION=0.
|
|
12
|
+
SDK_VERSION=0.2.0
|
|
13
13
|
```
|
|
14
14
|
<!-- x-release-please-end -->
|
|
15
15
|
|
|
@@ -17,27 +17,33 @@ SDK_VERSION=0.1.0
|
|
|
17
17
|
# Download gem
|
|
18
18
|
$ gem fetch launchdarkly-openfeature-server-sdk -v $SDK_VERSION
|
|
19
19
|
|
|
20
|
-
#
|
|
21
|
-
$
|
|
22
|
-
https://github.com/launchdarkly/openfeature-ruby-server/releases/download/${SDK_VERSION}/launchdarkly-openfeature-server-sdk-${SDK_VERSION}.gem.intoto.jsonl
|
|
23
|
-
|
|
24
|
-
# Run slsa-verifier to verify provenance against package artifacts
|
|
25
|
-
$ slsa-verifier verify-artifact \
|
|
26
|
-
--provenance-path launchdarkly-openfeature-server-sdk-${SDK_VERSION}.gem.intoto.jsonl \
|
|
27
|
-
--source-uri github.com/launchdarkly/openfeature-ruby-server \
|
|
28
|
-
launchdarkly-openfeature-server-sdk-${SDK_VERSION}.gem
|
|
20
|
+
# Verify provenance using the GitHub CLI
|
|
21
|
+
$ gh attestation verify launchdarkly-openfeature-server-sdk-${SDK_VERSION}.gem --owner launchdarkly
|
|
29
22
|
```
|
|
30
23
|
|
|
31
24
|
Below is a sample of expected output.
|
|
32
25
|
|
|
33
26
|
```
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
Loaded digest sha256:... for file://launchdarkly-openfeature-server-sdk-0.1.0.gem
|
|
28
|
+
Loaded 1 attestation from GitHub API
|
|
29
|
+
|
|
30
|
+
The following policy criteria will be enforced:
|
|
31
|
+
- Predicate type must match:................ https://slsa.dev/provenance/v1
|
|
32
|
+
- Source Repository Owner URI must match:... https://github.com/launchdarkly
|
|
33
|
+
- Subject Alternative Name must match regex: (?i)^https://github.com/launchdarkly/
|
|
34
|
+
- OIDC Issuer must match:................... https://token.actions.githubusercontent.com
|
|
35
|
+
|
|
36
|
+
✓ Verification succeeded!
|
|
37
|
+
|
|
38
|
+
The following 1 attestation matched the policy criteria
|
|
37
39
|
|
|
38
|
-
|
|
40
|
+
- Attestation #1
|
|
41
|
+
- Build repo:..... launchdarkly/openfeature-ruby-server
|
|
42
|
+
- Build workflow:. .github/workflows/release-please.yml
|
|
43
|
+
- Signer repo:.... launchdarkly/openfeature-ruby-server
|
|
44
|
+
- Signer workflow: .github/workflows/release-please.yml
|
|
39
45
|
```
|
|
40
46
|
|
|
41
|
-
|
|
47
|
+
For more information, see [GitHub's documentation on verifying artifact attestations](https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds#verifying-artifact-attestations-with-the-github-cli).
|
|
42
48
|
|
|
43
|
-
**Note:** These instructions do not apply when building our SDKs from source.
|
|
49
|
+
**Note:** These instructions do not apply when building our SDKs from source.
|
data/README.md
CHANGED
|
@@ -24,7 +24,7 @@ This provider is designed primarily for use in multi-user systems such as web se
|
|
|
24
24
|
|
|
25
25
|
## Supported Ruby versions
|
|
26
26
|
|
|
27
|
-
This version of the LaunchDarkly provider works with Ruby 3.
|
|
27
|
+
This version of the LaunchDarkly provider works with Ruby 3.4 and above.
|
|
28
28
|
|
|
29
29
|
## Getting started
|
|
30
30
|
|
|
@@ -33,7 +33,7 @@ This version of the LaunchDarkly provider works with Ruby 3.1 and above.
|
|
|
33
33
|
Install the library
|
|
34
34
|
|
|
35
35
|
```shell
|
|
36
|
-
$ gem install launchdarkly-openfeature-server
|
|
36
|
+
$ gem install launchdarkly-openfeature-server-sdk
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
### Usage
|
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
|
11
11
|
spec.summary = "LaunchDarkly OpenFeature Server SDK"
|
|
12
12
|
spec.description = "A LaunchDarkly provider for use with the OpenFeature SDK"
|
|
13
13
|
spec.homepage = "https://github.com/launchdarkly/openfeature-ruby-server"
|
|
14
|
-
spec.required_ruby_version = ">= 3.
|
|
14
|
+
spec.required_ruby_version = ">= 3.4"
|
|
15
15
|
|
|
16
16
|
spec.metadata["homepage_uri"] = spec.homepage
|
|
17
17
|
spec.metadata["source_code_uri"] = "https://github.com/launchdarkly/openfeature-ruby-server"
|
|
@@ -28,8 +28,8 @@ Gem::Specification.new do |spec|
|
|
|
28
28
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
|
29
29
|
spec.require_paths = ["lib"]
|
|
30
30
|
|
|
31
|
-
spec.add_runtime_dependency "launchdarkly-server-sdk", "~> 8.4
|
|
32
|
-
spec.add_runtime_dependency "openfeature-sdk", "~> 0.
|
|
31
|
+
spec.add_runtime_dependency "launchdarkly-server-sdk", "~> 8.4"
|
|
32
|
+
spec.add_runtime_dependency "openfeature-sdk", "~> 0.6.0"
|
|
33
33
|
|
|
34
34
|
# For more information and examples about making a new gem, check out our
|
|
35
35
|
# guide at: https://bundler.io/guides/creating_gem.html
|
data/release-please-config.json
CHANGED
|
@@ -6,7 +6,10 @@
|
|
|
6
6
|
"versioning": "default",
|
|
7
7
|
"include-component-in-tag": false,
|
|
8
8
|
"include-v-in-tag": false,
|
|
9
|
-
"extra-files": [
|
|
9
|
+
"extra-files": [
|
|
10
|
+
"PROVENANCE.md",
|
|
11
|
+
"lib/ldclient-openfeature/version.rb"
|
|
12
|
+
]
|
|
10
13
|
}
|
|
11
14
|
}
|
|
12
15
|
}
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: launchdarkly-openfeature-server-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- LaunchDarkly
|
|
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: launchdarkly-server-sdk
|
|
@@ -16,28 +15,28 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - "~>"
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 8.4
|
|
18
|
+
version: '8.4'
|
|
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.4
|
|
25
|
+
version: '8.4'
|
|
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.0
|
|
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.0
|
|
41
40
|
description: A LaunchDarkly provider for use with the OpenFeature SDK
|
|
42
41
|
email:
|
|
43
42
|
- team@launchdarkly.com
|
|
@@ -73,7 +72,6 @@ metadata:
|
|
|
73
72
|
homepage_uri: https://github.com/launchdarkly/openfeature-ruby-server
|
|
74
73
|
source_code_uri: https://github.com/launchdarkly/openfeature-ruby-server
|
|
75
74
|
changelog_uri: https://github.com/launchdarkly/openfeature-ruby-server/blob/main/CHANGELOG.md
|
|
76
|
-
post_install_message:
|
|
77
75
|
rdoc_options: []
|
|
78
76
|
require_paths:
|
|
79
77
|
- lib
|
|
@@ -81,15 +79,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
81
79
|
requirements:
|
|
82
80
|
- - ">="
|
|
83
81
|
- !ruby/object:Gem::Version
|
|
84
|
-
version: '3.
|
|
82
|
+
version: '3.4'
|
|
85
83
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
84
|
requirements:
|
|
87
85
|
- - ">="
|
|
88
86
|
- !ruby/object:Gem::Version
|
|
89
87
|
version: '0'
|
|
90
88
|
requirements: []
|
|
91
|
-
rubygems_version: 3.
|
|
92
|
-
signing_key:
|
|
89
|
+
rubygems_version: 3.6.9
|
|
93
90
|
specification_version: 4
|
|
94
91
|
summary: LaunchDarkly OpenFeature Server SDK
|
|
95
92
|
test_files: []
|