Sha256: e0c5e7b205bb0c255d039e1a2bd78a31e83c937dc86bfeba6aad4fe2dc7a24b1

Contents?: true

Size: 430 Bytes

Versions: 8

Compression:

Stored size: 430 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(step_name:, args:, value:)
          @spinner.success([success, value[:dump]].join(' '))
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pg_export-0.7.7 lib/pg_export/lib/pg_export/listeners/interactive/download_dump_from_ftp.rb
pg_export-0.7.6 lib/pg_export/lib/pg_export/listeners/interactive/download_dump_from_ftp.rb
pg_export-0.7.5 lib/pg_export/lib/pg_export/listeners/interactive/download_dump_from_ftp.rb
pg_export-0.7.4 lib/pg_export/lib/pg_export/listeners/interactive/download_dump_from_ftp.rb
pg_export-0.7.3 lib/pg_export/lib/pg_export/listeners/interactive/download_dump_from_ftp.rb
pg_export-0.7.2 lib/pg_export/lib/pg_export/listeners/interactive/download_dump_from_ftp.rb
pg_export-0.7.1 lib/pg_export/lib/pg_export/listeners/interactive/download_dump_from_ftp.rb
pg_export-0.7.0 lib/pg_export/lib/pg_export/listeners/interactive/download_dump_from_ftp.rb