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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzA1M2M0MjAyMTg2NzJlYjFlYTJlYmYzMzgyYTJlMmJhZDQzMDZiZg==
4
+ NjMyNDRiMmE0ODBkNjU1ZWU0ZDEwNzRmODgzNmM5YWI2ZTUwMGQ1OQ==
5
5
  data.tar.gz: !binary |-
6
- ZTEzMjExZTgwYjlkMjQ2ZDY1MmIyY2E5NDg4ODFjZmYyM2MyYTZmYw==
6
+ Mjc0MjYxNmEzZGEzZGRkZjYyNDM5YmUyOTAyODM5MzNjYzQxNWE3Yw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MGNmMTQxOWFmMjZmNDc4ZjM5YmNiYmY0MGY3NmNmZDg2NzMzYmZkZWIzYjRj
10
- ZjlmNTQwNGQ4NDYxNTJmMWUyMDI3ZjczNTg4YzllMTFhYjgzMzY2Yzg3ODFl
11
- NGFlYzE1NDcwMjAzNjVhMjY1MzE1ODQ3ZTkyZGEzNjkzNTMwMjY=
9
+ NzEyNTMwYjlkNzk4NjA2ZDE3Y2NkMzhkMzlmZGE4MGY1YTZhNjg5MzcyMDIz
10
+ YjBiYjQwMTE5MTNhOTRlOWZiM2YzYTI3ZTBmZjkwOGI5NjQyMGZiNmNjNDcz
11
+ ODhiZmQ2NGE3OWEyMDkyNzVhYTZhMDcxZjE3MTI3ZmNkMTI2M2I=
12
12
  data.tar.gz: !binary |-
13
- ZDQ5YzIwZjgwYjY4YzliZDE1MWJlYTBhYzMwY2YyODcwZGMzYzVkZWM1OTJm
14
- MjhkNGZjZDNiZmU1NDBmZTNlMzIxMjJlODMyYjdhZDM5MWIwMGNmNGMyMTFh
15
- YzM3MmZlMTFkNjBjZGUzZGQyZTgwYjkwYWFkZDBhMGQ2MzFjYmY=
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
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.7.6.travis.675.5
4
+ version: 1.7.6.travis.676.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase