locomotivecms-search 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +3 -5
- data/Rakefile +0 -3
- data/lib/locomotive/search/engine.rb +2 -2
- data/lib/locomotive/search/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzZkYjg1YTliMGE4MmU4OWRjYmZhZjcyN2M2NjQxYWMwN2ZjZmYyZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjRkNzQ5NDViNmNkNWM2N2Q2NmU3MjIxNDQwYjNiOGI0YTViYTc3OQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjgxNzc3ZDFlNWViYTc0Yzc0NTY0NmEwMmIyNDlkZjFkNDBlNWVlNTA4NDJm
|
10
|
+
OWQzNGJmMGFjZDFkNzM0MjRlOWE2YzBmZDdhZTliZjI3ZGQyZDBjZTkwOTU4
|
11
|
+
ZmRiMWZjNjVlMzg4YWMxNzM4MDk2YjdlZTdiN2RjMGYyNThhZGQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDQzMDkyY2ZhYTRjNWMzZGZlMmQ2NTliNmI5ZmVjZTc3NGIzM2RmMWMwNmVi
|
14
|
+
NzI2OWY1ZTlmOGY1MmI5ZDY3OTc4YjA0MmFiYTE5ZWJjYzEzYzBhM2NiY2M4
|
15
|
+
ZTYwMmYzNzA3N2U5OWMyZWI0YTQzNDkwYWRiYzAxMzA2NWI1NzA=
|
data/README.md
CHANGED
@@ -4,14 +4,12 @@
|
|
4
4
|
|
5
5
|
Open your _Gemfile_ and add locomotive-cms search to it:
|
6
6
|
|
7
|
-
gem 'locomotivecms-search', require:
|
8
|
-
|
9
|
-
Run `bundle install`, then edit config/initializers/locomotive.rb and add this line:
|
10
|
-
|
11
|
-
require 'locomotive/search/mongoid
|
7
|
+
gem 'locomotivecms-search', require: 'locomotive/search/mongoid'
|
12
8
|
|
13
9
|
Check out the Activesearch gem to know which backends are available and how to configure them.
|
14
10
|
|
11
|
+
Run `bundle install`
|
12
|
+
|
15
13
|
## Adding the search results page
|
16
14
|
|
17
15
|
Create a new page that will display your search results. Its code might be something like this:
|
data/Rakefile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
module Locomotive::Search
|
1
|
+
module Locomotive::Search
|
2
2
|
class Engine < ::Rails::Engine
|
3
|
-
initializer "locomotive.search.concerns" do
|
3
|
+
initializer "locomotive.search.concerns", before: "locomotive.content_types" do
|
4
4
|
require "locomotive/search/content_type_reindexer"
|
5
5
|
require "locomotive/search/concerns"
|
6
6
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: locomotivecms-search
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Alvarez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: locomotive_cms
|