dependabot-go_modules 0.124.7 → 0.125.3
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: 00dac532f1237afa5325d2453ec6a9772df5a9c468ab1dafc88ceed8acb92297
|
4
|
+
data.tar.gz: bf1107dc988444eae277fb89fb01e5a00fedb8143e9e26574d6895bbcbdbe9c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdc54730477dee02fb2fb34da1fac5e42b9288824f71b2a3f633317508e55f60aa805a9fdbd2911606ad15b9091db30098f11bfdd44f6ee72fa44e110073d2a8
|
7
|
+
data.tar.gz: fa72cb5e8804e769861569721e76b148bb9b260d91509eb203e6972ebbb1ad458680c9c8064c96b225a863793641a3a34eebf83b6982edeebf4820323c49d6a1
|
@@ -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.3
|
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-16 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.3
|
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.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.
|
131
|
+
version: 0.8.0
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.
|
138
|
+
version: 0.8.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: vcr
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|