Sha256: 53b1eb954595ac0ff25570a0cd84c2421e200cf30c49da31617eef20678f3aca
Contents?: true
Size: 721 Bytes
Versions: 17
Compression:
Stored size: 721 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 pathname ].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
17 entries across 17 versions & 1 rubygems