lib/loga/rack/request_id.rb in loga-1.1.0 vs lib/loga/rack/request_id.rb in loga-1.1.1
- old
+ new
@@ -1,10 +1,10 @@
# Shamelessly copied from ActionDispatch::RequestId
require 'securerandom'
require 'active_support/core_ext/string/access'
require 'active_support/core_ext/object/blank'
-# rubocop:disable Metrics/LineLength, Lint/AssignmentInCondition, Style/GuardClause
+# rubocop:disable Metrics/LineLength, Lint/AssignmentInCondition
module Loga
module Rack
# Makes a unique request id available to the action_dispatch.request_id env variable (which is then accessible through
# ActionDispatch::Request#uuid) and sends the same id to the client via the X-Request-Id header.
#