tinyci 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/tinyci/subprocesses.rb +5 -6
- data/lib/tinyci/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47b37576bb6ac9c337d92fa29e1967320e9ca355
|
4
|
+
data.tar.gz: 3e68ee67c57669dcc988ebc90e68a0788661fffc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38eebd3406dfc95334e81af417ceeb5d0cf1e3d5b20c3122a038ba53d11fc6f2425e169f94ce7e28b64fee00ed31d65e33a238eb4772523457324efd82646e03
|
7
|
+
data.tar.gz: a0a96088a883f5f7d8a5d9f93e7aaa7ede84b7419215e1bf6e85459e6e59b1f54c72bc272274edf477461e1cbcf1c9d05953e08cf838b109b49171136d9bff73
|
data/Gemfile.lock
CHANGED
data/lib/tinyci/subprocesses.rb
CHANGED
@@ -51,7 +51,7 @@ module TinyCI
|
|
51
51
|
end
|
52
52
|
|
53
53
|
# Synchronously execute a command as a subprocess and and stream the output
|
54
|
-
#
|
54
|
+
# to `STDOUT`
|
55
55
|
#
|
56
56
|
# @param [Array<String>] command The command line
|
57
57
|
# @param [String] label A label for debug and logging purposes
|
@@ -66,11 +66,10 @@ module TinyCI
|
|
66
66
|
Open3.popen2e(command.join(' '), opts) do |stdin, stdout_and_stderr, wait_thr|
|
67
67
|
stdin.close
|
68
68
|
|
69
|
-
|
70
|
-
stdout_and_stderr.
|
71
|
-
|
72
|
-
|
73
|
-
end
|
69
|
+
until stdout_and_stderr.closed? || stdout_and_stderr.eof?
|
70
|
+
line = stdout_and_stderr.gets
|
71
|
+
log_info line.chomp
|
72
|
+
$stdout.flush
|
74
73
|
end
|
75
74
|
|
76
75
|
unless wait_thr.value.success?
|
data/lib/tinyci/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tinyci
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Davies
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -156,7 +156,7 @@ metadata:
|
|
156
156
|
allowed_push_host: https://rubygems.org
|
157
157
|
post_install_message: " _____ _ _____ _____\n/__ (_)_ __ _ _ /
|
158
158
|
___/ /_ _/\n | || | '_ \\| | | |/ / / /\n | || | | | | |_| / /___/\\/ /_
|
159
|
-
\ \n |_||_|_| |_|\\__, \\____/\\____/ 0.1.
|
159
|
+
\ \n |_||_|_| |_|\\__, \\____/\\____/ 0.1.2\n |___/\n\n"
|
160
160
|
rdoc_options: []
|
161
161
|
require_paths:
|
162
162
|
- lib
|