Sha256: a98d560b6a9f05cf3a9281b1e4b68378deb05e794b2e33a4158ba4ee14fee639

Contents?: true

Size: 442 Bytes

Versions: 3

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(event)
          @spinner = build_spinner("Uploading #{event[:args].first[:dump]} to #{event[:args].first[:gateway]}")
        end

        def on_step_succeeded(*)
          @spinner.success(success)
        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/upload_dump_to_ftp.rb
pg_export-1.0.0.rc2 lib/pg_export/lib/pg_export/listeners/interactive/upload_dump_to_ftp.rb
pg_export-1.0.0.rc1 lib/pg_export/lib/pg_export/listeners/interactive/upload_dump_to_ftp.rb