Sha256: ea9f1e64e2f28f6ad2424cb2d34916bc81bcfe9e3087504fac7d8aa2763fa397

Contents?: true

Size: 714 Bytes

Versions: 2

Compression:

Stored size: 714 Bytes

Contents

# frozen_string_literal: true

PgExport::Container.boot(:operations) do
  init do
    require 'pg_export/lib/pg_export/operations/encrypt_dump'
    require 'pg_export/lib/pg_export/operations/decrypt_dump'
    require 'pg_export/lib/pg_export/operations/remove_old_dumps'
    require 'pg_export/lib/pg_export/operations/open_connection'
  end

  start do
    register('operations.encrypt_dump') { ::PgExport::Operations::EncryptDump.new }
    register('operations.decrypt_dump') { ::PgExport::Operations::DecryptDump.new }
    register('operations.remove_old_dumps') { ::PgExport::Operations::RemoveOldDumps.new }
    register('operations.open_connection') { ::PgExport::Operations::OpenConnection.new }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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