dpl-releases 1.10.13 → 1.10.16.travis.6619.6

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: 8d66b58e29fda23d8372a103a895c813a21d18aa312ffec144a70a80db9b69b8
4
+ data.tar.gz: 3bcee479b83a9837572f7bd40771d8af936296e7c47af9be41770ae1865081bb
5
5
  SHA512:
6
- metadata.gz: a17a2121c77589381603e8f97f67e9591f8a7875981e220b587da799eee038e6bac5c71cde3b1ce145136c22cc94c60d773eb7d4292c16fe3380bfb5af8d4ce3
7
- data.tar.gz: 60a7caf3a5ed921240d0699d1be5ef56de5abcd413d0ac241a84dcd53a952018198719dad35682757a237ddb4ff1fec3bb7b8261981cebe73c39ff99def408bf
6
+ metadata.gz: 6bad8020f4b9cf1b9eabe0d3654dc828bfd5b4a0eb42d4e866d4949c71929188dd62778b699e03bd61c9587ed799161ae77b0d0658901ecc020028bd3b784bf2
7
+ data.tar.gz: 9fd7da2a05b0f3b25c2c8de1b0e0bfe5a587c3e1126c817603b714254fee136eb17739fc57528b45868dc9b49ccc11533424602811dfcd76f1ff6456f68b4c40
@@ -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.16.travis.6619.6'
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.16.travis.6619.6
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: 2020-11-12 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.16.travis.6619.6
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.16.travis.6619.6
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: octokit
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -231,13 +231,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
231
231
  version: '2.2'
232
232
  required_rubygems_version: !ruby/object:Gem::Requirement
233
233
  requirements:
234
- - - ">="
234
+ - - ">"
235
235
  - !ruby/object:Gem::Version
236
- version: '0'
236
+ version: 1.3.1
237
237
  requirements: []
238
- rubygems_version: 3.0.3
238
+ rubygems_version: 3.0.8
239
239
  signing_key:
240
240
  specification_version: 4
241
241
  summary: deploy tool
242
- test_files:
243
- - spec/provider/releases_spec.rb
242
+ test_files: []