dependabot-common 0.111.0 → 0.111.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: 5532abd75ca995f2f4815c6765e4a55ef067cd131722582a3d57917860680b7e
|
4
|
+
data.tar.gz: 73c9de0fe2e5c26bf37e804584dd8f417b5f7c5548566235a335b0b64f967172
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5275808780651bda3c209f9d755d9a2ce8eb4f6d1e3d0df3f549005c1f97881242b92491496a634943843d3261e81f4eff916e08033d7f924eb45654a272906d
|
7
|
+
data.tar.gz: 6a0c1d64fe75cb7686469a14c81703182d941d5a95277da880e50b3effee808bb84bd99b9dd686ecbc2d3c0f2e3a0fb1589a367dabea42c41f79e301fb2e67c0
|
@@ -6,11 +6,11 @@ module Dependabot
|
|
6
6
|
class PullRequestCreator
|
7
7
|
class MessageBuilder
|
8
8
|
class IssueLinker
|
9
|
-
TAG_REGEX = /(?<tag>(?:\#|GH-)\d+)
|
9
|
+
TAG_REGEX = /(?<tag>(?:\#|GH-)\d+)/i.freeze
|
10
10
|
ISSUE_LINK_REGEXS = [
|
11
11
|
/(?<=[^A-Za-z0-9\[\\]|^)\\*#{TAG_REGEX}(?=[^A-Za-z0-9\-]|$)/.freeze,
|
12
12
|
/\[#{TAG_REGEX}\](?=[^A-Za-z0-9\-\(])/.freeze,
|
13
|
-
/\[(?<tag>(?:\#|GH-)?\d+)\]\(\)
|
13
|
+
/\[(?<tag>(?:\#|GH-)?\d+)\]\(\)/i.freeze
|
14
14
|
].freeze
|
15
15
|
|
16
16
|
attr_reader :source_url
|
@@ -25,7 +25,7 @@ module Dependabot
|
|
25
25
|
ISSUE_LINK_REGEXS.reduce(text) do |updated_text, regex|
|
26
26
|
updated_text.gsub(regex) do |issue_link|
|
27
27
|
tag = issue_link.
|
28
|
-
match(/(?<tag>(?:\#|GH-)?\d+)/).
|
28
|
+
match(/(?<tag>(?:\#|GH-)?\d+)/i).
|
29
29
|
named_captures.fetch("tag")
|
30
30
|
number = tag.match(/\d+/).to_s
|
31
31
|
"[#{tag}](#{source_url}/issues/#{number})"
|
data/lib/dependabot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-common
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.111.
|
4
|
+
version: 0.111.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-ecr
|