You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to metr...@googlegroups.com
I'm pretty excited about the increased contributions from others, the improvement in code quality, and how we're getting closer to 5.0; making it pluggable https://github.com/metricfu/metric_fu/issues/113
Scratch directory no longer dependent on generator class name. Saikuro works again! (Benjamin Fleischer, #141)
Misc
Metric scratch directory now set via Metricrun_options[:output_directory] || MetricFu::Io::FileSystem.scratch_directory(metric) (Benjamin Fleischer, #141)
Add --debug-info command line switch to get debug info for Issues. (calveto, #118)
Fixes
Return valid line locations for code with either no AST or nil nodes (Benjamin Fleischer, #137)
Only use FakeFS on MRI. Avoid intermittent failures on JRuby or Rubinius (Benjamin Fleischer, #135)
Hotspots no longer serialize actual classes to YAML. (Benjamin Fleischer, #128)
Misc
Extract SexpNode class from LineNumbers to handle Sexp Processing (Benjamin Fleischer, #137)
Separate out Hotspot ranked problem location and misc code improvements (Benjamin Fleischer, #128)
Identify directories with code to analyze by checking if they exist. (No longer use :rails? as a proxy for checking if we should run on 'app'). (George Erickson, #129)
Remove a lot of dead code (Benjamin Fleischer, #77)
MetricFu 4.4.0 / 2013-08-15
Features
Metrics now configure themselves in a subclass of MetricFu::Metric ( Benjamin Fleischer / Robin Curry #91, #111)
Metrics can be configured individually via Metric.configuration.configure_metric(:some_metric) or Metric.configuration.configure_metrics {|metric| }. See .metrics file for examples ( Benjamin Fleischer / Robin Curry #91, #111)
Distinguish between an activated metric library and an enabled metric.
An enabled metric will be run.
An activated metric has had its library successfully required. (Benjamin Fleischer #125)
Code Statistics metrics always runs now, relies on the code_metrics gem extracted from Rails. Does not shell out. ( Benjamin Fleischer, #108 )
Rails Best Practices report now provides a link to the description and solution of the problem (Calveto #117)
Rails Best Practices now runs as a library. It is no longer shelled out. (Calveto #117)
Update flog to ~> 4.1.1, this is needed to use keyword parameters in ruby 2. (George Erickson, #122)
Fixes
Skip reek when no files are found to run against. Otherwise, reek hangs trying to read from STDIN (Benjamin Fleischer, #119, #121)
Reek will now find files on Windows. Remove *nix-specific '/' directory separators from Reek file glob. (Benjamin Fleischer, #119, #121)
Link to correct reek url on report. (Calveto #116)
Hack to accomodate Rails Best Practices dependency Code Analyzer monkey patch of Sexp (Benjamin Fleischer #123, #124)
Misc
Moved environmental concerns into an Environment module ( Benjamin Fleischer / Robin Curry #91, #111)
Exposed RubyParser patch ( Benjamin Fleischer / Robin Curry #91, #111)
Separated out io / filesystem /templating concerns into their own classes or modules. Thus, we removed all the metaprogrammatically defined methods and instance variables.( Benjamin Fleischer / Robin Curry #91, #111, #112, #115)
Generator subclasses can now be found by metric name. MetricFu::Generator.get_generator(:flog) (Benjamin Fleischer, #126)