dependabot-common 0.106.1 → 0.106.2

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: b31b0680661ebe9ef6238bd5ae83c55811061e8b5f26c0a92e2ccd23044d2748
4
- data.tar.gz: 7dbd02cb85054c4f620789eeba1c3dfa2e6a68807e152d6fc541634bfe8a547c
3
+ metadata.gz: 62dc8f0f4313e0c8c10c280d32046ff7eca619a144080075b1f28866c8fff8aa
4
+ data.tar.gz: dfa907778d34c4dc37584def8592605c5dfeb97cad881f2d757d289830056174
5
5
  SHA512:
6
- metadata.gz: ed3126cd30740cad1e848ee6f83308880c786b07e16e483414b0864f2e1d4c264741ad62535c2c983e9ce1ae278e300b369a19e3f37d156abc9380913d056d83
7
- data.tar.gz: 8a7ce8d99698e2eea6feafa67c97217edce6241b4d5cec5c52b070b70d21461ee384ced9f53243194886785943a45e7cd0bebda355dd0d35a84429a256b4b4c5
6
+ metadata.gz: d33e211cbf1ab99d0d2c9aa6c448934ce95fca2a166928b1835bd2367eaf49e79a5bc2dbe0e17a06f84acef70a8fd3221d71789e9c5692d0893ee5225f2b2385
7
+ data.tar.gz: 596f26da529b0398bf6623733c4b183fd9292c1bc28711350235fdedaa3680c52db2d7f1a84ec047fb2c5ffb56f73e15da0ba9d42c44597afcdd6ff45ca4c0d7
@@ -127,11 +127,12 @@ module Dependabot
127
127
 
128
128
  # Sometimes a race condition on GitHub's side means we get an error
129
129
  # here. No harm in retrying if we do.
130
- # NOTE: Error here might be that the tree got deleted somehow. If it's
131
- # that we'll need to change this retry to recreate the tree, too.
132
130
  retry_count ||= 0
133
131
  retry_count += 1
134
- retry_count > 3 ? raise : retry
132
+ raise if retry_count > 3
133
+
134
+ sleep(rand(0.9))
135
+ retry
135
136
  end
136
137
  end
137
138
 
@@ -96,11 +96,12 @@ module Dependabot
96
96
 
97
97
  # Sometimes a race condition on GitHub's side means we get an error
98
98
  # here. No harm in retrying if we do.
99
- # NOTE: Error here might be that the tree got deleted somehow. If it's
100
- # that we'll need to change this retry to recreate the tree, too.
101
99
  retry_count ||= 0
102
100
  retry_count += 1
103
- retry_count > 3 ? raise : retry
101
+ raise if retry_count > 3
102
+
103
+ sleep(rand(0.9))
104
+ retry
104
105
  end
105
106
  end
106
107
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.106.1"
4
+ VERSION = "0.106.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-common
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.106.1
4
+ version: 0.106.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-22 00:00:00.000000000 Z
11
+ date: 2019-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-ecr