Sha256: f9aa790530206f43ee02a468b6225785b3af4a0be1f6b136f0ca3c5e0ee30387
Contents?: true
Size: 652 Bytes
Versions: 1
Compression:
Stored size: 652 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 type = 'interactive' transaction = PgExport::Transactions::ImportDumpInteractively.new(ui_input: target["ui.#{type}.input"]) unless target[:config].logger_muted? %i[ open_connection fetch_dumps download_dump decrypt_dump restore ].each do |step| transaction.subscribe(step => target["listeners.#{type}.#{step}"]) end 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.rc4 | lib/pg_export/system/boot/interactive.rb |