clint 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/clint.rb +1 -1
- data/man/man7/clint.7.gz +0 -0
- metadata +3 -3
data/lib/clint.rb
CHANGED
@@ -158,7 +158,7 @@ class Clint
|
|
158
158
|
usage
|
159
159
|
exit 1
|
160
160
|
end
|
161
|
-
instance = klass.new(
|
161
|
+
instance = klass.new(*@args.slice!(0, arity))
|
162
162
|
if instance.public_methods(false).include? subcommand.to_s
|
163
163
|
arity = instance.method(subcommand).arity
|
164
164
|
if @args.length != arity && -@args.length - 1 != arity
|
data/man/man7/clint.7.gz
CHANGED
Binary file
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 5
|
9
|
+
version: 0.1.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Richard Crowley
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-03-
|
17
|
+
date: 2010-03-09 00:00:00 +00:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|