blower 4.5 → 4.6

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: 72aaddf083b8cb10bb0b1b564a0f76af7c44d711
4
- data.tar.gz: '013882caa7d9b709f5c1d3097d6aa5eb7192d700'
3
+ metadata.gz: 79e96973d020612b20933bb5d08a5b0b82e2c1de
4
+ data.tar.gz: 37683b25be0777820a0c2bb1d74f8bec2799caff
5
5
  SHA512:
6
- metadata.gz: d703c6084adc479cd8658b46b195cf55bfb68a61d9ca39659981bb6324242b13c09598955ec2492fac0fd9a985b012fee665f0368de45a8c39026ff198e0113a
7
- data.tar.gz: 59d9093e0d975bc95d469fb78be17d233fef8c3c6f376ae628ed56b7555b43fba8a65201ee033d85062a8793d834fb00f06f7eaf1064be942125b7232930fcef
6
+ metadata.gz: 331772a9141a5a58107c4002b248e9b7d5cea5e16931578dc9e91a8954393ce4fcfb81ea1ce575984ca4c96229fa29dbe862ce4625691bd64053474b306eeecc
7
+ data.tar.gz: 98256c7a32c6221eb34dd702cd52b7c97371d3bffbbe17f0bf979ecd01f0bbc0becdaf31f22d25b3e2eb692ee95b39ab1ac46404977dd92ca322ee395b67e848
@@ -306,7 +306,7 @@ module Blower
306
306
 
307
307
  def each (hosts = self.hosts, serial: false)
308
308
  fail "No hosts" if hosts.empty?
309
- if serial
309
+ if false
310
310
  [hosts].flatten.each do |host|
311
311
  yield host
312
312
  end
data/lib/blower/host.rb CHANGED
@@ -174,7 +174,9 @@ module Blower
174
174
  via.gateway.ssh(address, user)
175
175
  else
176
176
  log.debug "Connecting to ssh:#{self}"
177
- Net::SSH.start(address, user)
177
+ Timeout.timeout(5) do
178
+ Net::SSH.start(address, user)
179
+ end
178
180
  end
179
181
  end
180
182
  end
@@ -1,3 +1,3 @@
1
1
  module Blower
2
- VERSION = "4.5"
2
+ VERSION = "4.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blower
3
3
  version: !ruby/object:Gem::Version
4
- version: '4.5'
4
+ version: '4.6'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Baum
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-05 00:00:00.000000000 Z
11
+ date: 2017-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh
@@ -116,9 +116,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  version: '0'
117
117
  requirements: []
118
118
  rubyforge_project:
119
- rubygems_version: 2.5.2
119
+ rubygems_version: 2.6.10
120
120
  signing_key:
121
121
  specification_version: 4
122
122
  summary: Really simple server orchestration
123
123
  test_files: []
124
- has_rdoc: