From 56af2978b6b1a7c37c069f2f95171ae805264596 Mon Sep 17 00:00:00 2001 From: Tim van der Staaij Date: Sun, 5 Mar 2017 12:01:58 +0100 Subject: [PATCH] Remove support for last_date field from DumpProgress This piece of backwards compatibility became obsolete since 706776a broke progress compatibility with 2.x. --- lib/dump_progress.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dump_progress.rb b/lib/dump_progress.rb index 615c4cf..26875bc 100644 --- a/lib/dump_progress.rb +++ b/lib/dump_progress.rb @@ -20,7 +20,7 @@ def initialize(newest_id = nil, newest_date = nil, def self.from_hash(hash) self.new( hash['newest_id'], - hash['newest_date'] || hash['last_date'], # last_date is v2.0.x compat + hash['newest_date'], hash['dumper_state'], hash['counts'] )