Permalink
Browse files

Rename local cache middleware to memoizer.

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

0 comments on commit db88630

Please sign in to comment.