<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -21,6 +21,10 @@ op = OptionParser.new do |opts|
     options[:paths] = list.collect {|l| l.to_s }
   end
   
+  opts.on('-b', '--blame', 'include blame information for methods') do |b|
+    options[:blame] = b
+  end
+  
   opts.on('-v', '--verbose', 'verbosely display progress and errors')  do |v| 
     options[:verbose] = v
   end</diff>
      <filename>bin/flog</filename>
    </modified>
    <modified>
      <diff>@@ -148,7 +148,7 @@ table.report tr.dark {
 &lt;/script&gt;
     &lt;/head&gt;
   &lt;body&gt;&lt;h3&gt;C0 code coverage information&lt;/h3&gt;
-    &lt;p&gt;Generated on Mon Aug 04 22:46:49 -0500 2008 with &lt;a href='http://eigenclass.org/hiki/rcov'&gt;rcov 0.8.1.2&lt;/a&gt;
+    &lt;p&gt;Generated on Mon Aug 04 22:47:04 -0500 2008 with &lt;a href='http://eigenclass.org/hiki/rcov'&gt;rcov 0.8.1.2&lt;/a&gt;
       &lt;/p&gt;
     &lt;hr/&gt;
     &lt;table class='report'&gt;&lt;thead&gt;&lt;tr&gt;&lt;td class='heading'&gt;Name&lt;/td&gt;
@@ -159,9 +159,9 @@ table.report tr.dark {
       &lt;/tr&gt;
     &lt;/thead&gt;
   &lt;tbody&gt;&lt;tr class='light'&gt;&lt;td&gt;TOTAL&lt;/td&gt;
-      &lt;td class='lines_total'&gt;&lt;tt&gt;2870&lt;/tt&gt;
+      &lt;td class='lines_total'&gt;&lt;tt&gt;2914&lt;/tt&gt;
         &lt;/td&gt;
-      &lt;td class='lines_code'&gt;&lt;tt&gt;2500&lt;/tt&gt;
+      &lt;td class='lines_code'&gt;&lt;tt&gt;2536&lt;/tt&gt;
         &lt;/td&gt;
       &lt;td&gt;&lt;table cellspacing='0' cellpadding='0' align='right'&gt;&lt;tr&gt;&lt;td&gt;&lt;tt class='coverage_total'&gt;98.9%&lt;/tt&gt;
               &amp;nbsp;&lt;/td&gt;
@@ -213,9 +213,9 @@ table.report tr.dark {
       &lt;/tr&gt;
     &lt;tr class='light'&gt;&lt;td&gt;&lt;a href='spec-flog_command_spec_rb.html'&gt;spec/flog_command_spec.rb&lt;/a&gt;
         &lt;/td&gt;
-      &lt;td class='lines_total'&gt;&lt;tt&gt;308&lt;/tt&gt;
+      &lt;td class='lines_total'&gt;&lt;tt&gt;352&lt;/tt&gt;
         &lt;/td&gt;
-      &lt;td class='lines_code'&gt;&lt;tt&gt;252&lt;/tt&gt;
+      &lt;td class='lines_code'&gt;&lt;tt&gt;288&lt;/tt&gt;
         &lt;/td&gt;
       &lt;td&gt;&lt;table cellspacing='0' cellpadding='0' align='right'&gt;&lt;tr&gt;&lt;td&gt;&lt;tt class='coverage_total'&gt;100.0%&lt;/tt&gt;
               &amp;nbsp;&lt;/td&gt;</diff>
      <filename>coverage/index.html</filename>
    </modified>
    <modified>
      <diff>@@ -553,7 +553,7 @@ span.run100 {
 &lt;/style&gt;
     &lt;/head&gt;
   &lt;body&gt;&lt;h3&gt;C0 code coverage information&lt;/h3&gt;
-    &lt;p&gt;Generated on Mon Aug 04 22:46:50 -0500 2008 with &lt;a href='http://eigenclass.org/hiki/rcov'&gt;rcov 0.8.1.2&lt;/a&gt;
+    &lt;p&gt;Generated on Mon Aug 04 22:47:04 -0500 2008 with &lt;a href='http://eigenclass.org/hiki/rcov'&gt;rcov 0.8.1.2&lt;/a&gt;
       &lt;/p&gt;
     &lt;hr/&gt;
     &lt;pre&gt;&lt;span class='marked0'&gt;Code reported as executed by Ruby looks like this...</diff>
      <filename>coverage/lib-flog_rb.html</filename>
    </modified>
    <modified>
      <diff>@@ -553,7 +553,7 @@ span.run100 {
 &lt;/style&gt;
     &lt;/head&gt;
   &lt;body&gt;&lt;h3&gt;C0 code coverage information&lt;/h3&gt;
-    &lt;p&gt;Generated on Mon Aug 04 22:46:50 -0500 2008 with &lt;a href='http://eigenclass.org/hiki/rcov'&gt;rcov 0.8.1.2&lt;/a&gt;
+    &lt;p&gt;Generated on Mon Aug 04 22:47:04 -0500 2008 with &lt;a href='http://eigenclass.org/hiki/rcov'&gt;rcov 0.8.1.2&lt;/a&gt;
       &lt;/p&gt;
     &lt;hr/&gt;
     &lt;pre&gt;&lt;span class='marked0'&gt;Code reported as executed by Ruby looks like this...
@@ -571,9 +571,9 @@ span.run100 {
     &lt;/thead&gt;
   &lt;tbody&gt;&lt;tr class='light'&gt;&lt;td&gt;&lt;a href='spec-flog_command_spec_rb.html'&gt;spec/flog_command_spec.rb&lt;/a&gt;
         &lt;/td&gt;
-      &lt;td class='lines_total'&gt;&lt;tt&gt;308&lt;/tt&gt;
+      &lt;td class='lines_total'&gt;&lt;tt&gt;352&lt;/tt&gt;
         &lt;/td&gt;
-      &lt;td class='lines_code'&gt;&lt;tt&gt;252&lt;/tt&gt;
+      &lt;td class='lines_code'&gt;&lt;tt&gt;288&lt;/tt&gt;
         &lt;/td&gt;
       &lt;td&gt;&lt;table cellspacing='0' cellpadding='0' align='right'&gt;&lt;tr&gt;&lt;td&gt;&lt;tt class='coverage_total'&gt;100.0%&lt;/tt&gt;
               &amp;nbsp;&lt;/td&gt;
@@ -905,7 +905,51 @@ span.run100 {
 &lt;/span&gt;&lt;span class=&quot;marked1&quot;&gt;&lt;a name=&quot;line305&quot;&gt;&lt;/a&gt;305       run_command
 &lt;/span&gt;&lt;span class=&quot;inferred0&quot;&gt;&lt;a name=&quot;line306&quot;&gt;&lt;/a&gt;306     end
 &lt;/span&gt;&lt;span class=&quot;inferred1&quot;&gt;&lt;a name=&quot;line307&quot;&gt;&lt;/a&gt;307   end
-&lt;/span&gt;&lt;span class=&quot;inferred0&quot;&gt;&lt;a name=&quot;line308&quot;&gt;&lt;/a&gt;308 end
+&lt;/span&gt;&lt;span class=&quot;inferred0&quot;&gt;&lt;a name=&quot;line308&quot;&gt;&lt;/a&gt;308   
+&lt;/span&gt;&lt;span class=&quot;marked1&quot;&gt;&lt;a name=&quot;line309&quot;&gt;&lt;/a&gt;309   describe 'when -b is specified on the command-line' do
+&lt;/span&gt;&lt;span class=&quot;marked0&quot;&gt;&lt;a name=&quot;line310&quot;&gt;&lt;/a&gt;310     before :each do
+&lt;/span&gt;&lt;span class=&quot;marked1&quot;&gt;&lt;a name=&quot;line311&quot;&gt;&lt;/a&gt;311       Object.send(:remove_const, :ARGV)
+&lt;/span&gt;&lt;span class=&quot;marked0&quot;&gt;&lt;a name=&quot;line312&quot;&gt;&lt;/a&gt;312       ARGV = ['-b']
+&lt;/span&gt;&lt;span class=&quot;inferred1&quot;&gt;&lt;a name=&quot;line313&quot;&gt;&lt;/a&gt;313     end
+&lt;/span&gt;&lt;span class=&quot;inferred0&quot;&gt;&lt;a name=&quot;line314&quot;&gt;&lt;/a&gt;314 
+&lt;/span&gt;&lt;span class=&quot;marked1&quot;&gt;&lt;a name=&quot;line315&quot;&gt;&lt;/a&gt;315     it 'should create a Flog instance' do
+&lt;/span&gt;&lt;span class=&quot;marked0&quot;&gt;&lt;a name=&quot;line316&quot;&gt;&lt;/a&gt;316       Flog.expects(:new).returns(@flog)
+&lt;/span&gt;&lt;span class=&quot;marked1&quot;&gt;&lt;a name=&quot;line317&quot;&gt;&lt;/a&gt;317       run_command
+&lt;/span&gt;&lt;span class=&quot;inferred0&quot;&gt;&lt;a name=&quot;line318&quot;&gt;&lt;/a&gt;318     end
+&lt;/span&gt;&lt;span class=&quot;inferred1&quot;&gt;&lt;a name=&quot;line319&quot;&gt;&lt;/a&gt;319     
+&lt;/span&gt;&lt;span class=&quot;marked0&quot;&gt;&lt;a name=&quot;line320&quot;&gt;&lt;/a&gt;320     it &amp;quot;should set the option to provide 'blame' information&amp;quot; do
+&lt;/span&gt;&lt;span class=&quot;marked1&quot;&gt;&lt;a name=&quot;line321&quot;&gt;&lt;/a&gt;321       Flog.expects(:new).with(:blame =&amp;gt; true).returns(@flog)      
+&lt;/span&gt;&lt;span class=&quot;marked0&quot;&gt;&lt;a name=&quot;line322&quot;&gt;&lt;/a&gt;322       run_command
+&lt;/span&gt;&lt;span class=&quot;inferred1&quot;&gt;&lt;a name=&quot;line323&quot;&gt;&lt;/a&gt;323     end
+&lt;/span&gt;&lt;span class=&quot;inferred0&quot;&gt;&lt;a name=&quot;line324&quot;&gt;&lt;/a&gt;324     
+&lt;/span&gt;&lt;span class=&quot;marked1&quot;&gt;&lt;a name=&quot;line325&quot;&gt;&lt;/a&gt;325     it 'should exit with status 0' do
+&lt;/span&gt;&lt;span class=&quot;marked0&quot;&gt;&lt;a name=&quot;line326&quot;&gt;&lt;/a&gt;326       self.expects(:exit).with(0)
+&lt;/span&gt;&lt;span class=&quot;marked1&quot;&gt;&lt;a name=&quot;line327&quot;&gt;&lt;/a&gt;327       run_command
+&lt;/span&gt;&lt;span class=&quot;inferred0&quot;&gt;&lt;a name=&quot;line328&quot;&gt;&lt;/a&gt;328     end
+&lt;/span&gt;&lt;span class=&quot;inferred1&quot;&gt;&lt;a name=&quot;line329&quot;&gt;&lt;/a&gt;329   end
+&lt;/span&gt;&lt;span class=&quot;inferred0&quot;&gt;&lt;a name=&quot;line330&quot;&gt;&lt;/a&gt;330   
+&lt;/span&gt;&lt;span class=&quot;marked1&quot;&gt;&lt;a name=&quot;line331&quot;&gt;&lt;/a&gt;331   describe 'when --blame is specified on the command-line' do
+&lt;/span&gt;&lt;span class=&quot;marked0&quot;&gt;&lt;a name=&quot;line332&quot;&gt;&lt;/a&gt;332     before :each do
+&lt;/span&gt;&lt;span class=&quot;marked1&quot;&gt;&lt;a name=&quot;line333&quot;&gt;&lt;/a&gt;333       Object.send(:remove_const, :ARGV)
+&lt;/span&gt;&lt;span class=&quot;marked0&quot;&gt;&lt;a name=&quot;line334&quot;&gt;&lt;/a&gt;334       ARGV = ['--blame']
+&lt;/span&gt;&lt;span class=&quot;inferred1&quot;&gt;&lt;a name=&quot;line335&quot;&gt;&lt;/a&gt;335     end
+&lt;/span&gt;&lt;span class=&quot;inferred0&quot;&gt;&lt;a name=&quot;line336&quot;&gt;&lt;/a&gt;336 
+&lt;/span&gt;&lt;span class=&quot;marked1&quot;&gt;&lt;a name=&quot;line337&quot;&gt;&lt;/a&gt;337     it 'should create a Flog instance' do
+&lt;/span&gt;&lt;span class=&quot;marked0&quot;&gt;&lt;a name=&quot;line338&quot;&gt;&lt;/a&gt;338       Flog.expects(:new).returns(@flog)
+&lt;/span&gt;&lt;span class=&quot;marked1&quot;&gt;&lt;a name=&quot;line339&quot;&gt;&lt;/a&gt;339       run_command
+&lt;/span&gt;&lt;span class=&quot;inferred0&quot;&gt;&lt;a name=&quot;line340&quot;&gt;&lt;/a&gt;340     end
+&lt;/span&gt;&lt;span class=&quot;inferred1&quot;&gt;&lt;a name=&quot;line341&quot;&gt;&lt;/a&gt;341     
+&lt;/span&gt;&lt;span class=&quot;marked0&quot;&gt;&lt;a name=&quot;line342&quot;&gt;&lt;/a&gt;342     it &amp;quot;should set the option to provide 'blame' information&amp;quot; do
+&lt;/span&gt;&lt;span class=&quot;marked1&quot;&gt;&lt;a name=&quot;line343&quot;&gt;&lt;/a&gt;343       Flog.expects(:new).with(:blame =&amp;gt; true).returns(@flog)      
+&lt;/span&gt;&lt;span class=&quot;marked0&quot;&gt;&lt;a name=&quot;line344&quot;&gt;&lt;/a&gt;344       run_command
+&lt;/span&gt;&lt;span class=&quot;inferred1&quot;&gt;&lt;a name=&quot;line345&quot;&gt;&lt;/a&gt;345     end
+&lt;/span&gt;&lt;span class=&quot;inferred0&quot;&gt;&lt;a name=&quot;line346&quot;&gt;&lt;/a&gt;346     
+&lt;/span&gt;&lt;span class=&quot;marked1&quot;&gt;&lt;a name=&quot;line347&quot;&gt;&lt;/a&gt;347     it 'should exit with status 0' do
+&lt;/span&gt;&lt;span class=&quot;marked0&quot;&gt;&lt;a name=&quot;line348&quot;&gt;&lt;/a&gt;348       self.expects(:exit).with(0)
+&lt;/span&gt;&lt;span class=&quot;marked1&quot;&gt;&lt;a name=&quot;line349&quot;&gt;&lt;/a&gt;349       run_command
+&lt;/span&gt;&lt;span class=&quot;inferred0&quot;&gt;&lt;a name=&quot;line350&quot;&gt;&lt;/a&gt;350     end
+&lt;/span&gt;&lt;span class=&quot;inferred1&quot;&gt;&lt;a name=&quot;line351&quot;&gt;&lt;/a&gt;351   end
+&lt;/span&gt;&lt;span class=&quot;inferred0&quot;&gt;&lt;a name=&quot;line352&quot;&gt;&lt;/a&gt;352 end
 &lt;/span&gt;&lt;/pre&gt;&lt;hr/&gt;
     &lt;p&gt;Generated using the &lt;a href='http://eigenclass.org/hiki.rb?rcov'&gt;rcov code coverage analysis tool for Ruby&lt;/a&gt;
    version 0.8.1.2.&lt;/p&gt;</diff>
      <filename>coverage/spec-flog_command_spec_rb.html</filename>
    </modified>
    <modified>
      <diff>@@ -553,7 +553,7 @@ span.run100 {
 &lt;/style&gt;
     &lt;/head&gt;
   &lt;body&gt;&lt;h3&gt;C0 code coverage information&lt;/h3&gt;
-    &lt;p&gt;Generated on Mon Aug 04 22:46:51 -0500 2008 with &lt;a href='http://eigenclass.org/hiki/rcov'&gt;rcov 0.8.1.2&lt;/a&gt;
+    &lt;p&gt;Generated on Mon Aug 04 22:47:05 -0500 2008 with &lt;a href='http://eigenclass.org/hiki/rcov'&gt;rcov 0.8.1.2&lt;/a&gt;
       &lt;/p&gt;
     &lt;hr/&gt;
     &lt;pre&gt;&lt;span class='marked0'&gt;Code reported as executed by Ruby looks like this...</diff>
      <filename>coverage/spec-flog_integration_spec_rb.html</filename>
    </modified>
    <modified>
      <diff>@@ -553,7 +553,7 @@ span.run100 {
 &lt;/style&gt;
     &lt;/head&gt;
   &lt;body&gt;&lt;h3&gt;C0 code coverage information&lt;/h3&gt;
-    &lt;p&gt;Generated on Mon Aug 04 22:46:52 -0500 2008 with &lt;a href='http://eigenclass.org/hiki/rcov'&gt;rcov 0.8.1.2&lt;/a&gt;
+    &lt;p&gt;Generated on Mon Aug 04 22:47:06 -0500 2008 with &lt;a href='http://eigenclass.org/hiki/rcov'&gt;rcov 0.8.1.2&lt;/a&gt;
       &lt;/p&gt;
     &lt;hr/&gt;
     &lt;pre&gt;&lt;span class='marked0'&gt;Code reported as executed by Ruby looks like this...</diff>
      <filename>coverage/spec-flog_spec_rb.html</filename>
    </modified>
    <modified>
      <diff>@@ -553,7 +553,7 @@ span.run100 {
 &lt;/style&gt;
     &lt;/head&gt;
   &lt;body&gt;&lt;h3&gt;C0 code coverage information&lt;/h3&gt;
-    &lt;p&gt;Generated on Mon Aug 04 22:46:52 -0500 2008 with &lt;a href='http://eigenclass.org/hiki/rcov'&gt;rcov 0.8.1.2&lt;/a&gt;
+    &lt;p&gt;Generated on Mon Aug 04 22:47:06 -0500 2008 with &lt;a href='http://eigenclass.org/hiki/rcov'&gt;rcov 0.8.1.2&lt;/a&gt;
       &lt;/p&gt;
     &lt;hr/&gt;
     &lt;pre&gt;&lt;span class='marked0'&gt;Code reported as executed by Ruby looks like this...</diff>
      <filename>coverage/spec-spec_helper_rb.html</filename>
    </modified>
    <modified>
      <diff>@@ -305,4 +305,48 @@ describe 'flog command' do
       run_command
     end
   end
+  
+  describe 'when -b is specified on the command-line' do
+    before :each do
+      Object.send(:remove_const, :ARGV)
+      ARGV = ['-b']
+    end
+
+    it 'should create a Flog instance' do
+      Flog.expects(:new).returns(@flog)
+      run_command
+    end
+    
+    it &quot;should set the option to provide 'blame' information&quot; do
+      Flog.expects(:new).with(:blame =&gt; true).returns(@flog)      
+      run_command
+    end
+    
+    it 'should exit with status 0' do
+      self.expects(:exit).with(0)
+      run_command
+    end
+  end
+  
+  describe 'when --blame is specified on the command-line' do
+    before :each do
+      Object.send(:remove_const, :ARGV)
+      ARGV = ['--blame']
+    end
+
+    it 'should create a Flog instance' do
+      Flog.expects(:new).returns(@flog)
+      run_command
+    end
+    
+    it &quot;should set the option to provide 'blame' information&quot; do
+      Flog.expects(:new).with(:blame =&gt; true).returns(@flog)      
+      run_command
+    end
+    
+    it 'should exit with status 0' do
+      self.expects(:exit).with(0)
+      run_command
+    end
+  end
 end
\ No newline at end of file</diff>
      <filename>spec/flog_command_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>12bee7e5a6b11703fab9406e44f2d1ae537bc5a6</id>
    </parent>
  </parents>
  <author>
    <name>Rick Bradley</name>
    <email>rick@rickbradley.com</email>
  </author>
  <url>http://github.com/flogic/flame/commit/c48c9c8d897a46a8ce40a9c75d52c89504afa6aa</url>
  <id>c48c9c8d897a46a8ce40a9c75d52c89504afa6aa</id>
  <committed-date>2008-08-03T17:37:25-07:00</committed-date>
  <authored-date>2008-08-03T17:37:25-07:00</authored-date>
  <message>Added -b/--blame option to the command-line script.</message>
  <tree>7ed801fc1a3baadf29392fb506fdf3ab9ff0612c</tree>
  <committer>
    <name>Rick Bradley</name>
    <email>rick@rickbradley.com</email>
  </committer>
</commit>
