Sha256: 0c4d27a911c3a396896a4a50e63c5ca6a8f81c7a5b231d51b949dc0e97ed3acf

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 EncryptDump < InteractiveListener
        def on_step(*)
          @spinner = build_spinner('Encrypting')
        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/encrypt_dump.rb
pg_export-1.0.0.rc8 lib/pg_export/listeners/interactive/encrypt_dump.rb
pg_export-1.0.0.rc6 lib/pg_export/lib/pg_export/listeners/interactive/encrypt_dump.rb
pg_export-1.0.0.rc5 lib/pg_export/lib/pg_export/listeners/interactive/encrypt_dump.rb
pg_export-1.0.0.rc4 lib/pg_export/lib/pg_export/listeners/interactive/encrypt_dump.rb
pg_export-1.0.0.rc3 lib/pg_export/lib/pg_export/listeners/interactive/encrypt_dump.rb
pg_export-1.0.0.rc2 lib/pg_export/lib/pg_export/listeners/interactive/encrypt_dump.rb
pg_export-1.0.0.rc1 lib/pg_export/lib/pg_export/listeners/interactive/encrypt_dump.rb