travis 1.8.2.travis.719.4 → 1.8.2.travis.722.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/travis/cli/api_command.rb +4 -0
- data/lib/travis/client/session.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Zjc0Y2QxZmNmZmEzZDlmMDkwM2FmYzFlMDkzZjAzN2ZjMTkyZjM5Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MzhmNDlkOTU3MWQ1OWI2MGYyZGUwMmM0NTBmOTZlY2E3NGVhNWJkOA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MmRkMzMxMWM0M2QyMjI2NDc0ZGU3MTU3NGZiMWEwNGJkMWM5MjVlZWJjMWVi
|
10
|
+
ZmIzNjAxYjlhYjQ0MWM4MGFjMWE1NzAwNTUxYTY3ODkxYTMyZWU3NzMwMWQw
|
11
|
+
OTdjODY3NDE1MjlmYWUwOTNhMzI5NTQ1YmJiNWI2YzBlMTZiYTY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzhkYjczY2U1ZDVkM2VmYTA5MDIxZDdhYmNjMTUyMGEyODY0ZDlhOTNmNDNi
|
14
|
+
ZjhkODBhNDljMGI1Y2Y3OTcxOTRiMmMyYzc5MjAxZjNkZjY3MjRiYzFjYjdi
|
15
|
+
ODZjOGQwYWJmNmFjY2I2MDZlODBlOGFhYzRmNDI0OWFjZDNmMjI=
|
@@ -22,6 +22,10 @@ module Travis
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
|
+
on('--debug-http', 'show HTTP(S) exchange') do |c,_|
|
26
|
+
c.session.debug_http = true
|
27
|
+
end
|
28
|
+
|
25
29
|
on('-X', '--enterprise [NAME]', 'use enterprise setup (optionally takes name for multiple setups)') do |c, name|
|
26
30
|
c.enterprise_name = name || 'default'
|
27
31
|
end
|
@@ -21,6 +21,7 @@ module Travis
|
|
21
21
|
|
22
22
|
include Methods
|
23
23
|
attr_reader :connection, :headers, :access_token, :instruments, :faraday_adapter, :agent_info, :ssl
|
24
|
+
attr_accessor :debug_http
|
24
25
|
|
25
26
|
def initialize(options = Travis::Client::ORG_URI)
|
26
27
|
@headers = {}
|
@@ -58,6 +59,7 @@ module Travis
|
|
58
59
|
clear_cache!
|
59
60
|
self.connection = Faraday.new(:url => uri, :ssl => ssl) do |faraday|
|
60
61
|
faraday.request :url_encoded
|
62
|
+
faraday.response :logger if debug_http
|
61
63
|
faraday.adapter(*faraday_adapter)
|
62
64
|
end
|
63
65
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: travis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.2.travis.
|
4
|
+
version: 1.8.2.travis.722.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Haase
|
@@ -56,7 +56,7 @@ authors:
|
|
56
56
|
autorequire:
|
57
57
|
bindir: bin
|
58
58
|
cert_chain: []
|
59
|
-
date: 2016-01-
|
59
|
+
date: 2016-01-12 00:00:00.000000000 Z
|
60
60
|
dependencies:
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: faraday
|