<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,73 +1,92 @@
-rubychecker - runs checks on a Ruby interpreter
 
-USAGE: rubychecker.sh [OPTIONS]
+RUBYCHECKER - RUNS CHECKS ON A RUBY INTERPRETER
+===============================================
 
-OPTIONS:
-    -t tag
-        Name of interpreter to use when naming reports, e.g., &quot;p111&quot; or
-        &quot;svn12345&quot;. Defaults to &quot;current&quot;.
+USAGE
+-----
+  rubychecker.rb [options] [suite or suites to run]
 
-    -v
-        Displays version number and quits.
 
-    -C
-        Skip checkouts
+OPTIONS
+-------
+  * -t TAG
+    A tag to include in the filenames of the reports, e.g., a tag of
+    &quot;p111&quot; may create report files like &quot;rspec_1.1.4_with_p111.log&quot;
+  * -v
+    Displays version information and exits.
+  * -h
+    Displays this help information and exits.
+  * -f
+    Freshens existing checkouts (git pull, svn update, etc).
+  * -p
+    Prepares dependencies and exits without running checks.
 
-    -S
-        Skip all preparations that can be skipped
 
-BASIC EXAMPLE:
-    # Runs test suites against the &quot;ruby&quot; interpreter in your current
-    # shell's PATH and records them to the &quot;reports&quot; directory:
+BASIC EXAMPLE
+-------------
+  # Runs test suites against the &quot;ruby&quot; interpreter in your current
+  # shell's PATH and records them to the &quot;reports&quot; directory:
 
-    ./rubychecker.sh
+  ./rubychecker.rb
 
-COMPLETE EXAMPLE:
-    # Download, compile and check a Ruby interpreter from SVN:
 
-    rubysvn=$PWD/cache/ruby
-    rubytmp=$PWD/tmp/ruby
-    export PATH=$rubytmp/bin:$PATH
-    mkdir -p cache
-    svn co http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6 $rubysvn
-    pushd $rubysvn
-        autoconf
-        ./configure --prefix=$rubytmp &amp;&amp; make &amp;&amp; make install
-    popd
-    ./rubychecker.sh -t svn186
+COMPLEX EXAMPLE
+---------------
+  # Download, compile and check a Ruby interpreter from SVN:
+
+  rubysvn=$PWD/cache/ruby
+  rubytmp=$PWD/tmp/ruby
+  export PATH=$rubytmp/bin:$PATH
+  mkdir -p cache
+  svn co http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6 $rubysvn
+  pushd $rubysvn
+      autoconf
+      ./configure --prefix=$rubytmp &amp;&amp; make &amp;&amp; make install
+  popd
+  ./rubychecker.rb -t svn186
+
 
 DEPENDENCIES:
-    - ruby
-    - ruby headers
-    - complete build environment, e.g., gcc, make, etc
-    - bash
-    - grep
-    - git
-    - svn
-    - unzip
-    - MySQL headers
-    - SQLite3 headers
-    - MySQL server
-        You'll need to login as DBA and run:
-          CREATE DATABASE activerecord_unittest;
-          CREATE DATABASE activerecord_unittest2;
-          CREATE DATABASE actionwebservice_unittest;
-          CREATE USER 'rails'@'localhost' IDENTIFIED BY PASSWORD '';
-          GRANT ALL ON activerecord_unittest.* TO 'rails'@'localhost';
-          GRANT ALL ON activerecord_unittest2.* TO 'rails'@'localhost';
-          GRANT ALL ON actionwebservice_unittest.* TO 'rails'@'localhost';
-          FLUSH PRIVILEGES;
+-------------
+  * ruby
+  * ruby headers
+  * complete build environment, e.g., gcc, make, etc
+  * grep
+  * git
+  * svn
+  * unzip
+  * MySQL headers
+  * SQLite3 headers
+  * MySQL server
+      You'll need to login as DBA and run:
+        CREATE DATABASE activerecord_unittest;
+        CREATE DATABASE activerecord_unittest2;
+        CREATE DATABASE actionwebservice_unittest;
+        CREATE USER 'rails'@'localhost' IDENTIFIED BY PASSWORD '';
+        GRANT ALL ON activerecord_unittest.* TO 'rails'@'localhost';
+        GRANT ALL ON activerecord_unittest2.* TO 'rails'@'localhost';
+        GRANT ALL ON actionwebservice_unittest.* TO 'rails'@'localhost';
+        FLUSH PRIVILEGES;
+
 
 WHAT DOESN'T WORK YET:
-    - Any OS other than UNIX
-    - Any Ruby interpreter other than MRI 1.8
+----------------------
+  * Any OS other than UNIX
+  * Any Ruby interpreter other than MRI 1.8
+
+
+SOURCE CODE:
+------------
+  http://github.com/igal/rubychecker
 
-SOURCE CODE: 
-    http://github.com/igal/rubycheck_sh
 
 ISSUE TRACKER:
-    http://code.google.com/p/rubychecker
-    
+--------------
+  http://code.google.com/p/rubychecker
+
+
 LICENSE:
-    This program is provided under the same license as Ruby:
-        http://www.ruby-lang.org/en/LICENSE.txt
+--------
+  This program is provided under the same license as Ruby:
+    http://www.ruby-lang.org/en/LICENSE.txt
+</diff>
      <filename>README.txt</filename>
    </modified>
    <modified>
      <diff>@@ -4,7 +4,7 @@
 #
 # == USAGE
 #
-#   rubychecker.sh [options] [suite or suites to run]
+#   rubychecker.rb [options] [suite or suites to run]
 #
 # == OPTIONS
 #
@@ -46,7 +46,6 @@
 #   * ruby
 #   * ruby headers
 #   * complete build environment, e.g., gcc, make, etc
-#   * bash
 #   * grep
 #   * git
 #   * svn
@@ -71,7 +70,7 @@
 #
 # == SOURCE CODE:
 #
-#   http://github.com/igal/rubycheck_sh
+#   http://github.com/igal/rubychecker
 #
 # == ISSUE TRACKER:
 #
@@ -330,6 +329,11 @@ if __FILE__ == $0
 
   targets.concat(ARGV)
 
+  if targets.first == &quot;README.txt&quot;
+    system &quot;'#{__FILE__}' --help &gt; README.txt&quot;
+    exit 0
+  end
+
   rc.prepare
   rc.check(*targets) unless prepare_only
 end</diff>
      <filename>rubychecker.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>rubychecker.sh</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>3de2e7e2b2553b032b2e7ebfa7dfec8849fc429e</id>
    </parent>
  </parents>
  <author>
    <name>Igal Koshevoy</name>
    <email>igal@pragmaticraft.com</email>
  </author>
  <url>http://github.com/igal/rubychecker/commit/e71dc942b52bb0ea8f0cc15f6619aef87b21652b</url>
  <id>e71dc942b52bb0ea8f0cc15f6619aef87b21652b</id>
  <committed-date>2008-07-04T10:32:29-07:00</committed-date>
  <authored-date>2008-07-04T10:32:29-07:00</authored-date>
  <message>Forked code for Ruby-only version</message>
  <tree>888e100e123039b215b25a6798c36b71141dfe0d</tree>
  <committer>
    <name>Igal Koshevoy</name>
    <email>igal@pragmaticraft.com</email>
  </committer>
</commit>
