Sha256: cecfcb0a027061fdba1cf91d08b709a81908c7731b17297f5964c8f6f1f62bc1
Contents?: true
Size: 710 Bytes
Versions: 11
Compression:
Stored size: 710 Bytes
Contents
# frozen_string_literal: true # External components # delegate should be removed because we don't need it, we just add it because of ruby-kafka %w[ forwardable json zeitwerk securerandom karafka-core ].each { |lib| require lib } # WaterDrop library module WaterDrop class << self # @return [String] root path of this gem def gem_root Pathname.new(File.expand_path('..', __dir__)) end end end loader = Zeitwerk::Loader.for_gem loader.inflector.inflect('waterdrop' => 'WaterDrop') # Do not load vendors instrumentation components. Those need to be required manually if needed loader.ignore("#{__dir__}/waterdrop/instrumentation/vendors/**/*.rb") loader.setup loader.eager_load
Version data entries
11 entries across 11 versions & 1 rubygems