<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>test/test_cli.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,11 @@
-=== 1.0.0 (2009-02-27)
+=== 1.2.0 / 2009-06-22
+
+* Update docs.
+* Standardize project structure.
+* Switch to correct MiniTest.
+* Switch to new Hoe.
+* Improve the command-line tool.
+
+=== 1.0.0 / 2009-02-27
 
 * Birthday!</diff>
      <filename>CHANGELOG.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -5,5 +5,4 @@ Rakefile
 bin/pastejour
 lib/pastejour.rb
 lib/pastejour/cli.rb
-lib/pastejour/version.rb
-test/pastejour/cli_test.rb
+test/test_cli.rb</diff>
      <filename>Manifest.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,26 +1,31 @@
 = Pastejour
 
-Broadcast standard out using Bonjour.
+* http://github.com/jbarnette/pastejour
+
+== Description
+
+Broadcast standard out using Bonjour. Pipe output to other people.
+Pastejour is like pbcopy, but over the network!
 
 == Examples
 
-  alice$ git diff | pastejour
-  bob$ pastejour alice
-  
-  alice$ git diff | pastejour bob
-  bob$ pastejour
-  
-  alice$ git diff | pastejour monkeys
-  bob$ pastejour alice-monkeys
-  
-  alice$ git diff | pastejour monkeys
-  bob$ pastejour -f
-  Searching for servers (3 seconds)
-  alice-monkeys
-  
-  # Copy the clipboard contents from one machine to another
-  alice$ pbpaste | pastejour bob
-  bob$ pastejour | pbcopy
+    alice$ git diff | pastejour
+    bob$ pastejour alice
+
+    alice$ git diff | pastejour bob
+    bob$ pastejour
+
+    alice$ git diff | pastejour monkeys
+    bob$ pastejour alice-monkeys
+
+    alice$ git diff | pastejour monkeys
+    bob$ pastejour -f
+    Searching for servers (3 seconds)
+    alice-monkeys
+
+    # Copy the clipboard contents from one machine to another
+    alice$ pbpaste | pastejour bob
+    bob$ pastejour | pbcopy
 
 == ORLY?
 
@@ -29,15 +34,19 @@ and out. By default, Pastejour will only stay up until the first
 person grabs your paste. If you want to let a bunch of people grab the
 same thing, shoot it out in multiple mode:
 
-  alice$ git diff | pastejour -m # keeps on serving 'til you CTRL-C
-  
+    alice$ git diff | pastejour -m # keeps on serving 'til you CTRL-C
+
 == Awesome!
 
 You know it.
 
 == Installation
 
-    $ sudo gem install pastejour
+    $ gem install pastejour
+
+== TODO
+
+* Stop using dnssd, it's Mac OS X only.
 
 == License
 </diff>
      <filename>README.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -1,18 +1,14 @@
 require &quot;rubygems&quot;
 require &quot;hoe&quot;
 
-require &quot;./lib/pastejour/version.rb&quot;
+Hoe.spec &quot;pastejour&quot; do
+  developer &quot;John Barnette&quot;, &quot;jbarnette@rubyforge.org&quot;
+  developer &quot;Evan Phoenix&quot;,  &quot;evan@fallingsnow.net&quot;
 
-Hoe.new &quot;pastejour&quot;, Pastejour::VERSION do |p|
-  p.developer &quot;John Barnette&quot;, &quot;jbarnette@rubyforge.org&quot;
+  self.extra_rdoc_files = FileList[&quot;*.rdoc&quot;]
+  self.history_file     = &quot;CHANGELOG.rdoc&quot;
+  self.readme_file      = &quot;README.rdoc&quot;
+  self.testlib          = :minitest
 
-  p.url              = &quot;http://github.com/jbarnette/pastejour&quot;
-  p.history_file     = &quot;CHANGELOG.rdoc&quot;
-  p.readme_file      = &quot;README.rdoc&quot;
-  p.extra_rdoc_files = [p.readme_file]
-  p.need_tar         = false
-  p.test_globs       = %w(test/**/*_test.rb)
-  p.testlib          = :minitest
-
-  p.extra_deps &lt;&lt; &quot;dnssd&quot;
+  extra_deps &lt;&lt; &quot;dnssd&quot;
 end</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,3 @@
-require &quot;rubygems&quot;
 require &quot;dnssd&quot;
 require &quot;set&quot;
 require &quot;socket&quot;
@@ -7,6 +6,8 @@ require &quot;webrick&quot;
 Thread.abort_on_exception = true
 
 module Pastejour
+  VERSION = &quot;1.2.0&quot;
+
   include Socket::Constants
 
   Paste   = Struct.new(:name, :host, :port)
@@ -18,12 +19,15 @@ module Pastejour
     service = DNSSD.browse(SERVICE) do |reply|
       servers[reply.name] ||= reply
     end
+
     STDERR.puts &quot;Searching for servers (3 seconds)&quot;
+
     # Wait for something to happen
     sleep 3
+
     service.stop
-    servers.each { |string,obj| 
-      name, port = string.split &quot;:&quot; 
+    servers.each { |string,obj|
+      name, port = string.split &quot;:&quot;
       STDERR.puts &quot;Found pastejour at '#{name}'&quot;
     }
   end
@@ -59,7 +63,6 @@ module Pastejour
         STDERR.puts &quot;  #{host.name} (#{host.host}:#{host.port})&quot;
       end
     else
-      # Set is weird. There is no #[] or #at
       hosts.each do |host|
         STDERR.puts &quot;(#{host.name} from #{host.host}:#{host.port})&quot;
         sock = TCPSocket.open host.host, host.port
@@ -71,7 +74,7 @@ module Pastejour
   def self.serve(name, multiple, contents)
     tr = DNSSD::TextRecord.new
     tr[&quot;description&quot;] = &quot;A paste.&quot;
-    
+
     DNSSD.register(name, SERVICE, &quot;local&quot;, PORT, tr.encode) do |reply|
       STDERR.puts &quot;Pasting #{name}...&quot;
     end</diff>
      <filename>lib/pastejour.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,5 @@
 require &quot;optparse&quot;
 require &quot;pastejour&quot;
-require &quot;pastejour/version&quot;
 
 module Pastejour
   class Cli
@@ -55,6 +54,10 @@ module Pastejour
       @multiple
     end
 
+    def run?
+      @run
+    end
+
     def tee?
       @tee
     end</diff>
      <filename>lib/pastejour/cli.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>lib/pastejour/version.rb</filename>
    </removed>
    <removed>
      <filename>test/pastejour/cli_test.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>bd6932879a0ab32795c42466b37ee2d0d5d8529d</id>
    </parent>
  </parents>
  <author>
    <name>John Barnette</name>
    <email>jbarnette@gmail.com</email>
  </author>
  <url>http://github.com/jbarnette/pastejour/commit/7bddbf13a4042a25eb9936b60becff67aec3e059</url>
  <id>7bddbf13a4042a25eb9936b60becff67aec3e059</id>
  <committed-date>2009-06-22T23:56:54-07:00</committed-date>
  <authored-date>2009-06-22T23:56:54-07:00</authored-date>
  <message>Updating for 1.2.0.</message>
  <tree>0e171a3654bcd63dd874d0b6308e12e1e288045d</tree>
  <committer>
    <name>John Barnette</name>
    <email>jbarnette@gmail.com</email>
  </committer>
</commit>
