heroku_hatchet 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -0
- data/CHANGELOG.md +4 -0
- data/lib/hatchet/test_run.rb +18 -5
- data/lib/hatchet/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2724cc73ce141dda01c9cb487f5ec17d6aee3aa
|
4
|
+
data.tar.gz: abdf9b2be53bef8b915d37a95813cd900dd9a6d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f9a3853d46f8e7d3d5f223328340bcdad156b5579cc3ab5d5ce54d916b6f0657335ff3a43396d991ad5dcea93585376725e60979e3dc8a1d2fbde0e685a6c5a
|
7
|
+
data.tar.gz: 7864116c20872b21b4b05f5d4f2102f752825c590a40b69184c1dcef3f697fdb48ac570a6c83c4ecd34da4c096d8c39d00a08593483ce4c6d854d17bb58dbbe8
|
data/.travis.yml
CHANGED
@@ -10,3 +10,10 @@ env:
|
|
10
10
|
- HATCHET_RETRIES=3
|
11
11
|
- HATCHET_APP_LIMIT=80
|
12
12
|
- secure: TvpZ0CrIe0FqjyTUOAtVqjHHrtF1esMroa00bYYRBas050/y7ygVpAn9utFZZChgt1PUbM48I01UaQglGxtmXVl3ahQXtPpXlzlwJOlDS09dlZFfLenkv530/pxIlpRtqk4q18gCoLBblXX7RZu3TGt0qds+o8dQrBzL6QifAHs=
|
13
|
+
sudo: false
|
14
|
+
addons:
|
15
|
+
apt:
|
16
|
+
sources:
|
17
|
+
- heroku
|
18
|
+
packages:
|
19
|
+
- heroku-toolbelt
|
data/CHANGELOG.md
CHANGED
data/lib/hatchet/test_run.rb
CHANGED
@@ -80,9 +80,6 @@ module Hatchet
|
|
80
80
|
expects: [201, 200]
|
81
81
|
)
|
82
82
|
|
83
|
-
@setup_stream_url = response["setup_stream_url"]
|
84
|
-
@output_stream_url = response["output_stream_url"]
|
85
|
-
|
86
83
|
@status = response["status"].to_sym
|
87
84
|
end
|
88
85
|
|
@@ -91,8 +88,24 @@ module Hatchet
|
|
91
88
|
end
|
92
89
|
|
93
90
|
def output
|
94
|
-
|
95
|
-
|
91
|
+
test_nodes = excon_request(
|
92
|
+
method: :get,
|
93
|
+
path: "/test-runs/#{@test_run_id}/test-nodes",
|
94
|
+
version: "3.ci",
|
95
|
+
expects: [200]
|
96
|
+
)
|
97
|
+
|
98
|
+
node_output_urls = []
|
99
|
+
test_nodes.each do |test_node|
|
100
|
+
node_output_urls << test_node.fetch("setup_stream_url")
|
101
|
+
node_output_urls << test_node.fetch("output_stream_url")
|
102
|
+
end
|
103
|
+
|
104
|
+
output = String.new
|
105
|
+
node_output_urls.each do |url|
|
106
|
+
output << get_contents_or_whatever(url)
|
107
|
+
end
|
108
|
+
output
|
96
109
|
end
|
97
110
|
|
98
111
|
def wait!
|
data/lib/hatchet/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heroku_hatchet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Schneeman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: platform-api
|