hygroscope 1.1.2 → 1.1.3

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
  SHA1:
3
- metadata.gz: 6634abc3204b762f9de6a7e08844c5d6d349a840
4
- data.tar.gz: ed02e8daadc2bf45c747720c340db9e0b919afef
3
+ metadata.gz: e3e864d4248a522aae43ad781018e695449d8186
4
+ data.tar.gz: 28cb72dfed8f47e753d8a52b40a46d760a4f7c08
5
5
  SHA512:
6
- metadata.gz: 9841fce1ff43b65da874f0861b89813da87d2c7bb6ebf882e9038ef7b2f02bc554b3a204aaaa88910d735bb60417ea6d08018b93ea77c7cfa34294f397618d7b
7
- data.tar.gz: 1b4d4a3f9c80e68b38cf2a16866fb3006277e3175678f534b9ee2bccf6849d8dcbc0954e65745f74f639c251e4ca8b23e993fb0ae46814167ebed92abd4a5316
6
+ metadata.gz: e41dd6e4dce881fe3fbe2dac6e8fcf9635de027e0cbc5d45a0fd54c67c6eecc12c6d49fe00cd4f7c6093c269227e6f36e913ce6dc3e9ebba2c8b2d636a17215b
7
+ data.tar.gz: fdc4dbb413dc61b2b39ce8e65db4bca6a1b51b51c6e99794467314cb6957c3818b7f82d259b1032dba6c05e6a26dd848023818c0120c0268a19c93d9664060f4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 1.1.3 (2015-02-09)
2
+
3
+ - Longer default timeouts for payload and stack creation.
4
+ - Require latest version of Cfoo which supports condition functions.
5
+ - More responsive status display (resizes with terminal).
6
+ - Regression: do not require --existing option.
7
+
1
8
  ## 1.1.2 (2015-02-04)
2
9
 
3
10
  - Allow multiple existing stacks for parameter passthrough.
@@ -5,7 +12,7 @@
5
12
  ## 1.1.1 (2015-02-04)
6
13
 
7
14
  - Improved payload parameters for more flexibility.
8
- - Fixed broken update action.
15
+ - Fix broken update action.
9
16
 
10
17
  ## 1.1.0 (2015-02-03)
11
18
 
data/hygroscope.gemspec CHANGED
@@ -1,18 +1,18 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'hygroscope'
3
- s.version = '1.1.2'
3
+ s.version = '1.1.3'
4
4
  s.summary = 'CloudFormation launcher'
5
5
  s.description = 'A tool for managing the launch of complex CloudFormation stacks'
6
6
  s.authors = ['Daniel Silverman']
7
- s.email = 'dsilverman@brightcove.com'
8
- s.homepage = ''
7
+ s.email = 'me@agperson.com'
8
+ s.homepage = 'http://agperson.github.io/hygroscope/'
9
9
  s.license = 'MIT'
10
10
 
11
11
  s.files = `git ls-files -z`.split("\x0")
12
12
  s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
13
13
 
14
14
  s.add_dependency 'thor'
15
- s.add_dependency 'cfoo'
15
+ s.add_dependency 'cfoo', '>= 0.0.5'
16
16
  s.add_dependency 'aws-sdk', '>= 2.0.0.pre'
17
17
  s.add_dependency 'archive-zip'
18
18
  s.add_dependency 'json_color'
@@ -93,7 +93,7 @@ module Hygroscope
93
93
  e.describe.outputs.each do |o|
94
94
  p.set(o.output_key, o.output_value) if t.parameters.keys.include?(o.output_key)
95
95
  end
96
- end
96
+ end if options[:existing].is_a?(Array)
97
97
 
98
98
  # Prompt for each missing parameter and save it in the paramset object
99
99
  missing.each do |key|
@@ -132,6 +132,7 @@ module Hygroscope
132
132
  # Filter out keys beginning with "Hygroscope" since they are not visible
133
133
  # to the user and may be modified on each invocation.
134
134
  unless missing.reject { |k| k =~ /^Hygroscope/ }.empty?
135
+ puts
135
136
  if yes?('Save changes to paramset?')
136
137
  unless options[:paramset]
137
138
  p.name = ask('Paramset name', :cyan, default: options[:name])
@@ -283,8 +284,9 @@ module Hygroscope
283
284
 
284
285
  # Fancy acrobatics to fit output to terminal width. If the terminal
285
286
  # window is too small, fallback to something appropriate for ~80 chars
286
- type_width = terminal_width < 80 ? 30 : terminal_width - 50
287
- output_width = terminal_width < 80 ? 54 : terminal_width - 31
287
+ term_width = %x(stty size 2>/dev/null).split[1].to_i || %x(tput cols 2>/dev/null).to_i
288
+ type_width = term_width < 80 ? 30 : term_width - 50
289
+ output_width = term_width < 80 ? 54 : term_width - 31
288
290
 
289
291
  # Header row
290
292
  puts set_color(sprintf(' %-28s %-*s %-18s ', 'Resource', type_width, 'Type', 'Status'), :white, :on_blue)
@@ -56,7 +56,7 @@ module Hygroscope
56
56
  "s3://#{@bucket}/#{key}"
57
57
  end
58
58
 
59
- def generate_url(_timeout = 900)
59
+ def generate_url(_timeout = 3600)
60
60
  signer = Aws::S3::Presigner.new(client: @client)
61
61
  signer.presigned_url(:get_object, bucket: @bucket, key: key)
62
62
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hygroscope
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Silverman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-05 00:00:00.000000000 Z
11
+ date: 2015-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 0.0.5
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 0.0.5
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: aws-sdk
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -123,7 +123,7 @@ dependencies:
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  description: A tool for managing the launch of complex CloudFormation stacks
126
- email: dsilverman@brightcove.com
126
+ email: me@agperson.com
127
127
  executables:
128
128
  - hygroscope
129
129
  extensions: []
@@ -143,7 +143,7 @@ files:
143
143
  - lib/hygroscope/payload.rb
144
144
  - lib/hygroscope/stack.rb
145
145
  - lib/hygroscope/template.rb
146
- homepage: ''
146
+ homepage: http://agperson.github.io/hygroscope/
147
147
  licenses:
148
148
  - MIT
149
149
  metadata: {}