Sha256: ad607ca95fdd49bc6bd4a7f071934c795934f26b05007cb0be0d709ee2ba94c8

Contents?: true

Size: 186 Bytes

Versions: 5

Compression:

Stored size: 186 Bytes

Contents

module Kasket
  class RackMiddleware
    def initialize(app)
      @app = app
    end

    def call(env)
      @app.call(env)
    ensure
      Kasket.cache.clear_local
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kasket-0.6.4 lib/kasket/rack_middleware.rb
kasket-0.6.3 lib/kasket/rack_middleware.rb
kasket-0.6.2 lib/kasket/rack_middleware.rb
kasket-0.6.1 lib/kasket/rack_middleware.rb
kasket-0.6.0 lib/kasket/rack_middleware.rb