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.

There was a problem

You must be a member of this account.

Activity (RSS)

Sunday, March 29 2009
30 provide matchers for rspec was updated
  • Kevin Rutherford
    • State changed from open to resolved
    by Kevin Rutherford at 10:14 AM

    Resolved at tag v0.3.1.3, except for Dir matchers (see #32).

  • Kevin Rutherford
    Kevin Rutherford commented at 8:56 AM

    Peeled off the Dir part into #32, because it requires a bit of a rethink about design of reports and such.

Added rdoc for the spec matchers http... was committed by Kevin Rutherford at 10:09 AM
32 provide rspec matcher for file lists was updated
  • Kevin Rutherford
    Kevin Rutherford commented at 9:34 AM

    When solved, this should probably also become the implementation of Reek::RakeTask.

  • Kevin Rutherford
    Kevin Rutherford created the ticket at 8:55 AM

    (Via Ashley Moran)

    It would be really nice to have a spec matcher for Dirs and FileLists, such as:

    
    Dir["lib/**/*.rb"].should smell_of(:FeatureEnvy)
    
Saturday, March 28 2009
Added reek matcher for files http://g... was committed by Kevin Rutherford at 8:23 PM
Replaced code_checks by the new rspec... was committed by Kevin Rutherford at 8:23 PM
Renamed the spec matcher to reek http... was committed by Kevin Rutherford at 8:23 PM
Factored out the duplication of creat... was committed by Kevin Rutherford at 8:23 PM
Converted all FeatureEnvy examples to... was committed by Kevin Rutherford at 8:23 PM
Initial refactoring to accommodate rs... was committed by Kevin Rutherford at 8:23 PM
Thursday, March 26 2009
6 Large Class should count ivars was updated
  • Kevin Rutherford
    • Tag changed from feature_request to smell_scope
    by Kevin Rutherford at 10:49 AM
30 provide matchers for rspec was updated
  • Kevin Rutherford
    Kevin Rutherford commented at 9:49 AM

    So I envisage usages such as this:

    
    it 'should recognise different bad names' do
      code = "def x(z) y + z; end"
      code.should smell_of(:UncommunicativeName,...
  • Kevin Rutherford
    Kevin Rutherford commented at 9:44 AM

    Code such as

    
    "def x() y + z; end".should smell_of(:UncommunicativeName, /x/)
    

    would check that the report contained an instance of UncommunicativeName, and ...

  • Kevin Rutherford
    • State changed from new to open
    by Kevin Rutherford at 9:11 AM
  • Kevin Rutherford
    Kevin Rutherford created the ticket at 9:10 AM

    Provide one or matchers for rspec, so that users can write examples such as this:

    
    "def simple?() true; end".should_not smell
    "def x() y + z; end".should sme...
Wednesday, March 25 2009
Removed some unnecessary attr_readers... was committed by Kevin Rutherford at 8:24 PM
29 doesn't cope with :: scoping was updated
More tests for :: scoping [#29 state:... was committed by Kevin Rutherford at 3:52 PM
Parses global :: module names correct... was committed by Kevin Rutherford at 3:12 PM
Tuesday, March 24 2009
26 handle directories as cmdline args was updated
  • Kevin Rutherford
    Kevin Rutherford commented at 4:07 PM

    Yes, I'll add some more factory methods to Source. In a few days...

Monday, March 23 2009
29 doesn't cope with :: scoping was updated
Sunday, March 22 2009
Fixed --help to match behaviour http:... was committed by Kevin Rutherford at 2:12 PM
Fixed manifest http://github.com/kevi... was committed by Kevin Rutherford at 2:07 PM
20 rename 'exceptions' was updated
  • Kevin Rutherford
    • Tag changed from todo to internal, todo
    • State changed from new to resolved
    by Kevin Rutherford at 1:59 PM
25 read source from stdin was updated
Reads source code from $stdin when no... was committed by Kevin Rutherford at 1:58 PM
Friday, March 20 2009
Removed LazyClass Analyser http://git... was committed by Kevin Rutherford at 8:46 PM
Pushed file management into Source ht... was committed by Kevin Rutherford at 8:46 PM
Introduced Source class to represent ... was committed by Kevin Rutherford at 8:46 PM
Wednesday, March 18 2009
Removed samples from the gem http://g... was committed by Kevin Rutherford at 9:07 PM
Fixed git push task to push tags too ... was committed by Kevin Rutherford at 9:07 PM
Tuesday, March 17 2009
29 doesn't cope with :: scoping was updated
  • Kevin Rutherford
    Kevin Rutherford commented at 8:46 PM

    Fixed the scoping of class names in commit e476c5.

Fixed some code smells http://github.... was committed by Kevin Rutherford at 8:42 PM
Fixed :: name scoping for classes htt... was committed by Kevin Rutherford at 8:42 PM
Fixes to the documentation http://git... was committed by Kevin Rutherford at 8:41 PM
Monday, March 16 2009
29 doesn't cope with :: scoping was created
  • Kevin Rutherford
    Kevin Rutherford created the ticket at 8:53 PM

    Code such as

    
    class A::B::C; end
    

    or

    
    def Fred::meth; end
    

    breaks the scoping rules in StopContext

Tuesday, March 10 2009
28 Code convention/"hint" to reduce excessive Feature Envy was updated
Removed hard development depencency o... was committed by Kevin Rutherford at 8:49 PM
Fixed false reports of FeatureEnvy [#... was committed by Kevin Rutherford at 8:49 PM
Sunday, March 08 2009
28 Code convention/"hint" to reduce excessive Feature Envy was updated
  • Kevin Rutherford
    Kevin Rutherford commented at 7:40 PM

    Defect has appeared because recent version of ParseTree now renders local method calls differently.

  • Kevin Rutherford
    • Assigned user set to Kevin Rutherford
    • Tag set to defect
    by Kevin Rutherford at 7:31 PM

    In this case I believe the reports of Feature Envy are all fallacious. This is a defect.

26 handle directories as cmdline args was updated
  • Kevin Rutherford
    Kevin Rutherford commented at 4:11 PM
    
    "app/models".should_not reek
    

    is very sexy. Is

    
    "app/models/**/*.rb".should_not reek
    

    any less so?

  • Kevin Rutherford
    • State changed from new to resolved
    by Kevin Rutherford at 2:26 PM

    Closed, because there are already a couple of viable alternatives.

  • Kevin Rutherford
    Kevin Rutherford commented at 2:25 PM

    In fact this is what Reek 0.2 used to do and I took it out. Let's do some design. If a commandline argument is a directory Reek should look at:

    • all files calle...
  • Kevin Rutherford
    Kevin Rutherford created the ticket at 2:17 PM

    From Ashley Moran, via email:

    "Any chance you could make it take directories?"

25 read source from stdin was updated
  • Kevin Rutherford
    Kevin Rutherford commented at 2:15 PM

    I added the option to treat arguments as source so that tests were easy to write. But on reflection I do prefer the idea of reading from stdin when no files are...

  • Kevin Rutherford
    Kevin Rutherford created the ticket at 2:13 PM

    From Ashley Moran, via email:

    "Not sure I like the way you pass ruby source on the command line. Maybe a separate option would work, eg

    % reek --ruby "def hello...

Saturday, March 07 2009
Fooled flay by masking duplication ht... was committed by Kevin Rutherford at 11:37 PM
Only attempt to find modules and clas... was committed by Kevin Rutherford at 11:37 PM