lib/raven/okjson.rb in sentry-raven-0.11.1 vs lib/raven/okjson.rb in sentry-raven-0.11.2
- old
+ new
@@ -270,10 +270,10 @@
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**Integer(m[3][1..-1]))]
+ [:val, m[0], Integer(m[1])*(10**m[3][1..-1].to_i(10))]
end
else
[]
end
end