stack_master 2.14.1 → 2.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bacf542a4b317cf98eb9e39a70740e393ddea1eb9363e65340975e568d3191e1
4
- data.tar.gz: 4582583ac6fa9681edf9f3a8bf4ed478e728b09e0aaebce244234ab50ff0376c
3
+ metadata.gz: b4266652d84c1c02817d9db7dfcdf52dc475d86b24013066362ff9db91ef7703
4
+ data.tar.gz: 3da40d30397a13adea77a79db06162c6006b7d2d6c77748b01fea17dfc1a50fc
5
5
  SHA512:
6
- metadata.gz: bce540f043c5010594155cfd41fab249b531e80febb96cc46cebce7b957e8de2f7aca20f8b0dc09cf13050338e0455d3438ec36341d49d838002ab9fa8b21905
7
- data.tar.gz: 61dae834acf176052b3fe8c2bb53443fc44dc0b68dbf33f7b053365088624b664aa6ba504697e839a18a63c5192a961e80d1736ce7efbdc82351616faf9bb8d7
6
+ metadata.gz: af293fcc93bd620fe8b37e3220b265470ad59fa35cf790fc303d4f070ec9bb1e5b447a7c37e2f4bc10cd60ed637bc4febc98dd6c430f98a2a51e6466edb3abd4
7
+ data.tar.gz: 55f59fd4ceb3175cf2660e5285058900696d0fadf899f271bdf58a81dc472f5b2660f1efef2b37be0357a9d1c68c61b4c383be88ae8f98b0bc2a8f57b883e191
@@ -42,6 +42,7 @@ module StackMaster
42
42
  def error_message(e)
43
43
  msg = "#{e.class} #{e.message}"
44
44
  msg << "\n Caused by: #{e.cause.class} #{e.cause.message}" if e.cause
45
+ msg << "\n at #{e.cause.backtrace[0..3].join("\n ")}\n ..." if e.cause && !options.trace
45
46
  if options.trace
46
47
  msg << "\n#{backtrace(e)}"
47
48
  else
@@ -18,7 +18,7 @@ module StackMaster
18
18
  region, stack_name, output_name = parse!(value)
19
19
  stack = find_stack(stack_name, region)
20
20
  if stack
21
- output = stack.outputs.find { |stack_output| stack_output.output_key == output_name.camelize }
21
+ output = stack.outputs.find { |stack_output| stack_output.output_key == output_name.camelize || stack_output.output_key == output_name }
22
22
  if output
23
23
  output.output_value
24
24
  else
@@ -1,3 +1,3 @@
1
1
  module StackMaster
2
- VERSION = "2.14.1"
2
+ VERSION = "2.16.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stack_master
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.14.1
4
+ version: 2.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Hodgkiss
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-03-07 00:00:00.000000000 Z
12
+ date: 2024-07-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -579,8 +579,8 @@ licenses:
579
579
  metadata:
580
580
  bug_tracker_uri: https://github.com/envato/stack_master/issues
581
581
  changelog_uri: https://github.com/envato/stack_master/blob/master/CHANGELOG.md
582
- documentation_uri: https://www.rubydoc.info/gems/stack_master/2.14.1
583
- source_code_uri: https://github.com/envato/stack_master/tree/v2.14.1
582
+ documentation_uri: https://www.rubydoc.info/gems/stack_master/2.16.0
583
+ source_code_uri: https://github.com/envato/stack_master/tree/v2.16.0
584
584
  post_install_message:
585
585
  rdoc_options: []
586
586
  require_paths:
@@ -596,7 +596,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
596
596
  - !ruby/object:Gem::Version
597
597
  version: '0'
598
598
  requirements: []
599
- rubygems_version: 3.3.26
599
+ rubygems_version: 3.5.16
600
600
  signing_key:
601
601
  specification_version: 4
602
602
  summary: StackMaster is a sure-footed way of creating, updating and keeping track