yuyi 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.new +1 -1
- data/lib/yuyi/cli.rb +2 -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: 9b2d0229ecf718448e96b1de7428f2e94f12661b
|
4
|
+
data.tar.gz: 7964b1e12e1555e61794ed0df22a2da7cb99b1b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 035894bc26587d0cb71e9b9e73543373b089366484579ca0faa06143b0b7816b7410f2d0838a1be743682e781f49c71d46ef5d1c7c97aea895b526a62f528262
|
7
|
+
data.tar.gz: 91fad596a4751d5e7019cbb55534f4a702decea4995af4b3949fb61020e15c52670fb231d99144396392a4590e2ec506b05586753f5c2ed97a071c85aedb13de
|
data/.new
CHANGED
data/lib/yuyi/cli.rb
CHANGED
@@ -23,7 +23,8 @@ module Yuyi::Cli
|
|
23
23
|
# get the first argument as the command
|
24
24
|
command, *rest = *args
|
25
25
|
|
26
|
-
if
|
26
|
+
# if not an option, assume it is a custom path
|
27
|
+
if command && command[0] != '-'
|
27
28
|
@path = command
|
28
29
|
command, *rest = *rest
|
29
30
|
end
|