From ccae619d9adbf40da0bc8569f5b7965d959aff54 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 24 Apr 2013 11:59:59 +1000 Subject: [PATCH] lru cache added --- Gemfile | 3 +++ Gemfile.lock | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Gemfile b/Gemfile index 9ccb7dbdd03..fe6d897ee18 100644 --- a/Gemfile +++ b/Gemfile @@ -118,6 +118,9 @@ gem "sprockets", :git => "git://github.com/SamSaffron/sprockets.git", :branch => # ActiveRecord, this may change in the future gem 'fast_blank' #, github: "SamSaffron/fast_blank" +# this provides a very efficient lru cache +gem 'lru_redux' + # IMPORTANT: mini profiler monkey patches, so it better be required last # If you want to amend mini profiler to do the monkey patches in the railstie # we are open to it. by deferring require to the initializer we can configure disourse installs without it diff --git a/Gemfile.lock b/Gemfile.lock index 75ad4513f8d..b75d4b98d65 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -251,6 +251,7 @@ GEM thor (~> 0.15) libv8 (3.11.8.17) listen (0.7.2) + lru_redux (0.0.6) lumberjack (1.0.2) mail (2.4.4) i18n (>= 0.4.0) @@ -511,6 +512,7 @@ DEPENDENCIES jquery-rails jshint_on_rails librarian (>= 0.0.25) + lru_redux message_bus! minitest mocha