travis 1.7.6.travis.675.5 → 1.7.6.travis.676.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/artifact.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjMyNDRiMmE0ODBkNjU1ZWU0ZDEwNzRmODgzNmM5YWI2ZTUwMGQ1OQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Mjc0MjYxNmEzZGEzZGRkZjYyNDM5YmUyOTAyODM5MzNjYzQxNWE3Yw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzEyNTMwYjlkNzk4NjA2ZDE3Y2NkMzhkMzlmZGE4MGY1YTZhNjg5MzcyMDIz
|
10
|
+
YjBiYjQwMTE5MTNhOTRlOWZiM2YzYTI3ZTBmZjkwOGI5NjQyMGZiNmNjNDcz
|
11
|
+
ODhiZmQ2NGE3OWEyMDkyNzVhYTZhMDcxZjE3MTI3ZmNkMTI2M2I=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjI1MWUzYWQyMDdmM2JmYzYzNzAwYzNiZGViYmNmNDAxZmExYzAyYTU2ZDJh
|
14
|
+
ZjljYWJhYjVjOGRjZWU3YWM0ZWUzZTIyMjViYjRlNWU1N2YzMDQ5NGVkNGE4
|
15
|
+
NGM4NjMzZTNmOThiYjJhYTc1YTVkNzAyMzQ3OGNmMmY1YzY2N2M=
|
@@ -6,6 +6,7 @@ module Travis
|
|
6
6
|
module Client
|
7
7
|
class Artifact < Entity
|
8
8
|
CHUNKED = "application/json; chunked=true; version=2, application/json; version=2"
|
9
|
+
TEXT = "#{CHUNKED}, text/plain"
|
9
10
|
|
10
11
|
# @!parse attr_reader :job_id, :type, :body
|
11
12
|
attributes :job_id, :type, :body
|
@@ -38,7 +39,7 @@ module Travis
|
|
38
39
|
attributes['current_body'] ||= begin
|
39
40
|
body = load_attribute('body')
|
40
41
|
if body.to_s.empty?
|
41
|
-
log = session.get_raw("jobs/#{job_id}/log")
|
42
|
+
log = session.get_raw("jobs/#{job_id}/log", nil, "Accept" => TEXT)
|
42
43
|
body = String === log ? log : log['log']['body']
|
43
44
|
end
|
44
45
|
body
|