dependabot-common 0.97.7 → 0.97.8

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: bb24d9fce860a57209ff001a5227d177038928aa41593b5d1de854e4b94ce953
4
- data.tar.gz: 8caf8568036e80e07bb60348a351a43dd2b9f0d9b1e109d6812fa7e5ca8a209a
3
+ metadata.gz: 36e1077d9e56e99cf7e83979ce3b22b97a40c192addc540da8eb13198fc3337c
4
+ data.tar.gz: '09f313a956b5fdd549e6c9f83b5bc25dabb74a4352474e34e0bff34ca735eb8d'
5
5
  SHA512:
6
- metadata.gz: f8382dd06584c50ae39d7a7f1aff981ee19e934b78418f25906dec52a1fc15ada648873d81fa4648456e6a45d1a2b6cfd2b6c37a1387f526149705d2c124dff4
7
- data.tar.gz: 5ba273083c864b3a6d88158e88c842e4a278ada1ffe5c6d72c8e139251725ee57a51f259ad3e8da0b4584a533ae1e9b71ae8574f6f6ae670cf9f63b824ef5e63
6
+ metadata.gz: 139e060192dc9873eb0b9b741e09e569ac84c0d30ecc2490d816f84c12c514ca9f06e1b528b135ac245e2bea09b1b2d16893142b5e68e583fbc6ea86ad431fda
7
+ data.tar.gz: 2537b48ce72b669f98d84ac250e005032dd1e3b51a0aa8192c74a49150ca3a7a84b0cac51f1bdf3a56737e8416c7fefec29259a1f7a63ecbb8a193ff0d9c773e
@@ -836,10 +836,7 @@ module Dependabot
836
836
  end
837
837
 
838
838
  def recent_github_commit_messages
839
- @recent_github_commit_messages ||=
840
- github_client_for_source.commits(source.repo)
841
-
842
- @recent_github_commit_messages.
839
+ recent_github_commits.
843
840
  reject { |c| c.author&.type == "Bot" }.
844
841
  reject { |c| c.commit&.message&.start_with?("Merge") }.
845
842
  map(&:commit).
@@ -869,10 +866,7 @@ module Dependabot
869
866
  end
870
867
 
871
868
  def last_github_dependabot_commit_message
872
- @recent_github_commit_messages ||=
873
- github_client_for_source.commits(source.repo)
874
-
875
- @recent_github_commit_messages.
869
+ recent_github_commits.
876
870
  reject { |c| c.commit&.message&.start_with?("Merge") }.
877
871
  find { |c| c.commit.author&.name == "dependabot[bot]" }&.
878
872
  commit&.
@@ -880,6 +874,12 @@ module Dependabot
880
874
  strip
881
875
  end
882
876
 
877
+ def recent_github_commits
878
+ @recent_github_commits ||= github_client_for_source.commits(source.repo)
879
+ rescue Octokit::Conflict
880
+ @recent_github_commits ||= []
881
+ end
882
+
883
883
  def last_gitlab_dependabot_commit_message
884
884
  @recent_gitlab_commit_messages ||=
885
885
  gitlab_client_for_source.commits(source.repo)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.97.7"
4
+ VERSION = "0.97.8"
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.97.7
4
+ version: 0.97.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot