<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>bin/pastiepacker</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -25,8 +25,10 @@ setup.rb
 tasks/deployment.rake
 tasks/environment.rake
 tasks/website.rake
-test/fixtures/README.txt
-test/fixtures/lib/myapp.rb
+test/fixtures/private_pastie.html
+test/fixtures/sample_app/History.txt
+test/fixtures/sample_app/README.txt
+test/fixtures/sample_app/lib/myapp.rb
 test/test_app.rb
 test/test_conversion.rb
 test/test_helper.rb</diff>
      <filename>Manifest.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,36 +1,64 @@
 = pastiepacker
 
-* FIX (url)
+* http://pastiepacker.rubyforge.org
 
 == DESCRIPTION:
 
-FIX (describe your package)
+Prepare to pack or unpack piles of files with the pastiepacker.
 
 == FEATURES/PROBLEMS:
 
-* FIX (list of features or problems)
-
 == SYNOPSIS:
 
-  FIX (code sample of usage)
+To pack a folder: pastiepacker
+  Packing options:
+    -p, --private           Posted pasties are private
+                               Ignored for unpacking
+                               Default: false
+    -f, --format=FORMAT     Possess pasties with a particular persona
+                               Supported formats:
+                                 c++, css, diff, html_rails, html, javascript, 
+                                 php, plain_text, python, ruby, ruby_on_rails, 
+                                 sql, shell-unix-generic
+                               Ignored for unpacking
+                               Default: ruby
+                                     
+To only pack a selection of files ending with *txt* you can pass a list of file names via STDIN: 
+
+    find * | grep &quot;txt$&quot; | pastiepacker
+
+It outputs the url of the prepared pastie, so you can pipe it to xargs:
+
+    pastiepacker | xargs open
+
+To unpack a packed pastie: pastiepacker http://pastie.caboo.se/175183
+- This unpacks the files into a subfolder 175138/
+To unpack a private pastie: pastiepacker http://pastie.caboo.se/private/5hwfheniddqmyasmfcxaw
+- This unpacks the files into a subfolder 5hwfheniddqmyasmfcxaw/
+
 
 == REQUIREMENTS:
 
-* FIX (list of requirements)
+* ruby
+* rubygems
+
+To test if you have these, the following should work:
+
+  gem env
 
 == INSTALL:
 
-* FIX (sudo gem install, anything else)
+* sudo gem install pastiepacker
 
 == LICENSE:
 
 (The MIT License)
 
-Copyright (c) 2008 FIX
+Copyright (c) 2008 Dr Nic Williams
 
 Permission is hereby granted, free of charge, to any person obtaining
 a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
+&quot;Software&quot;), to deal in the Software without restriction, including
 without limitation the rights to use, copy, modify, merge, publish,
 distribute, sublicense, and/or sell copies of the Software, and to
 permit persons to whom the Software is furnished to do so, subject to
@@ -39,10 +67,10 @@ the following conditions:
 The above copyright notice and this permission notice shall be
 included in all copies or substantial portions of the Software.
 
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file</diff>
      <filename>README.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,11 +1,166 @@
-&lt;html&gt;
-	&lt;head&gt;
-		&lt;meta http-equiv=&quot;Content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;
-		&lt;title&gt;pastiepacker&lt;/title&gt;
-		
-	&lt;/head&gt;
-	&lt;body id=&quot;body&quot;&gt;
-		&lt;p&gt;This page has not yet been created for RubyGem &lt;code&gt;pastiepacker&lt;/code&gt;&lt;/p&gt;
-		&lt;p&gt;To the developer: To generate it, update website/index.txt and run the rake task &lt;code&gt;website&lt;/code&gt; to generate this &lt;code&gt;index.html&lt;/code&gt; file.&lt;/p&gt;
-	&lt;/body&gt;
-&lt;/html&gt;
\ No newline at end of file
+&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;
+&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
+&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
+&lt;head&gt;
+  &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;
+      Pastie Packer
+  &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;
+
+&lt;/style&gt;
+  &lt;script type=&quot;text/javascript&quot;&gt;
+    window.onload = function() {
+      settings = {
+          tl: { radius: 10 },
+          tr: { radius: 10 },
+          bl: { radius: 10 },
+          br: { radius: 10 },
+          antiAlias: true,
+          autoPad: true,
+          validTags: [&quot;div&quot;]
+      }
+      var versionBox = new curvyCorners(settings, document.getElementById(&quot;version&quot;));
+      versionBox.applyCornersToAll();
+    }
+  &lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;div id=&quot;main&quot;&gt;
+
+    &lt;h1&gt;Pastie Packer&lt;/h1&gt;
+    &lt;div id=&quot;version&quot; class=&quot;clickable&quot; onclick='document.location = &quot;http://rubyforge.org/projects/pastiepacker&quot;; return false'&gt;
+      &lt;p&gt;Get Version&lt;/p&gt;
+      &lt;a href=&quot;http://rubyforge.org/projects/pastiepacker&quot; class=&quot;numbers&quot;&gt;1.0.0&lt;/a&gt;
+    &lt;/div&gt;
+    &lt;h1&gt;&amp;#x2192; &amp;#8216;pastiepacker&amp;#8217;&lt;/h1&gt;
+
+
+	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;TODO&lt;/span&gt;: put this into pastie + use screenshot instead (raw text as alt=&amp;#8221;...&amp;#8221;)&lt;/p&gt;
+
+
+	&lt;p&gt;Prepare to &lt;em&gt;pack&lt;/em&gt; or &lt;em&gt;unpack&lt;/em&gt; piles of files with &lt;strong&gt;pastiepacker&lt;/strong&gt;. The easiest, best distributing, viewable archiving tool since pencil and paper.&lt;/p&gt;
+
+
+	&lt;h2&gt;What&lt;/h2&gt;
+
+
+	&lt;p&gt;A &lt;a href=&quot;http://pastie.caboo.se&quot;&gt;pastie&lt;/a&gt; is a snippet of text/code stored on a single webpage. This makes it very easy to share the text over IM or &lt;span class=&quot;caps&quot;&gt;IRC&lt;/span&gt; &amp;#8211; you just copy+paste the url. As a bonus, pasties are syntax highlighted making them easier to read than if shared as plain text.&lt;/p&gt;
+
+
+	&lt;p&gt;The &lt;strong&gt;pastiepacker&lt;/strong&gt; is a command-line tool to &amp;#8220;pack&amp;#8221; a selection of files (or by default, a whole recursive folder of files) into a single pastie. So a whole/part of a project can be quickly shared.&lt;/p&gt;
+
+
+	&lt;p&gt;It can also &amp;#8220;unpack&amp;#8221; a packed pastie back into files. The pastiepacker is therefore a simple, useful distributed archiving tool, using pasties for storage.&lt;/p&gt;
+
+
+	&lt;p&gt;For example, this pastie &lt;a href=&quot;http://xxx&quot;&gt;&lt;span class=&quot;caps&quot;&gt;XXX&lt;/span&gt;&lt;/a&gt; shows a selection of files packed into a pastie. It just happens to be the source for pastiepacker itself!&lt;/p&gt;
+
+
+	&lt;p&gt;You can pack a whole folder or a selection of files. Any &lt;span class=&quot;caps&quot;&gt;README&lt;/span&gt;/readme.* files are placed at the front of the pastie, because that seems helpful. The packed pasties include information on how to unpack the pastie back into raw files.&lt;/p&gt;
+
+
+	&lt;p&gt;Only ascii files are packed.&lt;/p&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;pastiepacker&lt;/span&gt;&lt;/pre&gt;&lt;/p&gt;
+
+
+	&lt;h2&gt;The basics: packing files into a pastie&lt;/h2&gt;
+
+
+	&lt;p&gt;To pack a folder: &lt;code&gt;pastiepacker&lt;/code&gt;&lt;/p&gt;
+
+
+	&lt;p&gt;Packing options:&lt;/p&gt;
+
+
+&lt;pre&gt;
+-p, --private           Posted pasties are private
+                           Ignored for unpacking
+                           Default: false
+-f, --format=FORMAT     Possess pasties with a particular persona
+                           Supported formats:
+                             c++, css, diff, html_rails, html, javascript, 
+                             php, plain_text, python, ruby, ruby_on_rails, 
+                             sql, shell-unix-generic
+                           Ignored for unpacking
+                           Default: ruby
+&lt;/pre&gt;
+
+	&lt;p&gt;To only pack a selection of files ending with &lt;strong&gt;txt&lt;/strong&gt; you can pass a list of file names via &lt;span class=&quot;caps&quot;&gt;STDIN&lt;/span&gt;:&lt;/p&gt;
+
+
+&lt;pre&gt;  find * | grep &quot;txt$&quot; | pastiepacker&lt;/pre&gt;
+
+	&lt;p&gt;&lt;strong&gt;pastiepacker&lt;/strong&gt; outputs the url of the prepared pastie, so you can pipe it to xargs:&lt;/p&gt;
+
+
+&lt;pre&gt;  pastiepacker | xargs open&lt;/pre&gt;
+
+	&lt;p&gt;If the selection of files (within the current folder or the selection of files via &lt;span class=&quot;caps&quot;&gt;STDIN&lt;/span&gt;) contains a readme file (readme.txt, &lt;span class=&quot;caps&quot;&gt;README&lt;/span&gt;.txt, &lt;span class=&quot;caps&quot;&gt;README&lt;/span&gt;.markdown, etc), that file will be packed at the top of the pastie, for the convenience of readers.&lt;/p&gt;
+
+
+	&lt;h2&gt;The basics: unpacking pasties into files&lt;/h2&gt;
+
+
+	&lt;p&gt;To unpack a packed pastie:&lt;/p&gt;
+
+
+&lt;pre&gt;  pastiepacker http://pastie.caboo.se/175183&lt;/pre&gt;
+
+	&lt;p&gt;This unpacks the files into a subfolder 175138/&lt;/p&gt;
+
+
+	&lt;p&gt;To unpack a private pastie:&lt;/p&gt;
+
+
+&lt;pre&gt;  pastiepacker http://pastie.caboo.se/private/5hwfheniddqmyasmfcxaw&lt;/pre&gt;
+
+	&lt;p&gt;This unpacks the files into a subfolder 5hwfheniddqmyasmfcxaw/&lt;/p&gt;
+
+
+	&lt;h2&gt;Forum&lt;/h2&gt;
+
+
+	&lt;p&gt;&lt;a href=&quot;http://groups.google.com/group/pastiepacker&quot;&gt;http://groups.google.com/group/pastiepacker&lt;/a&gt;&lt;/p&gt;
+
+
+	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;TODO&lt;/span&gt; &amp;#8211; create Google Group &amp;#8211; pastiepacker&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;The trunk repository is &lt;code&gt;svn://rubyforge.org/var/svn/pastiepacker/trunk&lt;/code&gt; for anonymous access.&lt;/p&gt;
+
+
+	&lt;h2&gt;License&lt;/h2&gt;
+
+
+	&lt;p&gt;This code is free to use under the terms of the &lt;span class=&quot;caps&quot;&gt;MIT&lt;/span&gt; license.&lt;/p&gt;
+
+
+	&lt;h2&gt;Contact&lt;/h2&gt;
+
+
+	&lt;p&gt;Comments are welcome. Send an email to &lt;a href=&quot;mailto:drnicwilliams@gmail.com&quot;&gt;Dr Nic Williams&lt;/a&gt; via the &lt;a href=&quot;http://groups.google.com/group/pastiepacker&quot;&gt;forum&lt;/a&gt;&lt;/p&gt;
+    &lt;p class=&quot;coda&quot;&gt;
+      &lt;a href=&quot;drnicwilliams@gmail.com&quot;&gt;Dr Nic Williams&lt;/a&gt;, 5th April 2008&lt;br&gt;
+      Theme extended from &lt;a href=&quot;http://rb2js.rubyforge.org/&quot;&gt;Paul Battley&lt;/a&gt;,
+      by Daniel Cadenas via &lt;a href=&quot;http://depgraph.rubyforge.org/&quot;&gt;DepGraph&lt;/a&gt;
+    &lt;/p&gt;
+&lt;/div&gt;
+
+&lt;!-- insert site tracking codes here, like Google Urchin --&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;</diff>
      <filename>website/index.html</filename>
    </modified>
    <modified>
      <diff>@@ -1,20 +1,71 @@
-h1. pastiepacker
+h1. Pastie Packer
 
 h1. &amp;#x2192; 'pastiepacker'
 
+TODO: put this into pastie + use screenshot instead (raw text as alt=&quot;...&quot;)
+
+Prepare to _pack_ or _unpack_ piles of files with *pastiepacker*. The easiest, best distributing, viewable archiving tool since pencil and paper.
 
 h2. What
 
+A &quot;pastie&quot;:http://pastie.caboo.se is a snippet of text/code stored on a single webpage. This makes it very easy to share the text over IM or IRC - you just copy+paste the url. As a bonus, pasties are syntax highlighted making them easier to read than if shared as plain text.
+
+The *pastiepacker* is a command-line tool to &quot;pack&quot; a selection of files (or by default, a whole recursive folder of files) into a single pastie. So a whole/part of a project can be quickly shared.
+
+It can also &quot;unpack&quot; a packed pastie back into files. The pastiepacker is therefore a simple, useful distributed archiving tool, using pasties for storage.
+
+For example, this pastie &quot;XXX&quot;:http://xxx shows a selection of files packed into a pastie. It just happens to be the source for pastiepacker itself!
+
+You can pack a whole folder or a selection of files. Any README/readme.* files are placed at the front of the pastie, because that seems helpful. The packed pasties include information on how to unpack the pastie back into raw files.
+
+Only ascii files are packed.
 
 h2. Installing
 
 &lt;pre syntax=&quot;ruby&quot;&gt;sudo gem install pastiepacker&lt;/pre&gt;
 
-h2. The basics
+h2. The basics: packing files into a pastie
+
+To pack a folder: &lt;code&gt;pastiepacker&lt;/code&gt;
+
+Packing options:
+
+&lt;pre&gt;
+-p, --private           Posted pasties are private
+                           Ignored for unpacking
+                           Default: false
+-f, --format=FORMAT     Possess pasties with a particular persona
+                           Supported formats:
+                             c++, css, diff, html_rails, html, javascript, 
+                             php, plain_text, python, ruby, ruby_on_rails, 
+                             sql, shell-unix-generic
+                           Ignored for unpacking
+                           Default: ruby
+&lt;/pre&gt;
+                                     
+To only pack a selection of files ending with *txt* you can pass a list of file names via STDIN:
+
+&lt;pre&gt;  find * | grep &quot;txt$&quot; | pastiepacker&lt;/pre&gt;
+
+*pastiepacker* outputs the url of the prepared pastie, so you can pipe it to xargs:
+
+&lt;pre&gt;  pastiepacker | xargs open&lt;/pre&gt;
+
+If the selection of files (within the current folder or the selection of files via STDIN) contains a readme file (readme.txt, README.txt, README.markdown, etc), that file will be packed at the top of the pastie, for the convenience of readers.
+
+h2. The basics: unpacking pasties into files
+
+To unpack a packed pastie: 
+
+&lt;pre&gt;  pastiepacker http://pastie.caboo.se/175183&lt;/pre&gt;
+
+This unpacks the files into a subfolder 175138/
 
+To unpack a private pastie: 
 
-h2. Demonstration of usage
+&lt;pre&gt;  pastiepacker http://pastie.caboo.se/private/5hwfheniddqmyasmfcxaw&lt;/pre&gt;
 
+This unpacks the files into a subfolder 5hwfheniddqmyasmfcxaw/
 
 
 h2. Forum</diff>
      <filename>website/index.txt</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>bin/pastie_packer</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>4b6be67c62215edff9d6f12eba16dc1ad19da656</id>
    </parent>
  </parents>
  <author>
    <name>Dr Nic Williams</name>
    <email>drnicwilliams@gmail.com</email>
  </author>
  <url>http://github.com/drnic/pastie-packer/commit/2f5a1bba1f6a39a80512dfb64db2915e9eab7147</url>
  <id>2f5a1bba1f6a39a80512dfb64db2915e9eab7147</id>
  <committed-date>2008-04-04T22:50:29-07:00</committed-date>
  <authored-date>2008-04-04T22:50:29-07:00</authored-date>
  <message>add help to readme/website; renamed bin/pastiepacker</message>
  <tree>7e382fa613c8335b7d3be09a3d30454f228d617e</tree>
  <committer>
    <name>Dr Nic Williams</name>
    <email>drnicwilliams@gmail.com</email>
  </committer>
</commit>
