Sha256: 6ead17a6c26c9569f076913633f4feded23679900f46f681d19eaf8ca609404a

Contents?: true

Size: 482 Bytes

Versions: 7

Compression:

Stored size: 482 Bytes

Contents

require 'sunspot'
require 'sunspot/rails/configuration'
require 'sunspot/rails/adapters'
require 'sunspot/rails/request_lifecycle'
require 'sunspot/rails/searchable'
require 'sunspot/rails/util'

module Sunspot #:nodoc:
  module Rails #:nodoc:
    class <<self
      attr_writer :configuration

      def configuration
        @configuration ||= Sunspot::Rails::Configuration.new
      end

      def reset
        @master_session = @configuration = nil
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
sunspot_rails-0.11.5 lib/sunspot/rails.rb
sunspot_rails-0.11.4 lib/sunspot/rails.rb
nxa-sunspot_rails-0.11.3 lib/sunspot/rails.rb
sunspot_rails-0.11.3 lib/sunspot/rails.rb
sunspot_rails-0.11.2 lib/sunspot/rails.rb
sunspot_rails-0.11.1 lib/sunspot/rails.rb
sunspot_rails-0.11.0 lib/sunspot/rails.rb