# Flog 2.0.0 Released

**URL:** <https://www.ruby-forum.com/t/flog-2-0-0-released/158243>\
**Category:** Ruby\
**Created:** [January 21, 2009, 1:09am UTC](https://www.ruby-forum.com/t/flog-2-0-0-released/158243 "2009-01-21T01:09:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aguynamedryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Post date:** [January 21, 2009, 1:09am UTC](https://www.ruby-forum.com/t/flog-2-0-0-released/158243/1 "2009-01-21T01:09:46Z")

</div>

flog version 2.0.0 has been released!

- [http://ruby.sadi.st/](http://ruby.sadi.st/)
- [http://rubyforge.org/projects/seattlerb](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:

- 1 minor enhancement:

- 1 bug fix:

- [http://ruby.sadi.st/](http://ruby.sadi.st/)

- [http://rubyforge.org/projects/seattlerb](http://rubyforge.org/projects/seattlerb)

---

<div class="post-metadata">

**Author:** ![aguynamedryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Post date:** [January 21, 2009, 5:39am UTC](https://www.ruby-forum.com/t/flog-2-0-0-released/158243/2 "2009-01-21T05:39:38Z")

</div>

On Wed, Jan 21, 2009 at 9:07 AM, Ryan D. [removed\_email\_address@domain.invalid](mailto: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

---

<div class="post-metadata">

**Author:** ![aguynamedryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Post date:** [January 21, 2009, 9:36am UTC](https://www.ruby-forum.com/t/flog-2-0-0-released/158243/3 "2009-01-21T09:36:15Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![aguynamedryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Post date:** [January 21, 2009, 5:31pm UTC](https://www.ruby-forum.com/t/flog-2-0-0-released/158243/4 "2009-01-21T17:31:16Z")

</div>

On Wed, Jan 21, 2009 at 5:33 PM, Ryan D. [removed\_email\_address@domain.invalid](mailto: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

---

<div class="post-metadata">

**Author:** ![aguynamedryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Post date:** [January 21, 2009, 8:14pm UTC](https://www.ruby-forum.com/t/flog-2-0-0-released/158243/5 "2009-01-21T20:14:34Z")

</div>

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! 😛
