Sha256: 541e795171d3e57b80d7ceb56cffb9ae5c20e9369f7ec08e9ef2fb1be5144b55

Contents?: true

Size: 617 Bytes

Versions: 6

Compression:

Stored size: 617 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[
  concurrent/array
  dry-configurable
  dry/monitor/notifications
  dry-validation
  rdkafka
  json
  zeitwerk
  securerandom
].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

Zeitwerk::Loader
  .for_gem
  .tap { |loader| loader.ignore("#{__dir__}/waterdrop.rb") }
  .tap(&:setup)
  .tap(&:eager_load)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
waterdrop-2.0.4 lib/water_drop.rb
waterdrop-2.0.3 lib/water_drop.rb
waterdrop-2.0.2 lib/water_drop.rb
waterdrop-2.0.1 lib/water_drop.rb
waterdrop-2.0.0 lib/water_drop.rb
waterdrop-2.0.0.rc1 lib/water_drop.rb