sqewer 6.0.3 → 6.0.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: 358ffc94b851de9112fd13dbd5c202983b95c579
4
- data.tar.gz: 3feb3fcdc128bdc995767f5a3c0c286afb4b68f9
3
+ metadata.gz: 6c01fe984f9f8a0f14ac243acbeb97518a6f8565
4
+ data.tar.gz: 1680b7c37647421ae21f65e1b6216abb6268908f
5
5
  SHA512:
6
- metadata.gz: 2a97c7ea2851ad709ca8537023a141eae3f5ddf25a2e5f10e376a16b16f6a46200169c22bbbe1c8d1549638abeadf9144953f87382a661d5e6ae46cc00e6c503
7
- data.tar.gz: 60b4458766f77b4347b90f2b4f88ae7cc40a922af42a70a649952bd5743be065c1d6859778ed8a267635512ebb05dfd503f7580a5126e0b5bbac411a308c016b
6
+ metadata.gz: c72f623b84f949fbf2f07c730db64190264c97725dc7b92a589b3c4f49df5be0735f0a9bc2ff7102a26ad4d265bc89d76a8a9458fe5ce6c304d288c7c10819d2
7
+ data.tar.gz: f70f886f23800c51bdcdaf3e8a169038082bfad097c2dc2b1f5e79bde4e483bdd4c2034e65f0dd9de90229a35f3b56fa24232f39a51dd66030fc360eed965064
data/.travis.yml CHANGED
@@ -6,7 +6,4 @@ sudo: false
6
6
  cache: bundler
7
7
  env:
8
8
  global:
9
- - secure: E+uNoJmvjq5+3/PYUs2a1bRh7bCjAbcYEIKJzOVgIiI+gWB4dLpTKwVW/fqJbjCDIGPw9OwiwphN51zLEo0ie5AJIkavcjWRcdazKq8usokAz/A5Ilru5YvGXJ5UQtF8TJNsZfJGOGMJwL5d/MsDSd3/sjy88wrFiSeeNlHA06KDBrGdZXE4/dOb5Z84cSxPaD7nDaGP36V3Uv88X272oezODm9Mp+Fsf4goGoU9I9PBDD36pCXAlpURWpyWMKa2TzEXfgN43TYxta4p+bu6BA871df31j3BfVKwY1K/59eN9HqW8xWF9rgcgLo3NgQuaoqde3ryCE4j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fZQJGsN6hhamXorOhUgaeP2vdC7/6gK3PPMIXOJ5NXPiANGbAUWKgLLWJ3F7rK2y9UCUWTzvE2CK/13vUV9de7byQfAjfHo7wjDJuPLved+WmSM7ASVjzGq9wQS8MTeYUymSNVY3xiZcvNTO2XY9AAu32SSWDs1ayXiCGE9DyN5WEvEEPixHqpplZLvSqTtKtEZVdP/a3tPuzogYFvoJ/ZEfG9LRr4nnbwuKCaTljpYaZc/8yFbhhJgCrTuOKb0gB/UFeMjd0WX6MQWofzIj152d0ghCTlgtESR2LQJdSXA2BO0ZzSqYj8NKTAcZ8IsaUj+6kBgfQGHu43TF/dB877v8pY55HS8a3gFPDK/6OZhRT7UcFZgle1qvX422CD196fRHktSBcDTx9jQsG8r7Ray9oJygXQr6tKhrRkjMkkBAiBd/GkIJkJu5RecmlLOZMJ+YeYa95kWDUXwo3HGK9MxtFyuplSRYk4mQ1jbrJXdmufQuTazl2FYL+elOUeUb8ej3iniUcmyDGU6tZx84aZTbBOaovmeQqr3pXIaXYMhvkRGLD3Ky7SNZN9ZzFczRWcKStyQal+BYK1R3RU8cD0m0PEpUxV5ERP50E3GyN/0d0bg22LywK9aWDHOhCzjI0emVvSAn8ZiY78SSo=
12
9
  - AWS_REGION=eu-central-1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### 6.0.4
2
+ - If running on an AWS EC2 instance and retrieving AWS credentials from the instance metadata, Sqewer will now retry up to five times if the instance metadata are not available. This fixes intermittent `Aws::Errors::MissingCredentialsError` exceptions.
3
+
1
4
  ### 6.0.3
2
5
  - It is now no longer required to have ActiveJob loaded when integrating with Appsignal.
3
6
 
@@ -151,6 +151,9 @@ class Sqewer::Connection
151
151
  end
152
152
 
153
153
  def client
154
- @client ||= Aws::SQS::Client.new
154
+ @client ||= Aws::SQS::Client.new(
155
+ instance_profile_credentials_timeout: 1, # defaults to 1 second
156
+ instance_profile_credentials_retries: 5, # defaults to 0 retries
157
+ )
155
158
  end
156
159
  end
@@ -1,3 +1,3 @@
1
1
  module Sqewer
2
- VERSION = '6.0.3'
2
+ VERSION = '6.0.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sqewer
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.3
4
+ version: 6.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julik Tarkhanov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-13 00:00:00.000000000 Z
11
+ date: 2018-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-sqs