Description: Temporarily back-out the LRU caching
 Reverts 4f35d2a1aaddbfa6cf7b0dda6d37b34183be5f3f
 We haven't packaged ruby-rufus-lru, and are unlikely to in time for Jessie's
 frieeze.
Author: Stefano Rivera <stefanor@debian.org>
Last-Update: 2014-10-24
Forwarded: not-needed

--- a/lib/foodcritic/api.rb
+++ b/lib/foodcritic/api.rb
@@ -1,5 +1,4 @@
 require 'nokogiri'
-require 'rufus-lru'
 
 module FoodCritic
   # Helper methods that form part of the Rules DSL.
@@ -218,12 +217,10 @@
 
     # Read the AST for the given Ruby source file
     def read_ast(file)
-      @ast_cache ||= Rufus::Lru::Hash.new(5)
-      if @ast_cache.include?(file)
-        @ast_cache[file]
-      else
-        @ast_cache[file] = uncached_read_ast(file)
+      @ast_cache ||= Hash.new do |h,k|
+        h[k] = uncached_read_ast(k)
       end
+      @ast_cache[file]
     end
 
     # Retrieve a single-valued attribute from the specified resource.
--- a/metadata.yml
+++ b/metadata.yml
@@ -94,20 +94,6 @@
     - - ">="
       - !ruby/object:Gem::Version
         version: '0'
-- !ruby/object:Gem::Dependency
-  name: rufus-lru
-  requirement: !ruby/object:Gem::Requirement
-    requirements:
-    - - "~>"
-      - !ruby/object:Gem::Version
-        version: '1.0'
-  type: :runtime
-  prerelease: false
-  version_requirements: !ruby/object:Gem::Requirement
-    requirements:
-    - - "~>"
-      - !ruby/object:Gem::Version
-        version: '1.0'
 description: Lint tool for Opscode Chef cookbooks.
 email: 
 executables:
