Sha256: dc71e91316e977c8d39f9b385706226b534ade300c0925e77efd5bd14ea7caad

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 EncryptDump < InteractiveListener
        def on_step(*)
          @spinner = build_spinner('Encrypting')
        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/encrypt_dump.rb
pg_export-0.7.6 lib/pg_export/lib/pg_export/listeners/interactive/encrypt_dump.rb
pg_export-0.7.5 lib/pg_export/lib/pg_export/listeners/interactive/encrypt_dump.rb
pg_export-0.7.4 lib/pg_export/lib/pg_export/listeners/interactive/encrypt_dump.rb
pg_export-0.7.3 lib/pg_export/lib/pg_export/listeners/interactive/encrypt_dump.rb
pg_export-0.7.2 lib/pg_export/lib/pg_export/listeners/interactive/encrypt_dump.rb
pg_export-0.7.1 lib/pg_export/lib/pg_export/listeners/interactive/encrypt_dump.rb
pg_export-0.7.0 lib/pg_export/lib/pg_export/listeners/interactive/encrypt_dump.rb