dependabot-common 0.294.0 → 0.295.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/dependabot/errors.rb +12 -0
- data/lib/dependabot.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8089a954a78a6c6c517bca5f73391485dc143ff053c607c55e822d2a0d1233a9
|
4
|
+
data.tar.gz: '08e8842b1209fd1d21f00d380a429ac9852345b2fc13f35f5c3ca4f3a89911ba'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21e75ab998f9608d8da2cf5ed09b7cb9953659fe22b7c3a8a44e61d730b0ffe614141f7af175ad9621be06ab659519c42f1db24ee1ea191d8af2806269c8552e
|
7
|
+
data.tar.gz: c45ae338eff5f21fd8462d539c0367dd1fcb103c3bc013fcf1a4ef5579b9987317ea773e4a40e96f3cfec3f62899aed49bba236afc836fed35e29293f3b353dc
|
data/lib/dependabot/errors.rb
CHANGED
@@ -85,6 +85,11 @@ module Dependabot
|
|
85
85
|
"error-type": "path_dependencies_not_reachable",
|
86
86
|
"error-detail": { dependencies: error.dependencies }
|
87
87
|
}
|
88
|
+
when Dependabot::PrivateSourceAuthenticationFailure
|
89
|
+
{
|
90
|
+
"error-type": "private_source_authentication_failure",
|
91
|
+
"error-detail": { source: error.source }
|
92
|
+
}
|
88
93
|
when Octokit::Unauthorized
|
89
94
|
{ "error-type": "octokit_unauthorized" }
|
90
95
|
when Octokit::ServerError
|
@@ -215,6 +220,11 @@ module Dependabot
|
|
215
220
|
"file-path": error.file_path
|
216
221
|
}
|
217
222
|
}
|
223
|
+
when Dependabot::DependencyFileNotSupported
|
224
|
+
{
|
225
|
+
"error-type": "dependency_file_not_supported",
|
226
|
+
"error-detail": { message: error.message }
|
227
|
+
}
|
218
228
|
when Dependabot::GitDependenciesNotReachable
|
219
229
|
{
|
220
230
|
"error-type": "git_dependencies_not_reachable",
|
@@ -611,6 +621,8 @@ module Dependabot
|
|
611
621
|
|
612
622
|
class DependencyFileNotResolvable < DependabotError; end
|
613
623
|
|
624
|
+
class DependencyFileNotSupported < DependabotError; end
|
625
|
+
|
614
626
|
class BadRequirementError < Gem::Requirement::BadRequirementError; end
|
615
627
|
|
616
628
|
#######################
|
data/lib/dependabot.rb
CHANGED
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.
|
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: aws-sdk-codecommit
|
@@ -615,7 +615,7 @@ licenses:
|
|
615
615
|
- MIT
|
616
616
|
metadata:
|
617
617
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
618
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
618
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.295.0
|
619
619
|
post_install_message:
|
620
620
|
rdoc_options: []
|
621
621
|
require_paths:
|