dependabot-common 0.106.8 → 0.106.9
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: 30bdcc30977f94dbd55c9c4dc52587df0d6712891cb65247cba7e9d6daa2e581
|
|
4
|
+
data.tar.gz: f465ae2868728ccf344ab5958f23e4ef88b37d021ed25b939e2bd5749c950a65
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 01eaad195bdfd9abcb31b55611c9f696aa492c41eba13a1e2a28417f53b16f925e22aca3a215665085468d1a8f9b7dd8833861374efe0b93341990838115c938
|
|
7
|
+
data.tar.gz: 8673d8af5963d0e9f3dc1257faf9a97caef3abb28d98df4c41b08ea820593aa26b886ab8e33d88dcb63c54575650259dc8ec7a29476dcd6d22817d9c64cdd358
|
|
@@ -174,7 +174,6 @@ module Dependabot
|
|
|
174
174
|
when :gitmoji then "⬆️ "
|
|
175
175
|
when :conventional_prefix then "#{last_dependabot_commit_prefix}: "
|
|
176
176
|
when :conventional_prefix_with_scope
|
|
177
|
-
scope = dependencies.any?(&:production?) ? "deps" : "deps-dev"
|
|
178
177
|
"#{last_dependabot_commit_prefix}(#{scope}): "
|
|
179
178
|
else
|
|
180
179
|
# Otherwise we need to detect the user's preferred style from the
|
|
@@ -216,19 +215,21 @@ module Dependabot
|
|
|
216
215
|
|
|
217
216
|
def build_commit_prefix_from_previous_commits
|
|
218
217
|
if using_angular_commit_messages?
|
|
219
|
-
scope = dependencies.any?(&:production?) ? "deps" : "deps-dev"
|
|
220
218
|
"#{angular_commit_prefix}(#{scope}): "
|
|
221
219
|
elsif using_eslint_commit_messages?
|
|
222
220
|
# https://eslint.org/docs/developer-guide/contributing/pull-requests
|
|
223
221
|
"Upgrade: "
|
|
224
|
-
elsif using_prefixed_commit_messages?
|
|
225
|
-
# https://eslint.org/docs/developer-guide/contributing/pull-requests
|
|
226
|
-
"build: "
|
|
227
222
|
elsif using_gitmoji_commit_messages?
|
|
228
223
|
"⬆️ "
|
|
224
|
+
elsif using_prefixed_commit_messages?
|
|
225
|
+
"build(#{scope}): "
|
|
229
226
|
end
|
|
230
227
|
end
|
|
231
228
|
|
|
229
|
+
def scope
|
|
230
|
+
dependencies.any?(&:production?) ? "deps" : "deps-dev"
|
|
231
|
+
end
|
|
232
|
+
|
|
232
233
|
def last_dependabot_commit_style
|
|
233
234
|
return unless (msg = last_dependabot_commit_message)
|
|
234
235
|
|
data/lib/dependabot/version.rb
CHANGED