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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a034a8c717f18f648f0f7fb1c5ecc0f1fc3a40162aa713dc5f8f8387d9ffb2a8
4
- data.tar.gz: 4b4d074f4b6fcb2e79740431ab8e930324edf1a45dc7135db55e4ce5965237c4
3
+ metadata.gz: 5a7d6bb66f505b2ff722e1345ece0d59da2d2854db86a4adfc76705c30388d06
4
+ data.tar.gz: a8352ba0c7943437dd380d7ebc84156474ea05a5619221fc2ce86281ee46cd09
5
5
  SHA512:
6
- metadata.gz: a17a2121c77589381603e8f97f67e9591f8a7875981e220b587da799eee038e6bac5c71cde3b1ce145136c22cc94c60d773eb7d4292c16fe3380bfb5af8d4ce3
7
- data.tar.gz: 60a7caf3a5ed921240d0699d1be5ef56de5abcd413d0ac241a84dcd53a952018198719dad35682757a237ddb4ff1fec3bb7b8261981cebe73c39ff99def408bf
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
 
@@ -1,3 +1,3 @@
1
1
  module DPL
2
- VERSION = '1.10.13'
2
+ VERSION = '1.10.14'
3
3
  end
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.13
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-09-27 00:00:00.000000000 Z
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.13
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.13
26
+ version: 1.10.14
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: octokit
29
29
  requirement: !ruby/object:Gem::Requirement