dependabot-common 0.370.0 → 0.372.0
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: a890da786457822a31a7563f2058398af0e298c0384fe03ceeb5dd31fd84c27e
|
|
4
|
+
data.tar.gz: abfa2448c83eb522633c9f00cbea0b1e5de7dd45f1b57cf73b809a028b2d84ca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 23f77646a6156b56c94384f247e0a225c03b6162c0cfba440d1db475d42a124c1a315b38c4048ff0d2bebcd22e59390594ba3ab6aef6e8ca8138254930603ef9
|
|
7
|
+
data.tar.gz: 81707b4c04b6c45eab98ae9228e89a62182a5d32df91008b74364977a129eb83ddc35b5feda25ca177c8179ad9d00baf6f56f3ce4bb80832e39cd558def86c8b
|
|
@@ -46,7 +46,8 @@ module Dependabot
|
|
|
46
46
|
credentials: T::Array[Dependabot::Credential],
|
|
47
47
|
pull_request_number: Integer,
|
|
48
48
|
author_details: T.nilable(T::Hash[Symbol, T.untyped]),
|
|
49
|
-
signature_key: T.nilable(String)
|
|
49
|
+
signature_key: T.nilable(String),
|
|
50
|
+
commit_message: T.nilable(String)
|
|
50
51
|
)
|
|
51
52
|
.void
|
|
52
53
|
end
|
|
@@ -58,7 +59,8 @@ module Dependabot
|
|
|
58
59
|
credentials:,
|
|
59
60
|
pull_request_number:,
|
|
60
61
|
author_details: nil,
|
|
61
|
-
signature_key: nil
|
|
62
|
+
signature_key: nil,
|
|
63
|
+
commit_message: nil
|
|
62
64
|
)
|
|
63
65
|
@source = source
|
|
64
66
|
@base_commit = base_commit
|
|
@@ -68,6 +70,7 @@ module Dependabot
|
|
|
68
70
|
@pull_request_number = pull_request_number
|
|
69
71
|
@author_details = author_details
|
|
70
72
|
@signature_key = signature_key
|
|
73
|
+
@commit_message = T.let(commit_message, T.nilable(String))
|
|
71
74
|
end
|
|
72
75
|
|
|
73
76
|
sig { returns(T.nilable(Sawyer::Resource)) }
|
|
@@ -255,6 +258,9 @@ module Dependabot
|
|
|
255
258
|
|
|
256
259
|
sig { returns(String) }
|
|
257
260
|
def commit_message
|
|
261
|
+
msg = @commit_message
|
|
262
|
+
return msg unless msg.nil? || msg.empty?
|
|
263
|
+
|
|
258
264
|
fallback_message =
|
|
259
265
|
"#{pull_request.title}" \
|
|
260
266
|
"\n\n" \
|
|
@@ -37,6 +37,9 @@ module Dependabot
|
|
|
37
37
|
sig { returns(T.nilable(String)) }
|
|
38
38
|
attr_reader :signature_key
|
|
39
39
|
|
|
40
|
+
sig { returns(T.nilable(String)) }
|
|
41
|
+
attr_reader :commit_message
|
|
42
|
+
|
|
40
43
|
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
41
44
|
attr_reader :provider_metadata
|
|
42
45
|
|
|
@@ -50,6 +53,7 @@ module Dependabot
|
|
|
50
53
|
pull_request_number: Integer,
|
|
51
54
|
author_details: T.nilable(T::Hash[Symbol, String]),
|
|
52
55
|
signature_key: T.nilable(String),
|
|
56
|
+
commit_message: T.nilable(String),
|
|
53
57
|
provider_metadata: T::Hash[Symbol, T.untyped]
|
|
54
58
|
)
|
|
55
59
|
.void
|
|
@@ -63,6 +67,7 @@ module Dependabot
|
|
|
63
67
|
pull_request_number:,
|
|
64
68
|
author_details: nil,
|
|
65
69
|
signature_key: nil,
|
|
70
|
+
commit_message: nil,
|
|
66
71
|
provider_metadata: {}
|
|
67
72
|
)
|
|
68
73
|
@source = source
|
|
@@ -73,6 +78,7 @@ module Dependabot
|
|
|
73
78
|
@pull_request_number = pull_request_number
|
|
74
79
|
@author_details = author_details
|
|
75
80
|
@signature_key = signature_key
|
|
81
|
+
@commit_message = commit_message
|
|
76
82
|
@provider_metadata = provider_metadata
|
|
77
83
|
end
|
|
78
84
|
|
|
@@ -100,7 +106,8 @@ module Dependabot
|
|
|
100
106
|
credentials: credentials,
|
|
101
107
|
pull_request_number: pull_request_number,
|
|
102
108
|
author_details: author_details,
|
|
103
|
-
signature_key: signature_key
|
|
109
|
+
signature_key: signature_key,
|
|
110
|
+
commit_message: commit_message
|
|
104
111
|
)
|
|
105
112
|
end
|
|
106
113
|
|
data/lib/dependabot.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-common
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.372.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
@@ -617,7 +617,7 @@ licenses:
|
|
|
617
617
|
- MIT
|
|
618
618
|
metadata:
|
|
619
619
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
620
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
620
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.372.0
|
|
621
621
|
rdoc_options: []
|
|
622
622
|
require_paths:
|
|
623
623
|
- lib
|