[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] flog 2.0.0 Released

Ryan Davis

1/21/2009 12:08:00 AM


flog version 2.0.0 has been released!

* <http://ruby.sa...
* <http://rubyforge.org/projects/sea...

Flog reports the most tortured code in an easy to read pain
report. The higher the score, the more pain the code is in.

Changes:

### 2.0.0 / 2009-01-20

* 1 major enhancement:

* Pulled in and merged Rick Bradley's awesome flame project into
flog.

* 1 minor enhancement:

* Added gauntlet plugin

* 1 bug fix:

* "hugh sasse".split(/\s/).map{|x|x.capitalize}.join(" ") # :-)

* <http://ruby.sa...
* <http://rubyforge.org/projects/sea...


4 Answers

Michael Fellinger

1/21/2009 4:38:00 AM

0

On Wed, Jan 21, 2009 at 9:07 AM, Ryan Davis <ryand-ruby@zenspider.com> wrote:
>
> flog version 2.0.0 has been released!
>
> * <http://ruby.sa...
> * <http://rubyforge.org/projects/sea...
>
> Flog reports the most tortured code in an easy to read pain
> report. The higher the score, the more pain the code is in.
>
> Changes:
>
> ### 2.0.0 / 2009-01-20
>
> * 1 major enhancement:
>
> * Pulled in and merged Rick Bradley's awesome flame project into flog.
>
> * 1 minor enhancement:
>
> * Added gauntlet plugin
>
> * 1 bug fix:
>
> * "hugh sasse".split(/\s/).map{|x|x.capitalize}.join(" ") # :-)

Seems like the invocation changed. I cannot use `flog -s` or `flog -h` anymore.

^ manveru

Ryan Davis

1/21/2009 8:34:00 AM

0


On Jan 20, 2009, at 20:37 , Michael Fellinger wrote:

> Seems like the invocation changed. I cannot use `flog -s` or `flog -
> h` anymore.

Can you show me the error you're seeing? I'm not seeing it.

% gem list | grep flog
flog (2.0.0)

% flog -s lib
Total Flog = 940.1 (15.9 flog / method)


Michael Fellinger

1/21/2009 4:28:00 PM

0

On Wed, Jan 21, 2009 at 5:33 PM, Ryan Davis <ryand-ruby@zenspider.com> wrote:
>
> On Jan 20, 2009, at 20:37 , Michael Fellinger wrote:
>
>> Seems like the invocation changed. I cannot use `flog -s` or `flog -h`
>> anymore.
>
> Can you show me the error you're seeing? I'm not seeing it.
>
> % gem list | grep flog
> flog (2.0.0)
>
> % flog -s lib
> Total Flog = 940.1 (15.9 flog / method)
>
>
>

Sorry, was a problem on my side... there was still a /usr/bin/flog left.
On to the next:

sigma ~/c/innate % flog -s lib
/home/manveru/.gems/gems/flog-2.0.0/lib/flog.rb:88: warning: method
redefined; discarding old average
/home/manveru/.gems/gems/flog-2.0.0/lib/flog.rb:292: warning: method
redefined; discarding old total
Total Flog = 2168.8 (7.4 flog / method)

No bug, just not beautiful.

^ manveru

Ryan Davis

1/21/2009 7:11:00 PM

0


On Jan 21, 2009, at 08:27 , Michael Fellinger wrote:

> sigma ~/c/innate % flog -s lib
> /home/manveru/.gems/gems/flog-2.0.0/lib/flog.rb:88: warning: method
> redefined; discarding old average
> /home/manveru/.gems/gems/flog-2.0.0/lib/flog.rb:292: warning: method
> redefined; discarding old total
> Total Flog = 2168.8 (7.4 flog / method)
>
> No bug, just not beautiful.

yeah. I get that too... I'll fix that up today. You'd think flay would
have pointed that out! :P