Sha256: 35d7f400153766d004a0f32ed3c1a367ac7ef4c5d1bac2a77ce8e035a9f61988

Contents?: true

Size: 427 Bytes

Versions: 3

Compression:

Stored size: 427 Bytes

Contents

# frozen_string_literal: true

require_relative '../interactive_listener'

class PgExport
  module Listeners
    class Interactive
      class UploadDump < InteractiveListener
        def on_step(event)
          @spinner = build_spinner("Uploading #{event[:value][:dump]} to #{event[:value][: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 lib/pg_export/listeners/interactive/upload_dump.rb
pg_export-1.0.0.rc8 lib/pg_export/listeners/interactive/upload_dump.rb
pg_export-1.0.0.rc6 lib/pg_export/lib/pg_export/listeners/interactive/upload_dump.rb