Sha256: 6392b61c4a06e4e1cf06113d9ec2b617bd7c7e63e552a5d66bf026b77753fbdf

Contents?: true

Size: 411 Bytes

Versions: 1

Compression:

Stored size: 411 Bytes

Contents

# frozen_string_literal: true

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

  start do
    transaction = PgExport::Transactions::ExportDump.new
    transaction.steps.each do |step|
      transaction.subscribe(step.name => target["listeners.plain.#{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/plain.rb