From 33387c2609aa847004998ea79643374736fffee7 Mon Sep 17 00:00:00 2001 From: Alex Tucker Date: Mon, 11 Nov 2024 18:08:08 +0000 Subject: [PATCH] Adds endpoint.template type. Bump to 1.3.0 --- Gemfile.lock | 2 +- lib/sapi_client/sapi_endpoint.rb | 3 ++- lib/sapi_client/version.rb | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 84bef53..0fcbb85 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) faraday_middleware (~> 1.0.0) i18n (~> 1.5) diff --git a/lib/sapi_client/sapi_endpoint.rb b/lib/sapi_client/sapi_endpoint.rb index 70f6799..6b54a4f 100644 --- a/lib/sapi_client/sapi_endpoint.rb +++ b/lib/sapi_client/sapi_endpoint.rb @@ -12,9 +12,10 @@ 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..b70d69a 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}" end