dependabot-composer 0.95.61 → 0.95.62
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f9592340d02f8be041b7820521b3205a7a8526601897c61098d8556e17635d7
|
4
|
+
data.tar.gz: 34802a0ed584f3e1904d78f4e1ef8576d296b358144ab6ea7d2ebd050fe91e1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6442218203a2f4ad80ea4b7a90474a14bd9123e286d783ccc37dd6c53791e3a4e7086a710817bd9332ccf706eb0b9eb3465e62423e9b0f762c4fa5f8807577e4
|
7
|
+
data.tar.gz: a7c4d13965fb8880b249ddcee803040c85ef02e7b87fd7ee27cd836a5c292adcca88c7cd687f9a808721b8f5605029ce8a14965f0742934b73c015c255680894
|
@@ -34,6 +34,9 @@ module Dependabot
|
|
34
34
|
updated_content
|
35
35
|
end
|
36
36
|
rescue SharedHelpers::HelperSubprocessFailed => error
|
37
|
+
retry_count ||= 0
|
38
|
+
retry_count += 1
|
39
|
+
retry if transitory_failure?(error) && retry_count <= 1
|
37
40
|
handle_composer_errors(error)
|
38
41
|
end
|
39
42
|
|
@@ -70,6 +73,10 @@ module Dependabot
|
|
70
73
|
).updated_manifest_content
|
71
74
|
end
|
72
75
|
|
76
|
+
def transitory_failure?(error)
|
77
|
+
error.message.include?("Content-Length mismatch")
|
78
|
+
end
|
79
|
+
|
73
80
|
# rubocop:disable Metrics/PerceivedComplexity
|
74
81
|
# rubocop:disable Metrics/AbcSize
|
75
82
|
# rubocop:disable Metrics/CyclomaticComplexity
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-composer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.95.
|
4
|
+
version: 0.95.62
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dependabot-common
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.95.
|
19
|
+
version: 0.95.62
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.95.
|
26
|
+
version: 0.95.62
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|