dependabot-cargo 0.98.68 → 0.98.69
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: 0f42a0a3d4dc430531964dfc4ac361a77a23cf67c428f25e0cb11ca6dcf87442
|
4
|
+
data.tar.gz: e73ef7e5d9711787fd59a2a76b4bb89c414de20f989f12476637931e5d956356
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a78bae92bb2e0c15aeff05acfcd69fe9b5819b802650bca8152fd3bec6b8c9972df601a0cb7a7a7876f25f238c907b6d5aff1a20c194b02607001eaffa327217
|
7
|
+
data.tar.gz: 559d425aec77ebc41b9a055f498df2eca2c9fc9b533bbb389e9c8fc8fd9507fac6051cc380f801ac6f0b1687d84635fc88acd326ead323764e71fcdb5a9ac23f
|
@@ -174,6 +174,8 @@ module Dependabot
|
|
174
174
|
end
|
175
175
|
|
176
176
|
# rubocop:disable Metrics/AbcSize
|
177
|
+
# rubocop:disable Metrics/CyclomaticComplexity
|
178
|
+
# rubocop:disable Metrics/PerceivedComplexity
|
177
179
|
def handle_cargo_errors(error)
|
178
180
|
if error.message.include?("does not have these features")
|
179
181
|
# TODO: Ideally we should update the declaration not to ask
|
@@ -181,7 +183,8 @@ module Dependabot
|
|
181
183
|
return nil
|
182
184
|
end
|
183
185
|
|
184
|
-
if error.message.include?("authenticate when downloading
|
186
|
+
if error.message.include?("authenticate when downloading repo") ||
|
187
|
+
error.message.include?("HTTP 200 response: got 401")
|
185
188
|
raise if unreachable_git_urls.none?
|
186
189
|
|
187
190
|
# Check all dependencies for reachability (so that we raise a
|
@@ -210,6 +213,8 @@ module Dependabot
|
|
210
213
|
raise error
|
211
214
|
end
|
212
215
|
# rubocop:enable Metrics/AbcSize
|
216
|
+
# rubocop:enable Metrics/CyclomaticComplexity
|
217
|
+
# rubocop:enable Metrics/PerceivedComplexity
|
213
218
|
|
214
219
|
def unreachable_git_urls
|
215
220
|
@unreachable_git_urls ||=
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-cargo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.98.
|
4
|
+
version: 0.98.69
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.98.
|
19
|
+
version: 0.98.69
|
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.98.
|
26
|
+
version: 0.98.69
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|