<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>README.txt</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,7 @@
+== 0.2.3 2009-05-18
+* add STDERR redirection for the rdoc and ri checks, throwing funky errors when
+  there is no TTY
+
 == 0.2.0 2009-04-27
 * Fixed the broken refs to opts as a Hash, no really this time. Thanks cohesive
 </diff>
      <filename>History.txt</filename>
    </modified>
    <modified>
      <diff>@@ -51,6 +51,11 @@ BANNER
           &quot;Default: off&quot;) { |opt| options[:force] = opt }
   opts.on(&quot;-h&quot;, &quot;--help&quot;,
           &quot;Show this help message&quot;) { puts opts; exit }
+  opts.on(&quot;-v&quot;, &quot;--version&quot;,
+          &quot;Display the version&quot;) {
+            puts &quot;#{File.basename($0)} #{GemTools::VERSION::STRING}&quot;
+            exit
+          }
   opts.parse!(ARGV)
 
   if MANDATORY_OPTIONS &amp;&amp; MANDATORY_OPTIONS.find { |option| options[option.to_sym].nil? }</diff>
      <filename>bin/gemtools</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,8 @@
 $:.unshift(File.dirname(__FILE__)) unless
   $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
 
+require 'gem_tools/version'
+
 module GemTools
   extend self
 
@@ -77,8 +79,8 @@ module GemTools
     unless gems.nil?
       docs = ''
       unless OPTIONS.has_key?(:docs)
-        docs &lt;&lt; '--no-rdoc ' unless (`rdoc --version`).nil?
-        docs &lt;&lt; '--no-ri ' unless (`ri --version`).nil?
+        docs &lt;&lt; '--no-rdoc ' unless (`rdoc --version 2&gt; /dev/null`).nil?
+        docs &lt;&lt; '--no-ri ' unless (`ri --version 2&gt; /dev/null`).nil?
       end
 
       gem_command = config['gem_command'] || 'gem'</diff>
      <filename>lib/gem_tools.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@ module GemTools
   module VERSION #:nodoc:
     MAJOR = 0
     MINOR = 2
-    TINY  = 2
+    TINY  = 3
 
     STRING = [MAJOR, MINOR, TINY].join('.')
   end</diff>
      <filename>lib/gem_tools/version.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>87b91d902b753bb4c4da82660058301cb042a89b</id>
    </parent>
  </parents>
  <author>
    <name>Michael Moen</name>
    <email>michael@underpantsgnome.com</email>
  </author>
  <url>http://github.com/UnderpantsGnome/gem_tools-gem/commit/fdc7b343b7518e3a4c9e229ac0ffe022539a2717</url>
  <id>fdc7b343b7518e3a4c9e229ac0ffe022539a2717</id>
  <committed-date>2009-05-18T15:17:01-07:00</committed-date>
  <authored-date>2009-05-18T15:17:01-07:00</authored-date>
  <message>add error redirection when checking for rdoc and ri. add a -v/--version option</message>
  <tree>e9664337781932c92a3d09ce8a8158a3de8bab8e</tree>
  <committer>
    <name>Michael Moen</name>
    <email>michael@underpantsgnome.com</email>
  </committer>
</commit>
