dependabot-common 0.397.0 → 0.399.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 25a94c1e5dc3f55727a0f4ccadd5b4ee8d420f280adb0035bc273d31370843fe
|
|
4
|
+
data.tar.gz: 5f54adb05f2d66b098cb2ab8443b30dba9bfeb684c3fad1b01fa4e10a895e97d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6be302598830a25eb71907c3d080aa0d603c054b70dc95a12d17ffe233725e761c5c0ee4304b1086d2ba50099bfa0d7c4fb9c8d68fe8f6e4009eb2c2a5dfa0e1
|
|
7
|
+
data.tar.gz: 3a2df82a0f866e8a2ae116d767f43c916d820ebda987f348b5a65964742403dba8882a2761e4e7ebcfe4e5ffb0db08f644f0131c27f602d206dc1b20f2c9fdc2
|
data/lib/dependabot/errors.rb
CHANGED
|
@@ -118,6 +118,11 @@ module Dependabot
|
|
|
118
118
|
"error-type": "dependency_not_found",
|
|
119
119
|
"error-detail": { source: error.source }
|
|
120
120
|
}
|
|
121
|
+
when Dependabot::MisconfiguredTooling
|
|
122
|
+
{
|
|
123
|
+
"error-type": "misconfigured_tooling",
|
|
124
|
+
"error-detail": { "tool-name": error.tool_name, message: error.tool_message }
|
|
125
|
+
}
|
|
121
126
|
when Octokit::Unauthorized
|
|
122
127
|
{ "error-type": "octokit_unauthorized" }
|
|
123
128
|
when Octokit::ServerError
|
|
@@ -210,6 +215,11 @@ module Dependabot
|
|
|
210
215
|
"error-type": "git_dependencies_not_reachable",
|
|
211
216
|
"error-detail": { "dependency-urls": error.dependency_urls }
|
|
212
217
|
}
|
|
218
|
+
when Dependabot::MisconfiguredTooling
|
|
219
|
+
{
|
|
220
|
+
"error-type": "misconfigured_tooling",
|
|
221
|
+
"error-detail": { "tool-name": error.tool_name, message: error.tool_message }
|
|
222
|
+
}
|
|
213
223
|
when Dependabot::NotImplemented
|
|
214
224
|
{
|
|
215
225
|
"error-type": "not_implemented",
|
|
@@ -378,8 +378,9 @@ module Dependabot
|
|
|
378
378
|
def new_version
|
|
379
379
|
# New version looks like a git SHA and there's a new ref, guarding
|
|
380
380
|
# against changes to a nil new_ref (not certain this can actually
|
|
381
|
-
# happen atm)
|
|
382
|
-
|
|
381
|
+
# happen atm). A requirement-only update, such as a Julia stdlib's
|
|
382
|
+
# compat entry, has no version at all.
|
|
383
|
+
if dependency.version&.match?(/^[0-9a-f]{40}$/) && ref_changed? &&
|
|
383
384
|
new_ref
|
|
384
385
|
return new_ref
|
|
385
386
|
end
|
|
@@ -341,7 +341,9 @@ module Dependabot
|
|
|
341
341
|
subject = pr_name.gsub("⬆️", ":arrow_up:").gsub("🔒", ":lock:")
|
|
342
342
|
return subject unless subject.length > 72
|
|
343
343
|
|
|
344
|
-
|
|
344
|
+
# Requirements can contain spaces ("^0.20, ^0.21"), so match up to the
|
|
345
|
+
# suffixes solo_pr_name adds rather than to the next space
|
|
346
|
+
subject = subject.sub(%r{ from .+? to .+?(?= \(via audit fix\)| in /|\z)}, "")
|
|
345
347
|
return subject unless subject.length > 72
|
|
346
348
|
|
|
347
349
|
T.must(subject.split(" in ").first)
|
data/lib/dependabot.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-common
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.399.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
@@ -635,7 +635,7 @@ licenses:
|
|
|
635
635
|
- MIT
|
|
636
636
|
metadata:
|
|
637
637
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
638
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
638
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.399.0
|
|
639
639
|
rdoc_options: []
|
|
640
640
|
require_paths:
|
|
641
641
|
- lib
|