dependabot-common 0.115.2 → 0.115.3
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: 524828b3e39edf6bb3ea473618264a5aa08f0ebd662bcc4bd43d2b738869a665
|
4
|
+
data.tar.gz: 0d1b2c9612269e22b531f057c6af4647e0e6e27d525ada678ce04b793fa0690c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 534faf192642a6304a1838c0b2f08694313609d8a1ca12ce6893c8fbdddf0619425610364fe11e95b79543486bb8dbdb3cc94267e772cd174d8346409401427a
|
7
|
+
data.tar.gz: c253b19aa6b7df502cb636fa4926a2282cd4021e79cc62b60ef2dc5d2db15a03a914fd826e99bdad240c369c898214f2da57da2e9145de7f83d6eba812ca7079
|
@@ -62,9 +62,12 @@ module Dependabot
|
|
62
62
|
doc.walk do |node|
|
63
63
|
if node.type == :link && node.url.match?(GITHUB_REF_REGEX)
|
64
64
|
node.each do |subnode|
|
65
|
-
|
66
|
-
|
65
|
+
unless subnode.type == :text &&
|
66
|
+
subnode.string_content.match?(GITHUB_REF_REGEX)
|
67
|
+
next
|
68
|
+
end
|
67
69
|
|
70
|
+
last_match = subnode.string_content.match(GITHUB_REF_REGEX)
|
68
71
|
number = last_match.named_captures.fetch("number")
|
69
72
|
repo = last_match.named_captures.fetch("repo")
|
70
73
|
subnode.string_content = "#{repo}##{number}"
|
data/lib/dependabot/version.rb
CHANGED