lib/kestrel/client/stats_helper.rb in kestrel-client-0.6.0 vs lib/kestrel/client/stats_helper.rb in kestrel-client-0.6.1

- old
+ new

@@ -67,12 +67,12 @@ result end def deserialize_stat_value(value) case value - when /^\d+\.\d+$/: + when /^\d+\.\d+$/ value.to_f - when /^\d+$/: + when /^\d+$/ value.to_i else value end end