ruby_aem_aws 0.9.2 → 0.9.3

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: 42322544cb63542d91bbd7ab0fbdc312ea499ea9
4
- data.tar.gz: 27de0a21f2a6705cf3fd0fd895714aee1fd9221e
3
+ metadata.gz: 1d23d001d09dd996630598d0071f708718f30b0b
4
+ data.tar.gz: c5cefe20a38f77314d6cbeed3f9ed8cb388d7f56
5
5
  SHA512:
6
- metadata.gz: 6d97fb9223b946fa4a5684a8969b84da18f64a2b0cb53639e138a46e30b2de471971343af06200db7157220dd02f89320994cfda90e055328c5b5aa449e1cb8f
7
- data.tar.gz: 7ce13dd0e50cac2f11509ec69cd57cea577524ce2de4444d89f6a13ac078284094e7d388024912ec2c2684b0ac9508ef12e9e01d2055228ef83c6e00b28fd774
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 2 while health_state.eql?(:recovering) || health_state.eql?(:scaling)
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 2 while health_state_elb.eql?(:recovering) || health_state_elb.eql?(:scaling)
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
- AutoScalingClient: Aws::AutoScaling::Client.new,
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.2
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-16 00:00:00.000000000 Z
11
+ date: 2018-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk