codeobscure 0.1.7.6 → 0.1.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/codeobscure/funclist.rb +5 -5
- data/lib/codeobscure/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b0f889876c6b3ccb59213a51a253d47b60d651486042dd353b64573fbbcf27d
|
4
|
+
data.tar.gz: 2a0b88288dbfbcda9cbba09e47034739ed89bced6fd5fe6a96ec724e41ca638b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 727121579c90158d6890152a808c8b202f0cf40d30eb34835c1e163e0a24f1a8de80444983d93a93233381184b79fa342e94520471a653f6be008bb20c997b57
|
7
|
+
data.tar.gz: da4ebc32fc68357ce79973733027181893c88c9e5cc1f1ce87a4b591262181785f01af80cd181269cde18406442d75ace649911fe60cf561ccc5d86c09df0e97
|
data/lib/codeobscure/funclist.rb
CHANGED
@@ -182,13 +182,13 @@ module FuncList
|
|
182
182
|
file = File.open(funclist_path, "w")
|
183
183
|
file_pathes = []
|
184
184
|
if type == "h" || type == "m"
|
185
|
-
file_pathes = `find #{path} -name "*.#{type}" -d`.split "\n"
|
185
|
+
file_pathes = `find '#{path}' -name "*.#{type}" -d`.split "\n"
|
186
186
|
elsif type == "all"
|
187
|
-
file_pathes += `find #{path} -name "*.h" -d`.split "\n"
|
188
|
-
file_pathes += `find #{path} -name "*.m" -d`.split "\n"
|
187
|
+
file_pathes += `find '#{path}' -name "*.h" -d`.split "\n"
|
188
|
+
file_pathes += `find '#{path}' -name "*.m" -d`.split "\n"
|
189
189
|
end
|
190
|
-
file_pathes += `find #{path} -name "*.storyboard" -d`.split "\n"
|
191
|
-
file_pathes += `find #{path} -name "*.xib" -d`.split "\n"
|
190
|
+
file_pathes += `find '#{path}' -name "*.storyboard" -d`.split "\n"
|
191
|
+
file_pathes += `find '#{path}' -name "*.xib" -d`.split "\n"
|
192
192
|
|
193
193
|
file_pathes.each do |file_path|
|
194
194
|
content = File.read file_path
|
data/lib/codeobscure/version.rb
CHANGED