Sha256: 5beede4fa8e6ecf465fd45fce4227ca553d635dc7f648cccccb4b62ec6b5f44b

Contents?: true

Size: 442 Bytes

Versions: 8

Compression:

Stored size: 442 Bytes

Contents

# frozen_string_literal: true

require_relative '../interactive_listener'

class PgExport
  module Listeners
    class Interactive
      class UploadDumpToFtp < InteractiveListener
        def on_step(step_name:, args:)
          @spinner = build_spinner("Uploading #{args.first[:dump]} to #{args.first[:ftp_adapter]}")
        end

        def on_step_succeeded(*)
          @spinner.success(success)
        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/upload_dump_to_ftp.rb
pg_export-0.7.6 lib/pg_export/lib/pg_export/listeners/interactive/upload_dump_to_ftp.rb
pg_export-0.7.5 lib/pg_export/lib/pg_export/listeners/interactive/upload_dump_to_ftp.rb
pg_export-0.7.4 lib/pg_export/lib/pg_export/listeners/interactive/upload_dump_to_ftp.rb
pg_export-0.7.3 lib/pg_export/lib/pg_export/listeners/interactive/upload_dump_to_ftp.rb
pg_export-0.7.2 lib/pg_export/lib/pg_export/listeners/interactive/upload_dump_to_ftp.rb
pg_export-0.7.1 lib/pg_export/lib/pg_export/listeners/interactive/upload_dump_to_ftp.rb
pg_export-0.7.0 lib/pg_export/lib/pg_export/listeners/interactive/upload_dump_to_ftp.rb