dependabot-cargo 0.380.0 → 0.381.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: 6969ef1e71173b6b45afbce9d53071fcf8799d35bb1a54f4150d38efd0a03beb
|
|
4
|
+
data.tar.gz: c92ba797c69ea44223a98c2fbd8250d4996042acf5139127544fb12ec3fd099e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 14a0eed715ee153c909113a284750548744f2fd7bd50e0a02b9740af3b61bff2c63ea54377739ea33f957320d57f47daf2f144a63f05f7c5f1717bf571116831
|
|
7
|
+
data.tar.gz: eb724b3f66b23ba163bf93be9587008c427ee42da13e4d973c2f394b66c7990898343e274b0a13cade68a1184b863ecf0e250b35e7a8b130b31a0493da6bb9f3
|
|
@@ -401,7 +401,7 @@ module Dependabot
|
|
|
401
401
|
|
|
402
402
|
sig { params(file: DependencyFile).returns(T.untyped) }
|
|
403
403
|
def parsed_file(file)
|
|
404
|
-
@parsed_file ||= T.let({}, T.untyped)
|
|
404
|
+
@parsed_file ||= T.let({}, T.nilable(T::Hash[String, T.untyped]))
|
|
405
405
|
@parsed_file[file.name] ||= TomlRB.parse(file.content)
|
|
406
406
|
rescue TomlRB::ParseError, TomlRB::ValueOverwriteError
|
|
407
407
|
raise Dependabot::DependencyFileNotParseable, file.path
|
|
@@ -15,11 +15,12 @@ module Dependabot
|
|
|
15
15
|
class VersionResolver # rubocop:disable Metrics/ClassLength
|
|
16
16
|
extend T::Sig
|
|
17
17
|
|
|
18
|
-
UNABLE_TO_UPDATE = /
|
|
18
|
+
UNABLE_TO_UPDATE = /unable to update (?<url>.*?)$/i
|
|
19
19
|
BRANCH_NOT_FOUND_REGEX = /#{UNABLE_TO_UPDATE}.*to find branch `(?<branch>[^`]+)`/m
|
|
20
20
|
REVSPEC_PATTERN = /revspec '.*' not found/
|
|
21
21
|
OBJECT_PATTERN = /object not found - no match for id \(.*\)/
|
|
22
|
-
|
|
22
|
+
REVISION_PATTERN = /revision .* not found/
|
|
23
|
+
REF_NOT_FOUND_REGEX = /#{UNABLE_TO_UPDATE}.*(#{REVSPEC_PATTERN}|#{OBJECT_PATTERN}|#{REVISION_PATTERN})/m
|
|
23
24
|
GIT_REF_NOT_FOUND_REGEX = /Updating git repository `(?<url>[^`]*)`.*fatal: couldn't find remote ref/m
|
|
24
25
|
|
|
25
26
|
# Note that as of Rust 1.80, git error message handling in the `cargo update` command changed.
|
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.
|
|
4
|
+
version: 0.381.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.
|
|
18
|
+
version: 0.381.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.
|
|
25
|
+
version: 0.381.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: debug
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -266,7 +266,7 @@ licenses:
|
|
|
266
266
|
- MIT
|
|
267
267
|
metadata:
|
|
268
268
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
269
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
269
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.381.0
|
|
270
270
|
rdoc_options: []
|
|
271
271
|
require_paths:
|
|
272
272
|
- lib
|