Sha256: f8a486091e1df6a0e1f207dab528ac8fd66551f6272ef8031666ca86fa6410fd

Contents?: true

Size: 550 Bytes

Versions: 16

Compression:

Stored size: 550 Bytes

Contents

# frozen_string_literal: true

require_relative "base"
require_relative "rack/request_logger"
require_relative "rack/request_id"
require_relative "rack/store_request_details"
require_relative "rack/silence_action_dispatch_logger"
require_relative "../ext/rack/common_logger"

module Kiev
  module Rack
    def self.included(base)
      # The order is important
      base.use(::RequestStore::Middleware)
      base.use(Kiev::Rack::RequestLogger)
      base.use(Kiev::Rack::StoreRequestDetails)
      base.use(Kiev::Rack::RequestId)
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
kiev-4.9.0 lib/kiev/rack.rb
kiev-4.8.3 lib/kiev/rack.rb
kiev-4.8.2 lib/kiev/rack.rb
kiev-4.8.1 lib/kiev/rack.rb
kiev-4.8.0 lib/kiev/rack.rb
kiev-4.7.0 lib/kiev/rack.rb
kiev-4.6.0 lib/kiev/rack.rb
kiev-4.5.0 lib/kiev/rack.rb
kiev-4.4.0 lib/kiev/rack.rb
kiev-4.3.0 lib/kiev/rack.rb
kiev-4.2.0 lib/kiev/rack.rb
kiev-4.1.0 lib/kiev/rack.rb
kiev-4.0.0 lib/kiev/rack.rb
kiev-3.0.0 lib/kiev/rack.rb
kiev-2.8.0 lib/kiev/rack.rb
kiev-2.7.3 lib/kiev/rack.rb