rbflagr 0.1.2 → 1.1.12
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/Gemfile +1 -1
- data/README.md +17 -7
- data/docs/CreateFlagRequest.md +2 -0
- data/docs/CreateTagRequest.md +8 -0
- data/docs/Distribution.md +0 -1
- data/docs/EvalContext.md +4 -2
- data/docs/EvalResult.md +8 -7
- data/docs/EvaluationBatchRequest.md +3 -1
- data/docs/EvaluationEntity.md +1 -1
- data/docs/ExportApi.md +97 -0
- data/docs/Flag.md +7 -0
- data/docs/FlagApi.md +46 -1
- data/docs/Health.md +8 -0
- data/docs/HealthApi.md +9 -6
- data/docs/PutFlagRequest.md +5 -1
- data/docs/PutVariantRequest.md +1 -1
- data/docs/Tag.md +9 -0
- data/docs/TagApi.md +198 -0
- data/lib/rbflagr/api/constraint_api.rb +3 -3
- data/lib/rbflagr/api/distribution_api.rb +3 -3
- data/lib/rbflagr/api/evaluation_api.rb +3 -3
- data/lib/rbflagr/api/export_api.rb +118 -0
- data/lib/rbflagr/api/flag_api.rb +56 -3
- data/lib/rbflagr/api/health_api.rb +15 -12
- data/lib/rbflagr/api/segment_api.rb +3 -3
- data/lib/rbflagr/api/tag_api.rb +253 -0
- data/lib/rbflagr/api/variant_api.rb +3 -3
- data/lib/rbflagr/api_client.rb +8 -6
- data/lib/rbflagr/api_error.rb +3 -3
- data/lib/rbflagr/configuration.rb +5 -5
- data/lib/rbflagr/models/constraint.rb +5 -4
- data/lib/rbflagr/models/create_constraint_request.rb +5 -4
- data/lib/rbflagr/models/create_flag_request.rb +29 -8
- data/lib/rbflagr/models/create_segment_request.rb +5 -4
- data/lib/rbflagr/models/create_tag_request.rb +208 -0
- data/lib/rbflagr/models/create_variant_request.rb +5 -4
- data/lib/rbflagr/models/distribution.rb +6 -29
- data/lib/rbflagr/models/error.rb +5 -4
- data/lib/rbflagr/models/eval_context.rb +35 -44
- data/lib/rbflagr/models/eval_debug_log.rb +5 -4
- data/lib/rbflagr/models/eval_result.rb +15 -135
- data/lib/rbflagr/models/evaluation_batch_request.rb +34 -13
- data/lib/rbflagr/models/evaluation_batch_response.rb +5 -4
- data/lib/rbflagr/models/evaluation_entity.rb +5 -28
- data/lib/rbflagr/models/flag.rb +92 -8
- data/lib/rbflagr/models/flag_snapshot.rb +5 -4
- data/lib/rbflagr/models/health.rb +184 -0
- data/lib/rbflagr/models/put_distributions_request.rb +5 -4
- data/lib/rbflagr/models/put_flag_request.rb +49 -20
- data/lib/rbflagr/models/put_segment_reorder_request.rb +5 -4
- data/lib/rbflagr/models/put_segment_request.rb +5 -4
- data/lib/rbflagr/models/put_variant_request.rb +5 -9
- data/lib/rbflagr/models/segment.rb +5 -4
- data/lib/rbflagr/models/segment_debug_log.rb +5 -4
- data/lib/rbflagr/models/set_flag_enabled_request.rb +5 -4
- data/lib/rbflagr/models/tag.rb +232 -0
- data/lib/rbflagr/models/variant.rb +5 -4
- data/lib/rbflagr/version.rb +4 -4
- data/lib/rbflagr.rb +8 -3
- data/rbflagr.gemspec +5 -4
- data/spec/api/export_api_spec.rb +45 -0
- data/spec/api/tag_api_spec.rb +79 -0
- data/spec/models/create_tag_request_spec.rb +41 -0
- data/spec/models/health_spec.rb +41 -0
- data/spec/models/tag_spec.rb +47 -0
- data/swagger.yaml +309 -43
- data/swagger_ruby.json +1 -1
- metadata +72 -32
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Flagr
|
3
3
|
|
4
|
-
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice
|
4
|
+
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\".
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.
|
6
|
+
OpenAPI spec version: 1.1.12
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.21
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -228,7 +228,7 @@ module Flagr
|
|
228
228
|
return nil unless attributes.is_a?(Hash)
|
229
229
|
self.class.swagger_types.each_pair do |key, type|
|
230
230
|
if type =~ /\AArray<(.*)>/i
|
231
|
-
# check to ensure the input is an array given that the
|
231
|
+
# check to ensure the input is an array given that the attribute
|
232
232
|
# is documented as an array but the input is not
|
233
233
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
234
234
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -324,5 +324,6 @@ module Flagr
|
|
324
324
|
value
|
325
325
|
end
|
326
326
|
end
|
327
|
+
|
327
328
|
end
|
328
329
|
end
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Flagr
|
3
3
|
|
4
|
-
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice
|
4
|
+
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\".
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.
|
6
|
+
OpenAPI spec version: 1.1.12
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.21
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -107,7 +107,7 @@ module Flagr
|
|
107
107
|
return nil unless attributes.is_a?(Hash)
|
108
108
|
self.class.swagger_types.each_pair do |key, type|
|
109
109
|
if type =~ /\AArray<(.*)>/i
|
110
|
-
# check to ensure the input is an array given that the
|
110
|
+
# check to ensure the input is an array given that the attribute
|
111
111
|
# is documented as an array but the input is not
|
112
112
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
113
113
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -203,5 +203,6 @@ module Flagr
|
|
203
203
|
value
|
204
204
|
end
|
205
205
|
end
|
206
|
+
|
206
207
|
end
|
207
208
|
end
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Flagr
|
3
3
|
|
4
|
-
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice
|
4
|
+
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\".
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.
|
6
|
+
OpenAPI spec version: 1.1.12
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.21
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -88,7 +88,7 @@ module Flagr
|
|
88
88
|
return nil unless attributes.is_a?(Hash)
|
89
89
|
self.class.swagger_types.each_pair do |key, type|
|
90
90
|
if type =~ /\AArray<(.*)>/i
|
91
|
-
# check to ensure the input is an array given that the
|
91
|
+
# check to ensure the input is an array given that the attribute
|
92
92
|
# is documented as an array but the input is not
|
93
93
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
94
94
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -184,5 +184,6 @@ module Flagr
|
|
184
184
|
value
|
185
185
|
end
|
186
186
|
end
|
187
|
+
|
187
188
|
end
|
188
189
|
end
|
@@ -0,0 +1,232 @@
|
|
1
|
+
=begin
|
2
|
+
#Flagr
|
3
|
+
|
4
|
+
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\".
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.1.12
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.21
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module Flagr
|
16
|
+
class Tag
|
17
|
+
attr_accessor :id
|
18
|
+
|
19
|
+
attr_accessor :value
|
20
|
+
|
21
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
22
|
+
def self.attribute_map
|
23
|
+
{
|
24
|
+
:'id' => :'id',
|
25
|
+
:'value' => :'value'
|
26
|
+
}
|
27
|
+
end
|
28
|
+
|
29
|
+
# Attribute type mapping.
|
30
|
+
def self.swagger_types
|
31
|
+
{
|
32
|
+
:'id' => :'Integer',
|
33
|
+
:'value' => :'String'
|
34
|
+
}
|
35
|
+
end
|
36
|
+
|
37
|
+
# Initializes the object
|
38
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
39
|
+
def initialize(attributes = {})
|
40
|
+
return unless attributes.is_a?(Hash)
|
41
|
+
|
42
|
+
# convert string to symbol for hash key
|
43
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
44
|
+
|
45
|
+
if attributes.has_key?(:'id')
|
46
|
+
self.id = attributes[:'id']
|
47
|
+
end
|
48
|
+
|
49
|
+
if attributes.has_key?(:'value')
|
50
|
+
self.value = attributes[:'value']
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
55
|
+
# @return Array for valid properties with the reasons
|
56
|
+
def list_invalid_properties
|
57
|
+
invalid_properties = Array.new
|
58
|
+
if !@id.nil? && @id < 1
|
59
|
+
invalid_properties.push('invalid value for "id", must be greater than or equal to 1.')
|
60
|
+
end
|
61
|
+
|
62
|
+
if @value.nil?
|
63
|
+
invalid_properties.push('invalid value for "value", value cannot be nil.')
|
64
|
+
end
|
65
|
+
|
66
|
+
if @value.to_s.length < 1
|
67
|
+
invalid_properties.push('invalid value for "value", the character length must be great than or equal to 1.')
|
68
|
+
end
|
69
|
+
|
70
|
+
invalid_properties
|
71
|
+
end
|
72
|
+
|
73
|
+
# Check to see if the all the properties in the model are valid
|
74
|
+
# @return true if the model is valid
|
75
|
+
def valid?
|
76
|
+
return false if !@id.nil? && @id < 1
|
77
|
+
return false if @value.nil?
|
78
|
+
return false if @value.to_s.length < 1
|
79
|
+
true
|
80
|
+
end
|
81
|
+
|
82
|
+
# Custom attribute writer method with validation
|
83
|
+
# @param [Object] id Value to be assigned
|
84
|
+
def id=(id)
|
85
|
+
if !id.nil? && id < 1
|
86
|
+
fail ArgumentError, 'invalid value for "id", must be greater than or equal to 1.'
|
87
|
+
end
|
88
|
+
|
89
|
+
@id = id
|
90
|
+
end
|
91
|
+
|
92
|
+
# Custom attribute writer method with validation
|
93
|
+
# @param [Object] value Value to be assigned
|
94
|
+
def value=(value)
|
95
|
+
if value.nil?
|
96
|
+
fail ArgumentError, 'value cannot be nil'
|
97
|
+
end
|
98
|
+
|
99
|
+
if value.to_s.length < 1
|
100
|
+
fail ArgumentError, 'invalid value for "value", the character length must be great than or equal to 1.'
|
101
|
+
end
|
102
|
+
|
103
|
+
@value = value
|
104
|
+
end
|
105
|
+
|
106
|
+
# Checks equality by comparing each attribute.
|
107
|
+
# @param [Object] Object to be compared
|
108
|
+
def ==(o)
|
109
|
+
return true if self.equal?(o)
|
110
|
+
self.class == o.class &&
|
111
|
+
id == o.id &&
|
112
|
+
value == o.value
|
113
|
+
end
|
114
|
+
|
115
|
+
# @see the `==` method
|
116
|
+
# @param [Object] Object to be compared
|
117
|
+
def eql?(o)
|
118
|
+
self == o
|
119
|
+
end
|
120
|
+
|
121
|
+
# Calculates hash code according to all attributes.
|
122
|
+
# @return [Fixnum] Hash code
|
123
|
+
def hash
|
124
|
+
[id, value].hash
|
125
|
+
end
|
126
|
+
|
127
|
+
# Builds the object from hash
|
128
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
129
|
+
# @return [Object] Returns the model itself
|
130
|
+
def build_from_hash(attributes)
|
131
|
+
return nil unless attributes.is_a?(Hash)
|
132
|
+
self.class.swagger_types.each_pair do |key, type|
|
133
|
+
if type =~ /\AArray<(.*)>/i
|
134
|
+
# check to ensure the input is an array given that the attribute
|
135
|
+
# is documented as an array but the input is not
|
136
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
137
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
138
|
+
end
|
139
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
140
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
141
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
142
|
+
end
|
143
|
+
|
144
|
+
self
|
145
|
+
end
|
146
|
+
|
147
|
+
# Deserializes the data based on type
|
148
|
+
# @param string type Data type
|
149
|
+
# @param string value Value to be deserialized
|
150
|
+
# @return [Object] Deserialized data
|
151
|
+
def _deserialize(type, value)
|
152
|
+
case type.to_sym
|
153
|
+
when :DateTime
|
154
|
+
DateTime.parse(value)
|
155
|
+
when :Date
|
156
|
+
Date.parse(value)
|
157
|
+
when :String
|
158
|
+
value.to_s
|
159
|
+
when :Integer
|
160
|
+
value.to_i
|
161
|
+
when :Float
|
162
|
+
value.to_f
|
163
|
+
when :BOOLEAN
|
164
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
165
|
+
true
|
166
|
+
else
|
167
|
+
false
|
168
|
+
end
|
169
|
+
when :Object
|
170
|
+
# generic object (usually a Hash), return directly
|
171
|
+
value
|
172
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
173
|
+
inner_type = Regexp.last_match[:inner_type]
|
174
|
+
value.map { |v| _deserialize(inner_type, v) }
|
175
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
176
|
+
k_type = Regexp.last_match[:k_type]
|
177
|
+
v_type = Regexp.last_match[:v_type]
|
178
|
+
{}.tap do |hash|
|
179
|
+
value.each do |k, v|
|
180
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
181
|
+
end
|
182
|
+
end
|
183
|
+
else # model
|
184
|
+
temp_model = Flagr.const_get(type).new
|
185
|
+
temp_model.build_from_hash(value)
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
189
|
+
# Returns the string representation of the object
|
190
|
+
# @return [String] String presentation of the object
|
191
|
+
def to_s
|
192
|
+
to_hash.to_s
|
193
|
+
end
|
194
|
+
|
195
|
+
# to_body is an alias to to_hash (backward compatibility)
|
196
|
+
# @return [Hash] Returns the object in the form of hash
|
197
|
+
def to_body
|
198
|
+
to_hash
|
199
|
+
end
|
200
|
+
|
201
|
+
# Returns the object in the form of hash
|
202
|
+
# @return [Hash] Returns the object in the form of hash
|
203
|
+
def to_hash
|
204
|
+
hash = {}
|
205
|
+
self.class.attribute_map.each_pair do |attr, param|
|
206
|
+
value = self.send(attr)
|
207
|
+
next if value.nil?
|
208
|
+
hash[param] = _to_hash(value)
|
209
|
+
end
|
210
|
+
hash
|
211
|
+
end
|
212
|
+
|
213
|
+
# Outputs non-array value in the form of hash
|
214
|
+
# For object, use to_hash. Otherwise, just return the value
|
215
|
+
# @param [Object] value Any valid value
|
216
|
+
# @return [Hash] Returns the value in the form of hash
|
217
|
+
def _to_hash(value)
|
218
|
+
if value.is_a?(Array)
|
219
|
+
value.compact.map { |v| _to_hash(v) }
|
220
|
+
elsif value.is_a?(Hash)
|
221
|
+
{}.tap do |hash|
|
222
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
223
|
+
end
|
224
|
+
elsif value.respond_to? :to_hash
|
225
|
+
value.to_hash
|
226
|
+
else
|
227
|
+
value
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
231
|
+
end
|
232
|
+
end
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Flagr
|
3
3
|
|
4
|
-
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice
|
4
|
+
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\".
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.
|
6
|
+
OpenAPI spec version: 1.1.12
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.21
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -140,7 +140,7 @@ module Flagr
|
|
140
140
|
return nil unless attributes.is_a?(Hash)
|
141
141
|
self.class.swagger_types.each_pair do |key, type|
|
142
142
|
if type =~ /\AArray<(.*)>/i
|
143
|
-
# check to ensure the input is an array given that the
|
143
|
+
# check to ensure the input is an array given that the attribute
|
144
144
|
# is documented as an array but the input is not
|
145
145
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
146
146
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -236,5 +236,6 @@ module Flagr
|
|
236
236
|
value
|
237
237
|
end
|
238
238
|
end
|
239
|
+
|
239
240
|
end
|
240
241
|
end
|
data/lib/rbflagr/version.rb
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
=begin
|
2
2
|
#Flagr
|
3
3
|
|
4
|
-
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice
|
4
|
+
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\".
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.
|
6
|
+
OpenAPI spec version: 1.1.12
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.21
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module Flagr
|
14
|
-
VERSION = '
|
14
|
+
VERSION = '1.1.12'
|
15
15
|
end
|
data/lib/rbflagr.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Flagr
|
3
3
|
|
4
|
-
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice
|
4
|
+
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\".
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.
|
6
|
+
OpenAPI spec version: 1.1.12
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.21
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -21,6 +21,7 @@ require 'rbflagr/models/constraint'
|
|
21
21
|
require 'rbflagr/models/create_constraint_request'
|
22
22
|
require 'rbflagr/models/create_flag_request'
|
23
23
|
require 'rbflagr/models/create_segment_request'
|
24
|
+
require 'rbflagr/models/create_tag_request'
|
24
25
|
require 'rbflagr/models/create_variant_request'
|
25
26
|
require 'rbflagr/models/distribution'
|
26
27
|
require 'rbflagr/models/error'
|
@@ -32,6 +33,7 @@ require 'rbflagr/models/evaluation_batch_response'
|
|
32
33
|
require 'rbflagr/models/evaluation_entity'
|
33
34
|
require 'rbflagr/models/flag'
|
34
35
|
require 'rbflagr/models/flag_snapshot'
|
36
|
+
require 'rbflagr/models/health'
|
35
37
|
require 'rbflagr/models/put_distributions_request'
|
36
38
|
require 'rbflagr/models/put_flag_request'
|
37
39
|
require 'rbflagr/models/put_segment_reorder_request'
|
@@ -40,15 +42,18 @@ require 'rbflagr/models/put_variant_request'
|
|
40
42
|
require 'rbflagr/models/segment'
|
41
43
|
require 'rbflagr/models/segment_debug_log'
|
42
44
|
require 'rbflagr/models/set_flag_enabled_request'
|
45
|
+
require 'rbflagr/models/tag'
|
43
46
|
require 'rbflagr/models/variant'
|
44
47
|
|
45
48
|
# APIs
|
46
49
|
require 'rbflagr/api/constraint_api'
|
47
50
|
require 'rbflagr/api/distribution_api'
|
48
51
|
require 'rbflagr/api/evaluation_api'
|
52
|
+
require 'rbflagr/api/export_api'
|
49
53
|
require 'rbflagr/api/flag_api'
|
50
54
|
require 'rbflagr/api/health_api'
|
51
55
|
require 'rbflagr/api/segment_api'
|
56
|
+
require 'rbflagr/api/tag_api'
|
52
57
|
require 'rbflagr/api/variant_api'
|
53
58
|
|
54
59
|
module Flagr
|
data/rbflagr.gemspec
CHANGED
@@ -3,12 +3,12 @@
|
|
3
3
|
=begin
|
4
4
|
#Flagr
|
5
5
|
|
6
|
-
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice
|
6
|
+
#Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\".
|
7
7
|
|
8
|
-
OpenAPI spec version: 1.
|
8
|
+
OpenAPI spec version: 1.1.12
|
9
9
|
|
10
10
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
-
Swagger Codegen version: 2.4.
|
11
|
+
Swagger Codegen version: 2.4.21
|
12
12
|
|
13
13
|
=end
|
14
14
|
|
@@ -23,12 +23,13 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.email = [""]
|
24
24
|
s.homepage = "https://github.com/swagger-api/swagger-codegen"
|
25
25
|
s.summary = "Flagr Ruby Gem"
|
26
|
-
s.description = "Flagr is a feature flagging, A/B testing and dynamic configuration microservice"
|
26
|
+
s.description = "Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". "
|
27
27
|
s.license = 'Apache 2.0'
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
29
29
|
|
30
30
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
31
31
|
s.add_runtime_dependency 'json'
|
32
|
+
s.add_runtime_dependency 'addressable', '~> 2.3', '>= 2.3.0'
|
32
33
|
|
33
34
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
34
35
|
s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
|