<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,7 @@
+== 1.1.1 2008-08-06
+
+* Fixed fetching of pastie urls
+
 == 1.1.0 2008-06-25
 
 * Added objective-c++, java and actionscript formats</diff>
      <filename>History.txt</filename>
    </modified>
    <modified>
      <diff>@@ -34,6 +34,7 @@ class PastiePacker
       url = process_url(raw_url)
       unique_subfolder = url.match(/[\/=]([^\/=]*)$/)[1]
       self.contents = fetch_pastie(url)
+      self.contents = self.contents.read if self.contents.respond_to?(:read)
       unpack(File.join(FileUtils.pwd, unique_subfolder))
     end
     nil # so nothing is printed as a result</diff>
      <filename>lib/pastiepacker/command.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,6 @@
 class PastiePacker
   def fetch_pastie(url)
     txt_url = &quot;#{url}.txt&quot;
-    # REMOVE: Net::HTTP.get(URI.parse(txt_url))
     open(txt_url)
   end
 end</diff>
      <filename>lib/pastiepacker/fetch.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@ module PastiePacker #:nodoc:
   module VERSION #:nodoc:
     MAJOR = 1
     MINOR = 1
-    TINY  = 0
+    TINY  = 1
 
     STRING = [MAJOR, MINOR, TINY].join('.')
   end</diff>
      <filename>lib/pastiepacker/version.rb</filename>
    </modified>
    <modified>
      <diff>@@ -33,7 +33,7 @@
     &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;a href=&quot;http://rubyforge.org/projects/pastiepacker&quot; class=&quot;numbers&quot;&gt;1.1.1&lt;/a&gt;
     &lt;/div&gt;
     &lt;h1&gt;&amp;#x2192; &amp;#8216;pastiepacker&amp;#8217;&lt;/h1&gt;
 
@@ -44,7 +44,7 @@
 	&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;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;- 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;
@@ -56,7 +56,7 @@
 	&lt;p&gt;For example, this pastie &lt;a href=&quot;http://pastie.caboo.se/175886&quot;&gt;http://pastie.caboo.se/175886&lt;/a&gt; shows a selection of files packed into a pastie. It just happens to be the source for pastiepacker itself! (release 1.0.0)&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;You can pack a whole folder or a selection of files. Any &lt;span class=&quot;caps&quot;&gt;README&lt;/span&gt;/readme.&lt;strong&gt; 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;
@@ -93,12 +93,12 @@
 -h, --help                Show this help message.                                     
 &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;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;p&gt;&lt;/strong&gt;pastiepacker* 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;
@@ -167,7 +167,7 @@ rake install_gem&lt;/code&gt;&lt;/pre&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;, 8th April 2008&lt;br&gt;
+      &lt;a href=&quot;drnicwilliams@gmail.com&quot;&gt;Dr Nic Williams&lt;/a&gt;, 25th 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>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4ed8cee531dcb52bc7502ae8db85dc55f80ca9f3</id>
    </parent>
  </parents>
  <author>
    <name>Dr Nic Williams</name>
    <email>drnicwilliams@gmail.com</email>
  </author>
  <url>http://github.com/drnic/pastie-packer/commit/7d0aab5b021c5e825774783c9f3e89ccb2227455</url>
  <id>7d0aab5b021c5e825774783c9f3e89ccb2227455</id>
  <committed-date>2008-08-05T16:20:37-07:00</committed-date>
  <authored-date>2008-08-05T16:20:37-07:00</authored-date>
  <message>rel 1.1.1 - Fixed fetching of pastie urls</message>
  <tree>c34e5f1a6e2c498300b8dc937f5f45e52243ff3c</tree>
  <committer>
    <name>Dr Nic Williams</name>
    <email>drnicwilliams@gmail.com</email>
  </committer>
</commit>
