dependabot-common 0.106.29 → 0.106.30
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: 31dbe23817a6954f2e4789dbcee826afa5eaf121721b551e601fa3ead31663e0
|
|
4
|
+
data.tar.gz: 4b875cc3ebea723498d92aaf1402dd9876532c4e0c3cb76e86fbaa8d3bbfe2d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '09a46571373489065e78cabbf0ea5d7a53ca4874f4cfc977915f9312c82496b60b99ba370671a1f0ee33c00a72bf390d869fc888236eb2a2e5bbb731235cc34b'
|
|
7
|
+
data.tar.gz: 42991663e089ed51c0f4fc0184ae09f6bc154361d3ea74049b7e3e4c584f317941fb1ac39521d28bbe68418144195857d07952d529b532cc252db149e449f1a2
|
|
@@ -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_link_proxy
|
|
22
22
|
|
|
23
23
|
def initialize(source:, base_commit:, dependencies:, files:, credentials:,
|
|
24
24
|
pr_message_footer: nil, custom_labels: nil,
|
|
@@ -26,7 +26,8 @@ module Dependabot
|
|
|
26
26
|
reviewers: nil, assignees: nil, milestone: nil,
|
|
27
27
|
vulnerabilities_fixed: {}, branch_name_separator: "/",
|
|
28
28
|
branch_name_prefix: "dependabot",
|
|
29
|
-
label_language: false, automerge_candidate: false
|
|
29
|
+
label_language: false, automerge_candidate: false,
|
|
30
|
+
github_link_proxy: "github-redirect.dependabot.com")
|
|
30
31
|
@dependencies = dependencies
|
|
31
32
|
@source = source
|
|
32
33
|
@base_commit = base_commit
|
|
@@ -44,6 +45,7 @@ module Dependabot
|
|
|
44
45
|
@branch_name_prefix = branch_name_prefix
|
|
45
46
|
@label_language = label_language
|
|
46
47
|
@automerge_candidate = automerge_candidate
|
|
48
|
+
@github_link_proxy = github_link_proxy
|
|
47
49
|
|
|
48
50
|
check_dependencies_have_previous_version
|
|
49
51
|
end
|
|
@@ -120,7 +122,8 @@ module Dependabot
|
|
|
120
122
|
credentials: credentials,
|
|
121
123
|
author_details: author_details,
|
|
122
124
|
pr_message_footer: pr_message_footer,
|
|
123
|
-
vulnerabilities_fixed: vulnerabilities_fixed
|
|
125
|
+
vulnerabilities_fixed: vulnerabilities_fixed,
|
|
126
|
+
github_link_proxy: github_link_proxy
|
|
124
127
|
)
|
|
125
128
|
end
|
|
126
129
|
|
|
@@ -37,11 +37,12 @@ module Dependabot
|
|
|
37
37
|
}x.freeze
|
|
38
38
|
|
|
39
39
|
attr_reader :source, :dependencies, :files, :credentials,
|
|
40
|
-
:pr_message_footer, :author_details, :vulnerabilities_fixed
|
|
40
|
+
:pr_message_footer, :author_details, :vulnerabilities_fixed,
|
|
41
|
+
:github_link_proxy
|
|
41
42
|
|
|
42
43
|
def initialize(source:, dependencies:, files:, credentials:,
|
|
43
44
|
pr_message_footer: nil, author_details: nil,
|
|
44
|
-
vulnerabilities_fixed: {})
|
|
45
|
+
vulnerabilities_fixed: {}, github_link_proxy: nil)
|
|
45
46
|
@dependencies = dependencies
|
|
46
47
|
@files = files
|
|
47
48
|
@source = source
|
|
@@ -49,6 +50,7 @@ module Dependabot
|
|
|
49
50
|
@pr_message_footer = pr_message_footer
|
|
50
51
|
@author_details = author_details
|
|
51
52
|
@vulnerabilities_fixed = vulnerabilities_fixed
|
|
53
|
+
@github_link_proxy = github_link_proxy
|
|
52
54
|
end
|
|
53
55
|
|
|
54
56
|
def pr_name
|
|
@@ -749,7 +751,7 @@ module Dependabot
|
|
|
749
751
|
next_char = last_match.post_match.chars.first
|
|
750
752
|
|
|
751
753
|
sanitized_url =
|
|
752
|
-
ref.gsub("github.com", "github
|
|
754
|
+
ref.gsub("github.com", github_link_proxy || "github.com")
|
|
753
755
|
if (previous_char.nil? || previous_char.match?(/\s/)) &&
|
|
754
756
|
(next_char.nil? || next_char.match?(/\s/))
|
|
755
757
|
"[##{last_match.named_captures.fetch('number')}](#{sanitized_url})"
|
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.106.
|
|
4
|
+
version: 0.106.30
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-05-
|
|
11
|
+
date: 2019-05-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-ecr
|