Sha256: f39fd02361b00ba8bdb6f1047179e22e461293555ada29b2e8b52cb2febeb3c2

Contents?: true

Size: 289 Bytes

Versions: 17

Compression:

Stored size: 289 Bytes

Contents

# frozen_string_literal: true

module ThinkingSphinx::Frameworks
  def self.current
    defined?(::Rails) ? ThinkingSphinx::Frameworks::Rails.new :
      ThinkingSphinx::Frameworks::Plain.new
  end
end

require 'thinking_sphinx/frameworks/plain'
require 'thinking_sphinx/frameworks/rails'

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
thinking-sphinx-5.6.0 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-5.5.1 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-5.5.0 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-5.4.0 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-5.3.0 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-5.2.1 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-5.2.0 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-5.1.0 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-5.0.0 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-4.4.1 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-4.4.0 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-4.3.2 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-4.3.1 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-4.3.0 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-4.2.0 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-4.1.0 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-4.0.0 lib/thinking_sphinx/frameworks.rb