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-4.3.6 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-4.3.5 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-4.3.4 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-4.3.3 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-4.3.2 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-4.3.1 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-4.3.0 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-4.2.0 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-4.1.2 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-4.1.1 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-4.1.0 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-4.0.3 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-4.0.2 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-4.0.1 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-4.0.0 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.6.0.beta10 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.6.0.beta9 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.6.0.beta8 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.5.0.4 app/services/spotlight/etl/loaders.rb
blacklight-spotlight-3.6.0.beta7 app/services/spotlight/etl/loaders.rb