booby 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/booby/parser.rb +1 -1
- data/lib/booby/version.rb +1 -1
- data/test/version_test.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: 317f8f4c72fbf3b58a75ef71ae3d9941bc38e5ad
|
4
|
+
data.tar.gz: 9b4904f92a91e3b47c1548b030e9523f655eaaa3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81da5d0c265a7c107f617c1347cd32d83c850244302af33f6f58f0974f8d487353bcd63d1d8a04c742cf60fdd444397e9f0200c8fadb7e6d9c501a6c636f4ee5
|
7
|
+
data.tar.gz: 126f524df6da170f0fe03bebd3909af1b199f743ca99d839c2b61d80866f04272683a84665fc7fd0579b3a08fde666667d06ac94d5dcc74eaaca3afbdcb8b603
|
data/lib/booby/parser.rb
CHANGED
@@ -47,7 +47,7 @@ module Booby
|
|
47
47
|
# Check arity for this command...
|
48
48
|
ar = @__current_processor.class.const_get(:ARITY) rescue nil
|
49
49
|
ar = ar[cmd] if ar
|
50
|
-
ar_int = ar.to_i rescue 0
|
50
|
+
ar_int = (ar.to_i rescue 0)
|
51
51
|
|
52
52
|
if (ar === true && args.empty?) || (ar_int > 0 && args.size != ar_int)
|
53
53
|
raise InvalidNumberOfParametersError.new(ar, args.size, cmd, line_no)
|
data/lib/booby/version.rb
CHANGED
data/test/version_test.rb
CHANGED