rbflagr 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -7
  3. data/docs/CreateFlagRequest.md +1 -0
  4. data/docs/Distribution.md +0 -1
  5. data/docs/EvalContext.md +3 -2
  6. data/docs/EvalResult.md +1 -0
  7. data/docs/EvaluationBatchRequest.md +2 -1
  8. data/docs/EvaluationEntity.md +1 -1
  9. data/docs/ExportApi.md +49 -0
  10. data/docs/Flag.md +5 -0
  11. data/docs/FlagApi.md +41 -0
  12. data/docs/HealthApi.md +7 -5
  13. data/docs/PutFlagRequest.md +4 -1
  14. data/docs/PutVariantRequest.md +1 -1
  15. data/lib/rbflagr.rb +3 -2
  16. data/lib/rbflagr/api/constraint_api.rb +2 -2
  17. data/lib/rbflagr/api/distribution_api.rb +2 -2
  18. data/lib/rbflagr/api/evaluation_api.rb +2 -2
  19. data/lib/rbflagr/api/export_api.rb +69 -0
  20. data/lib/rbflagr/api/flag_api.rb +49 -2
  21. data/lib/rbflagr/api/health_api.rb +9 -7
  22. data/lib/rbflagr/api/segment_api.rb +2 -2
  23. data/lib/rbflagr/api/variant_api.rb +2 -2
  24. data/lib/rbflagr/api_client.rb +2 -2
  25. data/lib/rbflagr/api_error.rb +2 -2
  26. data/lib/rbflagr/configuration.rb +2 -2
  27. data/lib/rbflagr/models/constraint.rb +2 -2
  28. data/lib/rbflagr/models/create_constraint_request.rb +2 -2
  29. data/lib/rbflagr/models/create_flag_request.rb +16 -6
  30. data/lib/rbflagr/models/create_segment_request.rb +2 -2
  31. data/lib/rbflagr/models/create_variant_request.rb +2 -2
  32. data/lib/rbflagr/models/distribution.rb +3 -27
  33. data/lib/rbflagr/models/error.rb +2 -2
  34. data/lib/rbflagr/models/eval_context.rb +20 -42
  35. data/lib/rbflagr/models/eval_debug_log.rb +2 -2
  36. data/lib/rbflagr/models/eval_result.rb +17 -3
  37. data/lib/rbflagr/models/evaluation_batch_request.rb +19 -11
  38. data/lib/rbflagr/models/evaluation_batch_response.rb +2 -2
  39. data/lib/rbflagr/models/evaluation_entity.rb +2 -26
  40. data/lib/rbflagr/models/flag.rb +68 -6
  41. data/lib/rbflagr/models/flag_snapshot.rb +2 -2
  42. data/lib/rbflagr/models/put_distributions_request.rb +2 -2
  43. data/lib/rbflagr/models/put_flag_request.rb +37 -18
  44. data/lib/rbflagr/models/put_segment_reorder_request.rb +2 -2
  45. data/lib/rbflagr/models/put_segment_request.rb +2 -2
  46. data/lib/rbflagr/models/put_variant_request.rb +2 -7
  47. data/lib/rbflagr/models/segment.rb +2 -2
  48. data/lib/rbflagr/models/segment_debug_log.rb +2 -2
  49. data/lib/rbflagr/models/set_flag_enabled_request.rb +2 -2
  50. data/lib/rbflagr/models/variant.rb +2 -2
  51. data/lib/rbflagr/version.rb +3 -3
  52. data/rbflagr.gemspec +3 -3
  53. data/spec/api/export_api_spec.rb +45 -0
  54. data/swagger.yaml +115 -35
  55. data/swagger_ruby.json +1 -1
  56. metadata +8 -3
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "gemName": "rbflagr",
3
3
  "moduleName": "Flagr",
4
- "gemVersion": "0.1.2",
4
+ "gemVersion": "0.2.0",
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: 0.2.0
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: 2018-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -184,7 +184,8 @@ dependencies:
184
184
  - - ">="
185
185
  - !ruby/object:Gem::Version
186
186
  version: 0.2.12
187
- description: Flagr is a feature flagging, A/B testing and dynamic configuration microservice
187
+ description: 'Flagr is a feature flagging, A/B testing and dynamic configuration microservice.
188
+ The base path for all the APIs is "/api/v1". '
188
189
  email:
189
190
  - ''
190
191
  executables: []
@@ -211,6 +212,7 @@ files:
211
212
  - docs/EvaluationBatchRequest.md
212
213
  - docs/EvaluationBatchResponse.md
213
214
  - docs/EvaluationEntity.md
215
+ - docs/ExportApi.md
214
216
  - docs/Flag.md
215
217
  - docs/FlagApi.md
216
218
  - docs/FlagSnapshot.md
@@ -231,6 +233,7 @@ files:
231
233
  - lib/rbflagr/api/constraint_api.rb
232
234
  - lib/rbflagr/api/distribution_api.rb
233
235
  - lib/rbflagr/api/evaluation_api.rb
236
+ - lib/rbflagr/api/export_api.rb
234
237
  - lib/rbflagr/api/flag_api.rb
235
238
  - lib/rbflagr/api/health_api.rb
236
239
  - lib/rbflagr/api/segment_api.rb
@@ -267,6 +270,7 @@ files:
267
270
  - spec/api/constraint_api_spec.rb
268
271
  - spec/api/distribution_api_spec.rb
269
272
  - spec/api/evaluation_api_spec.rb
273
+ - spec/api/export_api_spec.rb
270
274
  - spec/api/flag_api_spec.rb
271
275
  - spec/api/health_api_spec.rb
272
276
  - spec/api/segment_api_spec.rb
@@ -327,6 +331,7 @@ specification_version: 4
327
331
  summary: Flagr Ruby Gem
328
332
  test_files:
329
333
  - spec/api/health_api_spec.rb
334
+ - spec/api/export_api_spec.rb
330
335
  - spec/api/evaluation_api_spec.rb
331
336
  - spec/api/distribution_api_spec.rb
332
337
  - spec/api/flag_api_spec.rb