analyzer 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/analyzer.rb +5 -5
- data/lib/analyzer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27c549d7c66d301b3e7818b389244ed9654a614f
|
4
|
+
data.tar.gz: a39bbd56120c727ee653480dc2f8dc10c4e07ba8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41ce4e1d9270e967ccd87a6771fca815f3dee9d786a7e1f26acc00a5285774f54050b6ba0dd3cf8eae64b1a9302cfbc7d6bd9d539e0f219c670abd6c203d6a19
|
7
|
+
data.tar.gz: c1f23f76d50b8c3b6f03a01391000724aa6997d5db59c7bb18e5356fa28d8d91b6a1d8bd77b5bbbee2f722a21a0207ad881890a7554a728d5821e6593c3b9dee
|
data/lib/analyzer.rb
CHANGED
@@ -38,12 +38,12 @@ class Analyzer
|
|
38
38
|
|
39
39
|
def write_results_for(type, dir)
|
40
40
|
@n.each do |n|
|
41
|
-
if key(src).index(File::SEPARATOR)
|
42
|
-
FileUtils.mkdir_p(File.join(dir, type, n.to_s, File.dirname(key(src))))
|
43
|
-
else
|
44
|
-
FileUtils.mkdir_p(File.join(dir, type, n.to_s))
|
45
|
-
end
|
46
41
|
@test_files.each do |src|
|
42
|
+
if key(src).index(File::SEPARATOR)
|
43
|
+
FileUtils.mkdir_p(File.join(dir, type, n.to_s, File.dirname(key(src))))
|
44
|
+
else
|
45
|
+
FileUtils.mkdir_p(File.join(dir, type, n.to_s))
|
46
|
+
end
|
47
47
|
File.open(File.join(dir, type, n.to_s, key(src)), 'w') do |file|
|
48
48
|
send(:"output_#{type}_results", calculate_results_for(type, File.read(src), n), file)
|
49
49
|
end
|
data/lib/analyzer/version.rb
CHANGED