Sha256: c09480c1dd067118ad3347f602335ea3d78c1bf5b1acedee97df831683bec660

Contents?: true

Size: 450 Bytes

Versions: 1

Compression:

Stored size: 450 Bytes

Contents

# frozen_string_literal: true

PgExport::Container.boot(:interactive) do
  init do
    require 'pg_export/lib/pg_export/transactions/import_dump_interactively'
  end

  start do
    transaction = PgExport::Transactions::ImportDumpInteractively.new
    transaction.steps.each do |step|
      transaction.subscribe(step.name => target["listeners.interactive.#{step.name}"])
    end

    register('transaction', memoize: true) { transaction }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pg_export-1.0.0.rc5 lib/pg_export/system/boot/interactive.rb