lib/raven/okjson.rb in sentry-raven-0.12.1 vs lib/raven/okjson.rb in sentry-raven-0.12.2

- old
+ new

@@ -276,11 +276,12 @@ if !m[2] && !m[3] [:val, m[0], Integer(m[0])] elsif m[2] [:val, m[0], Float(m[0])] else - [:val, m[0], Integer(m[1])*(10**m[3][1..-1].to_i(10))] + # We don't convert scientific notation + [:val, m[0], m[0]] end else [] end end @@ -607,6 +608,6 @@ Usurr3 = 0xe000 Spc = ' '[0] Unesc = {?b=>?\b, ?f=>?\f, ?n=>?\n, ?r=>?\r, ?t=>?\t} end -end \ No newline at end of file +end