<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -17,7 +17,7 @@ module ScaffoldingExtensions
         meth = &quot;scaffold_#{action}_#{m}&quot;
         if respond_to?(meth, true)
           Proc.new{send(meth)}
-        elsif instance_variables.include?(meth = &quot;@#{meth}&quot;)
+        elsif instance_variable_defined?(meth = &quot;@#{meth}&quot;)
           Proc.new{instance_variable_get(meth)}
         end 
       end </diff>
      <filename>lib/scaffolding_extensions/overridable.rb</filename>
    </modified>
    <modified>
      <diff>@@ -8,6 +8,7 @@ spec = Gem::Specification.new do |s|
   s.files = %w'LICENSE README' + Dir['{lib,doc,contrib,scaffolds}/**/*']
   s.require_paths = [&quot;lib&quot;]
   s.has_rdoc = true
+  s.required_ruby_version = &quot;&gt;= 1.8.6&quot;
   s.rdoc_options = %w'--inline-source --line-numbers README LICENSE lib' + Dir['doc/*.txt']
   s.rubyforge_project = 'scaffolding-ext'
   s.homepage = 'http://scaffolding-ext.rubyforge.org/'</diff>
      <filename>scaffolding_extensions.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>09adeb306d4d7aa9071ba21eda5e99292412dc97</id>
    </parent>
  </parents>
  <author>
    <name>Jeremy Evans</name>
    <email>code@jeremyevans.net</email>
  </author>
  <url>http://github.com/jeremyevans/scaffolding_extensions/commit/16bf607001f6e542ae055ed2154681a68dca660e</url>
  <id>16bf607001f6e542ae055ed2154681a68dca660e</id>
  <committed-date>2009-06-16T14:16:57-07:00</committed-date>
  <authored-date>2009-06-16T10:26:09-07:00</authored-date>
  <message>Use instance_variable_defined? in Overridable so SE works on 1.8 and 1.9

I was on the fence about using instance_variable_defined?, since it
was added in 1.8.6, and there are a lot of systems still using 1.8.5
(CentOS/RHEL 5).  However, I bumped the required ruby version of the
gem to 1.8.6, so people using 1.8.5 shouldn't be able to install it.
If there is anyone using 1.8.5 that wants to use future SE versions, I
don't have a problem modifying things.</message>
  <tree>f9cfebd850ad4e2e124ff25fd721349346763b1e</tree>
  <committer>
    <name>Jeremy Evans</name>
    <email>code@jeremyevans.net</email>
  </committer>
</commit>
