Sha256: 2f96ab10c062e1b41875417fe149c01874d96049830fc4c64cb2921d52b274ee
Contents?: true
Size: 487 Bytes
Versions: 34
Compression:
Stored size: 487 Bytes
Contents
# encoding: utf-8 LibraryDetection.defer do named :puma depends_on do defined?(::Puma) && defined?(::Puma::Const::VERSION) && ::Puma.respond_to?(:cli_config) end executes do OneApm::Manager.logger.info 'Installing Puma support' end executes do hooks = Puma.cli_config.options[:worker_boot] || Puma.cli_config.options[:before_worker_boot] hooks << Proc.new do OneApm::Manager.agent.after_fork(:force_reconnect => true) end end end
Version data entries
34 entries across 34 versions & 1 rubygems