Sha256: a46f5156ff4d5ad8823e296ca507daf864c3f4a10961557484d65bb9a7c7d8a1

Contents?: true

Size: 732 Bytes

Versions: 38

Compression:

Stored size: 732 Bytes

Contents

# Require the gem. This loads the search framework.
#
require 'picky'

# Load your application. This requires the following files in
# 
#  * lib/initializers/*.rb
#  * lib/tokenizers/*.rb
#  * lib/indexers/*.rb
#  * lib/query/*.rb
#
#  * app/logging.rb
#  * app/application.rb
#
# (in that order).
#
Loader.load_application

# Load the indexes into the memory.
#
Indexes.load_from_cache

# Use Harakiri middleware to kill worker child after X requests.
#
# Works only with web servers that fork worker children and which
# fork new children, like for example Unicorn.
#
Rack::Harakiri.after = 50
use Rack::Harakiri

# Start accepting requests.
#
# Note: Needs to be the same constant name as in app/application.rb.
#
run PickySearch

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
picky-generators-1.3.4 prototypes/server/shared_unicorn/config.ru
picky-generators-1.3.3 prototypes/server/shared_unicorn/config.ru
picky-generators-1.3.2 prototypes/server/shared_unicorn/config.ru
picky-generators-1.3.1 prototypes/server/shared_unicorn/config.ru
picky-generators-1.3.0 prototypes/server/shared_unicorn/config.ru
picky-generators-1.2.4 prototypes/server/shared_unicorn/config.ru
picky-generators-1.2.3 prototypes/server/shared_unicorn/config.ru
picky-generators-1.2.2 prototypes/server/shared_unicorn/config.ru
picky-generators-1.2.1 prototypes/server/shared_unicorn/config.ru
picky-generators-1.2.0 prototypes/server/shared_unicorn/config.ru
picky-generators-1.1.7 prototypes/server/shared_unicorn/config.ru
picky-generators-1.1.6 prototypes/server/shared_unicorn/config.ru
picky-generators-1.1.5 prototypes/server/shared_unicorn/config.ru
picky-generators-1.1.4 prototypes/server/shared_unicorn/config.ru
picky-generators-1.1.3 prototypes/server/shared_unicorn/config.ru
picky-generators-1.1.2 prototypes/server/shared_unicorn/config.ru
picky-generators-1.1.1 prototypes/server/unicorn/config.ru
picky-generators-1.1.0 prototypes/server/unicorn/config.ru
picky-1.0.0 project_prototype/config.ru
picky-0.12.3 project_prototype/config.ru