right_aws_api 0.3.2 → 0.3.4

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: d6a1dd0e9ac24ff82bc67bd76900622da118f004
4
- data.tar.gz: 40c41f86035559e2946f0f2975efc5b3ddbc02dc
3
+ metadata.gz: 70504cc6fa36ede740358a16562cd1df06e2726f
4
+ data.tar.gz: af7971a58c4ef781e66c44ea14aeb22818dbf10d
5
5
  SHA512:
6
- metadata.gz: d084136e0e7f1f8b33ded2c0c91f828486f0a9ea67eaa77844bbbf08442488b5e1992cf29d3296a1ab5fd28421c551eead3191a792b9326cb18fe374ec170f5c
7
- data.tar.gz: e424d46fff517efa40d79b848fc756fb9b1979f49fdf968f9875efa2ba9bbbd7606634fba2b627e2f1ff9f0da7593b89b2695e052869f854da83cd7d162b79e6
6
+ metadata.gz: ba205723733d46d6befcc751a67c02ad08fa95dcae7ab78e53f0921718efb300f8f68601ad99e99fb145ffa2909ea0aea7fa17c25d393d0c6fd082889fc0022e
7
+ data.tar.gz: 84001e30b3103ec1baea2b566bf387e3dbe46626f9d379d3dabd996df304a741b5cb3704c3cb66ae390016a2ac7397096b662b6a7a3cf1e8bf1aab3a7c085fa5
data/HISTORY CHANGED
@@ -1,4 +1,9 @@
1
1
  == current (not released as a gem yet)
2
+ == 2015-11-11, v0.3.4
3
+ - Add LimitRateExceeded to the retryable error types
4
+ == 2015-09-24, v0.3.3
5
+ - Add iam regex for AWS China
6
+ == ?? , v0.3.2
2
7
  - Fixed:
3
8
  - Route53
4
9
  - All POST actions were broken because of the missing 'xmlns' attribute.
@@ -201,6 +201,7 @@ module RightScale
201
201
  result =
202
202
  case
203
203
  when host[ /^iam\.amazonaws\.com$/i ] then ['iam', 'us-east-1']
204
+ when host[ /^iam\.amazonaws\.com\.cn$/i ] then ['iam', 'cn-north-1']
204
205
  when host[ /^route53\.amazonaws\.com$/i ] then ['route53', 'us-east-1']
205
206
  when host[ /^(.*\.)?s3\.amazonaws\.com$/i ] then ['s3', 'us-east-1']
206
207
  when host[ /^(.*\.)?s3-external-1\.amazonaws\.com$/i ] then ['s3', 'us-east-1']
@@ -205,7 +205,7 @@ module RightScale
205
205
  error_pattern :abort_on_timeout, :path => /Action=(Run|Create|Purchase)/
206
206
  error_pattern :abort, :response => /InsufficientInstanceCapacity/i
207
207
  error_pattern :retry, :response => /InternalError|Unavailable|Internal Server Error/i
208
- error_pattern :retry, :response => /Please try again|no response from/i
208
+ error_pattern :retry, :response => /Please try again|no response from|Request limit exceeded/i
209
209
  error_pattern :disconnect_and_abort, :code => /5..|403|408/
210
210
  error_pattern :disconnect_and_abort, :code => /4../, :if => Proc.new{ |opts| rand(100) < 10 }
211
211
 
@@ -219,4 +219,4 @@ module RightScale
219
219
 
220
220
  end
221
221
  end
222
- end
222
+ end
@@ -33,7 +33,7 @@ module RightScale
33
33
  # Gem version namespace
34
34
  module VERSION
35
35
  # Current version
36
- STRING = '0.3.2'
36
+ STRING = '0.3.4'
37
37
  end
38
38
  end
39
39
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: right_aws_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - RightScale, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-05 00:00:00.000000000 Z
11
+ date: 2015-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: right_cloud_api_base