Sha256: df79d395a8b2623d731f6721958ec5372d655182829ecca4bcf6472b7f8ec367

Contents?: true

Size: 258 Bytes

Versions: 18

Compression:

Stored size: 258 Bytes

Contents

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

18 entries across 18 versions & 1 rubygems

Version Path
thinking-sphinx-3.4.2 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-3.4.1 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-3.4.0 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-3.3.0 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-3.2.0 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-3.1.4 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-3.1.3 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-3.1.2 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-3.1.1 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-3.1.0 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-3.0.6 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-3.0.5 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-3.0.4 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-3.0.3 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-3.0.2 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-3.0.1 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-3.0.0 lib/thinking_sphinx/frameworks.rb
thinking-sphinx-3.0.0.rc lib/thinking_sphinx/frameworks.rb