Sha256: aa7e728148fc523b3f2b45a8d07f363ecb5cc19ecf5ed460182f39f6b29ac781

Contents?: true

Size: 409 Bytes

Versions: 8

Compression:

Stored size: 409 Bytes

Contents

# frozen_string_literal: true

require_relative '../interactive_listener'

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pg_export-1.0.0 lib/pg_export/listeners/interactive/decrypt_dump.rb
pg_export-1.0.0.rc8 lib/pg_export/listeners/interactive/decrypt_dump.rb
pg_export-1.0.0.rc6 lib/pg_export/lib/pg_export/listeners/interactive/decrypt_dump.rb
pg_export-1.0.0.rc5 lib/pg_export/lib/pg_export/listeners/interactive/decrypt_dump.rb
pg_export-1.0.0.rc4 lib/pg_export/lib/pg_export/listeners/interactive/decrypt_dump.rb
pg_export-1.0.0.rc3 lib/pg_export/lib/pg_export/listeners/interactive/decrypt_dump.rb
pg_export-1.0.0.rc2 lib/pg_export/lib/pg_export/listeners/interactive/decrypt_dump.rb
pg_export-1.0.0.rc1 lib/pg_export/lib/pg_export/listeners/interactive/decrypt_dump.rb