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 +4 -4
- data/lib/dependabot/clients/codecommit.rb +10 -5
- data/lib/dependabot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f0e4d76c265cd26e320b581934db9030da05396c366b4b363cd01e1e6e8d6d6
|
4
|
+
data.tar.gz: 3956472f4028a54b8988a367771c39ef5915e474b02e55e853633a7d50d54530
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 =
|
30
|
-
|
31
|
-
|
32
|
-
|
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)
|
data/lib/dependabot/version.rb
CHANGED
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.
|
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
|
+
date: 2019-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-codecommit
|