dependabot-common 0.106.30 → 0.106.31
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: bc048b192d6358726a995c42be14d8a14abca66783d7c08ad685b374631569b3
|
4
|
+
data.tar.gz: f2e2df20287ce454ac97b28b92c7eb0fd6499d63558e91532aa8a7ebea67ad06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12fcf353c065b0bab773354b0ed6498a821e7584aeec3da12a5a9e62237a9db7a7fde892e4639ccbc771651e83bf925bed5fff830c661ddb7dec783c469954e8
|
7
|
+
data.tar.gz: bb74c1d916abb880c7703969bdbd716ae988454c3713c8f866a8899444e6420cdc999c967bf1f4d31c0ed8cb1a355ac785b71bef2a63f6ce62cd7b7001f5352f
|
@@ -18,7 +18,7 @@ module Dependabot
|
|
18
18
|
:credentials, :pr_message_footer, :custom_labels,
|
19
19
|
:author_details, :signature_key, :vulnerabilities_fixed,
|
20
20
|
:reviewers, :assignees, :milestone, :branch_name_separator,
|
21
|
-
:branch_name_prefix, :
|
21
|
+
:branch_name_prefix, :github_redirection_service
|
22
22
|
|
23
23
|
def initialize(source:, base_commit:, dependencies:, files:, credentials:,
|
24
24
|
pr_message_footer: nil, custom_labels: nil,
|
@@ -27,25 +27,25 @@ module Dependabot
|
|
27
27
|
vulnerabilities_fixed: {}, branch_name_separator: "/",
|
28
28
|
branch_name_prefix: "dependabot",
|
29
29
|
label_language: false, automerge_candidate: false,
|
30
|
-
|
31
|
-
@dependencies
|
32
|
-
@source
|
33
|
-
@base_commit
|
34
|
-
@files
|
35
|
-
@credentials
|
36
|
-
@pr_message_footer
|
37
|
-
@author_details
|
38
|
-
@signature_key
|
39
|
-
@custom_labels
|
40
|
-
@reviewers
|
41
|
-
@assignees
|
42
|
-
@milestone
|
43
|
-
@vulnerabilities_fixed
|
44
|
-
@branch_name_separator
|
45
|
-
@branch_name_prefix
|
46
|
-
@label_language
|
47
|
-
@automerge_candidate
|
48
|
-
@
|
30
|
+
github_redirection_service: "github-redirect.dependabot.com")
|
31
|
+
@dependencies = dependencies
|
32
|
+
@source = source
|
33
|
+
@base_commit = base_commit
|
34
|
+
@files = files
|
35
|
+
@credentials = credentials
|
36
|
+
@pr_message_footer = pr_message_footer
|
37
|
+
@author_details = author_details
|
38
|
+
@signature_key = signature_key
|
39
|
+
@custom_labels = custom_labels
|
40
|
+
@reviewers = reviewers
|
41
|
+
@assignees = assignees
|
42
|
+
@milestone = milestone
|
43
|
+
@vulnerabilities_fixed = vulnerabilities_fixed
|
44
|
+
@branch_name_separator = branch_name_separator
|
45
|
+
@branch_name_prefix = branch_name_prefix
|
46
|
+
@label_language = label_language
|
47
|
+
@automerge_candidate = automerge_candidate
|
48
|
+
@github_redirection_service = github_redirection_service
|
49
49
|
|
50
50
|
check_dependencies_have_previous_version
|
51
51
|
end
|
@@ -123,7 +123,7 @@ module Dependabot
|
|
123
123
|
author_details: author_details,
|
124
124
|
pr_message_footer: pr_message_footer,
|
125
125
|
vulnerabilities_fixed: vulnerabilities_fixed,
|
126
|
-
|
126
|
+
github_redirection_service: github_redirection_service
|
127
127
|
)
|
128
128
|
end
|
129
129
|
|
@@ -38,19 +38,19 @@ module Dependabot
|
|
38
38
|
|
39
39
|
attr_reader :source, :dependencies, :files, :credentials,
|
40
40
|
:pr_message_footer, :author_details, :vulnerabilities_fixed,
|
41
|
-
:
|
41
|
+
:github_redirection_service
|
42
42
|
|
43
43
|
def initialize(source:, dependencies:, files:, credentials:,
|
44
44
|
pr_message_footer: nil, author_details: nil,
|
45
|
-
vulnerabilities_fixed: {},
|
46
|
-
@dependencies
|
47
|
-
@files
|
48
|
-
@source
|
49
|
-
@credentials
|
50
|
-
@pr_message_footer
|
51
|
-
@author_details
|
52
|
-
@vulnerabilities_fixed
|
53
|
-
@
|
45
|
+
vulnerabilities_fixed: {}, github_redirection_service: nil)
|
46
|
+
@dependencies = dependencies
|
47
|
+
@files = files
|
48
|
+
@source = source
|
49
|
+
@credentials = credentials
|
50
|
+
@pr_message_footer = pr_message_footer
|
51
|
+
@author_details = author_details
|
52
|
+
@vulnerabilities_fixed = vulnerabilities_fixed
|
53
|
+
@github_redirection_service = github_redirection_service
|
54
54
|
end
|
55
55
|
|
56
56
|
def pr_name
|
@@ -751,7 +751,7 @@ module Dependabot
|
|
751
751
|
next_char = last_match.post_match.chars.first
|
752
752
|
|
753
753
|
sanitized_url =
|
754
|
-
ref.gsub("github.com",
|
754
|
+
ref.gsub("github.com", github_redirection_service || "github.com")
|
755
755
|
if (previous_char.nil? || previous_char.match?(/\s/)) &&
|
756
756
|
(next_char.nil? || next_char.match?(/\s/))
|
757
757
|
"[##{last_match.named_captures.fetch('number')}](#{sanitized_url})"
|
data/lib/dependabot/version.rb
CHANGED