Forum: Ruby flog 2.0.0 Released

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ryan D. (Guest)
on 2009-01-21 02:09
(Received via mailing list)
flog version 2.0.0 has been released!

* <http://ruby.sadi.st/>
* <http://rubyforge.org/projects/seattlerb>

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 B.'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.sadi.st/>
* <http://rubyforge.org/projects/seattlerb>
Michael F. (Guest)
on 2009-01-21 06:39
(Received via mailing list)
On Wed, Jan 21, 2009 at 9:07 AM, Ryan D. <removed_email_address@domain.invalid>
wrote:
>
> * 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 D. (Guest)
on 2009-01-21 10:36
(Received via mailing list)
On Jan 20, 2009, at 20:37 , Michael F. 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 F. (Guest)
on 2009-01-21 18:31
(Received via mailing list)
On Wed, Jan 21, 2009 at 5:33 PM, Ryan D. <removed_email_address@domain.invalid>
wrote:
>
> % 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 D. (Guest)
on 2009-01-21 21:14
(Received via mailing list)
On Jan 21, 2009, at 08:27 , Michael F. 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
This topic is locked and can not be replied to.