Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Rename local cache middleware to memoizer.

  • Loading branch information...
commit db88630988527aed66693830f9e3f8e88af774ae 1 parent a1c3804
John Nunemaker authored February 15, 2013
2  lib/flipper/middleware/local_cache.rb → lib/flipper/middleware/memoizer.rb
@@ -2,7 +2,7 @@
2 2
 
3 3
 module Flipper
4 4
   module Middleware
5  
-    class LocalCache
  5
+    class Memoizer
6 6
       def initialize(app, flipper)
7 7
         @app = app
8 8
         @flipper = flipper
4  spec/flipper/middleware/local_cache_spec.rb → spec/flipper/middleware/memoizer_spec.rb
... ...
@@ -1,10 +1,10 @@
1 1
 require 'helper'
2 2
 require 'rack/test'
3  
-require 'flipper/middleware/local_cache'
  3
+require 'flipper/middleware/memoizer'
4 4
 require 'flipper/adapters/operation_logger'
5 5
 require 'flipper/adapters/memory'
6 6
 
7  
-describe Flipper::Middleware::LocalCache do
  7
+describe Flipper::Middleware::Memoizer do
8 8
   include Rack::Test::Methods
9 9
 
10 10
   let(:source)         { {} }

0 notes on commit db88630

Please sign in to comment.
Something went wrong with that request. Please try again.