<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,4 +3,4 @@ require 'activerecord'
 ActiveRecord::Base.establish_connection(
   :adapter =&gt; 'sqlite3',
   :dbfile =&gt; ':memory:'
-)
\ No newline at end of file
+)</diff>
      <filename>config/environment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -45,7 +45,7 @@ module Cash
         alias_method_chain :transaction, :cache_transaction
       end
     end
-    
+
     def transaction_with_cache_transaction(&amp;block)
       repository.transaction { transaction_without_cache_transaction(&amp;block) }
     end</diff>
      <filename>lib/cash.rb</filename>
    </modified>
    <modified>
      <diff>@@ -51,7 +51,7 @@ module Cash
           result
         end
       end
-      
+
       def decr(key, delta = 1, ttl = 0)
         repository.decr(cache_key(key), delta) || begin
           repository.add(cache_key(key), (result = yield).to_s, ttl, true)
@@ -67,7 +67,7 @@ module Cash
         &quot;#{name}/#{key.to_s.gsub(' ', '+')}&quot;
       end
     end
-    
+
     module InstanceMethods
       def expire
         self.class.expire(id)</diff>
      <filename>lib/cash/accessor.rb</filename>
    </modified>
    <modified>
      <diff>@@ -16,7 +16,7 @@ module Cash
           end
         end
       end
-      
+
       def without_cache(&amp;block)
         User.with_scope(:find =&gt; {:readonly =&gt; true}, &amp;block)
       end</diff>
      <filename>lib/cash/finders.rb</filename>
    </modified>
    <modified>
      <diff>@@ -37,7 +37,7 @@ module Cash
         old_attribute_value_pairs, _ = old_and_new_attribute_value_pairs(object)
         remove_from_index_with_minimal_network_operations(old_attribute_value_pairs, object)
       end
-    
+
       def delete(object)
         old_attribute_value_pairs, _ = old_and_new_attribute_value_pairs(object)
         key = cache_key(old_attribute_value_pairs)
@@ -45,7 +45,7 @@ module Cash
       end
     end
     include Commands
-    
+
     module Attributes
       def ttl
         @ttl ||= options[:ttl] || config.ttl
@@ -68,7 +68,7 @@ module Cash
       end
     end
     include Attributes
-    
+
     def serialize_object(object)
       primary_key? ? object : object.id
     end</diff>
      <filename>lib/cash/index.rb</filename>
    </modified>
    <modified>
      <diff>@@ -14,7 +14,7 @@ module Cash
       def perform(find_options = {}, get_options = {})
         if cache_config = cacheable?(@options1, @options2, find_options)
           cache_keys, index = cache_keys(cache_config[0]), cache_config[1]
-          
+
           misses, missed_keys, objects = hit_or_miss(cache_keys, index, get_options)
           format_results(cache_keys, choose_deserialized_objects_if_possible(missed_keys, cache_keys, misses, objects))
         else
@@ -59,7 +59,7 @@ module Cash
           end
         end
       end
-      
+
       def hit_or_miss(cache_keys, index, options)
         misses, missed_keys = nil, nil
         objects = @active_record.get(cache_keys, options.merge(:ttl =&gt; index.ttl)) do |missed_keys|</diff>
      <filename>lib/cash/query/abstract.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,3 @@
 module Cash
   Request = {}
-end
\ No newline at end of file
+end</diff>
      <filename>lib/cash/request.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 class Array
   alias_method :count, :size
-  
+
   def to_hash
     keys_and_values_without_nils = reject { |key, value| value.nil? }
     shallow_flattened_keys_and_values_without_nils = keys_and_values_without_nils.inject([]) { |result, pair| result += pair }</diff>
      <filename>lib/cash/util/array.rb</filename>
    </modified>
    <modified>
      <diff>@@ -63,7 +63,7 @@ module Cash
       def remove_from_caches(object)
         indices.each { |index| index.remove(object) }
       end
-      
+
       def expire_caches(object)
         indices.each { |index| index.delete(object) }
       end</diff>
      <filename>lib/cash/write_through.rb</filename>
    </modified>
    <modified>
      <diff>@@ -48,13 +48,13 @@ module Cash
               Story.count
             end
           end
-          
+
           describe '#count(:all, :conditions =&gt; ...)' do
             before do
               Story.create!(:title =&gt; @title = 'title')
               $memcache.flush_all
             end
-            
+
             it &quot;populates the count correctly&quot; do
               Story.count(:all, :conditions =&gt; { :title =&gt; @title }).should == 1
               Story.fetch(&quot;title/#{@title}/count&quot;, :raw =&gt; true).should =~ /\s*1\s*/</diff>
      <filename>spec/cash/calculations_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -340,4 +340,4 @@ module Cash
       end
     end
   end
-end
\ No newline at end of file
+end</diff>
      <filename>spec/cash/finders_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -105,7 +105,7 @@ module Cash
           $memcache.get(@key).should == @value
         end
       end
-      
+
       it &quot;reads through the real cache if key has not been written to&quot; do
         $memcache.set(@key, @value)
         @cache.transaction do</diff>
      <filename>spec/cash/transactional_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -12,7 +12,7 @@ Spec::Runner.configure do |config|
   config.mock_with :rr
   config.before :suite do
     load File.join(dir, &quot;../db/schema.rb&quot;)
-    
+
     config = YAML.load(IO.read((File.expand_path(File.dirname(__FILE__) + &quot;/../config/memcache.yml&quot;))))['test']
     $memcache = MemCache.new(config)
     $memcache.servers = config['servers']</diff>
      <filename>spec/spec_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2b2fcce814823b3df4080a623d6a2e7f96ee02ba</id>
    </parent>
  </parents>
  <author>
    <name>pivotal</name>
    <email>pivotal@Toemang.local</email>
  </author>
  <url>http://github.com/nkallen/cache-money/commit/71401f26d6b5531bd4fc18cfb450daa9392c1905</url>
  <id>71401f26d6b5531bd4fc18cfb450daa9392c1905</id>
  <committed-date>2008-12-10T15:59:25-08:00</committed-date>
  <authored-date>2008-12-10T15:59:25-08:00</authored-date>
  <message>brittspace</message>
  <tree>c8b659a1637fbd1f5f75fb40277166b298d13531</tree>
  <committer>
    <name>pivotal</name>
    <email>pivotal@Toemang.local</email>
  </committer>
</commit>
