dpl-releases 1.10.13 → 1.10.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dpl/provider/releases.rb +3 -3
- data/lib/dpl/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a7d6bb66f505b2ff722e1345ece0d59da2d2854db86a4adfc76705c30388d06
|
4
|
+
data.tar.gz: a8352ba0c7943437dd380d7ebc84156474ea05a5619221fc2ce86281ee46cd09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0780b498bf9a1484d8df75916e101daad52a9c4b66f9df90f46d4444c089da2233c83d7dc3a7c760012d24075110d8f8e2d31e49f7c42ddfd5a2b15d3fef3237'
|
7
|
+
data.tar.gz: 4ae57e56f6720711e50e483f8528dc9bdc811bf7c2d60feaf7094ed2dcb6a6a5f2dc40522cc1724243bf25d9329c6ab0f5a74b7945029b5b08dd3a913189efb2
|
@@ -39,10 +39,10 @@ module DPL
|
|
39
39
|
:open_timeout => 180
|
40
40
|
}
|
41
41
|
}
|
42
|
-
if options[:user] and options[:password]
|
43
|
-
@api ||= Octokit::Client.new(:login => options[:user], :password => options[:password], :auto_paginate => true, :connection_options => connection_options)
|
42
|
+
if (options[:username] || options[:user]) and options[:password]
|
43
|
+
@api ||= Octokit::Client.new(:login => options[:username] || options[:user], :password => options[:password], :auto_paginate => true, :connection_options => connection_options)
|
44
44
|
else
|
45
|
-
@api ||= Octokit::Client.new(:access_token => option(:api_key), :auto_paginate => true, :connection_options => connection_options)
|
45
|
+
@api ||= Octokit::Client.new(:access_token => option(:api_key, :token), :auto_paginate => true, :connection_options => connection_options)
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
data/lib/dpl/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dpl-releases
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.
|
4
|
+
version: 1.10.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Haase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dpl
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.10.
|
19
|
+
version: 1.10.14
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.10.
|
26
|
+
version: 1.10.14
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: octokit
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|