<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,4 @@
 pkg
 .DS_Store
 config/*.yml
-*.tmproj
\ No newline at end of file
+*.tmproj</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,9 @@
+== 1.0.0 2008-06-23
+
+* Added doctest: and doctest_require: special directives.
+* Bug fixes.
+* Documentation and wiki.
+
 == 0.3.0 2008-06-17
 
 * Added ability to put doctest code within .rb file comments</diff>
      <filename>History.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,13 +1,21 @@
 #!/usr/bin/env ruby
 
-if ARGV.empty?
+options, files = ARGV.partition{ |a| a =~ /^-/ }
+
+if ARGV.empty? or options.include?(&quot;-h&quot;) or options.include?(&quot;--help&quot;)
+  require 'rubydoctest/version'
   puts &lt;&lt;-DIRECTIONS
-  USAGE: rubydoctest [options] &lt;files&gt;
+Ruby DocTest #{Rubydoctest::VERSION::STRING}
+USAGE: rubydoctest [options] &lt;files&gt;
   
   rubydoctest parses Ruby files (.rb) or DocTest files (.doctest) for irb-style
   sessions in comments, and runs the commented sessions as tests.
   
   Options:
+    General:
+      --help  - show this usage / help information
+      -t&lt;n&gt;   - only run test number n, e.g. -t1 -t3
+    
     Output Format:
       --html  - output in HTML format
       --plain - force output in plain text (no Ansi colors)
@@ -22,14 +30,15 @@ if ARGV.empty?
   exit 0
 end
 
-options, files = ARGV.partition{ |a| a =~ /^--/ }
-
 requires = ['rubygems', File.dirname(__FILE__) + &quot;/../lib/rubydoctest&quot;]
 requires &lt;&lt; 'ruby-debug' if options.include?(&quot;--debugger&quot;)
 ruby_lines = []
 ruby_lines &lt;&lt; &quot;RubyDocTest.trace = true;&quot; if options.include?(&quot;--trace&quot;)
 ruby_lines &lt;&lt; &quot;RubyDocTest.ignore_interactive = true;&quot; if options.include?(&quot;--ignore-interactive&quot;)
 
+tests = options.map{ |o| o =~ /^-t(\d+)/; $1 }.compact
+ruby_lines &lt;&lt; &quot;RubyDocTest.tests = #{tests.inspect};&quot; if tests.size &gt; 0
+
 requires = requires.map {|lib| &quot;require '#{lib}'; &quot;}.join
 
 def files_runner(command, files, requires, lines)</diff>
      <filename>bin/rubydoctest</filename>
    </modified>
    <modified>
      <diff>@@ -7,7 +7,7 @@ require &quot;runner&quot;
 module RubyDocTest
   
   class &lt;&lt; self
-    attr_accessor :trace, :ignore_interactive
+    attr_accessor :trace, :ignore_interactive, :tests
     attr_writer :output_format
     
     def output_format</diff>
      <filename>lib/rubydoctest.rb</filename>
    </modified>
    <modified>
      <diff>@@ -117,14 +117,14 @@ module RubyDocTest
     
     def run
       prepare_tests
-      newline = &quot;\n       &quot;
+      newline = &quot;\n           &quot;
       everything_passed = true
       puts &quot;=== Testing '#{@file_name}'...&quot;
       ok, fail, err = 0, 0, 0
-      @tests.each do |t|
+      @tests.each_with_index do |t, index|
         if SpecialDirective === t and t.name == &quot;!!!&quot;
           start_irb unless RubyDocTest.ignore_interactive
-        else
+        elsif RubyDocTest.tests.nil? or RubyDocTest.tests.include?(index + 1)
           begin
             if t.pass?
               ok += 1
@@ -151,6 +151,7 @@ module RubyDocTest
               :yellow)
           end
           puts \
+            &quot;#{((index + 1).to_s + &quot;.&quot;).ljust(3)} &quot; +
             &quot;#{format_color(*status)} | &quot; +
             &quot;#{t.description.split(&quot;\n&quot;).join(newline)}&quot; +
             (detail ? newline + detail : &quot;&quot;)</diff>
      <filename>lib/runner.rb</filename>
    </modified>
    <modified>
      <diff>@@ -31,6 +31,16 @@
 				3 = { name = 'keyword.ruby.doctest'; };
 			};
 			patterns = (
+				{
+					begin = '^([ \t]*(#)\s+)';
+					end = '\n';
+					captures = {
+						2 = { name = 'comment.line.number-sign.ruby'; };
+					};
+					patterns = (
+						{ include = 'source.ruby.rails'; }
+					);
+				},
 				{ include = 'source.ruby.rails'; }
 			);
 		},</diff>
      <filename>textmate/DocTest (Ruby).textmate</filename>
    </modified>
    <modified>
      <diff>@@ -5,7 +5,7 @@
   &lt;link rel=&quot;stylesheet&quot; href=&quot;stylesheets/screen.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
   &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
   &lt;title&gt;
-      rubydoctest
+      Ruby DocTest
   &lt;/title&gt;
   &lt;script src=&quot;javascripts/rounded_corners_lite.inc.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
 &lt;style&gt;
@@ -30,7 +30,7 @@
 &lt;body&gt;
 &lt;div id=&quot;main&quot;&gt;
 
-    &lt;h1&gt;rubydoctest&lt;/h1&gt;
+    &lt;h1&gt;Ruby DocTest&lt;/h1&gt;
     &lt;div id=&quot;version&quot; class=&quot;clickable&quot; onclick='document.location = &quot;http://rubyforge.org/projects/rubydoctest&quot;; return false'&gt;
       &lt;p&gt;Get Version&lt;/p&gt;
       &lt;a href=&quot;http://rubyforge.org/projects/rubydoctest&quot; class=&quot;numbers&quot;&gt;1.0.0&lt;/a&gt;
@@ -41,82 +41,35 @@
 	&lt;h2&gt;What&lt;/h2&gt;
 
 
-	&lt;h2&gt;Installing&lt;/h2&gt;
-
-
-	&lt;p&gt;&lt;pre class='syntax'&gt;&lt;span class=&quot;ident&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;ident&quot;&gt;gem&lt;/span&gt; &lt;span class=&quot;ident&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;ident&quot;&gt;rubydoctest&lt;/span&gt;&lt;/pre&gt;&lt;/p&gt;
+	&lt;p&gt;Ruby DocTest is a tool that lets you put irb-style tests in your documentation. It&#8217;s similar to Python&#8217;s doctest, but different in several ways.&lt;/p&gt;
 
 
-	&lt;h2&gt;The basics&lt;/h2&gt;
-
-
-	&lt;h2&gt;Demonstration of usage&lt;/h2&gt;
+	&lt;h2&gt;Installing&lt;/h2&gt;
 
 
-	&lt;h2&gt;Forum&lt;/h2&gt;
+	&lt;p&gt;&lt;pre class='syntax'&gt;&lt;span class=&quot;ident&quot;&gt;sudo&lt;/span&gt; &lt;span class=&quot;ident&quot;&gt;gem&lt;/span&gt; &lt;span class=&quot;ident&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;ident&quot;&gt;rubydoctest&lt;/span&gt;&lt;/pre&gt;&lt;/p&gt;
 
 
-	&lt;p&gt;&lt;a href=&quot;http://groups.google.com/group/rubydoctest&quot;&gt;http://groups.google.com/group/rubydoctest&lt;/a&gt;&lt;/p&gt;
+	&lt;h2&gt;Wiki, Documentation, Examples&lt;/h2&gt;
 
 
-	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;TODO&lt;/span&gt; &amp;#8211; create Google Group &amp;#8211; rubydoctest&lt;/p&gt;
+	&lt;p&gt;See the &lt;a href=&quot;http://github.com/tablatom/rubydoctest/wikis&quot;&gt;github wiki&lt;/a&gt;&lt;/p&gt;
 
 
 	&lt;h2&gt;How to submit patches&lt;/h2&gt;
 
 
-	&lt;p&gt;Read the &lt;a href=&quot;http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/&quot;&gt;8 steps for fixing other people&amp;#8217;s code&lt;/a&gt; and for section &lt;a href=&quot;http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups&quot;&gt;8b: Submit patch to Google Groups&lt;/a&gt;, use the Google Group above.&lt;/p&gt;
-
-
-	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;TODO&lt;/span&gt; &amp;#8211; pick &lt;span class=&quot;caps&quot;&gt;SVN&lt;/span&gt; or Git instructions&lt;/p&gt;
-
-
-	&lt;p&gt;The trunk repository is &lt;code&gt;svn://rubyforge.org/var/svn/rubydoctest/trunk&lt;/code&gt; for anonymous access.&lt;/p&gt;
-
-
-	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;OOOORRRR&lt;/span&gt;&lt;/p&gt;
-
-
-	&lt;p&gt;You can fetch the source from either:&lt;/p&gt;
-
-
-	&lt;ul&gt;
-	&lt;li&gt;rubyforge: &lt;span class=&quot;caps&quot;&gt;MISSING IN ACTION&lt;/span&gt;&lt;/li&gt;
-	&lt;/ul&gt;
-
-
-	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;TODO&lt;/span&gt; &amp;#8211; You can not created a RubyForge project, OR have not run &lt;code&gt;rubyforge config&lt;/code&gt;
-yet to refresh your local rubyforge data with this projects&amp;#8217; id information.&lt;/p&gt;
-
-
-	&lt;p&gt;When you do this, this message will magically disappear!&lt;/p&gt;
-
-
-	&lt;p&gt;Or you can hack website/index.txt and make it all go away!!&lt;/p&gt;
-
-
-	&lt;ul&gt;
-	&lt;li&gt;github: &lt;a href=&quot;http://github.com/GITHUB_USERNAME/rubydoctest/tree/master&quot;&gt;http://github.com/GITHUB_USERNAME/rubydoctest/tree/master&lt;/a&gt;&lt;/li&gt;
-	&lt;/ul&gt;
-
-
-&lt;pre&gt;git clone git://github.com/GITHUB_USERNAME/rubydoctest.git&lt;/pre&gt;
-
-	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;TODO&lt;/span&gt; &amp;#8211; add &amp;#8220;github_username: username&amp;#8221; to ~/.rubyforge/user-config.yml and newgem will reuse it for future projects.&lt;/p&gt;
-
+	&lt;p&gt;Read the &lt;a href=&quot;http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/&quot;&gt;8 steps for fixing other people&amp;#8217;s code&lt;/a&gt;.&lt;/p&gt;
 
-	&lt;ul&gt;
-	&lt;li&gt;gitorious: &lt;a href=&quot;git://gitorious.org/rubydoctest/mainline.git&quot;&gt;git://gitorious.org/rubydoctest/mainline.git&lt;/a&gt;&lt;/li&gt;
-	&lt;/ul&gt;
 
+	&lt;p&gt;The git repository is &lt;code&gt;http://github.com/tablatom/rubydoctest/tree/master&lt;/code&gt; for anonymous access.&lt;/p&gt;
 
-&lt;pre&gt;git clone git://gitorious.org/rubydoctest/mainline.git&lt;/pre&gt;
 
 	&lt;h3&gt;Build and test instructions&lt;/h3&gt;
 
 
 &lt;pre&gt;cd rubydoctest
-rake test
+rake test:doctest
 rake install_gem&lt;/pre&gt;
 
 	&lt;h2&gt;License&lt;/h2&gt;
@@ -128,9 +81,9 @@ rake install_gem&lt;/pre&gt;
 	&lt;h2&gt;Contact&lt;/h2&gt;
 
 
-	&lt;p&gt;Comments are welcome. Send an email to &lt;a href=&quot;mailto:FIXME&quot;&gt;&lt;span class=&quot;caps&quot;&gt;FIXME&lt;/span&gt; full name&lt;/a&gt; email via the &lt;a href=&quot;http://groups.google.com/group/rubydoctest&quot;&gt;forum&lt;/a&gt;&lt;/p&gt;
+	&lt;p&gt;Comments are welcome. Send an email to &lt;a href=&quot;mailto:duane.johnson@gmail.com&quot;&gt;Duane Johnson&lt;/a&gt;.&lt;/p&gt;
     &lt;p class=&quot;coda&quot;&gt;
-      &lt;a href=&quot;mailto:duane.johnson@gmail.com&quot;&gt;Duane Johnson&lt;/a&gt;, 17th June 2008&lt;br&gt;
+      &lt;a href=&quot;mailto:duane.johnson@gmail.com&quot;&gt;Duane Johnson&lt;/a&gt;, 23rd June 2008&lt;br&gt;
       Theme extended from &lt;a href=&quot;http://rb2js.rubyforge.org/&quot;&gt;Paul Battley&lt;/a&gt;
     &lt;/p&gt;
 &lt;/div&gt;</diff>
      <filename>website/index.html</filename>
    </modified>
    <modified>
      <diff>@@ -1,83 +1,37 @@
-h1. rubydoctest
+h1. Ruby DocTest
 
 h1. &amp;#x2192; 'rubydoctest'
 
 
 h2. What
 
+Ruby DocTest is a tool that lets you put irb-style tests in your documentation. It&#8217;s similar to Python&#8217;s doctest, but different in several ways.
 
 h2. Installing
 
 &lt;pre syntax=&quot;ruby&quot;&gt;sudo gem install rubydoctest&lt;/pre&gt;
 
-h2. The basics
+h2. Wiki, Documentation, Examples
 
-
-h2. Demonstration of usage
-
-
-
-h2. Forum
-
-&quot;http://groups.google.com/group/rubydoctest&quot;:http://groups.google.com/group/rubydoctest
-
-TODO - create Google Group - rubydoctest
+See the &quot;github wiki&quot;:http://github.com/tablatom/rubydoctest/wikis
 
 h2. How to submit patches
 
-Read the &quot;8 steps for fixing other people's code&quot;:http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/ and for section &quot;8b: Submit patch to Google Groups&quot;:http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups, use the Google Group above.
-
-TODO - pick SVN or Git instructions
-
-The trunk repository is &lt;code&gt;svn://rubyforge.org/var/svn/rubydoctest/trunk&lt;/code&gt; for anonymous access.
-
-OOOORRRR
-
-You can fetch the source from either:
-
-&lt;% if rubyforge_project_id %&gt;
-
-* rubyforge: &quot;http://rubyforge.org/scm/?group_id=&lt;%= rubyforge_project_id %&gt;&quot;:http://rubyforge.org/scm/?group_id=&lt;%= rubyforge_project_id %&gt;
-
-&lt;pre&gt;git clone git://rubyforge.org/rubydoctest.git&lt;/pre&gt;
+Read the &quot;8 steps for fixing other people's code&quot;:http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/.
 
-&lt;% else %&gt;
-
-* rubyforge: MISSING IN ACTION
-
-TODO - You can not created a RubyForge project, OR have not run &lt;code&gt;rubyforge config&lt;/code&gt;
-yet to refresh your local rubyforge data with this projects' id information.
-
-When you do this, this message will magically disappear!
-
-Or you can hack website/index.txt and make it all go away!!
-
-&lt;% end %&gt;
-
-* github: &quot;http://github.com/GITHUB_USERNAME/rubydoctest/tree/master&quot;:http://github.com/GITHUB_USERNAME/rubydoctest/tree/master
-
-&lt;pre&gt;git clone git://github.com/GITHUB_USERNAME/rubydoctest.git&lt;/pre&gt;
-
-
-TODO - add &quot;github_username: username&quot; to ~/.rubyforge/user-config.yml and newgem will reuse it for future projects.
-
-
-* gitorious: &quot;git://gitorious.org/rubydoctest/mainline.git&quot;:git://gitorious.org/rubydoctest/mainline.git
-
-&lt;pre&gt;git clone git://gitorious.org/rubydoctest/mainline.git&lt;/pre&gt;
+The git repository is &lt;code&gt;http://github.com/tablatom/rubydoctest/tree/master&lt;/code&gt; for anonymous access.
 
 h3. Build and test instructions
 
 &lt;pre&gt;cd rubydoctest
-rake test
+rake test:doctest
 rake install_gem&lt;/pre&gt;
 
-
 h2. License
 
 This code is free to use under the terms of the MIT license. 
 
 h2. Contact
 
-Comments are welcome. Send an email to &quot;FIXME full name&quot;:mailto:FIXME email via the &quot;forum&quot;:http://groups.google.com/group/rubydoctest
+Comments are welcome. Send an email to &quot;Duane Johnson&quot;:mailto:duane.johnson@gmail.com.
 </diff>
      <filename>website/index.txt</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>caa8f1a1a5536d51065f2c9ebe2f4ffcca292a26</id>
    </parent>
  </parents>
  <author>
    <name>Duane Johnson</name>
    <email>duane.johnson@gmail.com</email>
  </author>
  <url>http://github.com/tablatom/rubydoctest/commit/0973138ca464e4d3561d050d02ab6e8c947d9f31</url>
  <id>0973138ca464e4d3561d050d02ab6e8c947d9f31</id>
  <committed-date>2008-07-02T07:35:10-07:00</committed-date>
  <authored-date>2008-07-02T07:35:10-07:00</authored-date>
  <message>Added -h / --help to command line.  Added -t&lt;n&gt; to command-line so specific tests can be run.  Added test numbers to output.</message>
  <tree>1d2e6000c7129e22cf44b4e325746424d48c9b70</tree>
  <committer>
    <name>Duane Johnson</name>
    <email>duane.johnson@gmail.com</email>
  </committer>
</commit>
