myimdb 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/myimdb-catalogue +6 -2
- data/myimdb.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.7
|
data/bin/myimdb-catalogue
CHANGED
@@ -42,8 +42,12 @@ OptionParser.new do |opts|
|
|
42
42
|
options[:images] = true
|
43
43
|
end
|
44
44
|
|
45
|
+
opts.on("-r", "--recursive", "Generate data on all the directories given in current directory") do
|
46
|
+
options[:recursive] = true
|
47
|
+
end
|
48
|
+
|
45
49
|
if Platform.windows?
|
46
|
-
opts.on("-
|
50
|
+
opts.on("-p", "--rebuild-permissions", "Rebuilds permissions (useful if the icons have been changed manually)") do
|
47
51
|
options[:'rebuild-permissions'] = true
|
48
52
|
end
|
49
53
|
end
|
@@ -65,7 +69,7 @@ if ARGV.empty?
|
|
65
69
|
abort "Source directory required - exiting"
|
66
70
|
end
|
67
71
|
|
68
|
-
file_paths
|
72
|
+
file_paths = options[:recursive] ? Dir["#{ARGV[0]}/*"] : Dir[ARGV[0]]
|
69
73
|
|
70
74
|
|
71
75
|
# helper methods
|
data/myimdb.gemspec
CHANGED