<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -153,8 +153,10 @@ module Components::Caching
     end
     key = key_pieces.collect do |arg|
       case arg
-        when ActiveRecord::Base:  &quot;#{arg.class.to_s.underscore}#{arg.id}&quot; # note: doesn't apply to record sets
-        else                      arg.to_param
+        when ActiveRecord::Base
+          &quot;#{arg.class.to_s.underscore}#{arg.id}&quot; # note: doesn't apply to record sets
+        else
+          arg.to_param
       end
     end.join('/')
 
@@ -170,8 +172,10 @@ module Components::Caching
 
   def call(method, args)
     case method
-      when Proc: method.call(*args)
-      when Symbol: send(method, *args)
+      when Proc
+        method.call(*args)
+      when Symbol
+        send(method, *args)
     end
   end
 </diff>
      <filename>lib/components/caching.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6bfb8789562a9462b846ef9ee68231bb381bd98b</id>
    </parent>
  </parents>
  <author>
    <name>Alexander Lang</name>
    <email>alex@upstream-berlin.com</email>
  </author>
  <url>http://github.com/cainlevy/components/commit/8b326e964832754242dbe16e8d6983af63cafd3e</url>
  <id>8b326e964832754242dbe16e8d6983af63cafd3e</id>
  <committed-date>2009-08-01T00:44:46-07:00</committed-date>
  <authored-date>2009-06-19T03:57:12-07:00</authored-date>
  <message>changed syntax to be ruby 1.9 compatible

Signed-off-by: Lance Ivy &lt;lance@cainlevy.net&gt;</message>
  <tree>a84037d1569bbc7d6d92b698eb43fc6391f2db64</tree>
  <committer>
    <name>Lance Ivy</name>
    <email>lance@cainlevy.net</email>
  </committer>
</commit>
