Sha256: 20ee5e0e173dc64faa92655772c730e15aff3b8dea0821b0feb7e5f472658188

Contents?: true

Size: 264 Bytes

Versions: 47

Compression:

Stored size: 264 Bytes

Contents

# frozen_string_literal: true

module Spotlight
  module Etl
    module Loaders
      # A loader that just prints the data to $stderr for debugging.
      WarnLoader = lambda do |data, _context|
        warn(JSON.pretty_generate(data))
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
blacklight-spotlight-3.5.0.3 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.6.0.beta6 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.6.0.beta5 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.6.0.beta4 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.6.0.beta3 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.6.0.beta1 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.5.0.2 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.5.0.1 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.5.0 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.4.4.1 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.4.4 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.4.3 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.4.2.2 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.4.2.1 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.4.2 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.4.1 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.4.0 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.3.0 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.2.0 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.1.0 app/services/spotlight/etl/loaders.rb