<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -13,12 +13,10 @@ Installation
 
 Slim attributes works with ruby 1.8.x.  Ruby 1.9 support exists, but a bug in rails prevents it working (see Bugs for further info).
 
-You're going to need the mysql headers for this to work.
-
 Try:
-gem install slim-attributes -- --with-mysql-config
+sudo gem install slim-attributes
 or:
-gem install slim-attributes
+sudo gem install slim-attributes -- --with-mysql-config
 
 then add this to environment.rb:
 require 'slim_attributes'
@@ -41,14 +39,15 @@ The field contents are then instantiated into Ruby strings on demand - ruby stri
 Bugs
 ====
 
-Slim attributes will not work correctly with rails and ruby 1.9.1 until this ticket is resolved:
+Slim attributes will not work correctly with rails and ruby 1.9.1 until Rails 2.3.5 is released due to this ticket:
 https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/3156-mysql_adapterrb-redefines-all_hashes-multiple-times-under-ruby-19
 
 
 Warranty
 ========
 
-No warranty - this gem has been tested, but not in all environments.  However, that said, we are using it in our production environment with good results.
+No warranty - this gem has been extensively tested, but not in all environments.  
+We are using it in our production environment with very good results.
 Please report bugs to sdsykes at symbol gmail pip com or via the github issue tracking system.
 
 </diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -1,12 +1,27 @@
-# this code is borrowed from Mysql/Ruby, credit to TOMITA Masahiro
+# this code was originally borrowed from Mysql/Ruby, credit to TOMITA Masahiro
 # it works for me under OS X and Fedora, hope it works for you also
 
 require 'mkmf'
 
+# Improved detection of mysql_config
+# Code from DataObjects do_mysql adapter
+# All instances of mysql_config on PATH ...
+def mysql_config_paths
+  ENV['PATH'].split(File::PATH_SEPARATOR).collect do |path|
+    [ &quot;#{path}/mysql_config&quot;, &quot;#{path}/mysql_config5&quot; ].
+      detect { |bin| File.exist?(bin) }
+  end
+end
+
+# The first mysql_config binary on PATH ...
+def default_mysql_config_path
+  mysql_config_paths.compact.first
+end
+
 if /mswin32/ =~ RUBY_PLATFORM
   inc, lib = dir_config('mysql')
   exit 1 unless have_library(&quot;libmysql&quot;)
-elsif mc = with_config('mysql-config') then
+elsif mc = with_config('mysql-config', default_mysql_config_path) then
   mc = 'mysql_config' if mc == true
   cflags = `#{mc} --cflags`.chomp
   exit 1 if $? != 0</diff>
      <filename>ext/extconf.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,26 +2,26 @@
 
 Gem::Specification.new do |s|
   s.name = %q{slim-attributes}
-  s.version = &quot;0.6.4&quot;
+  s.version = &quot;0.6.5&quot;
 
   s.required_rubygems_version = Gem::Requirement.new(&quot;&gt;= 0&quot;) if s.respond_to? :required_rubygems_version=
   s.authors = [&quot;Stephen Sykes&quot;]
-  s.date = %q{2009-07-12}
-  s.description = %q{Slim attributes boosts speed in Rails/Mysql ActiveRecord Models by avoiding instantiating Hashes for each result row, and lazily instantiating attributes as needed.}
+  s.date = %q{2009-09-22}
+  s.description = %q{Slim attributes boosts speed in Rails/Mysql ActiveRecord Models by avoiding
+    instantiating Hashes for each result row, and lazily instantiating attributes as needed.}
   s.email = %q{sdsykes@gmail.com}
   s.extensions = [&quot;ext/extconf.rb&quot;]
   s.extra_rdoc_files = [&quot;README&quot;]
   s.files = [&quot;MIT_LICENCE&quot;, &quot;Rakefile&quot;, &quot;README&quot;, &quot;VERSION.yml&quot;, &quot;ext/extconf.rb&quot;, &quot;ext/slim_attrib_ext.c&quot;, &quot;lib/slim_attributes.rb&quot;, &quot;test/benchmark.rb&quot;, &quot;test/database.yml&quot;, &quot;test/products.rb&quot;, &quot;test/slim_attributes_test.rb&quot;, &quot;test/slim_db_test_utils.rb&quot;]
-  s.has_rdoc = true
   s.homepage = %q{http://github.com/sdsykes/slim-attributes}
   s.rdoc_options = [&quot;--inline-source&quot;, &quot;--charset=UTF-8&quot;]
   s.require_paths = [&quot;lib&quot;]
-  s.rubygems_version = %q{1.3.1}
+  s.rubygems_version = %q{1.3.5}
   s.summary = %q{Slim-attributes - lazy instantiation of attributes for ActiveRecord}
 
   if s.respond_to? :specification_version then
     current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
-    s.specification_version = 2
+    s.specification_version = 3
 
     if Gem::Version.new(Gem::RubyGemsVersion) &gt;= Gem::Version.new('1.2.0') then
     else</diff>
      <filename>slim-attributes.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c904bca69c4ea8e0a27ecbb8983c098b8bc29c3f</id>
    </parent>
  </parents>
  <author>
    <name>sdsykes</name>
    <email>sdsykes@gmail.com</email>
  </author>
  <url>http://github.com/sdsykes/slim-attributes/commit/3fde1218af18cf2ffc0c921cd0382125830ed4dd</url>
  <id>3fde1218af18cf2ffc0c921cd0382125830ed4dd</id>
  <committed-date>2009-09-21T23:04:28-07:00</committed-date>
  <authored-date>2009-09-21T23:04:28-07:00</authored-date>
  <message>Add mysql-config detection in extconf.rb to avoid having to specify it on the command line (credit: ghazel)
Doc updates</message>
  <tree>83382e4d6f717d904a18a6f50b0b5fbfea71e9c3</tree>
  <committer>
    <name>sdsykes</name>
    <email>sdsykes@gmail.com</email>
  </committer>
</commit>
