kommand 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kommand/scripts/script.rb +1 -1
- data/lib/kommand/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c93514c50147c756e6f34a4df0abd8e4e6b3b46
|
4
|
+
data.tar.gz: 96585365c341cf167ef613f1bb4e6c0784c2a87e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6542a0fe4fdbf15aa9580a4bc2d959152da03e90e9ead5b0dd45e999cd1043aef310a31ff54a0bafa67f0f0439dfa0f7bd2da4237fdd3b64f6757dcf4c11ed2b
|
7
|
+
data.tar.gz: ea0071ccd76f4021d989e7bd87e65ce998f3c5a6a72a9b9d1bbec3e636a8f0544de53e87a8bb4f17c182d12ff7e5ff8b553ad5bdd26cbde500868fa33d26c5a5
|
@@ -76,7 +76,7 @@ module Kommand
|
|
76
76
|
|
77
77
|
# swap key/val to create an unnamed arg - if next argument is a valid flag we must be
|
78
78
|
# a standalone argument
|
79
|
-
if a
|
79
|
+
if (!args[a+1] || valid_argument?(args[a+1])) && (argv.nil? || argv.empty?) && !Commands::exists?(arg)
|
80
80
|
argv = argk
|
81
81
|
argk = nil
|
82
82
|
end
|
data/lib/kommand/version.rb
CHANGED