<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -26,15 +26,15 @@ require 'yaml'
 require 'pathname'
 
 cwd = Pathname(__FILE__).dirname
-$:.unshift(cwd) unless $:.include?(cwd) || $:.include?(cwd.expand_path)
+$:.unshift(cwd.to_s) unless $:.include?(cwd.to_s) || $:.include?(cwd.expand_path.to_s)
 
 require 'patron/session'
 
 module Patron #:nodoc:
   # Returns the version number of the Patron library as a string
   def self.version
-    cwd = Pathname(__FILE__).dirname
-    yaml = YAML.load_file(cwd.expand_path + '../VERSION.yml')
+    cwd = Pathname(__FILE__).dirname.expand_path.to_s
+    yaml = YAML.load_file(cwd + '/../VERSION.yml')
     major = (yaml['major'] || yaml[:major]).to_i
     minor = (yaml['minor'] || yaml[:minor]).to_i
     patch = (yaml['patch'] || yaml[:patch]).to_i</diff>
      <filename>lib/patron.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>22f387bede76c8c39bff6598abf75599fb4f78dd</id>
    </parent>
  </parents>
  <author>
    <name>Phillip Toland</name>
    <email>phil.toland@gmail.com</email>
  </author>
  <url>http://github.com/toland/patron/commit/110edcc8a137034b1ce17e5d6f2bffc4cc9a6db6</url>
  <id>110edcc8a137034b1ce17e5d6f2bffc4cc9a6db6</id>
  <committed-date>2009-10-04T17:32:31-07:00</committed-date>
  <authored-date>2009-10-04T17:32:31-07:00</authored-date>
  <message>Fixed an incompatibility with Ruby 1.9. Closes #5.</message>
  <tree>7692d663fdf84fb571a0496c632436c6eb8cf68f</tree>
  <committer>
    <name>Phillip Toland</name>
    <email>phil.toland@gmail.com</email>
  </committer>
</commit>
