lib/dcell/rpc.rb in dcell-0.8.0 vs lib/dcell/rpc.rb in dcell-0.9.0
- old
+ new
@@ -1,8 +1,8 @@
require 'weakref'
module DCell
- EPOCH = Time.new(2012, 1, 1, 0, 0, 0, "+00:00") # All things begin in 2012
+ EPOCH = Time.gm(2012) # All things begin in 2012
class RPC < Celluloid::SyncCall
def initialize(id, caller, method, arguments, block)
@id, @caller, @method, @arguments, @block = id, caller, method, arguments, block
end