Sha256: 1b507c742ee946e4498b6869135170154ecf68321a644ebea534273e695984c5

Contents?: true

Size: 213 Bytes

Versions: 12

Compression:

Stored size: 213 Bytes

Contents

<%= config[:camel_cased_app_name] %>::Container.finalize :monitor do |_container|
  init do
    require "dry/monitor"
  end

  start do
    Dry::Monitor::SQL::Logger.new(logger).subscribe(notifications)
  end
end

Version data entries

12 entries across 11 versions & 2 rubygems

Version Path
kanji-web-0.2.2 lib/kanji/templates/system/boot/monitor.rb.tt
kanji-web-0.2.1 lib/kanji/templates/system/boot/monitor.rb.tt
kanji-web-0.2.0 lib/kanji/templates/system/boot/monitor.rb.tt
kanji-web-0.1.0 lib/kanji/templates/system/boot/monitor.rb.tt
dry-web-roda-0.7.5 lib/dry/web/roda/templates/monitor.rb.tt
dry-web-roda-0.7.4 lib/dry/web/roda/templates/monitor.rb.tt
dry-web-roda-0.7.3 lib/dry/web/roda/templates/monitor.rb.tt
dry-web-roda-0.7.2 lib/dry/web/roda/templates/monitor.rb.tt
dry-web-roda-0.7.1 lib/dry/web/roda/templates/monitor.rb.tt
dry-web-roda-0.7.0 lib/dry/web/roda/templates/monitor.rb.tt
dry-web-roda-0.6.3 lib/dry/web/roda/skeletons/flat_project/system/boot/monitor.rb.tt
dry-web-roda-0.6.3 lib/dry/web/roda/skeletons/umbrella_project/system/boot/monitor.rb.tt