hotdog 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ccee00108b31b9154a5f11b031a06955d1b4dd0
4
- data.tar.gz: 23bda8a7a49eddb81abfd3c5e96580715cc9a6ca
3
+ metadata.gz: c443fb84cc5099a3392dea6f932e79c27b5b5610
4
+ data.tar.gz: c784d5bcb03e81dbd1f0216fc4c50b990b74bf12
5
5
  SHA512:
6
- metadata.gz: 322a60fa2690142f3b30d934136e06462c473a4a8be83c6d761783f3a219badc79ae9215b5f4246cb30bc26ac08a365457aca1310d58e8bc64c1faf78f350257
7
- data.tar.gz: 6958e8bc715bda65ff2ad7b86e0068288c76c201661e5d84f97b653564484d2f1e065cddec8e1f367cb4f71a24ed89cfe1c7456287434f0047112266c1bf993a
6
+ metadata.gz: 9b1807bad3b5b7cb16899cf5ec7b5772b62756d1edafe2a626761a0a9bbde061da288ab41f92c0d4afd6812985907f22c43c958a8fd6b864821657d8c56aa3f3
7
+ data.tar.gz: 5cf5137ef2215c81dda324286a7c9b56fc780f330e8bb6f537bad3496843c114adac343277a65eaef776276741a0e4cb1ec1b34b6468349e4444584cb86c2e2f
@@ -37,7 +37,7 @@ module Hotdog
37
37
  stats = Parallel.map(hosts.each_with_index.to_a, in_threads: parallelism(hosts)) { |host, i|
38
38
  cmdline = build_command_string(host, @remote_command, options)
39
39
  identifier = options[:show_identifier] ? host : nil
40
- success = exec_command(identifier, cmdline, index: i, output: true, infile: infile.path)
40
+ success = exec_command(identifier, cmdline, index: i, output: true, infile: (infile ? infile.path : nil))
41
41
  if !success && options[:stop_on_error]
42
42
  raise StopException.new
43
43
  end
@@ -1,3 +1,3 @@
1
1
  module Hotdog
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hotdog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yamashita Yuu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-04 00:00:00.000000000 Z
11
+ date: 2016-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler