Sha256: f095492a1903a4edab3af30c574e0f75b4d1f5c48f641b38e3786c6b55f71f68

Contents?: true

Size: 603 Bytes

Versions: 3

Compression:

Stored size: 603 Bytes

Contents

# frozen_string_literal: true

module Hyrax
  ##
  # @deprecated use +Hyrax::Indexers::ResourceIndexer+ instead
  class ValkyrieIndexer < Hyrax::Indexers::ResourceIndexer
    def initialize(*args, **kwargs)
      Deprecation.warn "`Hyrax::ValkyrieIndexer` is deprecated. Use `Hyrax::Indexers::ResourceIndexer` instead."
      super
    end

    class << self
      def for(*args, **kwargs)
        Deprecation.warn "`Hyrax::ValkyrieIndexer.for` is deprecated. Use `Hyrax::Indexers::ResourceIndexer.for` instead."
        Hyrax::Indexers::ResourceIndexer.for(*args, **kwargs)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hyrax-5.0.1 app/indexers/hyrax/valkyrie_indexer.rb
hyrax-5.0.0 app/indexers/hyrax/valkyrie_indexer.rb
hyrax-5.0.0.rc3 app/indexers/hyrax/valkyrie_indexer.rb