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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8fb0fb59f3145abbaeab802ce468a15cbf1214e
4
- data.tar.gz: '0393fee23d438cf798b58377dc4c343d93b68291'
3
+ metadata.gz: 27c549d7c66d301b3e7818b389244ed9654a614f
4
+ data.tar.gz: a39bbd56120c727ee653480dc2f8dc10c4e07ba8
5
5
  SHA512:
6
- metadata.gz: 8eb288fa41b20c782ba7c35e609d0f236bfd756955fd687cc7a141b5edfe43037c8f1c909c2bf94986d6afb88aa9bdad5744ea5877ae8dbe6af46dfe6617ef98
7
- data.tar.gz: 607a33b0ad3834e613718ec5d4aae8bb57e003dc1f1de00f9b0e584a120201981735a8c5c9420bd178376836b732346183321693b9c912722acf737a23260cb9
6
+ metadata.gz: 41ce4e1d9270e967ccd87a6771fca815f3dee9d786a7e1f26acc00a5285774f54050b6ba0dd3cf8eae64b1a9302cfbc7d6bd9d539e0f219c670abd6c203d6a19
7
+ data.tar.gz: c1f23f76d50b8c3b6f03a01391000724aa6997d5db59c7bb18e5356fa28d8d91b6a1d8bd77b5bbbee2f722a21a0207ad881890a7554a728d5821e6593c3b9dee
@@ -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
@@ -1,3 +1,3 @@
1
1
  class Analyzer
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: analyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Bracy