bin/sup-sync in sup-0.3 vs bin/sup-sync in sup-0.4
- old
+ new
@@ -5,9 +5,12 @@
require 'trollop'
require "sup"
class Float
def to_s; sprintf '%.2f', self; end
+ def to_time_s
+ infinite? ? "unknown" : super
+ end
end
class Numeric
def to_time_s
i = to_i