Skip to content

Commit

Permalink
Merge pull request #33 from kerrizor/fix-missing-stats-bug
Browse files Browse the repository at this point in the history
Use class names rather than objects as metrics_hash keys
  • Loading branch information
kerrizor committed Jul 7, 2014
2 parents de00b1e + 946a599 commit 8de32b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/turbulence.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def calculate_metrics_with(calculator)

calculator.for_these_files(files_of_interest) do |filename, score|
report "."
set_file_metric(filename, calculator, score)
set_file_metric(filename, calculator.class, score)
end

report "\n"
Expand Down

0 comments on commit 8de32b9

Please sign in to comment.