dependabot-go_modules 0.124.6 → 0.125.2
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: 204052ad6212c6f372e3bb40d035eb5a200375ed75b305c7a463234ae7b33386
|
4
|
+
data.tar.gz: 819249afceeb8366a8d0072ca7f805db02cad601f3dc4fa799505bc3f37df9f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f783a5e157138a9447217e4068f87ecb33ddf6bb26a2f21cc6e2cc41c12c64873ddd29634e7b3bb012ffd2ddea7df72b88613bc7c6626c3f4ef6cac8d0f2124
|
7
|
+
data.tar.gz: 06dd80fc7e260995ea5ec44a15e3dcdc9f43de30b247713241409c64271f7d3a09c1183d962a915c8981ece52bdadc9e05952359aa85656626b3f3b730490ca9
|
@@ -26,7 +26,7 @@ module Dependabot
|
|
26
26
|
# auth problems with either git or the go proxy
|
27
27
|
/go: .*: unknown revision/m.freeze,
|
28
28
|
# Package version doesn't match the module major version
|
29
|
-
/go: .*: go.mod has post-
|
29
|
+
/go: .*: go.mod has post-v\d+ module path/m.freeze
|
30
30
|
].freeze
|
31
31
|
|
32
32
|
MODULE_PATH_MISMATCH_REGEXES = [
|
@@ -91,9 +91,7 @@ module Dependabot
|
|
91
91
|
def replace_wildcard_in_lower_bound(req_string)
|
92
92
|
after_wildcard = false
|
93
93
|
|
94
|
-
if req_string.start_with?("~")
|
95
|
-
req_string = req_string.gsub(/(?:(?:\.|^)[xX*])(\.[xX*])+/, "")
|
96
|
-
end
|
94
|
+
req_string = req_string.gsub(/(?:(?:\.|^)[xX*])(\.[xX*])+/, "") if req_string.start_with?("~")
|
97
95
|
|
98
96
|
req_string.split(".").
|
99
97
|
map do |part|
|
@@ -121,9 +121,7 @@ module Dependabot
|
|
121
121
|
def version_from_tag(tag)
|
122
122
|
# To compare with the current version we either use the commit SHA
|
123
123
|
# (if that's what the parser picked up) of the tag name.
|
124
|
-
if dependency.version&.match?(/^[0-9a-f]{40}$/)
|
125
|
-
return tag&.fetch(:commit_sha)
|
126
|
-
end
|
124
|
+
return tag&.fetch(:commit_sha) if dependency.version&.match?(/^[0-9a-f]{40}$/)
|
127
125
|
|
128
126
|
tag&.fetch(:tag)
|
129
127
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-go_modules
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.125.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-11 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.125.2
|
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.125.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|