rudo 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/dun +7 -1
- metadata +3 -3
data/bin/dun
CHANGED
@@ -7,6 +7,12 @@ options = Trollop::options do
|
|
7
7
|
opt :color, "Print with colors", :default => true
|
8
8
|
end
|
9
9
|
|
10
|
+
begin
|
11
|
+
selection = Integer(ARGV[0]) - 1
|
12
|
+
rescue
|
13
|
+
selection = ARGV[0]
|
14
|
+
end
|
15
|
+
|
10
16
|
r = Rudo.new(options)
|
11
|
-
r.remove(
|
17
|
+
r.remove(selection)
|
12
18
|
r.print(options)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rudo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Robert Fletcher
|