<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>test/data/verbose/Rakefile</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -15,6 +15,8 @@
 * Fixed the silent option parsing problem.
   (http://onestepback.org/redmine/issues/show/47)
 
+* Fixed :verbose=&gt;false flag on sh and ruby commands.  
+
 == Version 0.8.7
 
 * Fixed EXEEXT for JRuby on windows.</diff>
      <filename>CHANGES</filename>
    </modified>
    <modified>
      <diff>@@ -37,9 +37,9 @@ module FileUtils
         ok or fail &quot;Command failed with status (#{status.exitstatus}): [#{show_command}]&quot;
       }
     end
-    if RakeFileUtils.verbose_flag == :default
+    if RakeFileUtils.verbose_flag == :default &amp;&amp; options[:verbose].nil?
       options[:verbose] = true
-    else
+    elsif options[:verbose].nil?
       options[:verbose] ||= RakeFileUtils.verbose_flag
     end
     options[:noop]    ||= RakeFileUtils.nowrite_flag</diff>
      <filename>lib/rake/file_utils.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@
 
 module Tags
   PROG = ENV['TAGS'] || 'ctags'
-  RUBY_FILES = FileList['**/*.rb']
+  RUBY_FILES = FileList['**/*.rb'].exclude('sys.rb')
   RUBY_FILES.include('**/*.rake')
 end
 </diff>
      <filename>rakelib/tags.rake</filename>
    </modified>
    <modified>
      <diff>@@ -163,6 +163,55 @@ class SessionBasedTests &lt; Test::Unit::TestCase
     assert_match %r{invalid +option}i, @err
   end
 
+  def test_inline_verbose_default_should_show_command
+    in_environment(&quot;PWD&quot; =&gt; &quot;test/data/verbose&quot;) do
+      rake &quot;inline_verbose_default&quot;
+    end
+    assert_match(/ruby -e/, @err)
+  end
+
+  def test_inline_verbose_true_should_show_command
+    in_environment(&quot;PWD&quot; =&gt; &quot;test/data/verbose&quot;) do
+      rake &quot;inline_verbose_true&quot;
+    end
+    assert_match(/ruby -e/, @err)
+  end
+
+  def test_inline_verbose_false_should_not_show_command
+    in_environment(&quot;PWD&quot; =&gt; &quot;test/data/verbose&quot;) do
+      rake &quot;inline_verbose_false&quot;
+    end
+    assert_no_match(/ruby -e/, @err)
+  end
+
+  def test_block_verbose_false_should_not_show_command
+    in_environment(&quot;PWD&quot; =&gt; &quot;test/data/verbose&quot;) do
+      rake &quot;block_verbose_false&quot;
+    end
+    assert_no_match(/ruby -e/, @err)
+  end
+
+  def test_block_verbose_true_should_show_command
+    in_environment(&quot;PWD&quot; =&gt; &quot;test/data/verbose&quot;) do
+      rake &quot;block_verbose_true&quot;
+    end
+    assert_match(/ruby -e/, @err)
+  end
+
+  def test_standalone_verbose_true_should_show_command
+    in_environment(&quot;PWD&quot; =&gt; &quot;test/data/verbose&quot;) do
+      rake &quot;standalone_verbose_true&quot;
+    end
+    assert_match(/ruby -e/, @err)
+  end
+
+  def test_standalone_verbose_false_should_not_show_command
+    in_environment(&quot;PWD&quot; =&gt; &quot;test/data/verbose&quot;) do
+      rake &quot;standalone_verbose_false&quot;
+    end
+    assert_no_match(/ruby -e/, @err)
+  end
+
   def test_dry_run
     in_environment(&quot;PWD&quot; =&gt; &quot;test/data/default&quot;) do rake &quot;-n&quot;, &quot;other&quot; end
     assert_match %r{Execute \(dry run\) default}, @out</diff>
      <filename>test/functional/session_based_tests.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>762e6c5c6d3350c2719b29eb3b4be909b6363492</id>
    </parent>
  </parents>
  <author>
    <name>Jim Weirich</name>
    <email>jim.weirich@gmail.com</email>
  </author>
  <url>http://github.com/jimweirich/rake/commit/6afd6faeee1c39868748f2b8f001e6d627919b49</url>
  <id>6afd6faeee1c39868748f2b8f001e6d627919b49</id>
  <committed-date>2009-05-24T19:45:48-07:00</committed-date>
  <authored-date>2009-05-24T19:45:48-07:00</authored-date>
  <message>Fixed problem with :verbose=&gt;false in sh and ruby commands
(http://onestepback.org/redmine/issues/show/52).
Updated tests to cover all scenarios.</message>
  <tree>d862c1d6ef612fc53ff68d5268e5d1d9c23abcc2</tree>
  <committer>
    <name>Jim Weirich</name>
    <email>jim.weirich@gmail.com</email>
  </committer>
</commit>
