wwtd 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 +4 -4
- data/lib/wwtd/run.rb +2 -2
- data/lib/wwtd/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60dcb7450d8b087f7b2e63e62f6185196df581b0
|
4
|
+
data.tar.gz: 207d051116f7559f62d8d91f6288bebf2262f492
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 496e6aa5c16f6eb9d9c8e40e3ada1b78922e290fcb116ae716e38ff34b2d86bcd047ea0f61b63312dbac41c3ece3210a16b9e30e5c34c8b88794d46ec67a62df
|
7
|
+
data.tar.gz: bdf8f9a2ecdd4312e724040d7dfbc39cda985cfdc56d4fc0d44321ec4f3eba878db6df5be6179b84a5bee143019e150ee39828cad3f99f425f7a629609acbbd4
|
data/lib/wwtd/run.rb
CHANGED
@@ -23,8 +23,8 @@ module WWTD
|
|
23
23
|
def env_and_command
|
24
24
|
default_command = (wants_bundle? ? "bundle exec rake" : "rake")
|
25
25
|
command = config["script"] || default_command
|
26
|
-
command = command
|
27
|
-
command = "#{switch}#{
|
26
|
+
command = [command] unless Array === command
|
27
|
+
command = command.map { |cmd| "#{switch}#{cmd}" }.join(" && ")
|
28
28
|
|
29
29
|
[env, command]
|
30
30
|
end
|
data/lib/wwtd/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wwtd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: michael@grosser.it
|