rudo 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/dun +3 -6
- data/bin/rad +3 -6
- data/bin/rudo +3 -6
- data/bin/walk +3 -6
- metadata +3 -3
data/bin/dun
CHANGED
@@ -2,14 +2,11 @@
|
|
2
2
|
require 'rudo'
|
3
3
|
require 'trollop'
|
4
4
|
|
5
|
-
|
5
|
+
options = Trollop::options do
|
6
6
|
opt :file_path, "Alternate path to list, default ~/rudo.yml", :default => '~/rudo.yml'
|
7
|
-
end
|
8
|
-
|
9
|
-
print_options = Trollop::options do
|
10
7
|
opt :color, "Print with colors", :default => true
|
11
8
|
end
|
12
9
|
|
13
|
-
r = Rudo.new(
|
10
|
+
r = Rudo.new(options)
|
14
11
|
r.remove(ARGV[0])
|
15
|
-
r.print(
|
12
|
+
r.print(options)
|
data/bin/rad
CHANGED
@@ -2,11 +2,8 @@
|
|
2
2
|
require 'rudo'
|
3
3
|
require 'trollop'
|
4
4
|
|
5
|
-
|
5
|
+
options = Trollop::options do
|
6
6
|
opt :file_path, "Alternate path to list, default ~/rudo.yml", :default => '~/rudo.yml'
|
7
|
-
end
|
8
|
-
|
9
|
-
print_options = Trollop::options do
|
10
7
|
opt :color, "Print with colors", :default => true
|
11
8
|
end
|
12
9
|
|
@@ -16,6 +13,6 @@ rescue
|
|
16
13
|
position = 0
|
17
14
|
end
|
18
15
|
|
19
|
-
r = Rudo.new(
|
16
|
+
r = Rudo.new(options)
|
20
17
|
r.add(ARGV[0], position)
|
21
|
-
r.print(
|
18
|
+
r.print(options)
|
data/bin/rudo
CHANGED
@@ -2,13 +2,10 @@
|
|
2
2
|
require 'rudo'
|
3
3
|
require 'trollop'
|
4
4
|
|
5
|
-
|
5
|
+
options = Trollop::options do
|
6
6
|
opt :file_path, "Alternate path to list, default ~/rudo.yml", :default => '~/rudo.yml'
|
7
|
-
end
|
8
|
-
|
9
|
-
print_options = Trollop::options do
|
10
7
|
opt :color, "Print with colors", :default => true
|
11
8
|
end
|
12
9
|
|
13
|
-
r = Rudo.new(
|
14
|
-
r.print(
|
10
|
+
r = Rudo.new(options)
|
11
|
+
r.print(options)
|
data/bin/walk
CHANGED
@@ -2,16 +2,13 @@
|
|
2
2
|
require 'rudo'
|
3
3
|
require 'trollop'
|
4
4
|
|
5
|
-
|
5
|
+
options = Trollop::options do
|
6
6
|
opt :file_path, "Alternate path to list, default ~/rudo.yml", :default => '~/rudo.yml'
|
7
|
-
end
|
8
|
-
|
9
|
-
print_options = Trollop::options do
|
10
7
|
opt :color, "Print with colors", :default => true
|
11
8
|
end
|
12
9
|
|
13
10
|
steps = ARGV[0] ? Integer(ARGV[0]) : 1
|
14
11
|
|
15
|
-
r = Rudo.new(
|
12
|
+
r = Rudo.new(options)
|
16
13
|
r.walk(steps)
|
17
|
-
r.print(
|
14
|
+
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: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Robert Fletcher
|