dependabot-go_modules 0.125.0 → 0.125.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 938fbd55ae7e15ed375af08ff52f4e880542b7dd3ef877cf555926f96db5c562
|
4
|
+
data.tar.gz: 383e4b76b2014d5ad3837c6f0153730e7ac6aa81ca70a0a276963726cdb060dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c0e2bb0834d17d6f9e16bca2d5fb29130a545fbb89526bb27582c055382bebc82cfb4fbb943db30a943de4261afd307017447d407e32977d8c5a656ebf2ee27
|
7
|
+
data.tar.gz: 324459b3127a4663edb326b8e4209530e99a6f35e0d5bb6cf5e0cb2107b4fcc30958cf44e87beac881045696f8a924301eaf5b82fc124f0528735bda47a3e431
|
@@ -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,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-go_modules
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.125.
|
4
|
+
version: 0.125.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.125.
|
19
|
+
version: 0.125.1
|
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.125.
|
26
|
+
version: 0.125.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|