MetricFu v4.11.0 Release Notes
Release Date: 2014-05-04 // almost 10 years ago-
- ๐ Features
- There is now a
MetricFu.logger
with standard available configurations. The oldmf_debug
andmf_log
main mixin is presevered. Needs documentation. See #113. (Benjamin Fleischer, a49bfdd182) - Use launchy (new dependency) when opening output files. (Nick Veys, #224)
- Coverage formatter now behaves like SimpleCov; it ignores certain lines in calculating the precent run. Fixes #153, #222 (Benjamin Fleischer, #226).
- Thanks to @crv for the test in #153
- Note: JRuby will usually report different Coverage from MRI. This is a known issue.
- Note: This technically is a breaking change from how RCov works. But wwe don't run RCov anymore. (65bf21723291f)
- There is now a
- ๐ Fixes
- Ensure paths with spaces don't cause the open command to fail (Nick Veys, #220)
- Read in source files for annotation in BINARY mode to avoid encoding errors. (Benjamin Fleischer, #216)
- Start SimpleCov before any MetricFu code is loaded. Coverage isn't tracked on already-loaded code. (Benjamin Fleischer, cca659f7d48d3f6799)
- Remove unused/invalid Flay param 'filetypes'. Closes #151. (Benjamin Fleischer, 5973595f51c)
- Misc
- Document ENV variables the may fix encoding exceptions. (Mike Szyndel, #217)
- Begin adding shared tests for metrics and configuration. Test fenced-codeblock matching. (Benjamin Fleischer, #221)
- Reorganize the application file layout. Still more to be done. (Benjamin Fleischer, #223)
- Rename AwesomeTemplate to MetricFu::Templates::MetricsTemplate. (Benjamin Fleischer, 55c52afd95d78)
- Rename ReekHotspot to MetricFu::ReekHotspot. Was missing namespace. (Benjamin Fleischer, a3aa70c1a9)
- Allow failures for Ruby 2.1, in addition to rbx per issues with rvm. (Benjamin Fleischer, 3018b22)
spec/quality_spec.rb
checks for whitespace, tabs, quotes, etc.rake spec
also checks for warnings. (Benjamin Fleischer, b0c51bb9b17)- When run with COVERAGE=true, will ouptut a file to
coverage/coverage_percent.txt
that can be checked viarake check_code_coverage
. Borrowed from VCR. (Benjamin Fleischer, 32df3a34c6)
- ๐ Features