Sha256: 51b5f59bdccae066bc1c306ddd77c338aac8213792d8699caab722017f7f3901

Contents?: true

Size: 390 Bytes

Versions: 5

Compression:

Stored size: 390 Bytes

Contents

# frozen_string_literal: true

require_relative '../plain_listener'

class PgExport
  module Listeners
    class Plain
      class RemoveOldDumps < PlainListener
        def on_step_succeeded(event)
          event[:value][:removed_dumps].each do |filename|
            logger.info("Remove #{filename} from #{event[:value][:gateway]}")
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pg_export-1.0.0 lib/pg_export/listeners/plain/remove_old_dumps.rb
pg_export-1.0.0.rc8 lib/pg_export/listeners/plain/remove_old_dumps.rb
pg_export-1.0.0.rc6 lib/pg_export/lib/pg_export/listeners/plain/remove_old_dumps.rb
pg_export-1.0.0.rc5 lib/pg_export/lib/pg_export/listeners/plain/remove_old_dumps.rb
pg_export-1.0.0.rc4 lib/pg_export/lib/pg_export/listeners/plain/remove_old_dumps.rb