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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7982ab3b4bcc7849f28a571df308c6bc8d588fbb5748b29f1b2589cb92fbf64
4
- data.tar.gz: 49d643efdf4b181a7a4ba35325159fd33edb4c5330c4de6a0e136184a5f4a0fa
3
+ metadata.gz: 035407b70b8d466e8167c8c82dcc564c1b1ec3890411efc1f0cada46f29b5fb7
4
+ data.tar.gz: 1af6373e32fd55e17031919e958987c3928f3cc9dd1537bdd03fa245f5d41c63
5
5
  SHA512:
6
- metadata.gz: a4f3f440b1b50e57d8de2a6f85f33f626be9c055da36df2574b1cc951cbab7a8ba632ff83da1c618a322c06ece0002f4c889ee5c4157cee8d3aea1c876de213c
7
- data.tar.gz: 3a3ce759067f652d0e3552e92d53c92e931dfa3122fc857cc7a889212fb197e5417bfd275e4853b83fc08404ed950bff0fcf73cc28cdc55667d32ea7404ca467
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)
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Morpheus
3
3
  module Cli
4
- VERSION = "5.4.4.1"
4
+ VERSION = "5.4.4.2"
5
5
  end
6
6
  end
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.1
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-11 00:00:00.000000000 Z
14
+ date: 2022-03-14 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler