Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Kevin Rutherford's latest activity

Sunday, April 05 2009
Builds now auto-check the manifest ht... was committed by Kevin Rutherford at 12:22 PM
34 Stop class_eval/instance_eval being counted as a nested iterator was updated in reek
  • Kevin Rutherford
    Kevin Rutherford commented at 8:13 AM

    Can you simply extract the outer block's body into a new method?

  • Kevin Rutherford
    • Assigned user set to Kevin Rutherford
    by Kevin Rutherford at 7:50 AM
35 Need config file example for long method was updated in reek
Friday, April 03 2009
Expunged Hoe completely http://github... was committed by Kevin Rutherford at 10:16 AM
Simplified deployment tasks further h... was committed by Kevin Rutherford at 10:16 AM
Detached rake from hoe http://github.... was committed by Kevin Rutherford at 10:16 AM
33 Allow matching on number of smell instances was updated in reek
  • Kevin Rutherford
    Kevin Rutherford commented at 7:53 AM

    There is already another way to do what you want:

    
    dir = Dir['lib/**/*.rb'].to_source
    dir.report.should have_at_most(85).smells
    

    Not quite so sugary, perhap...

Thursday, April 02 2009
33 Allow matching on number of smell instances was updated in reek
  • Kevin Rutherford
    Kevin Rutherford commented at 2:27 PM

    Cool -- I'm on it this weekend. One smell tweak, while we're sketching code:

    
    # specific classes or directories that we've cleaned up completely
    [
      NewClas...
  • Kevin Rutherford
    Kevin Rutherford commented at 2:04 PM

    I'm quite reluctant to add numerical theshholds for smells. But here's an alternative thought:

    
    require 'my_class'
    
    describe MyClass do
      it 'reports no co...