ssltool 0.0.21 → 0.0.22

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: c0dd22868569aad7c1549644b9856fec8eed476d
4
- data.tar.gz: 0559e7135d9e37c86096a0580e1b41dadb443031
3
+ metadata.gz: 4472a75fa8f0e97477009255b5d63493419be0ee
4
+ data.tar.gz: 372db4c226471adadafae39da4ecbdd491f780ea
5
5
  SHA512:
6
- metadata.gz: 32eb0d9d73a97ddb6b594bbf8974c29379d8708736d0f65e4162e75ce9786b69d1fef8f3d3b8cab5326b3eeaf3c9242cf46de23ca9e4ee3a4e3297018f26e6eb
7
- data.tar.gz: e6b9228a42b46c69cb04b7b1685b70e5c3bcf05d91a2469e3aca29d2fce4fbf7a568737854b2717b26a460dd647bb056b0958bc8fb07ce9b5b40b192eeeb6df9
6
+ metadata.gz: bc0539d2acac4367e8b09be3c99dc96932c5529fb182af8e036cef7e8adc1eca44f3c908a8ae5ce4842f8bcfd098c0f2f56c4078f6052e80ff6c7c9e4e942ec8
7
+ data.tar.gz: 884536b924704cdfbe0627a6ff8c1b74ffb36bd341635377d5c36f7d00faf45f75e45b095c97f9fdc6b70c400cf978410227476113878beadc5f8d454e63f667
@@ -16,7 +16,7 @@ module SSLTool
16
16
  end
17
17
 
18
18
  def store_pool(pool_name, certs)
19
- @database.transaction do
19
+ @database.transaction retry_on:Sequel::DatabaseDisconnectError, num_retries:3 do
20
20
  current_set = load_pool(pool_name)
21
21
  replacement_set = certs.to_set
22
22
  delete_set = (current_set - replacement_set).map { |cert| { fingerprint:cert.fingerprint, pool:pool_name.to_s } }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ssltool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21
4
+ version: 0.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caio Chassot