Sha256: 02bf4660466128b690882aa526107038c076e50c5b74bbc224ec2772f1923367

Contents?: true

Size: 421 Bytes

Versions: 8

Compression:

Stored size: 421 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(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/decrypt_dump.rb
pg_export-0.7.6 lib/pg_export/lib/pg_export/listeners/interactive/decrypt_dump.rb
pg_export-0.7.5 lib/pg_export/lib/pg_export/listeners/interactive/decrypt_dump.rb
pg_export-0.7.4 lib/pg_export/lib/pg_export/listeners/interactive/decrypt_dump.rb
pg_export-0.7.3 lib/pg_export/lib/pg_export/listeners/interactive/decrypt_dump.rb
pg_export-0.7.2 lib/pg_export/lib/pg_export/listeners/interactive/decrypt_dump.rb
pg_export-0.7.1 lib/pg_export/lib/pg_export/listeners/interactive/decrypt_dump.rb
pg_export-0.7.0 lib/pg_export/lib/pg_export/listeners/interactive/decrypt_dump.rb