fukuzatsu 1.0.1 → 1.0.2

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: 6805feb83ef4136fe20602e02e1bde30b48f6422
4
- data.tar.gz: eb8ed00b17515760b7df4d02778d719079c0aec6
3
+ metadata.gz: c6b17ffd41b64f5c738d3e0df7a4fe242d5069dd
4
+ data.tar.gz: 3ccdcfe00c8871eb0206a1a4b875ad7a1f9ebe7d
5
5
  SHA512:
6
- metadata.gz: 80dd25576ef53baa0cd49698edb9a2b91bfbb6875f47392c5f71fe3bb454dd01023a8243708934ab0cbdca855cad0431d2d9c4fae42535728be5e8cd4d3ab1a8
7
- data.tar.gz: 91b91e48fde13609ccf11c2d5652c1390926b2bc7c0c24def9592192e3122bd28792fd52acbd14c02e8e232dd0aec217ba179dcca9311250443f24cfc39aafa5
6
+ metadata.gz: 72fa270771ac11ee8b365421d0df8f4f4491bbdb700ffe4419760a62cdc01231f7a1815128b1a21a91be82e178b1e4113aca3f8a11d5247fc51966e01b9fe1d0
7
+ data.tar.gz: 9e929234e50cef1e99e87ca529534c5684b978fb47fb69b27c74b34967bae8e3d4c88cdc67ada4f82572c705b803bbc167419247dff3eca7ac76c7f2c2951ff3
@@ -6,6 +6,7 @@ module Fukuzatsu
6
6
 
7
7
  attr_reader :start_path, :parsed_files
8
8
  attr_reader :threshold, :formatter
9
+ attr_reader :start_time
9
10
 
10
11
  OUTPUT_DIRECTORY = "doc/fukuzatsu"
11
12
 
@@ -13,15 +14,21 @@ module Fukuzatsu
13
14
  @start_path = path
14
15
  @formatter = formatter
15
16
  @threshold = threshold
17
+ @start_time = Time.now
16
18
  reset_output_directory
17
19
  end
18
20
 
19
21
  def parse_files
20
- @parsed_files = source_files.map{ |path_to_file| parse_source_file(path_to_file) }
22
+ @parsed_files = source_files.map do |path_to_file|
23
+ parse_source_file(path_to_file)
24
+ end
21
25
  end
22
26
 
23
27
  def report
24
- self.parsed_files.each{ |file| formatter.new(file, OUTPUT_DIRECTORY, file.source).export }
28
+ self.parsed_files.each do |file|
29
+ print "."
30
+ formatter.new(file, OUTPUT_DIRECTORY, file.source).export
31
+ end
25
32
  write_report_index
26
33
  report_complexity
27
34
  end
@@ -1,3 +1,3 @@
1
1
  module Fukuzatsu
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fukuzatsu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bantik