ops_tasks 0.5.4 → 0.5.5

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
  SHA1:
3
- metadata.gz: 9067a5ce2fe6d4d61e562bfb2c95e71e4968bfce
4
- data.tar.gz: b228109a3ab04a80af67b71c363dea12d5c6af21
3
+ metadata.gz: 2c50490f6aeab9a4664d3346aa28e6d6e0cc0485
4
+ data.tar.gz: bed630ec815640ac18d3b78f279352d75b543ade
5
5
  SHA512:
6
- metadata.gz: ddbb71159a4891012a9c85324a9c7cd98a2285a6ac8b98f5e427b30e77b12a7aad74f762639843a7f2513259decf49b47240dc4d1ee611de5f214c5faf134620
7
- data.tar.gz: 0debc04f659729264cee4707dfc14f970089aecafa9b652cab8b3779c8d0ec4120801d26b79ee87e523c4953a088020815bd5d0a96746f6b9b1ade6bf2f6e037
6
+ metadata.gz: 94f4817b728c9e99766f649a8259b8712e86e3f1cdb49d2c1fe5530fbf59560c524cc4f961be8c61d2738fc9680eb54cc006a0c0404d20a5031c486a62a90637
7
+ data.tar.gz: 474da1b9c3c49edfce4f6ad5a91899fa0a5860c4646d971ad6e55eb6a2a1df25516abd5b35bb546ca7c49bd6293151ecd7c93dc34c37dd9e229aa407c75b8ae9
@@ -32,7 +32,8 @@ module OpsTasks
32
32
  end
33
33
 
34
34
  def poll_api_for_status(deployment_id)
35
- sleep 1 until assess_status(deployment_id) == 'online'
35
+ ok_statuses = ['online', 'setup_failed']
36
+ sleep 1 until ok_statuses.include?(assess_status(deployment_id))
36
37
  puts assess_status(deployment_id)
37
38
  end
38
39
 
@@ -1,3 +1,3 @@
1
1
  module OpsTasks
2
- VERSION = "0.5.4"
2
+ VERSION = "0.5.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ops_tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Prokesch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-18 00:00:00.000000000 Z
11
+ date: 2015-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk