<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,6 @@
 spec = Gem::Specification.new do |s| 
   s.name = &quot;fixture_dependencies&quot;
-  s.version = &quot;1.2.1&quot;
+  s.version = &quot;1.2.2&quot;
   s.author = &quot;Jeremy Evans&quot;
   s.email = &quot;code@jeremyevans.net&quot;
   s.platform = Gem::Platform::RUBY</diff>
      <filename>fixture_dependencies.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -135,6 +135,7 @@ class &lt;&lt; FixtureDependencies
     # return if object has already been loaded into the database
     if existing_obj = model_method(:model_find_by_pk, mtype, model, attributes[model.primary_key.to_sym])
       puts &quot;#{spaces}using #{record}: already in database&quot; if verbose &gt; 2
+      loading.pop
       return existing_obj
     end
     obj = model.new</diff>
      <filename>lib/fixture_dependencies.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5d4464beac9d2b03f4f81a113d5fd66c53a87e92</id>
    </parent>
  </parents>
  <author>
    <name>Jeremy Evans</name>
    <email>code@jeremyevans.net</email>
  </author>
  <url>http://github.com/jeremyevans/fixture_dependencies/commit/3566588c5aee5fe075e8d7eb5beecc84fedeff5f</url>
  <id>3566588c5aee5fe075e8d7eb5beecc84fedeff5f</id>
  <committed-date>2009-05-07T16:00:24-07:00</committed-date>
  <authored-date>2009-05-07T16:00:24-07:00</authored-date>
  <message>Fix issue where an association cycle is detected incorrectly, bump version to 1.2.2

This is a one line change that pops the loading stack when the object
already exists in the database, so if later on the object needs to be
loaded again, it won't detect a cycle (since there is no cycle).</message>
  <tree>793691d22f6469e8a6c146e4ab84565dcb107a01</tree>
  <committer>
    <name>Jeremy Evans</name>
    <email>code@jeremyevans.net</email>
  </committer>
</commit>
