myimdb 0.3.6 → 0.3.7
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/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