fidoci 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fidoci/env.rb +5 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2aaa3751f85c4bad189bd011b7fafd58caf5a839
4
- data.tar.gz: adabdb607b4062cf30158723c105a0ffb5c2ce9c
3
+ metadata.gz: 4bce75e47c05500d05e24af15709150706a42f90
4
+ data.tar.gz: ae815d985f0171b7f97ed9d197016faf81cabe61
5
5
  SHA512:
6
- metadata.gz: 6a74e5251cd2fe9edb85c937887fc06384861bcfd7481cb4f236a879e4e87f8e0dc3446508e8e751fb228a137ee95edbfb42330e6fb2ec9c9cdc1ec7040245bb
7
- data.tar.gz: f8bb5cff8857d5c391c225cd67a54cd44e78a96bc304192da49f4065b175922b1460ad630e3139acb8c5f3bef5f08489ed12107e77c349f1a7ac17776f59a008
6
+ metadata.gz: 98efcdb84683dc94f85b72f9e08746271a77cc7547048802658c8c1f072083d5765fe396f3ce02ff538b8f4ab93e9b12e5c3792506fdf4f8791ec6a8765b97f7
7
+ data.tar.gz: cb7a72cdeb65c7ddf38fe36adabc572f4f53e85e3dbab2592442269c3cbbab2850758ee1b2c7cc4fbfe3f00db991d07514e1837226a1b59edfebb4fe23950bd0
data/lib/fidoci/env.rb CHANGED
@@ -355,7 +355,11 @@ module Fidoci
355
355
  success = env_config['commands'].all? { |command|
356
356
  info "Running `#{command}`..."
357
357
 
358
- state = cmd(*command.split(/\s+/))
358
+ unless command.is_a? Array
359
+ command = command.split(/\s+/)
360
+ end
361
+
362
+ state = cmd(*command)
359
363
  info "Exited with state #{state}"
360
364
 
361
365
  state == 0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fidoci
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas Dolezal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-14 00:00:00.000000000 Z
11
+ date: 2015-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docker-api