morpheus-cli 5.4.4.1 → 5.4.4.2
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/lib/morpheus/cli/option_types.rb +3 -3
- data/lib/morpheus/cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 035407b70b8d466e8167c8c82dcc564c1b1ec3890411efc1f0cada46f29b5fb7
|
|
4
|
+
data.tar.gz: 1af6373e32fd55e17031919e958987c3928f3cc9dd1537bdd03fa245f5d41c63
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5635c593c0a181fab9635275458448336b593f87462e53586b5caf6d255710d3fcb2e749772b6a03ff68e3362a73c7e764e4df408dd3b8b7cd7a5bc0082e3e85
|
|
7
|
+
data.tar.gz: 10eb5b76228b348d8734c48014687a91adb2fece61d63905bdea17699b3d0a2751e3d509f12fe77e78871cf954c3bfe22443d48feb43d8af8da698d77a037f24
|
|
@@ -405,7 +405,7 @@ module Morpheus
|
|
|
405
405
|
select_options = option_type['optionSource'].call(api_client, api_params || {})
|
|
406
406
|
elsif option_type['optionSource'] == 'list'
|
|
407
407
|
# /api/options/list is a special action for custom OptionTypeLists, just need to pass the optionTypeId parameter
|
|
408
|
-
select_options = load_source_options(option_type['optionSource'], option_type['optionSourceType'], api_client, api_params || {}.merge({'optionTypeId' => option_type['id']}))
|
|
408
|
+
select_options = load_source_options(option_type['optionSource'], option_type['optionSourceType'], api_client, (api_params || {}).merge({'optionTypeId' => option_type['id']}))
|
|
409
409
|
else
|
|
410
410
|
# remote optionSource aka /api/options/$optionSource?
|
|
411
411
|
select_options = load_source_options(option_type['optionSource'], option_type['optionSourceType'], api_client, api_params || {})
|
|
@@ -999,7 +999,7 @@ module Morpheus
|
|
|
999
999
|
select_options = option_type['optionSource'].call(api_client, api_params || {})
|
|
1000
1000
|
elsif option_type['optionSource'] == 'list'
|
|
1001
1001
|
# /api/options/list is a special action for custom OptionTypeLists, just need to pass the optionTypeId parameter
|
|
1002
|
-
select_options = load_source_options(option_type['optionSource'], option_type['optionSourceType'], api_client, api_params || {}.merge({'optionTypeId' => option_type['id']}))
|
|
1002
|
+
select_options = load_source_options(option_type['optionSource'], option_type['optionSourceType'], api_client, (api_params || {}).merge({'optionTypeId' => option_type['id']}))
|
|
1003
1003
|
else
|
|
1004
1004
|
# remote optionSource aka /api/options/$optionSource?
|
|
1005
1005
|
select_options = load_source_options(option_type['optionSource'], option_type['optionSourceType'], api_client, api_params || {})
|
|
@@ -1029,7 +1029,7 @@ module Morpheus
|
|
|
1029
1029
|
|
|
1030
1030
|
|
|
1031
1031
|
def self.load_source_options(source,sourceType,api_client,params)
|
|
1032
|
-
api_client.options.options_for_source("#{sourceType ? "#{sourceType}/" : ''}#{source}",params)['data']
|
|
1032
|
+
api_client.options.options_for_source("#{sourceType ? "#{sourceType}/" : ''}#{source}", params)['data']
|
|
1033
1033
|
end
|
|
1034
1034
|
|
|
1035
1035
|
def self.format_select_options_help(opt, select_options = [], paging = nil)
|
data/lib/morpheus/cli/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: morpheus-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.4.4.
|
|
4
|
+
version: 5.4.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Estes
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2022-03-
|
|
14
|
+
date: 2022-03-14 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: bundler
|