Sha256: 429d57869793a002853d46775b1b178bccb6563006fbf43b5b5eb11151a06a08

Contents?: true

Size: 755 Bytes

Versions: 9

Compression:

Stored size: 755 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
  concurrent/atomic/atomic_fixnum
].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

9 entries across 9 versions & 1 rubygems

Version Path
waterdrop-2.6.11 lib/waterdrop.rb
waterdrop-2.6.10 lib/waterdrop.rb
waterdrop-2.6.9 lib/waterdrop.rb
waterdrop-2.6.8 lib/waterdrop.rb
waterdrop-2.6.7 lib/waterdrop.rb
waterdrop-2.6.6 lib/waterdrop.rb
waterdrop-2.6.5 lib/waterdrop.rb
waterdrop-2.6.4 lib/waterdrop.rb
waterdrop-2.6.3 lib/waterdrop.rb