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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9d9ae340ebde5c58a6443316f36e1c26752f4614
4
- data.tar.gz: 0cb0c16415a6de251e2c836e2063d6bf40ec61ed
3
+ metadata.gz: 60dcb7450d8b087f7b2e63e62f6185196df581b0
4
+ data.tar.gz: 207d051116f7559f62d8d91f6288bebf2262f492
5
5
  SHA512:
6
- metadata.gz: c7574429770ae432b3d82b505cc1f24eae15dccd4e8b8cac6a615ddb87247d369d0472506f3a15bdc07942fa0811481907fcb13807f605bdb24202b56bf6530a
7
- data.tar.gz: a9d04375884d559c22ccc37902fe973aaf56e81642eb511708ec58bc9cd6002635fcb0557e16ef3e4531a1957a1c54d8fb7d2cd97c46651375e548404f7852c4
6
+ metadata.gz: 496e6aa5c16f6eb9d9c8e40e3ada1b78922e290fcb116ae716e38ff34b2d86bcd047ea0f61b63312dbac41c3ece3210a16b9e30e5c34c8b88794d46ec67a62df
7
+ data.tar.gz: bdf8f9a2ecdd4312e724040d7dfbc39cda985cfdc56d4fc0d44321ec4f3eba878db6df5be6179b84a5bee143019e150ee39828cad3f99f425f7a629609acbbd4
@@ -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.join(" && ") if Array === command
27
- command = "#{switch}#{command}"
26
+ command = [command] unless Array === command
27
+ command = command.map { |cmd| "#{switch}#{cmd}" }.join(" && ")
28
28
 
29
29
  [env, command]
30
30
  end
@@ -1,3 +1,3 @@
1
1
  module WWTD
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: wwtd
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
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-29 00:00:00.000000000 Z
11
+ date: 2015-04-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: michael@grosser.it