diff --git a/Gemfile.lock b/Gemfile.lock index 84bef53..91b2f5d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - sapi-client-ruby (1.2.0) + sapi-client-ruby (1.3.0.pre.1) faraday_middleware (~> 1.0.0) i18n (~> 1.5) @@ -13,7 +13,7 @@ GEM builder (3.3.0) byebug (11.1.3) concurrent-ruby (1.3.4) - docile (1.4.0) + docile (1.4.1) faraday (1.10.4) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) @@ -30,8 +30,8 @@ GEM faraday-em_synchrony (1.0.0) faraday-excon (1.1.0) faraday-httpclient (1.0.1) - faraday-multipart (1.0.4) - multipart-post (~> 2) + faraday-multipart (1.1.0) + multipart-post (~> 2.0) faraday-net_http (1.0.2) faraday-net_http_persistent (1.2.0) faraday-patron (1.0.0) @@ -41,24 +41,25 @@ GEM faraday (~> 1.0) i18n (1.14.6) concurrent-ruby (~> 1.0) - minitest (5.25.1) + minitest (5.25.4) minitest-reporters (1.7.1) ansi builder minitest (>= 5.0) ruby-progressbar - mocha (2.4.5) + mocha (2.7.1) ruby2_keywords (>= 0.0.5) multipart-post (2.4.1) - parallel (1.21.0) - parser (3.1.1.0) + parallel (1.26.3) + parser (3.3.6.0) ast (~> 2.4.1) + racc + racc (1.8.1) rainbow (3.1.1) rake (13.0.6) - regexp_parser (2.2.1) - rexml (3.2.8) - strscan (>= 3.0.9) - rubocop (1.26.0) + regexp_parser (2.10.0) + rexml (3.4.0) + rubocop (1.26.1) parallel (~> 1.10) parser (>= 3.1.0.0) rainbow (>= 2.2.2, < 4.0) @@ -67,25 +68,24 @@ GEM rubocop-ast (>= 1.16.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.16.0) - parser (>= 3.1.1.0) - ruby-progressbar (1.11.0) + rubocop-ast (1.37.0) + parser (>= 3.3.1.0) + ruby-progressbar (1.13.0) ruby2_keywords (0.0.5) simplecov (0.21.2) docile (~> 1.1) simplecov-html (~> 0.11) simplecov_json_formatter (~> 0.1) - simplecov-html (0.12.3) + simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) - strscan (3.1.0) - unicode-display_width (2.1.0) + unicode-display_width (2.6.0) vcr (6.0.0) PLATFORMS ruby DEPENDENCIES - bundler (~> 2.1.4) + bundler (~> 2.4.22) byebug (~> 11.1.3) minitest (~> 5.25) minitest-reporters (~> 1.7) @@ -97,4 +97,4 @@ DEPENDENCIES vcr (~> 6.0.0) BUNDLED WITH - 2.1.4 + 2.4.22 diff --git a/lib/sapi_client/sapi_endpoint.rb b/lib/sapi_client/sapi_endpoint.rb index 70f6799..7d83bd3 100644 --- a/lib/sapi_client/sapi_endpoint.rb +++ b/lib/sapi_client/sapi_endpoint.rb @@ -12,9 +12,11 @@ class SapiEndpoint # rubocop:disable Metrics/ClassLength ENDPOINT_TYPE_ITEM = 'endpoint.item' ENDPOINT_TYPE_FORWARD = 'endpoint.forward' ENDPOINT_TYPE_HIERARCHY = 'endpoint.hierarchy' + ENDPOINT_TYPE_TEMPLATE = 'endpoint.template' ENDPOINT_TYPES = [ DEP_ENDPOINT_TYPE_LIST, DEP_ENDPOINT_TYPE_ITEM, DEP_ENDPOINT_TYPE_FORWARD, - ENDPOINT_TYPE_LIST, ENDPOINT_TYPE_ITEM, ENDPOINT_TYPE_FORWARD, ENDPOINT_TYPE_HIERARCHY + ENDPOINT_TYPE_LIST, ENDPOINT_TYPE_ITEM, ENDPOINT_TYPE_FORWARD, ENDPOINT_TYPE_HIERARCHY, + ENDPOINT_TYPE_TEMPLATE ].freeze def initialize(base_url, specification, view_registry: ViewRegistry) diff --git a/lib/sapi_client/version.rb b/lib/sapi_client/version.rb index 2bb4d1a..eee81c2 100644 --- a/lib/sapi_client/version.rb +++ b/lib/sapi_client/version.rb @@ -2,7 +2,7 @@ module SapiClient MAJOR = 1 - MINOR = 2 + MINOR = 3 FIX = 0 - VERSION = "#{MAJOR}.#{MINOR}.#{FIX}" + VERSION = "#{MAJOR}.#{MINOR}.#{FIX}.pre.1" end diff --git a/sapi-client-ruby.gemspec b/sapi-client-ruby.gemspec index 4f9fe27..449e96b 100644 --- a/sapi-client-ruby.gemspec +++ b/sapi-client-ruby.gemspec @@ -34,7 +34,7 @@ Gem::Specification.new do |spec| spec.add_dependency 'faraday_middleware', '~> 1.0.0' spec.add_dependency 'i18n', '~> 1.5' - spec.add_development_dependency 'bundler', '~> 2.1.4' + spec.add_development_dependency 'bundler', '~> 2.4.22' spec.add_development_dependency 'byebug', '~> 11.1.3' spec.add_development_dependency 'minitest', '~> 5.25' spec.add_development_dependency 'minitest-reporters', '~> 1.7'