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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YmQzODFlNDlmNDYzYjU4ZmNkMWQ0MDkyZDU3ZDA0YTA4YmMyZWZiYg==
4
+ Zjc0Y2QxZmNmZmEzZDlmMDkwM2FmYzFlMDkzZjAzN2ZjMTkyZjM5Nw==
5
5
  data.tar.gz: !binary |-
6
- NzIwMDdlN2UwYTY5Mzg5ODllNzNiODFmYjMwZDYyZDIwMzljZWQyMA==
6
+ MzhmNDlkOTU3MWQ1OWI2MGYyZGUwMmM0NTBmOTZlY2E3NGVhNWJkOA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDgzNWUwMjRjNGJlZmY2N2YwNDU5NTc4Y2EyODE2MDRlMjAyMTZkMzQyNmRk
10
- MGIyYWI3YmJjNGVhODZjNzE4ZmZmZTFjMWQ5ZDdlODM1MzZmNzVlM2I1YTE3
11
- MDY1MGZmNDUzM2E4MDJjMDY5MzMwMmMxZWRhOGQ1ODE4NTMzMGI=
9
+ MmRkMzMxMWM0M2QyMjI2NDc0ZGU3MTU3NGZiMWEwNGJkMWM5MjVlZWJjMWVi
10
+ ZmIzNjAxYjlhYjQ0MWM4MGFjMWE1NzAwNTUxYTY3ODkxYTMyZWU3NzMwMWQw
11
+ OTdjODY3NDE1MjlmYWUwOTNhMzI5NTQ1YmJiNWI2YzBlMTZiYTY=
12
12
  data.tar.gz: !binary |-
13
- YzlkM2NmYzlkNjE3ODU2MTM3OTVhYTIzNDdjZTgwYzg3OWJmZTQwMTIxNWRh
14
- NzhjNjY5MTU5Y2RhNDliNWNiMzY3ZmE4MDE2OTYwODJlNTUyNjE3MDgxNjE2
15
- MzE2MTQ4MjUwNTk5MTFlZjJiOTZmNzU2MjI2MjdiYWUxOWZjNjk=
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.719.4
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-07 00:00:00.000000000 Z
59
+ date: 2016-01-12 00:00:00.000000000 Z
60
60
  dependencies:
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: faraday