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.
- checksums.yaml +8 -8
- data/lib/travis/client/session.rb +6 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmM5ZTc3ODVjMjk1ZWU1OGU5YmQxYzZiOTYxYjkzNjJiZjg2NjE2Mw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NmUzNzkyMDJlYzM1YzgzNzZmZGE5YmY2YTQ2ZmI1YmQzODI5YWM1OQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTNkZjQ1MmY3ZWVmMzczMjM4OWJiODJjNmRkYjYxNmRhYzJkMzA1ODkzZmRl
|
10
|
+
YWVlZTJmZWExZmY3OTM2YzlhMWFlOGJmYmVjNjdhM2I4M2UyNjM4YTE1OGQx
|
11
|
+
YzY1YWZkYjhjODQxNjNjNWQxOWQxNjI1ZDY1ZjU2YjMxYjBlMjU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
205
|
-
result
|
206
|
-
|
207
|
-
|
208
|
-
|
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.
|
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-
|
53
|
+
date: 2015-08-05 00:00:00.000000000 Z
|
54
54
|
dependencies:
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: faraday
|