rbflagr 0.1.2 → 1.1.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +17 -7
  4. data/docs/CreateFlagRequest.md +2 -0
  5. data/docs/CreateTagRequest.md +8 -0
  6. data/docs/Distribution.md +0 -1
  7. data/docs/EvalContext.md +4 -2
  8. data/docs/EvalResult.md +8 -7
  9. data/docs/EvaluationBatchRequest.md +3 -1
  10. data/docs/EvaluationEntity.md +1 -1
  11. data/docs/ExportApi.md +97 -0
  12. data/docs/Flag.md +7 -0
  13. data/docs/FlagApi.md +46 -1
  14. data/docs/Health.md +8 -0
  15. data/docs/HealthApi.md +9 -6
  16. data/docs/PutFlagRequest.md +5 -1
  17. data/docs/PutVariantRequest.md +1 -1
  18. data/docs/Tag.md +9 -0
  19. data/docs/TagApi.md +198 -0
  20. data/lib/rbflagr/api/constraint_api.rb +3 -3
  21. data/lib/rbflagr/api/distribution_api.rb +3 -3
  22. data/lib/rbflagr/api/evaluation_api.rb +3 -3
  23. data/lib/rbflagr/api/export_api.rb +118 -0
  24. data/lib/rbflagr/api/flag_api.rb +56 -3
  25. data/lib/rbflagr/api/health_api.rb +15 -12
  26. data/lib/rbflagr/api/segment_api.rb +3 -3
  27. data/lib/rbflagr/api/tag_api.rb +253 -0
  28. data/lib/rbflagr/api/variant_api.rb +3 -3
  29. data/lib/rbflagr/api_client.rb +8 -6
  30. data/lib/rbflagr/api_error.rb +3 -3
  31. data/lib/rbflagr/configuration.rb +5 -5
  32. data/lib/rbflagr/models/constraint.rb +5 -4
  33. data/lib/rbflagr/models/create_constraint_request.rb +5 -4
  34. data/lib/rbflagr/models/create_flag_request.rb +29 -8
  35. data/lib/rbflagr/models/create_segment_request.rb +5 -4
  36. data/lib/rbflagr/models/create_tag_request.rb +208 -0
  37. data/lib/rbflagr/models/create_variant_request.rb +5 -4
  38. data/lib/rbflagr/models/distribution.rb +6 -29
  39. data/lib/rbflagr/models/error.rb +5 -4
  40. data/lib/rbflagr/models/eval_context.rb +35 -44
  41. data/lib/rbflagr/models/eval_debug_log.rb +5 -4
  42. data/lib/rbflagr/models/eval_result.rb +15 -135
  43. data/lib/rbflagr/models/evaluation_batch_request.rb +34 -13
  44. data/lib/rbflagr/models/evaluation_batch_response.rb +5 -4
  45. data/lib/rbflagr/models/evaluation_entity.rb +5 -28
  46. data/lib/rbflagr/models/flag.rb +92 -8
  47. data/lib/rbflagr/models/flag_snapshot.rb +5 -4
  48. data/lib/rbflagr/models/health.rb +184 -0
  49. data/lib/rbflagr/models/put_distributions_request.rb +5 -4
  50. data/lib/rbflagr/models/put_flag_request.rb +49 -20
  51. data/lib/rbflagr/models/put_segment_reorder_request.rb +5 -4
  52. data/lib/rbflagr/models/put_segment_request.rb +5 -4
  53. data/lib/rbflagr/models/put_variant_request.rb +5 -9
  54. data/lib/rbflagr/models/segment.rb +5 -4
  55. data/lib/rbflagr/models/segment_debug_log.rb +5 -4
  56. data/lib/rbflagr/models/set_flag_enabled_request.rb +5 -4
  57. data/lib/rbflagr/models/tag.rb +232 -0
  58. data/lib/rbflagr/models/variant.rb +5 -4
  59. data/lib/rbflagr/version.rb +4 -4
  60. data/lib/rbflagr.rb +8 -3
  61. data/rbflagr.gemspec +5 -4
  62. data/spec/api/export_api_spec.rb +45 -0
  63. data/spec/api/tag_api_spec.rb +79 -0
  64. data/spec/models/create_tag_request_spec.rb +41 -0
  65. data/spec/models/health_spec.rb +41 -0
  66. data/spec/models/tag_spec.rb +47 -0
  67. data/swagger.yaml +309 -43
  68. data/swagger_ruby.json +1 -1
  69. metadata +72 -32
