Sha256: 00d619c2034a8ae51d08144f4dc372de955550e674c0b5dc3ae18e41c83e79ba
Contents?: true
Size: 684 Bytes
Versions: 9
Compression:
Stored size: 684 Bytes
Contents
module LiveQA module Plugins module Rails class Railtie < ::Rails::Railtie initializer 'liveqa.middleware' do |app| app.config.middleware.use(LiveQA::Plugins::Rack::Middleware) if ActiveSupport.const_defined?(:Reloader) && ActiveSupport::Reloader.respond_to?(:to_complete) ActiveSupport::Reloader.to_complete do LiveQA::Store.clear! end elsif ActionDispatch.const_defined?(:Reloader) && ActionDispatch::Reloader.respond_to?(:to_cleanup) ActionDispatch::Reloader.to_cleanup do LiveQA::Store.clear! end end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems