Sha256: 9cf4798b8bdfa3ed53d623d491bd78b42bc79a1f07fa3163c617127e4ccea154

Contents?: true

Size: 418 Bytes

Versions: 3

Compression:

Stored size: 418 Bytes

Contents

# frozen_string_literal: true

require_relative '../interactive_listener'

class PgExport
  module Listeners
    class Interactive
      class DownloadDumpFromFtp < InteractiveListener
        def on_step(*)
          @spinner = build_spinner('Downloading')
        end

        def on_step_succeeded(event)
          @spinner.success([success, event[:value][:dump]].join(' '))
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pg_export-1.0.0.rc3 lib/pg_export/lib/pg_export/listeners/interactive/download_dump_from_ftp.rb
pg_export-1.0.0.rc2 lib/pg_export/lib/pg_export/listeners/interactive/download_dump_from_ftp.rb
pg_export-1.0.0.rc1 lib/pg_export/lib/pg_export/listeners/interactive/download_dump_from_ftp.rb