Skip to content

Commit

Permalink
Commenting out stats
Browse files Browse the repository at this point in the history
  • Loading branch information
thesp0nge committed Dec 16, 2015
1 parent c6cbba2 commit 58ddd79
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions Changelog.md
Expand Up @@ -7,6 +7,11 @@ frameworks.

_latest update: Thu Dec 3 18:29:33 CET 2015_

## Version 1.5.2 - codename: Tow Mater (2015-12-16)

* Back on issue #170. Engine.rb still requires code metrics stuff. Commented
out.

## Version 1.5.1 - codename: Tow Mater (2015-12-09)

* Issue #170 - Error with code_metrics library cause Dawn to exit. Stats are
Expand Down
14 changes: 7 additions & 7 deletions lib/dawn/engine.rb
@@ -1,5 +1,5 @@
# Statistics stuff
require 'code_metrics/statistics'
# require 'code_metrics/statistics'

module Dawn
module Engine
Expand Down Expand Up @@ -425,11 +425,11 @@ def _do_apply(check)
true
end

def gather_statistics
dirs = CodeMetrics::StatsDirectories.new
puts target
dirs.add_directories("#{target}/**/*.rb", "#{target}")
puts CodeMetrics::Statistics.new(*dirs).to_s
end
# def gather_statistics
# dirs = CodeMetrics::StatsDirectories.new
# puts target
# dirs.add_directories("#{target}/**/*.rb", "#{target}")
# puts CodeMetrics::Statistics.new(*dirs).to_s
# end
end
end

0 comments on commit 58ddd79

Please sign in to comment.