rbflagr 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/Makefile +9 -0
  4. data/README.md +143 -0
  5. data/Rakefile +8 -0
  6. data/docs/Constraint.md +11 -0
  7. data/docs/ConstraintApi.md +211 -0
  8. data/docs/CreateConstraintRequest.md +10 -0
  9. data/docs/CreateFlagRequest.md +8 -0
  10. data/docs/CreateSegmentRequest.md +9 -0
  11. data/docs/CreateVariantRequest.md +9 -0
  12. data/docs/Distribution.md +12 -0
  13. data/docs/DistributionApi.md +109 -0
  14. data/docs/Error.md +8 -0
  15. data/docs/EvalContext.md +12 -0
  16. data/docs/EvalDebugLog.md +9 -0
  17. data/docs/EvalResult.md +16 -0
  18. data/docs/EvaluationApi.md +98 -0
  19. data/docs/EvaluationBatchRequest.md +10 -0
  20. data/docs/EvaluationBatchResponse.md +8 -0
  21. data/docs/EvaluationEntity.md +10 -0
  22. data/docs/Flag.md +13 -0
  23. data/docs/FlagApi.md +337 -0
  24. data/docs/FlagSnapshot.md +11 -0
  25. data/docs/HealthApi.md +46 -0
  26. data/docs/PutDistributionsRequest.md +8 -0
  27. data/docs/PutFlagRequest.md +9 -0
  28. data/docs/PutSegmentReorderRequest.md +8 -0
  29. data/docs/PutSegmentRequest.md +9 -0
  30. data/docs/PutVariantRequest.md +9 -0
  31. data/docs/Segment.md +13 -0
  32. data/docs/SegmentApi.md +246 -0
  33. data/docs/SegmentDebugLog.md +9 -0
  34. data/docs/SetFlagEnabledRequest.md +8 -0
  35. data/docs/Variant.md +10 -0
  36. data/docs/VariantApi.md +199 -0
  37. data/git_push.sh +55 -0
  38. data/lib/rbflagr.rb +70 -0
  39. data/lib/rbflagr/api/constraint_api.rb +310 -0
  40. data/lib/rbflagr/api/distribution_api.rb +159 -0
  41. data/lib/rbflagr/api/evaluation_api.rb +123 -0
  42. data/lib/rbflagr/api/flag_api.rb +413 -0
  43. data/lib/rbflagr/api/health_api.rb +66 -0
  44. data/lib/rbflagr/api/segment_api.rb +329 -0
  45. data/lib/rbflagr/api/variant_api.rb +270 -0
  46. data/lib/rbflagr/api_client.rb +388 -0
  47. data/lib/rbflagr/api_error.rb +38 -0
  48. data/lib/rbflagr/configuration.rb +202 -0
  49. data/lib/rbflagr/models/constraint.rb +317 -0
  50. data/lib/rbflagr/models/create_constraint_request.rb +273 -0
  51. data/lib/rbflagr/models/create_flag_request.rb +207 -0
  52. data/lib/rbflagr/models/create_segment_request.rb +249 -0
  53. data/lib/rbflagr/models/create_variant_request.rb +216 -0
  54. data/lib/rbflagr/models/distribution.rb +330 -0
  55. data/lib/rbflagr/models/error.rb +207 -0
  56. data/lib/rbflagr/models/eval_context.rb +268 -0
  57. data/lib/rbflagr/models/eval_debug_log.rb +194 -0
  58. data/lib/rbflagr/models/eval_result.rb +385 -0
  59. data/lib/rbflagr/models/evaluation_batch_request.rb +215 -0
  60. data/lib/rbflagr/models/evaluation_batch_response.rb +190 -0
  61. data/lib/rbflagr/models/evaluation_entity.rb +225 -0
  62. data/lib/rbflagr/models/flag.rb +282 -0
  63. data/lib/rbflagr/models/flag_snapshot.rb +263 -0
  64. data/lib/rbflagr/models/put_distributions_request.rb +190 -0
  65. data/lib/rbflagr/models/put_flag_request.rb +217 -0
  66. data/lib/rbflagr/models/put_segment_reorder_request.rb +190 -0
  67. data/lib/rbflagr/models/put_segment_request.rb +249 -0
  68. data/lib/rbflagr/models/put_variant_request.rb +221 -0
  69. data/lib/rbflagr/models/segment.rb +328 -0
  70. data/lib/rbflagr/models/segment_debug_log.rb +207 -0
  71. data/lib/rbflagr/models/set_flag_enabled_request.rb +188 -0
  72. data/lib/rbflagr/models/variant.rb +240 -0
  73. data/lib/rbflagr/version.rb +15 -0
  74. data/rbflagr.gemspec +45 -0
  75. data/spec/api/constraint_api_spec.rb +91 -0
  76. data/spec/api/distribution_api_spec.rb +62 -0
  77. data/spec/api/evaluation_api_spec.rb +47 -0
  78. data/spec/api/flag_api_spec.rb +108 -0
  79. data/spec/api/health_api_spec.rb +44 -0
  80. data/spec/api/segment_api_spec.rb +87 -0
  81. data/spec/api/variant_api_spec.rb +87 -0
  82. data/spec/api_client_spec.rb +226 -0
  83. data/spec/configuration_spec.rb +42 -0
  84. data/spec/models/constraint_spec.rb +64 -0
  85. data/spec/models/create_constraint_request_spec.rb +54 -0
  86. data/spec/models/create_flag_request_spec.rb +42 -0
  87. data/spec/models/create_segment_request_spec.rb +48 -0
  88. data/spec/models/create_variant_request_spec.rb +48 -0
  89. data/spec/models/distribution_spec.rb +66 -0
  90. data/spec/models/error_spec.rb +42 -0
  91. data/spec/models/eval_context_spec.rb +66 -0
  92. data/spec/models/eval_debug_log_spec.rb +48 -0
  93. data/spec/models/eval_result_spec.rb +78 -0
  94. data/spec/models/evaluation_batch_request_spec.rb +54 -0
  95. data/spec/models/evaluation_batch_response_spec.rb +42 -0
  96. data/spec/models/evaluation_entity_spec.rb +54 -0
  97. data/spec/models/flag_snapshot_spec.rb +60 -0
  98. data/spec/models/flag_spec.rb +66 -0
  99. data/spec/models/put_distributions_request_spec.rb +42 -0
  100. data/spec/models/put_flag_request_spec.rb +42 -0
  101. data/spec/models/put_segment_reorder_request_spec.rb +42 -0
  102. data/spec/models/put_segment_request_spec.rb +48 -0
  103. data/spec/models/put_variant_request_spec.rb +48 -0
  104. data/spec/models/segment_debug_log_spec.rb +48 -0
  105. data/spec/models/segment_spec.rb +72 -0
  106. data/spec/models/set_flag_enabled_request_spec.rb +42 -0
  107. data/spec/models/variant_spec.rb +54 -0
  108. data/spec/spec_helper.rb +111 -0
  109. data/swagger.yaml +1135 -0
  110. data/swagger_ruby.json +6 -0
  111. data/tags +618 -0
  112. metadata +362 -0
