diff --git a/.swagger-codegen/VERSION b/.swagger-codegen/VERSION index 3eb2ae3..19244e8 100644 --- a/.swagger-codegen/VERSION +++ b/.swagger-codegen/VERSION @@ -1 +1 @@ -2.4.14 \ No newline at end of file +2.4.21 \ No newline at end of file diff --git a/README.md b/README.md index 937a0b7..2c632e3 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ Flagr is a feature flagging, A/B testing and dynamic configuration microservice. This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: -- API version: 1.1.10 -- Package version: 1.1.10 +- API version: 1.1.12 +- Package version: 1.1.12 - Build package: io.swagger.codegen.languages.RubyClientCodegen ## Installation @@ -23,15 +23,15 @@ gem build rbflagr.gemspec Then either install the gem locally: ```shell -gem install ./rbflagr-1.1.10.gem +gem install ./rbflagr-1.1.12.gem ``` -(for development, run `gem install --dev ./rbflagr-1.1.10.gem` to install the development dependencies) +(for development, run `gem install --dev ./rbflagr-1.1.12.gem` to install the development dependencies) or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/). Finally add this to the Gemfile: - gem 'rbflagr', '~> 1.1.10' + gem 'rbflagr', '~> 1.1.12' ### Install from Git diff --git a/lib/rbflagr.rb b/lib/rbflagr.rb index 0058ebe..0539d06 100644 --- a/lib/rbflagr.rb +++ b/lib/rbflagr.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/api/constraint_api.rb b/lib/rbflagr/api/constraint_api.rb index 1a77a1a..d5f0100 100644 --- a/lib/rbflagr/api/constraint_api.rb +++ b/lib/rbflagr/api/constraint_api.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/api/distribution_api.rb b/lib/rbflagr/api/distribution_api.rb index 103717a..764b841 100644 --- a/lib/rbflagr/api/distribution_api.rb +++ b/lib/rbflagr/api/distribution_api.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/api/evaluation_api.rb b/lib/rbflagr/api/evaluation_api.rb index c6a390f..3e57c07 100644 --- a/lib/rbflagr/api/evaluation_api.rb +++ b/lib/rbflagr/api/evaluation_api.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/api/export_api.rb b/lib/rbflagr/api/export_api.rb index 5e30ba7..7386bb9 100644 --- a/lib/rbflagr/api/export_api.rb +++ b/lib/rbflagr/api/export_api.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/api/flag_api.rb b/lib/rbflagr/api/flag_api.rb index ffdb6eb..6fd896a 100644 --- a/lib/rbflagr/api/flag_api.rb +++ b/lib/rbflagr/api/flag_api.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/api/health_api.rb b/lib/rbflagr/api/health_api.rb index 2aa72ba..a9340a8 100644 --- a/lib/rbflagr/api/health_api.rb +++ b/lib/rbflagr/api/health_api.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/api/segment_api.rb b/lib/rbflagr/api/segment_api.rb index 6cea0a0..9dfd6ec 100644 --- a/lib/rbflagr/api/segment_api.rb +++ b/lib/rbflagr/api/segment_api.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/api/tag_api.rb b/lib/rbflagr/api/tag_api.rb index c0c17a8..f6c88a3 100644 --- a/lib/rbflagr/api/tag_api.rb +++ b/lib/rbflagr/api/tag_api.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/api/variant_api.rb b/lib/rbflagr/api/variant_api.rb index 4332ba0..9a14d5f 100644 --- a/lib/rbflagr/api/variant_api.rb +++ b/lib/rbflagr/api/variant_api.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/api_client.rb b/lib/rbflagr/api_client.rb index ee2b656..5ec9eae 100644 --- a/lib/rbflagr/api_client.rb +++ b/lib/rbflagr/api_client.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end @@ -15,7 +15,7 @@ require 'logger' require 'tempfile' require 'typhoeus' -require 'uri' +require 'addressable/uri' module Flagr class ApiClient @@ -63,7 +63,7 @@ def call_api(http_method, path, opts = {}) :message => response.return_message) else fail ApiError.new(:code => response.code, - :response_headers => response.headers, + :response_headers => response.headers.to_h, :response_body => response.body), response.status_message end @@ -265,7 +265,7 @@ def sanitize_filename(filename) def build_request_url(path) # Add leading and trailing slashes to path path = "/#{path}".gsub(/\/+/, '/') - URI.encode(@config.base_url + path) + Addressable::URI.encode(@config.base_url + path) end # Builds the HTTP request body diff --git a/lib/rbflagr/api_error.rb b/lib/rbflagr/api_error.rb index 5ddcb32..c839cf6 100644 --- a/lib/rbflagr/api_error.rb +++ b/lib/rbflagr/api_error.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/configuration.rb b/lib/rbflagr/configuration.rb index 001ca29..53b2b90 100644 --- a/lib/rbflagr/configuration.rb +++ b/lib/rbflagr/configuration.rb @@ -3,14 +3,14 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end -require 'uri' +require 'addressable/uri' module Flagr class Configuration @@ -175,7 +175,7 @@ def base_path=(base_path) def base_url url = "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '') - URI.encode(url) + Addressable::URI.encode(url) end # Gets API key (with prefix if set). diff --git a/lib/rbflagr/models/constraint.rb b/lib/rbflagr/models/constraint.rb index 08723b9..c9c9b69 100644 --- a/lib/rbflagr/models/constraint.rb +++ b/lib/rbflagr/models/constraint.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/create_constraint_request.rb b/lib/rbflagr/models/create_constraint_request.rb index eb1cf2c..5449a9e 100644 --- a/lib/rbflagr/models/create_constraint_request.rb +++ b/lib/rbflagr/models/create_constraint_request.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/create_flag_request.rb b/lib/rbflagr/models/create_flag_request.rb index d2cc78f..825ad64 100644 --- a/lib/rbflagr/models/create_flag_request.rb +++ b/lib/rbflagr/models/create_flag_request.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/create_segment_request.rb b/lib/rbflagr/models/create_segment_request.rb index 986187e..703c572 100644 --- a/lib/rbflagr/models/create_segment_request.rb +++ b/lib/rbflagr/models/create_segment_request.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/create_tag_request.rb b/lib/rbflagr/models/create_tag_request.rb index a77945b..4aaf4db 100644 --- a/lib/rbflagr/models/create_tag_request.rb +++ b/lib/rbflagr/models/create_tag_request.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/create_variant_request.rb b/lib/rbflagr/models/create_variant_request.rb index ab45ebe..cfeb498 100644 --- a/lib/rbflagr/models/create_variant_request.rb +++ b/lib/rbflagr/models/create_variant_request.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/distribution.rb b/lib/rbflagr/models/distribution.rb index 17649bb..2b3c16c 100644 --- a/lib/rbflagr/models/distribution.rb +++ b/lib/rbflagr/models/distribution.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/error.rb b/lib/rbflagr/models/error.rb index 0cd6b87..ab0a4b0 100644 --- a/lib/rbflagr/models/error.rb +++ b/lib/rbflagr/models/error.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/eval_context.rb b/lib/rbflagr/models/eval_context.rb index f2388f7..7d2a66a 100644 --- a/lib/rbflagr/models/eval_context.rb +++ b/lib/rbflagr/models/eval_context.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/eval_debug_log.rb b/lib/rbflagr/models/eval_debug_log.rb index f3cdf59..1b103bb 100644 --- a/lib/rbflagr/models/eval_debug_log.rb +++ b/lib/rbflagr/models/eval_debug_log.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/eval_result.rb b/lib/rbflagr/models/eval_result.rb index 88eef18..0f6160a 100644 --- a/lib/rbflagr/models/eval_result.rb +++ b/lib/rbflagr/models/eval_result.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/evaluation_batch_request.rb b/lib/rbflagr/models/evaluation_batch_request.rb index 3a518f1..e6a3a67 100644 --- a/lib/rbflagr/models/evaluation_batch_request.rb +++ b/lib/rbflagr/models/evaluation_batch_request.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/evaluation_batch_response.rb b/lib/rbflagr/models/evaluation_batch_response.rb index 3c14950..5e23195 100644 --- a/lib/rbflagr/models/evaluation_batch_response.rb +++ b/lib/rbflagr/models/evaluation_batch_response.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/evaluation_entity.rb b/lib/rbflagr/models/evaluation_entity.rb index 46f41de..309850d 100644 --- a/lib/rbflagr/models/evaluation_entity.rb +++ b/lib/rbflagr/models/evaluation_entity.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/flag.rb b/lib/rbflagr/models/flag.rb index 16cbaa9..bb90886 100644 --- a/lib/rbflagr/models/flag.rb +++ b/lib/rbflagr/models/flag.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/flag_snapshot.rb b/lib/rbflagr/models/flag_snapshot.rb index 3e8c258..91289bc 100644 --- a/lib/rbflagr/models/flag_snapshot.rb +++ b/lib/rbflagr/models/flag_snapshot.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/health.rb b/lib/rbflagr/models/health.rb index 41adc8b..d9bcf6d 100644 --- a/lib/rbflagr/models/health.rb +++ b/lib/rbflagr/models/health.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/put_distributions_request.rb b/lib/rbflagr/models/put_distributions_request.rb index 93a708d..e74c465 100644 --- a/lib/rbflagr/models/put_distributions_request.rb +++ b/lib/rbflagr/models/put_distributions_request.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/put_flag_request.rb b/lib/rbflagr/models/put_flag_request.rb index 7b38a73..510d7d2 100644 --- a/lib/rbflagr/models/put_flag_request.rb +++ b/lib/rbflagr/models/put_flag_request.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/put_segment_reorder_request.rb b/lib/rbflagr/models/put_segment_reorder_request.rb index c84abaf..92ab702 100644 --- a/lib/rbflagr/models/put_segment_reorder_request.rb +++ b/lib/rbflagr/models/put_segment_reorder_request.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/put_segment_request.rb b/lib/rbflagr/models/put_segment_request.rb index 3f571bc..a22e790 100644 --- a/lib/rbflagr/models/put_segment_request.rb +++ b/lib/rbflagr/models/put_segment_request.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/put_variant_request.rb b/lib/rbflagr/models/put_variant_request.rb index 6accf9a..962b1a3 100644 --- a/lib/rbflagr/models/put_variant_request.rb +++ b/lib/rbflagr/models/put_variant_request.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/segment.rb b/lib/rbflagr/models/segment.rb index edee8ac..0fb0acd 100644 --- a/lib/rbflagr/models/segment.rb +++ b/lib/rbflagr/models/segment.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/segment_debug_log.rb b/lib/rbflagr/models/segment_debug_log.rb index cae46de..1990511 100644 --- a/lib/rbflagr/models/segment_debug_log.rb +++ b/lib/rbflagr/models/segment_debug_log.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/set_flag_enabled_request.rb b/lib/rbflagr/models/set_flag_enabled_request.rb index 1f46deb..12c0d4f 100644 --- a/lib/rbflagr/models/set_flag_enabled_request.rb +++ b/lib/rbflagr/models/set_flag_enabled_request.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/tag.rb b/lib/rbflagr/models/tag.rb index e7500dc..4b00abc 100644 --- a/lib/rbflagr/models/tag.rb +++ b/lib/rbflagr/models/tag.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/models/variant.rb b/lib/rbflagr/models/variant.rb index 0756887..831d119 100644 --- a/lib/rbflagr/models/variant.rb +++ b/lib/rbflagr/models/variant.rb @@ -3,10 +3,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end diff --git a/lib/rbflagr/version.rb b/lib/rbflagr/version.rb index 80743c2..6aae989 100644 --- a/lib/rbflagr/version.rb +++ b/lib/rbflagr/version.rb @@ -3,13 +3,13 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end module Flagr - VERSION = '1.1.10' + VERSION = '1.1.12' end diff --git a/rbflagr.gemspec b/rbflagr.gemspec index ebe1265..1bdb527 100644 --- a/rbflagr.gemspec +++ b/rbflagr.gemspec @@ -5,10 +5,10 @@ #Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". -OpenAPI spec version: 1.1.10 +OpenAPI spec version: 1.1.12 Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.4.14 +Swagger Codegen version: 2.4.21 =end @@ -29,6 +29,7 @@ Gem::Specification.new do |s| s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1' s.add_runtime_dependency 'json' + s.add_runtime_dependency 'addressable', '~> 2.3', '>= 2.3.0' s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0' s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1' diff --git a/swagger.yaml b/swagger.yaml index 50212fd..13d28ad 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -4,7 +4,7 @@ info: Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is "/api/v1". title: Flagr - version: 1.1.10 + version: 1.1.12 tags: - name: flag description: Everything about the flag diff --git a/swagger_ruby.json b/swagger_ruby.json index 605ede7..f4706f3 100644 --- a/swagger_ruby.json +++ b/swagger_ruby.json @@ -1,6 +1,6 @@ { "gemName": "rbflagr", "moduleName": "Flagr", - "gemVersion": "1.1.10", + "gemVersion": "1.1.12", "gemLicense": "Apache 2.0" }