dependabot-common 0.118.0 → 0.118.1

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: aeba710170f71c12424e8f19659ca2173fbd9c486ac01f6cf15fea03203cb261
4
- data.tar.gz: 6cd83c10c8de3ecfa1efc9073138af6157a7ffa21d7a3b086f7e295c58447562
3
+ metadata.gz: e5508a2fb0bd77cff97062f9dc172973b650958b6f0b2f2ae9e35f2b11185eb6
4
+ data.tar.gz: 873df8dae15041c881b82ae1b7ca6e25c4044563acd2b883a2a7b04093ffc392
5
5
  SHA512:
6
- metadata.gz: de9f6d35ee32b93d1c3f3e871744e1efb384b4ad1aec4f970fcfe22fe4158c3e3c47e84b9d8231e19ce2446a8861f419ab62a9e2b87f44ffdb000685211f5e61
7
- data.tar.gz: c44b1503abfa59ae01298595c2c4a9787a70f4d224c5692179a955e2b0ba75df4d0f5cac450ee12efa6ae3ff9d97e62cdb9339adda81d924f1bfc4aa09aff167
6
+ metadata.gz: 922fda6863fefe18f76385e2f56b60609fad004ceff52fbc47056a6908b83a1fab69139741312980ed62e4fd5b4ea172766ba458f9e8216867990dcc10d81a33
7
+ data.tar.gz: 70afe1040d4fa6f4787e2eb339f4b380b10142e184706342d05ad2b140c1f79673c5b00be353fb58eee640d48cabc4866df524fe4fbbf3810757366405707537
@@ -314,7 +314,7 @@ module Dependabot
314
314
  azure_client_for_source.commits
315
315
 
316
316
  @recent_azure_commit_messages.
317
- reject { |c| c.fetch("author").fetch("email") == dependabot_email }.
317
+ reject { |c| azure_commit_author_email(c) == dependabot_email }.
318
318
  reject { |c| c.fetch("comment")&.start_with?("Merge") }.
319
319
  map { |c| c.fetch("comment") }.
320
320
  compact.
@@ -374,7 +374,7 @@ module Dependabot
374
374
  azure_client_for_source.commits
375
375
 
376
376
  @recent_azure_commit_messages.
377
- find { |c| c.fetch("author").fetch("email") == dependabot_email }&.
377
+ find { |c| azure_commit_author_email(c) == dependabot_email }&.
378
378
  message&.
379
379
  strip
380
380
  end
@@ -389,6 +389,10 @@ module Dependabot
389
389
  strip
390
390
  end
391
391
 
392
+ def azure_commit_author_email(commit)
393
+ commit.fetch("author").fetch("email", "")
394
+ end
395
+
392
396
  def github_client_for_source
393
397
  @github_client_for_source ||=
394
398
  Dependabot::Clients::GithubWithRetries.for_source(
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.118.0"
4
+ VERSION = "0.118.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-common
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.118.0
4
+ version: 0.118.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-29 00:00:00.000000000 Z
11
+ date: 2020-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-codecommit