data/swagger_ruby.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "gemName": "rbflagr",
3
3
  "moduleName": "Flagr",
4
- "gemVersion": "0.1.2",
4
+ "gemVersion": "1.1.12",
5
5
  "gemLicense": "Apache 2.0"
6
6
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbflagr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 1.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swagger-Codegen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-06 00:00:00.000000000 Z
11
+ date: 2021-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -45,25 +45,45 @@ dependencies:
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
47
  - !ruby/object:Gem::Dependency
48
- name: rspec
48
+ name: addressable
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: 2.3.0
51
54
  - - "~>"
52
55
  - !ruby/object:Gem::Version
53
- version: '3.6'
56
+ version: '2.3'
57
+ type: :runtime
58
+ prerelease: false
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: 2.3.0
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '2.3'
67
+ - !ruby/object:Gem::Dependency
68
+ name: rspec
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
54
71
  - - ">="
55
72
  - !ruby/object:Gem::Version
56
73
  version: 3.6.0
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '3.6'
57
77
  type: :development
58
78
  prerelease: false
59
79
  version_requirements: !ruby/object:Gem::Requirement
60
80
  requirements:
61
- - - "~>"
62
- - !ruby/object:Gem::Version
63
- version: '3.6'
64
81
  - - ">="
65
82
  - !ruby/object:Gem::Version
66
83
  version: 3.6.0
84
+ - - "~>"
85
+ - !ruby/object:Gem::Version
86
+ version: '3.6'
67
87
  - !ruby/object:Gem::Dependency
68
88
  name: vcr
69
89
  requirement: !ruby/object:Gem::Requirement
@@ -184,7 +204,8 @@ dependencies:
184
204
  - - ">="
185
205
  - !ruby/object:Gem::Version
186
206
  version: 0.2.12
187
- description: Flagr is a feature flagging, A/B testing and dynamic configuration microservice
207
+ description: 'Flagr is a feature flagging, A/B testing and dynamic configuration microservice.
208
+ The base path for all the APIs is "/api/v1". '
188
209
  email:
189
210
  - ''
190
211
  executables: []
@@ -200,6 +221,7 @@ files:
200
221
  - docs/CreateConstraintRequest.md
201
222
  - docs/CreateFlagRequest.md
202
223
  - docs/CreateSegmentRequest.md
224
+ - docs/CreateTagRequest.md
203
225
  - docs/CreateVariantRequest.md
204
226
  - docs/Distribution.md
205
227
  - docs/DistributionApi.md
@@ -211,9 +233,11 @@ files:
211
233
  - docs/EvaluationBatchRequest.md
212
234
  - docs/EvaluationBatchResponse.md
213
235
  - docs/EvaluationEntity.md
236
+ - docs/ExportApi.md
214
237
  - docs/Flag.md
215
238
  - docs/FlagApi.md
216
239
  - docs/FlagSnapshot.md
240
+ - docs/Health.md
217
241
  - docs/HealthApi.md
218
242
  - docs/PutDistributionsRequest.md
219
243
  - docs/PutFlagRequest.md
@@ -224,6 +248,8 @@ files:
224
248
  - docs/SegmentApi.md
225
249
  - docs/SegmentDebugLog.md
226
250
  - docs/SetFlagEnabledRequest.md
251
+ - docs/Tag.md
252
+ - docs/TagApi.md
227
253
  - docs/Variant.md
228
254
  - docs/VariantApi.md
229
255
  - git_push.sh
@@ -231,9 +257,11 @@ files:
231
257
  - lib/rbflagr/api/constraint_api.rb
232
258
  - lib/rbflagr/api/distribution_api.rb
233
259
  - lib/rbflagr/api/evaluation_api.rb
260
+ - lib/rbflagr/api/export_api.rb
234
261
  - lib/rbflagr/api/flag_api.rb
235
262
  - lib/rbflagr/api/health_api.rb
236
263
  - lib/rbflagr/api/segment_api.rb
264
+ - lib/rbflagr/api/tag_api.rb
237
265
  - lib/rbflagr/api/variant_api.rb
238
266
  - lib/rbflagr/api_client.rb
239
267
  - lib/rbflagr/api_error.rb
@@ -242,6 +270,7 @@ files:
242
270
  - lib/rbflagr/models/create_constraint_request.rb
243
271
  - lib/rbflagr/models/create_flag_request.rb
244
272
  - lib/rbflagr/models/create_segment_request.rb
273
+ - lib/rbflagr/models/create_tag_request.rb
245
274
  - lib/rbflagr/models/create_variant_request.rb
246
275
  - lib/rbflagr/models/distribution.rb
247
276
  - lib/rbflagr/models/error.rb
@@ -253,6 +282,7 @@ files:
253
282
  - lib/rbflagr/models/evaluation_entity.rb
254
283
  - lib/rbflagr/models/flag.rb
255
284
  - lib/rbflagr/models/flag_snapshot.rb
285
+ - lib/rbflagr/models/health.rb
256
286
  - lib/rbflagr/models/put_distributions_request.rb
257
287
  - lib/rbflagr/models/put_flag_request.rb
258
288
  - lib/rbflagr/models/put_segment_reorder_request.rb
@@ -261,15 +291,18 @@ files:
261
291
  - lib/rbflagr/models/segment.rb
262
292
  - lib/rbflagr/models/segment_debug_log.rb
263
293
  - lib/rbflagr/models/set_flag_enabled_request.rb
294
+ - lib/rbflagr/models/tag.rb
264
295
  - lib/rbflagr/models/variant.rb
265
296
  - lib/rbflagr/version.rb
266
297
  - rbflagr.gemspec
267
298
  - spec/api/constraint_api_spec.rb
268
299
  - spec/api/distribution_api_spec.rb
269
300
  - spec/api/evaluation_api_spec.rb
301
+ - spec/api/export_api_spec.rb
270
302
  - spec/api/flag_api_spec.rb
271
303
  - spec/api/health_api_spec.rb
272
304
  - spec/api/segment_api_spec.rb
305
+ - spec/api/tag_api_spec.rb
273
306
  - spec/api/variant_api_spec.rb
274
307
  - spec/api_client_spec.rb
275
308
  - spec/configuration_spec.rb
@@ -277,6 +310,7 @@ files:
277
310
  - spec/models/create_constraint_request_spec.rb
278
311
  - spec/models/create_flag_request_spec.rb
279
312
  - spec/models/create_segment_request_spec.rb
313
+ - spec/models/create_tag_request_spec.rb
280
314
  - spec/models/create_variant_request_spec.rb
281
315
  - spec/models/distribution_spec.rb
282
316
  - spec/models/error_spec.rb
@@ -288,6 +322,7 @@ files:
288
322
  - spec/models/evaluation_entity_spec.rb
289
323
  - spec/models/flag_snapshot_spec.rb
290
324
  - spec/models/flag_spec.rb
325
+ - spec/models/health_spec.rb
291
326
  - spec/models/put_distributions_request_spec.rb
292
327
  - spec/models/put_flag_request_spec.rb
293
328
  - spec/models/put_segment_reorder_request_spec.rb
@@ -296,6 +331,7 @@ files:
296
331
  - spec/models/segment_debug_log_spec.rb
297
332
  - spec/models/segment_spec.rb
298
333
  - spec/models/set_flag_enabled_request_spec.rb
