ruby_aem_aws 0.9.2 → 0.9.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d23d001d09dd996630598d0071f708718f30b0b
|
4
|
+
data.tar.gz: c5cefe20a38f77314d6cbeed3f9ed8cb388d7f56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63fb90c45359a8f53ce46f3915b4db065af656a8191580737ecce6c63021d5ac6e1976700ec7cac4a68ce5965763431d44a5c93b60bb2885eff2cf8da8173249
|
7
|
+
data.tar.gz: ebbedfd91b882d848d4e02380fa385bd49a9c850b4f401fbab62df3870f7d98bbb28b8f2e23064e0360346427d46f6a41944940b835c8d6d9de7e2224e2fa722
|
@@ -101,14 +101,14 @@ module RubyAemAws
|
|
101
101
|
# @return true, if all EC2 instances within the ELB are running
|
102
102
|
def wait_until_healthy
|
103
103
|
raise ELBMisconfiguration if health_state.eql?(:misconfigured)
|
104
|
-
sleep
|
104
|
+
sleep 60 while health_state.eql?(:recovering) || health_state.eql?(:scaling)
|
105
105
|
return true if health_state.eql?(:ready)
|
106
106
|
end
|
107
107
|
|
108
108
|
# @return true, if all instances within the ELB are inService
|
109
109
|
def wait_until_healthy_elb
|
110
110
|
raise ELBMisconfiguration if health_state_elb.eql?(:misconfigured)
|
111
|
-
sleep
|
111
|
+
sleep 60 while health_state_elb.eql?(:recovering) || health_state_elb.eql?(:scaling)
|
112
112
|
return true if health_state_elb.eql?(:ready)
|
113
113
|
end
|
114
114
|
|
data/lib/ruby_aem_aws.rb
CHANGED
@@ -94,8 +94,12 @@ module RubyAemAws
|
|
94
94
|
{
|
95
95
|
Ec2Client: Aws::EC2::Client.new,
|
96
96
|
Ec2Resource: Aws::EC2::Resource.new,
|
97
|
-
ElbClient: Aws::ElasticLoadBalancing::Client.new
|
98
|
-
|
97
|
+
ElbClient: Aws::ElasticLoadBalancing::Client.new(
|
98
|
+
retry_limit: 20
|
99
|
+
),
|
100
|
+
AutoScalingClient: Aws::AutoScaling::Client.new(
|
101
|
+
retry_limit: 20
|
102
|
+
),
|
99
103
|
CloudWatchClient: Aws::CloudWatch::Client.new,
|
100
104
|
DynamoDBClient: Aws::DynamoDB::Client.new,
|
101
105
|
S3Client: Aws::S3::Client.new,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_aem_aws
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shine Solutions
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|