diff --git a/CHANGELOG.md b/CHANGELOG.md index 38cf424e..d31a74c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ * [CHANGE] Update `parser` to 2.5.0 (by [@joshrpowell][]) * [CHANGE] Update `rainbow` to 3.0 (by [@joshrpowell][]) * [CHANGE] Update `rubocop` to 0.53.0 (by [@joshrpowell][]) +* [BUGFIX] Fix wrong label for churn in the code file template (by [@nbekirov][]) # 3.3.0 / 2017-10-10 [(commits)](https://github.com/whitesmith/rubycritic/compare/v3.2.3...v3.3.0) @@ -229,4 +230,5 @@ [@yuku-t]: https://github.com/yuku-t [@ochagata]: https://github.com/ochagata [@nightscape]: https://github.com/nightscape +[@nbekirov]: https://github.com/nbekirov [@joshrpowell]: https://github.com/joshrpowell diff --git a/lib/rubycritic/generators/html/templates/code_file.html.erb b/lib/rubycritic/generators/html/templates/code_file.html.erb index f09e73ea..d80b27fc 100644 --- a/lib/rubycritic/generators/html/templates/code_file.html.erb +++ b/lib/rubycritic/generators/html/templates/code_file.html.erb @@ -32,7 +32,7 @@
<%= @analysed_module.complexity_per_method %> complexity/method
-
<%= @analysed_module.churn %> loc/method
+
<%= @analysed_module.churn %> churn
<%= @analysed_module.complexity %> complexity