metadata ADDED
@@ -0,0 +1,362 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rbflagr
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.2
5
+ platform: ruby
6
+ authors:
7
+ - Swagger-Codegen
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-12-06 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: typhoeus
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.0.1
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '1.0'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.0.1
33
+ - !ruby/object:Gem::Dependency
34
+ name: json
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rspec
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '3.6'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 3.6.0
57
+ type: :development
58
+ prerelease: false
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '3.6'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 3.6.0
67
+ - !ruby/object:Gem::Dependency
68
+ name: vcr
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '3.0'
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 3.0.1
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '3.0'
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: 3.0.1
87
+ - !ruby/object:Gem::Dependency
88
+ name: webmock
89
+ requirement: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - "~>"
92
+ - !ruby/object:Gem::Version
93
+ version: '1.24'
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 1.24.3
97
+ type: :development
98
+ prerelease: false
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '1.24'
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: 1.24.3
107
+ - !ruby/object:Gem::Dependency
108
+ name: autotest
109
+ requirement: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - "~>"
112
+ - !ruby/object:Gem::Version
113
+ version: '4.4'
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: 4.4.6
117
+ type: :development
118
+ prerelease: false
119
+ version_requirements: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '4.4'
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: 4.4.6
127
+ - !ruby/object:Gem::Dependency
128
+ name: autotest-rails-pure
129
+ requirement: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - "~>"
132
+ - !ruby/object:Gem::Version
133
+ version: '4.1'
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: 4.1.2
137
+ type: :development
138
+ prerelease: false
139
+ version_requirements: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - "~>"
142
+ - !ruby/object:Gem::Version
143
+ version: '4.1'
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: 4.1.2
147
+ - !ruby/object:Gem::Dependency
148
+ name: autotest-growl
149
+ requirement: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - "~>"
152
+ - !ruby/object:Gem::Version
153
+ version: '0.2'
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ version: 0.2.16
157
+ type: :development
158
+ prerelease: false
159
+ version_requirements: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - "~>"
162
+ - !ruby/object:Gem::Version
163
+ version: '0.2'
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: 0.2.16
167
+ - !ruby/object:Gem::Dependency
168
+ name: autotest-fsevent
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '0.2'
174
+ - - ">="
175
+ - !ruby/object:Gem::Version
176
+ version: 0.2.12
177
+ type: :development
178
+ prerelease: false
179
+ version_requirements: !ruby/object:Gem::Requirement
180
+ requirements:
181
+ - - "~>"
182
+ - !ruby/object:Gem::Version
183
+ version: '0.2'
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: 0.2.12
187
+ description: Flagr is a feature flagging, A/B testing and dynamic configuration microservice
188
+ email:
189
+ - ''
190
+ executables: []
191
+ extensions: []
192
+ extra_rdoc_files: []
193
+ files:
194
+ - Gemfile
195
+ - Makefile
196
+ - README.md
197
+ - Rakefile
198
+ - docs/Constraint.md
199
+ - docs/ConstraintApi.md
200
+ - docs/CreateConstraintRequest.md
201
+ - docs/CreateFlagRequest.md
202
+ - docs/CreateSegmentRequest.md
203
+ - docs/CreateVariantRequest.md
204
+ - docs/Distribution.md
205
+ - docs/DistributionApi.md
206
+ - docs/Error.md
207
+ - docs/EvalContext.md
208
+ - docs/EvalDebugLog.md
209
+ - docs/EvalResult.md
210
+ - docs/EvaluationApi.md
211
+ - docs/EvaluationBatchRequest.md
212
+ - docs/EvaluationBatchResponse.md
213
+ - docs/EvaluationEntity.md
214
+ - docs/Flag.md
215
+ - docs/FlagApi.md
216
+ - docs/FlagSnapshot.md
217
+ - docs/HealthApi.md
218
+ - docs/PutDistributionsRequest.md
219
+ - docs/PutFlagRequest.md
220
+ - docs/PutSegmentReorderRequest.md
221
+ - docs/PutSegmentRequest.md
222
+ - docs/PutVariantRequest.md
223
+ - docs/Segment.md
224
+ - docs/SegmentApi.md
225
+ - docs/SegmentDebugLog.md
226
+ - docs/SetFlagEnabledRequest.md
227
+ - docs/Variant.md
228
+ - docs/VariantApi.md
229
+ - git_push.sh
230
+ - lib/rbflagr.rb
231
+ - lib/rbflagr/api/constraint_api.rb
232
+ - lib/rbflagr/api/distribution_api.rb
233
+ - lib/rbflagr/api/evaluation_api.rb
234
+ - lib/rbflagr/api/flag_api.rb
235
+ - lib/rbflagr/api/health_api.rb
236
+ - lib/rbflagr/api/segment_api.rb
237
+ - lib/rbflagr/api/variant_api.rb
238
+ - lib/rbflagr/api_client.rb
239
+ - lib/rbflagr/api_error.rb
240
+ - lib/rbflagr/configuration.rb
241
+ - lib/rbflagr/models/constraint.rb
242
+ - lib/rbflagr/models/create_constraint_request.rb
243
+ - lib/rbflagr/models/create_flag_request.rb
244
+ - lib/rbflagr/models/create_segment_request.rb
245
+ - lib/rbflagr/models/create_variant_request.rb
246
+ - lib/rbflagr/models/distribution.rb
247
+ - lib/rbflagr/models/error.rb
248
+ - lib/rbflagr/models/eval_context.rb
249
+ - lib/rbflagr/models/eval_debug_log.rb
250
+ - lib/rbflagr/models/eval_result.rb
251
+ - lib/rbflagr/models/evaluation_batch_request.rb
252
+ - lib/rbflagr/models/evaluation_batch_response.rb
253
+ - lib/rbflagr/models/evaluation_entity.rb
254
+ - lib/rbflagr/models/flag.rb
255
+ - lib/rbflagr/models/flag_snapshot.rb
256
+ - lib/rbflagr/models/put_distributions_request.rb
257
+ - lib/rbflagr/models/put_flag_request.rb
258
+ - lib/rbflagr/models/put_segment_reorder_request.rb
259
+ - lib/rbflagr/models/put_segment_request.rb
260
+ - lib/rbflagr/models/put_variant_request.rb
261
+ - lib/rbflagr/models/segment.rb
262
+ - lib/rbflagr/models/segment_debug_log.rb
263
+ - lib/rbflagr/models/set_flag_enabled_request.rb
264
+ - lib/rbflagr/models/variant.rb
265
+ - lib/rbflagr/version.rb
266
+ - rbflagr.gemspec
267
+ - spec/api/constraint_api_spec.rb
268
+ - spec/api/distribution_api_spec.rb
269
+ - spec/api/evaluation_api_spec.rb
270
+ - spec/api/flag_api_spec.rb
271
+ - spec/api/health_api_spec.rb
272
+ - spec/api/segment_api_spec.rb
273
+ - spec/api/variant_api_spec.rb
274
+ - spec/api_client_spec.rb
275
+ - spec/configuration_spec.rb
276
+ - spec/models/constraint_spec.rb
277
+ - spec/models/create_constraint_request_spec.rb
278
+ - spec/models/create_flag_request_spec.rb
279
+ - spec/models/create_segment_request_spec.rb
280
+ - spec/models/create_variant_request_spec.rb
281
+ - spec/models/distribution_spec.rb
282
+ - spec/models/error_spec.rb
283
+ - spec/models/eval_context_spec.rb
284
+ - spec/models/eval_debug_log_spec.rb
285
+ - spec/models/eval_result_spec.rb
286
+ - spec/models/evaluation_batch_request_spec.rb
287
+ - spec/models/evaluation_batch_response_spec.rb
288
+ - spec/models/evaluation_entity_spec.rb
289
+ - spec/models/flag_snapshot_spec.rb
290
+ - spec/models/flag_spec.rb
291
+ - spec/models/put_distributions_request_spec.rb
292
+ - spec/models/put_flag_request_spec.rb
293
+ - spec/models/put_segment_reorder_request_spec.rb
294
+ - spec/models/put_segment_request_spec.rb
295
+ - spec/models/put_variant_request_spec.rb
296
+ - spec/models/segment_debug_log_spec.rb
297
+ - spec/models/segment_spec.rb
298
+ - spec/models/set_flag_enabled_request_spec.rb
299
+ - spec/models/variant_spec.rb
300
+ - spec/spec_helper.rb
301
+ - swagger.yaml
302
+ - swagger_ruby.json
303
+ - tags
304
+ homepage: https://github.com/swagger-api/swagger-codegen
305
+ licenses:
306
+ - Apache 2.0
307
+ metadata: {}
308
+ post_install_message:
309
+ rdoc_options: []
310
+ require_paths:
311
+ - lib
312
+ required_ruby_version: !ruby/object:Gem::Requirement
313
+ requirements:
314
+ - - ">="
315
+ - !ruby/object:Gem::Version
316
+ version: '1.9'
317
+ required_rubygems_version: !ruby/object:Gem::Requirement
318
+ requirements:
319
+ - - ">="
320
+ - !ruby/object:Gem::Version
321
+ version: '0'
322
+ requirements: []
323
+ rubyforge_project:
324
+ rubygems_version: 2.7.6
325
+ signing_key:
326
+ specification_version: 4
327
+ summary: Flagr Ruby Gem
328
+ test_files:
329
+ - spec/api/health_api_spec.rb
330
+ - spec/api/evaluation_api_spec.rb
331
+ - spec/api/distribution_api_spec.rb
332
+ - spec/api/flag_api_spec.rb
333
+ - spec/api/variant_api_spec.rb
334
+ - spec/api/segment_api_spec.rb
335
+ - spec/api/constraint_api_spec.rb
336
+ - spec/api_client_spec.rb
337
+ - 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
345
+ - 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
349
+ - spec/models/evaluation_batch_request_spec.rb
350
+ - 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
354
+ - spec/models/put_segment_reorder_request_spec.rb
355
+ - spec/models/evaluation_batch_response_spec.rb
356
+ - spec/models/create_segment_request_spec.rb
357
+ - spec/models/flag_snapshot_spec.rb
358
+ - 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
362
+ - spec/spec_helper.rb