travis 1.8.1.travis.689.5 → 1.8.1.travis.692.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/travis/client/session.rb +6 -5
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MWNlZjE0NzVhZjBhYzg3N2YzNGNmODVhZTJjNzAzOTQ2ODY3MmZmMA==
4
+ YmM5ZTc3ODVjMjk1ZWU1OGU5YmQxYzZiOTYxYjkzNjJiZjg2NjE2Mw==
5
5
  data.tar.gz: !binary |-
6
- YTIzMzBkZmU3ZDA4YjhhNzYxOTEzN2RjOGRjMWI0YmU3MjdlZjA0ZQ==
6
+ NmUzNzkyMDJlYzM1YzgzNzZmZGE5YmY2YTQ2ZmI1YmQzODI5YWM1OQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZWEyMWMxMzg2OTU1NzQwMzExZTQ2YmE5ZTBkZDg2NzYyZjJhYWM5N2QzMTIx
10
- MjBlNDdmN2E1M2NmNjlkYWMxMGE2ZDlhYTUyZDIxYjdlMTVhZWQ5ZTQwZmQ5
11
- MzFiMjFhMDMxNTRhMzlmM2I3ZjM4NzkyNDk1ZWEyNDdmMDE2NjE=
9
+ OTNkZjQ1MmY3ZWVmMzczMjM4OWJiODJjNmRkYjYxNmRhYzJkMzA1ODkzZmRl
10
+ YWVlZTJmZWExZmY3OTM2YzlhMWFlOGJmYmVjNjdhM2I4M2UyNjM4YTE1OGQx
11
+ YzY1YWZkYjhjODQxNjNjNWQxOWQxNjI1ZDY1ZjU2YjMxYjBlMjU=
12
12
  data.tar.gz: !binary |-
13
- MzZmN2ZkNWUxODU1MThjOWI4NGQ4YTQ2ZTBjZWZmYjRiNzQ4YjYwZWE2NGFl
14
- NThkNjNjNjg2NzU3OTI4MDYxNzEyYWZiMzI4NDNlMGExMzA1NTI1M2UwYjU4
15
- OWY2ZGUzMTViZjc3ZGZjNzdlMDgzNWEwNzM3OTcxYTJiOTdiNjA=
13
+ MWNiZGFlYWViMDRhZjNiODE4NzA4ZDUwODg1NzQ5M2M0YTMyYjA1ZTJhOTFm
14
+ MjEyODE3ZWY4ZWM3ZDcxYTMzYzRiMTc2MGU4ODE2OWVjNzU3NTBiMGJmNjg5
15
+ ZWNjM2M2YTYyZmM3ZDllZThlOWRjYzU2MzdlNmFhZmI0ZTVlMTQ=
@@ -201,11 +201,12 @@ module Travis
201
201
  end
202
202
 
203
203
  def raw(verb, url, *args)
204
- url = url.sub(/^\//, '')
205
- result = instrumented(verb.to_s.upcase, url, *args) do
206
- connection.public_send(verb, url, *args) do |request|
207
- next if request.path !~ /^https?:/ or request.path.start_with? api_endpoint
208
- request.headers.delete("Authorization")
204
+ url = url.sub(/^\//, '')
205
+ result = instrumented(verb.to_s.upcase, url, *args) do
206
+ if url !~ /^https?:/ or url.start_with? api_endpoint
207
+ connection.public_send(verb, url, *args)
208
+ else
209
+ Faraday.public_send(verb, url, *args) { |r| r.headers.delete("Authorization") }
209
210
  end
210
211
  end
211
212
 
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.1.travis.689.5
4
+ version: 1.8.1.travis.692.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
@@ -50,7 +50,7 @@ authors:
50
50
  autorequire:
51
51
  bindir: bin
52
52
  cert_chain: []
53
- date: 2015-07-15 00:00:00.000000000 Z
53
+ date: 2015-08-05 00:00:00.000000000 Z
54
54
  dependencies:
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: faraday