dependabot-maven 0.294.0 → 0.295.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependabot/maven/update_checker/version_finder.rb +12 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fef4fe445146711399ce70ee646b810ad43eda6b5a67b6909a05e4b5bfb7792f
|
4
|
+
data.tar.gz: 96f028e146997c67c9fd2a45ded110b3bb34b22686b4ac8b2187751f46e2c0ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13d9f26835622d76aa7d34217ccc569c9d7e494fda794dcfa27dc428860343bdc7cca5927607c195a338809060afdcb9a4888c64d4ae438bd22b34bda8ea4a06
|
7
|
+
data.tar.gz: 5f188225ed33465fd9c91bbee5fdcd35ff01da208fe04296473c065774c45ed326845e96f01060c1e314568ff478df10ba699c2112136958afd49ae5795eb540
|
@@ -203,8 +203,18 @@ module Dependabot
|
|
203
203
|
rescue URI::InvalidURIError
|
204
204
|
nil
|
205
205
|
rescue Excon::Error::Socket, Excon::Error::Timeout,
|
206
|
-
Excon::Error::TooManyRedirects
|
207
|
-
|
206
|
+
Excon::Error::TooManyRedirects => e
|
207
|
+
|
208
|
+
if central_repo_urls.include?(repository_details["url"])
|
209
|
+
response_status = response&.status || 0
|
210
|
+
response_body = if response
|
211
|
+
"RegistryError: #{response.status} response status with body #{response.body}"
|
212
|
+
else
|
213
|
+
"RegistryError: #{e.message}"
|
214
|
+
end
|
215
|
+
|
216
|
+
raise RegistryError.new(response_status, response_body)
|
217
|
+
end
|
208
218
|
|
209
219
|
nil
|
210
220
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-maven
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.295.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-30 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.
|
19
|
+
version: 0.295.0
|
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.
|
26
|
+
version: 0.295.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -268,7 +268,7 @@ licenses:
|
|
268
268
|
- MIT
|
269
269
|
metadata:
|
270
270
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
271
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
271
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.295.0
|
272
272
|
post_install_message:
|
273
273
|
rdoc_options: []
|
274
274
|
require_paths:
|