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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df7c6571e843b6f2766821cde0c5da49ddadd867
4
- data.tar.gz: 22f4c773d142998b11afb6815a3fc14debe1bcb1
3
+ metadata.gz: 47b37576bb6ac9c337d92fa29e1967320e9ca355
4
+ data.tar.gz: 3e68ee67c57669dcc988ebc90e68a0788661fffc
5
5
  SHA512:
6
- metadata.gz: 0d4f733a4af35ed12e744661c82435b417e34b84f86d31bc7285875ffeee4adb7ebdb7235b568cdfc2eb9f56a34b11afb19119e4574103c720006c29195279e0
7
- data.tar.gz: 7d30831aabd6539b18d273ef4306192cb5afeef95a6a54bf3e31445dd7ea802ebc1ff53c69024a4e0461e47dde8f1257c2c09bec4e2fab1014cd5297f33274ab
6
+ metadata.gz: 38eebd3406dfc95334e81af417ceeb5d0cf1e3d5b20c3122a038ba53d11fc6f2425e169f94ce7e28b64fee00ed31d65e33a238eb4772523457324efd82646e03
7
+ data.tar.gz: a0a96088a883f5f7d8a5d9f93e7aaa7ede84b7419215e1bf6e85459e6e59b1f54c72bc272274edf477461e1cbcf1c9d05953e08cf838b109b49171136d9bff73
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tinyci (0.1.1)
4
+ tinyci (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -94,4 +94,4 @@ DEPENDENCIES
94
94
  yard
95
95
 
96
96
  BUNDLED WITH
97
- 1.16.0.pre.3
97
+ 1.16.2
@@ -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
- # asynchronously to `STDOUT`
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
- Thread.new do
70
- stdout_and_stderr.each_line do |l|
71
- log_info l.chomp
72
- $stdout.flush
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?
@@ -1,3 +1,3 @@
1
1
  module TinyCI
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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-05-09 00:00:00.000000000 Z
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.1\n |___/\n\n"
159
+ \ \n |_||_|_| |_|\\__, \\____/\\____/ 0.1.2\n |___/\n\n"
160
160
  rdoc_options: []
161
161
  require_paths:
162
162
  - lib