stax 0.0.23 → 0.0.24

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
  SHA256:
3
- metadata.gz: ee967601a71eb9b736404783e6200e3f18322a24ba1314b0bae288398b9d0b16
4
- data.tar.gz: 9c22a416c4731d196734c92e365ee187fbee491bf7cbb8ee8015f2e76f655ab9
3
+ metadata.gz: 4041f489dd42e7dffc5a6e564bf02746fd0033a947d3db4eb793b60d5b610720
4
+ data.tar.gz: c94f42dfae51b5ae5c39af49005be01741d4483f30da94f4570718abc3ae1fd7
5
5
  SHA512:
6
- metadata.gz: e0546f69bd73770304d2fed1ca1d914407d4ca1f83a71da3ac8ac5d7cf7465c17e8d62fd661f0cc4f49663949d3206b4e1883d21e35fb4ab6ef0f61adb6c9071
7
- data.tar.gz: b2990d6e91472feee663c6f5c6f2fa06eab9a3186c9c8619a3834822531d3dcddd353a33a63869690f764ab6fc5602bc1fce2f2af1391c6ddae887ccdfe4514b
6
+ metadata.gz: bcdeaaf678d922835844492e82ed6466de19ecb12e3bad06db6c25a995b077f1301864ac80549091abe23477810c57950161dcc9c977ddc27171e89ef644c41a
7
+ data.tar.gz: 1227ee163a884b9965086647dfef149da321ea6495a4f2f4ab4bb508943ce4a926d589411bb7bdcd5e90c05d55efaa5b439a4f7211084bbfde2bf5fcba87d9c5
@@ -31,7 +31,7 @@ module Stax
31
31
  class << self
32
32
 
33
33
  def client
34
- @_client ||= ::Aws::CloudFormation::Client.new
34
+ @_client ||= ::Aws::CloudFormation::Client.new(retry_limit: Stax::Aws::Sdk::RETRY_LIMIT)
35
35
  end
36
36
 
37
37
  def stacks
@@ -2,6 +2,8 @@ module Stax
2
2
  module Aws
3
3
  class Sdk
4
4
 
5
+ RETRY_LIMIT = ENV['STAX_RETRY_LIMIT'] || 100
6
+
5
7
  ## universal paginator for aws-sdk calls
6
8
  def self.paginate(thing)
7
9
  token = nil
@@ -1,3 +1,3 @@
1
1
  module Stax
2
- VERSION = '0.0.23'
3
- end
2
+ VERSION = '0.0.24'
3
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stax
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.23
4
+ version: 0.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Lister
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-12 00:00:00.000000000 Z
11
+ date: 2019-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler