lib/request_log_analyzer/request.rb in wvanbergen-request-log-analyzer-1.1.4 vs lib/request_log_analyzer/request.rb in wvanbergen-request-log-analyzer-1.1.5.1

- old
+ new

@@ -29,10 +29,12 @@ nil end end def convert_eval(value, capture_definition) - eval(value) + eval(value).inject({}) { |h, (k, v)| h[k.to_sym] = v; h} + rescue SyntaxError + nil end # Slow default method to parse timestamps def convert_timestamp(value, capture_definition) DateTime.parse(value).strftime('%Y%m%d%H%M%S').to_i unless value.nil? \ No newline at end of file