dply 0.3.13 → 0.3.14

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
  SHA256:
3
- metadata.gz: 9d8a85119dbe9f5854731c551ab9146abddf533ed8b35aac199b17b798539ef3
4
- data.tar.gz: 74aee7ddd26e28f9c04cdc963e57afb2ddab9d89b3f2d31781d0b6bfa3d72f88
3
+ metadata.gz: 66702354e0f9514545376e7352209f55361c515b21f230a32690c80765badb40
4
+ data.tar.gz: c3be1d471327bb13faa074128238fac03389174b863c4bcd8edcf241e6a2efd7
5
5
  SHA512:
6
- metadata.gz: a5eec12074f2ff867b318a5ff9090e973afb9e89ba4a2596325f3253a3deb919309dc8f7f01bcb6c9d2eb569d282443f96521b29c05d9e03aed4d39bf9f9dc50
7
- data.tar.gz: b97ccee6eb6b76218d2a5bad46d1866cb2a6f809cbd1645bf91fd1da52c83acfa9dddf7536781294c7bad36926986f5b4c93e008ba81128fc1e149485fa7c331
6
+ metadata.gz: acf54863cd10c5450d9e364f69027b17bb479c62f2c397b0abd5a7d85706e7fe77b4d5cd2e73156f4f0b6235ea0541076e86fb3c296af8dc12f090290843e232
7
+ data.tar.gz: c11b4d40139dd83d49e26c9fdeb5c7f1ba9df0d6f89de137f11364d8261ee0e5242caba326d572e88fc9f2f8a7324885252b0091e945eecaea260a7da092a62f
data/lib/dply/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dply
2
- VERSION = "0.3.13"
2
+ VERSION = "0.3.14"
3
3
  end
data/lib/dply/yum.rb CHANGED
@@ -29,7 +29,7 @@ module Dply
29
29
  end
30
30
 
31
31
  def install_command(pkgs)
32
- %w(yum install -y).concat(not_installed pkgs)
32
+ %w(yum -d1 install -y).concat(not_installed pkgs)
33
33
  end
34
34
  end
35
35
  end
@@ -1,5 +1,6 @@
1
1
  require 'dplyr/report'
2
2
  require 'dply/logger'
3
+ require 'dply/error'
3
4
  require 'dplyr/remote_task'
4
5
 
5
6
  module Dplyr
@@ -21,6 +22,7 @@ module Dplyr
21
22
  end
22
23
 
23
24
  def run
25
+ raise Error, "no hosts found" if hosts.empty?
24
26
  if parallel_jobs > 1 && hosts.count > 1
25
27
  run_in_parallel
26
28
  else
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dply
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.13
4
+ version: 0.3.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neeraj
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-14 00:00:00.000000000 Z
11
+ date: 2019-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-elf