Closed yaauie closed 11 years ago
@yaauie your PR makes sense to me but, according to @travisbot, tests doesn't pass in ruby 1.9.3. Could you take a look and fix them? Cheers!
Odd, since that's what I developed on and tested on locally. I have added commits that change this to use iso8601, which shouldn't be susceptible to unix-epoch restraints.
ping
So sorry for the delay!!
subclasses of the above classes don't survive the round-trip through
Delorean
, returning their superclass instead. Notably,Zip::DOSTime
(rubyzip) inherits fromTime
, butZip::DOSTime.now
returns an instance ofTime
(see #25 in jtrupiano/timecop)This patch alleviates the problem, and attempts to do so in as clean a manner as possible.