<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -64,7 +64,7 @@ class Pickler
     end
 
     def pushable?
-      id || local_body =~ %r{\A(?:#\s*|@[[:punct:]]?(?:http://www\.pivotaltracker\.com/story/new)?[[:punct:]]?(?:\s+@\S+)*\s*)\n[[:upper:]][[:lower:]]+:} ? true : false
+      id || local_body =~ %r{\A(?:#\s*|@[[:punct:]]?(?:https?://www\.pivotaltracker\.com/story/new)?[[:punct:]]?(?:\s+@\S+)*\s*)\n[[:upper:]][[:lower:]]+:} ? true : false
     end
 
     def push
@@ -75,12 +75,14 @@ class Pickler
         story.save!
       else
         unless pushable?
-          raise Error, &quot;To create a new story, make the first line an empty comment&quot;
+          raise Error, &quot;To create a new story, tag it @http://www.pivotaltracker.com/story/new&quot;
         end
         story = pickler.new_story
         story.to_s = body
         @story = story.save!
-        body.sub!(/\A(?:#.*\n)?/,&quot;# #{story.url}\n&quot;)
+        unless body.sub!(%r{\bhttps?://www\.pivotaltracker\.com/story/new\b}, story.url)
+          body.sub!(/\A(?:#.*\n)?/,&quot;# #{story.url}\n&quot;)
+        end
         File.open(filename,'w') {|f| f.write body}
       end
     end</diff>
      <filename>lib/pickler/feature.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 Gem::Specification.new do |s|
   s.name                = &quot;pickler&quot;
-  s.version             = &quot;0.1.1&quot;
+  s.version             = &quot;0.1.2&quot;
 
   s.summary             = &quot;PIvotal traCKer Liaison to cucumbER&quot;
   s.description         = &quot;Synchronize between Cucumber and Pivotal Tracker&quot;</diff>
      <filename>pickler.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>dece0808a528d979a98359a2356d9393fa0c7f8c</id>
    </parent>
  </parents>
  <author>
    <name>Tim Pope</name>
    <email>code@tpope.net</email>
  </author>
  <url>http://github.com/tpope/pickler/commit/ae1cd0826a076a1a14941fe146ab38a3f107429b</url>
  <id>ae1cd0826a076a1a14941fe146ab38a3f107429b</id>
  <committed-date>2009-08-31T15:00:59-07:00</committed-date>
  <authored-date>2009-08-31T14:45:51-07:00</authored-date>
  <message>Fix story creation with tag syntax</message>
  <tree>1af867c1d9cd86bd9152e259678d6e489ddd3169</tree>
  <committer>
    <name>Tim Pope</name>
    <email>code@tpope.net</email>
  </committer>
</commit>
