zergrush_cf 0.0.13 → 0.0.14

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YmI4NWE4ZDNmZTQ4Y2Y3YmExMTIwYmFmYTg2MWVmMDk5MzVhYWU2MA==
4
+ Y2MxMTBlMWMzNDIwODZlYzcyMzI2ZTE5ZWI1YjMyZjFhMjc5Mzk3ZA==
5
5
  data.tar.gz: !binary |-
6
- NDQ2OTM5NjQzMzY1NDRiMzdhOGY0NDIwYmU0MDQ1N2ZiZGNmZTJkZg==
6
+ NTMxZGI0MTMzNTU2ZjRiZjRlMmJlNDgwZjljMDI2MjE3NjM2YjJhMA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjdjYjE3Nzk1M2E1ZjgwZjI2ZmVlMzk1YjlmYWI5ODUzZjU2MTZhMmYxZDYy
10
- M2I5YmM4MGVhZmY1OTVjOTc0OWJkODZlZDM2M2FkOTA3MzRmMzlkYTE0ZTcy
11
- OGZhZDI2NmRmYTFhYWI3MDAwZmQ4ZjM1M2E4ZTE4ZWYxZmE2NzU=
9
+ Yjc0MjNjMDdhOTYxNDZhZTNiNWRhNGY4NWU5NDg4MTBkYTA2MmM0NDZhN2U0
10
+ YTBjN2QwYTJlNTk0M2MxODYxODZjZWEzZTBiNGNjYTllMDdjMzQyN2EyYjE5
11
+ NTUxOTU0NjQwYThlZWQ2YmRmMWM4NTlhMjMzMzE3NTY0YzUyYjM=
12
12
  data.tar.gz: !binary |-
13
- OGI3YmUxYzkwMGI4N2Q3Y2M2NzNhOWUwZWJmYWM4NTI3MTc1NGVmYTJhYjNl
14
- NTU0ZTk0MTE4NGU0NzRiZWFiNzhjNjFlOTM2NDNlMjgwNDg4Y2MwOTlmYzk4
15
- Zjk0ZTgzNzQ0OTI5MDdhNDkyODM5YWE0ZTdmOWE3NzkyZjQyNjk=
13
+ ZWU1MzcyZDc0OWM0ZTRlZDE0NzQxNjQ4Zjg3ZWEzZmIyNGU2MzBjZjFlYTRh
14
+ MTdiZGNhNjhjNDVlMWY3NGE1Y2EzYmRiZTMyOTg5YWQ2ZDVhOTVmZTgyZjlj
15
+ ODM1MGM2OGQ1YWM2YTI0ZDA0YTUzYTg5NDY1ZTRmODg2M2VjNGM=
@@ -207,10 +207,17 @@ class CloudFormation < ZergGemPlugin::Plugin "/driver"
207
207
 
208
208
  # get the event collection and initial info
209
209
  outputs_info = nil
210
+ with_retries(:max_tries => 10, :base_sleep_seconds => 3, :max_sleep_seconds => 20) {
211
+ begin
212
+ outputs_info = cf.describe_stacks({ 'StackName' => stack_name })
213
+ rescue Fog::AWS::CloudFormation::NotFound
214
+ rabbit_objects[:connection].close unless rabbit_objects == nil
215
+ return 0
216
+ end
217
+ }
210
218
  while outputs_info == nil do
211
219
  sleep 3
212
220
  with_retries(:max_tries => 10, :base_sleep_seconds => 3, :max_sleep_seconds => 20) {
213
- outputs_info = cf.describe_stacks({ 'StackName' => stack_name })
214
221
  begin
215
222
  outputs_info = cf.describe_stacks({ 'StackName' => stack_name })
216
223
  rescue Fog::AWS::CloudFormation::NotFound
@@ -22,5 +22,5 @@
22
22
  #++
23
23
 
24
24
  module ZergrushCF
25
- VERSION = "0.0.13"
25
+ VERSION = "0.0.14"
26
26
  end
data/zergrush_cf.gemspec CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
 
18
18
  s.add_development_dependency "bundler", ">= 1.0.0"
19
19
  s.add_development_dependency "rake"
20
- s.add_development_dependency "zergrush", ">= 0.0.20"
20
+ s.add_development_dependency "zergrush", ">= 0.0.21"
21
21
 
22
22
  s.add_dependency "fog", ">=1.20.0"
23
23
  s.add_dependency "bunny", ">=1.2.1"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zergrush_cf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - MTN Satellite Communications
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.0.20
47
+ version: 0.0.21
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.0.20
54
+ version: 0.0.21
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: fog
57
57
  requirement: !ruby/object:Gem::Requirement