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: fb5bbe47b921b3ce79bf962ca798a9b179989c3884dc12087e2fa0ddeff3ac40
4
- data.tar.gz: a9c99ad39753afbd972c3f3e7cda57fc5f996721b143da2bf27ac9bd2a5ecd06
3
+ metadata.gz: 382e256a6a5ea6412d181afe9ef081db33690d5872140343384b5c99191dd986
4
+ data.tar.gz: f288ced414438c5c76655eec399404275f985f41f491531b3996a580eb69621a
5
5
  SHA512:
6
- metadata.gz: 4dbb955a0213a3b09d1e006152f98ffd4ddd89d4a64d0e88b14a6e61d35511b6505fa262ecd7f02ab76c46ad6ca55b6908f5330d07743492c5dca2518e67563b
7
- data.tar.gz: 84c2203604ba070b49270f279bfa821482556eb4c32d9916617a87d1f56c68e50d93db214a87986831a1758bb772074db948556bc4738a8e9658b4ca71f33b12
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.95.65"
4
+ VERSION = "0.95.66"
5
5
  end
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.95.65
4
+ version: 0.95.66
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot