dependabot-common 0.95.65 → 0.95.66
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: 382e256a6a5ea6412d181afe9ef081db33690d5872140343384b5c99191dd986
|
4
|
+
data.tar.gz: f288ced414438c5c76655eec399404275f985f41f491531b3996a580eb69621a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d5f80f9ff0f3cb881937ff34a5b14a05b2de26af598ce11024ee26db1561fe67569d968d3a482d2936d077f815c19b7584c643e11e6111b3df07f1ad2743a3e
|
7
|
+
data.tar.gz: 2da2682e13134d626eadf877fa41365184a718f82c54a6a71dfffb0a0c3a728396ab1686015f05b8542af579776cd905ce07f397d39e434e99cb23fdc7c84722
|
@@ -74,12 +74,12 @@ module Dependabot
|
|
74
74
|
# rubocop:disable Metrics/CyclomaticComplexity
|
75
75
|
# rubocop:disable Metrics/PerceivedComplexity
|
76
76
|
def changelog
|
77
|
-
return changelog_from_suggested_url if changelog_from_suggested_url
|
78
|
-
return unless source
|
79
|
-
|
80
77
|
# Changelog won't be relevant for a git commit bump
|
81
78
|
return if git_source? && !ref_changed?
|
82
79
|
|
80
|
+
return changelog_from_suggested_url if changelog_from_suggested_url
|
81
|
+
return unless source
|
82
|
+
|
83
83
|
# If there is a changelog, and it includes the new version, return it
|
84
84
|
if new_version && default_branch_changelog &&
|
85
85
|
fetch_file_text(default_branch_changelog)&.include?(new_version)
|
data/lib/dependabot/version.rb
CHANGED