Sha256: 682d262b1d357aeefb20c66958af69c5ae966d36c13e0b6d402f22f0e4e9288d

Contents?: true

Size: 376 Bytes

Versions: 5

Compression:

Stored size: 376 Bytes

Contents

class ThinkingSphinx::Controller < Riddle::Controller
  def index(*indices)
    configuration = ThinkingSphinx::Configuration.instance
    options       = indices.extract_options!

    configuration.indexing_strategy.call(indices) do |index_names|
      ThinkingSphinx::Guard::Files.call(index_names) do |names|
        super(*(names + [options]))
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thinking-sphinx-3.4.2 lib/thinking_sphinx/controller.rb
thinking-sphinx-3.4.1 lib/thinking_sphinx/controller.rb
thinking-sphinx-3.4.0 lib/thinking_sphinx/controller.rb
thinking-sphinx-3.3.0 lib/thinking_sphinx/controller.rb
thinking-sphinx-3.2.0 lib/thinking_sphinx/controller.rb