<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,6 @@
+2008-08-18 Norman Clarke &lt;norman@randomba.org&gt;
+  * Fixed ability to set the path for storing image files.
+
 2008-08-1 Adrian Mugnolo &lt;adrian@randomba.org&gt;
   * Improved partitioned path handling to avoid collisions when the id is
     very high, which can happen if you use db:fixtures:load.</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 Gem::Specification.new do |s|
   s.name = &quot;has_image&quot;
-  s.version = &quot;0.1.7&quot;
-  s.date = &quot;2008-08-01&quot;
+  s.version = &quot;0.1.8&quot;
+  s.date = &quot;2008-08-18&quot;
   s.add_dependency('mini_magick', '&gt;= 1.2.3')
   s.rubyforge_project = 'has-image'  
   s.summary = &quot;Lets you attach images with thumbnails to active record models.&quot;</diff>
      <filename>has_image.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -90,7 +90,7 @@ module HasImage
     #
     #   /photos/0000/0001/3er0zs.jpg
     def public_path_for(object, thumbnail = nil)
-      filesystem_path_for(object, thumbnail).gsub(options[:base_path], '')
+      filesystem_path_for(object, thumbnail).gsub(/\A.*public/, '')
     end
     
     # Deletes the images and directory that contains them.</diff>
      <filename>lib/has_image/storage.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a333fb7c1957dbfdc6e4902bb5d8b782a5207f16</id>
    </parent>
  </parents>
  <author>
    <name>Norman Clarke</name>
    <email>norman@addthree.com</email>
  </author>
  <url>http://github.com/norman/has_image/commit/51e75df3898c12e79e748ed11ce30cbafd113a97</url>
  <id>51e75df3898c12e79e748ed11ce30cbafd113a97</id>
  <committed-date>2008-08-18T08:31:00-07:00</committed-date>
  <authored-date>2008-08-18T08:31:00-07:00</authored-date>
  <message>Fixed ability to set the path for storing image files.</message>
  <tree>d3c19683f7ce895a9d560a15baf0ee16aae5b321</tree>
  <committer>
    <name>Norman Clarke</name>
    <email>norman@addthree.com</email>
  </committer>
</commit>
