dependabot-common 0.113.26 → 0.113.27

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0212fcfba67b76d55758515ed11f58cb310bd5482cb034839d5971af60a6b701
4
- data.tar.gz: e128c8f7e7825f686850f62c332098b6d9c63ce23965f6563634fa8c8b64ed10
3
+ metadata.gz: 7f0e4d76c265cd26e320b581934db9030da05396c366b4b363cd01e1e6e8d6d6
4
+ data.tar.gz: 3956472f4028a54b8988a367771c39ef5915e474b02e55e853633a7d50d54530
5
5
  SHA512:
6
- metadata.gz: 79e5d2370f23d19f1920c0f33b13915b5490ba9a3808597c7be07ba31defa390daa0ec4dc578880b04ef31b3f25c6264fb2fe3f83a57b9ff713e70272c1983b8
7
- data.tar.gz: da69d7cfc8a05d9127ce5a9655083b26d364915915dbecd4df33dd8a81c1d21589d0dc23822c07b3c2f456a83958008d1473b53782acb3fd06331cb969556b7a
6
+ metadata.gz: 343ac30f99614a6f497e4fd3531b9c2ebbc9c5b5a13114e9eeae07469d5425264d93e2cdf910efcf5f045731928ac73e1d9f632254e6a4463660b35fd3305c2e
7
+ data.tar.gz: 0cc640d26ac45f0bb049911508a63d9ed9a618cf5d0aa28bc561faf0992b8f30bb292e5a1ca070a7ae58811ad1e7c974fd4d02fc1ed92e2e4668f4c4b15f093a
@@ -26,11 +26,16 @@ module Dependabot
26
26
 
27
27
  def initialize(source, credentials)
28
28
  @source = source
29
- @cc_client = Aws::CodeCommit::Client.new(
30
- access_key_id: credentials&.fetch("username"),
31
- secret_access_key: credentials&.fetch("password"),
32
- region: credentials&.fetch("region")
33
- )
29
+ @cc_client =
30
+ if credentials
31
+ Aws::CodeCommit::Client.new(
32
+ access_key_id: credentials.fetch("username"),
33
+ secret_access_key: credentials.fetch("password"),
34
+ region: credentials.fetch("region")
35
+ )
36
+ else
37
+ Aws::CodeCommit::Client.new
38
+ end
34
39
  end
35
40
 
36
41
  def fetch_commit(repo, branch)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.113.26"
4
+ VERSION = "0.113.27"
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.113.26
4
+ version: 0.113.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-29 00:00:00.000000000 Z
11
+ date: 2019-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-codecommit