334
+ - spec/models/tag_spec.rb
299
335
  - spec/models/variant_spec.rb
300
336
  - spec/spec_helper.rb
301
337
  - swagger.yaml
@@ -320,43 +356,47 @@ required_rubygems_version: !ruby/object:Gem::Requirement
320
356
  - !ruby/object:Gem::Version
321
357
  version: '0'
322
358
  requirements: []
323
- rubyforge_project:
324
- rubygems_version: 2.7.6
359
+ rubygems_version: 3.0.3.1
325
360
  signing_key:
326
361
  specification_version: 4
327
362
  summary: Flagr Ruby Gem
328
363
  test_files:
329
- - spec/api/health_api_spec.rb
330
- - spec/api/evaluation_api_spec.rb
331
364
  - spec/api/distribution_api_spec.rb
365
+ - spec/api/health_api_spec.rb
366
+ - spec/api/constraint_api_spec.rb
367
+ - spec/api/tag_api_spec.rb
332
368
  - spec/api/flag_api_spec.rb
333
- - spec/api/variant_api_spec.rb
334
369
  - spec/api/segment_api_spec.rb
335
- - spec/api/constraint_api_spec.rb
370
+ - spec/api/export_api_spec.rb
371
+ - spec/api/variant_api_spec.rb
372
+ - spec/api/evaluation_api_spec.rb
336
373
  - spec/api_client_spec.rb
337
374
  - spec/configuration_spec.rb
338
- - spec/models/error_spec.rb
339
- - spec/models/create_flag_request_spec.rb
340
- - spec/models/create_constraint_request_spec.rb
341
- - spec/models/distribution_spec.rb
342
- - spec/models/constraint_spec.rb
343
- - spec/models/segment_debug_log_spec.rb
344
- - spec/models/segment_spec.rb
375
+ - spec/models/put_segment_request_spec.rb
376
+ - spec/models/create_variant_request_spec.rb
377
+ - spec/models/create_tag_request_spec.rb
345
378
  - spec/models/eval_debug_log_spec.rb
346
- - spec/models/variant_spec.rb
347
- - spec/models/eval_context_spec.rb
348
- - spec/models/flag_spec.rb
379
+ - spec/models/eval_result_spec.rb
380
+ - spec/models/evaluation_entity_spec.rb
381
+ - spec/models/set_flag_enabled_request_spec.rb
349
382
  - spec/models/evaluation_batch_request_spec.rb
383
+ - spec/models/variant_spec.rb
384
+ - spec/models/put_variant_request_spec.rb
385
+ - spec/models/segment_debug_log_spec.rb
350
386
  - spec/models/put_flag_request_spec.rb
351
- - spec/models/set_flag_enabled_request_spec.rb
352
- - spec/models/evaluation_entity_spec.rb
353
- - spec/models/create_variant_request_spec.rb
387
+ - spec/models/constraint_spec.rb
354
388
  - spec/models/put_segment_reorder_request_spec.rb
355
- - spec/models/evaluation_batch_response_spec.rb
356
- - spec/models/create_segment_request_spec.rb
389
+ - spec/models/error_spec.rb
357
390
  - spec/models/flag_snapshot_spec.rb
391
+ - spec/models/segment_spec.rb
392
+ - spec/models/flag_spec.rb
393
+ - spec/models/create_flag_request_spec.rb
394
+ - spec/models/distribution_spec.rb
395
+ - spec/models/create_segment_request_spec.rb
396
+ - spec/models/eval_context_spec.rb
397
+ - spec/models/create_constraint_request_spec.rb
398
+ - spec/models/tag_spec.rb
399
+ - spec/models/health_spec.rb
358
400
  - spec/models/put_distributions_request_spec.rb
359
- - spec/models/put_segment_request_spec.rb
360
- - spec/models/eval_result_spec.rb
361
- - spec/models/put_variant_request_spec.rb
401
+ - spec/models/evaluation_batch_response_spec.rb
362
402
  - spec/spec_helper.rb