Sha256: 195730222e4ecec1db05675e6582c945dc2662d076f0997c5d0154860b54b00e

Contents?: true

Size: 382 Bytes

Versions: 5

Compression:

Stored size: 382 Bytes

Contents

# frozen_string_literal: true

require_relative '../interactive_listener'

class PgExport
  module Listeners
    class Interactive
      class OpenConnection < InteractiveListener
        def on_step(*)
          @spinner = build_spinner('Opening connection')
        end

        def on_step_succeeded(*)
          @spinner.success(success)
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pg_export-1.0.0 lib/pg_export/listeners/interactive/open_connection.rb
pg_export-1.0.0.rc8 lib/pg_export/listeners/interactive/open_connection.rb
pg_export-1.0.0.rc6 lib/pg_export/lib/pg_export/listeners/interactive/open_connection.rb
pg_export-1.0.0.rc5 lib/pg_export/lib/pg_export/listeners/interactive/open_connection.rb
pg_export-1.0.0.rc4 lib/pg_export/lib/pg_export/listeners/interactive/open_connection.rb