lib/rack/tracker/handler.rb in rack-tracker-1.7.0 vs lib/rack/tracker/handler.rb in rack-tracker-1.8.0

- old
+ new

@@ -66,10 +66,11 @@ end def tracker_options @_tracker_options ||= {}.tap do |tracker_options| options.slice(*allowed_tracker_options).each do |key, value| - if option_value = value.respond_to?(:call) ? value.call(env) : value + option_value = value.respond_to?(:call) ? value.call(env) : value + unless option_value.nil? tracker_options[tracker_option_key(key)] = tracker_option_value(option_value) end end end end