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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd21c3fd0157824f956b0b2593da84ced57d60d89d9e88ee03db2cceeaca0dde
4
- data.tar.gz: 2f6801c49ae5a1482911e56fbfe4673bb0060fff6648a2690d2369da9a6fd5cc
3
+ metadata.gz: fef4fe445146711399ce70ee646b810ad43eda6b5a67b6909a05e4b5bfb7792f
4
+ data.tar.gz: 96f028e146997c67c9fd2a45ded110b3bb34b22686b4ac8b2187751f46e2c0ff
5
5
  SHA512:
6
- metadata.gz: fbae8e7d1b9308e6ff86fbf0b12357cb280736279a92464fd4d450e406293001a2a05b43ce342ef8ed0a00bacb1f3e658c9b37d8048b5815ac4dc412aae82fe2
7
- data.tar.gz: 649a499af0f6f98548fa6189d1cfe26b94273301990b53cf63a01f88e39935873e35c34f8c5bcbf789e0599111e072a630925d18c6e27fbb8e155664f123dfb3
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
- raise if central_repo_urls.include?(repository_details["url"])
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.294.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-23 00:00:00.000000000 Z
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.294.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.294.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.294.0
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: