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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmMwOGExMWNlZDkwMDNhM2ExOTJlZTI2MGFkYmY4ZWZlM2YyMWU4Ng==
4
+ YzZkYjg1YTliMGE4MmU4OWRjYmZhZjcyN2M2NjQxYWMwN2ZjZmYyZQ==
5
5
  data.tar.gz: !binary |-
6
- MDM1MzhiMzY5ZjY5YjY2MjMxM2YzODVlYmQ4ZDZkOTY1ZDUyYTNlOA==
6
+ MjRkNzQ5NDViNmNkNWM2N2Q2NmU3MjIxNDQwYjNiOGI0YTViYTc3OQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MjQ3NWZjMzYzNDc2MGNiNGNlMWRhZGNiNmNlOWI0ZmUwZjI3OWE2NWIzZWYx
10
- OTJiMGU5MjQ1NTY0OTE0MGQ1N2NlNTg2OWI1NmE0ZTc2NjMyMGVjNGM1ZTU4
11
- YzEyYmZjZDc1ZmFkM2I0Zjg5MGU1MDZjMjYyNGE5N2M0NzRjMzg=
9
+ ZjgxNzc3ZDFlNWViYTc0Yzc0NTY0NmEwMmIyNDlkZjFkNDBlNWVlNTA4NDJm
10
+ OWQzNGJmMGFjZDFkNzM0MjRlOWE2YzBmZDdhZTliZjI3ZGQyZDBjZTkwOTU4
11
+ ZmRiMWZjNjVlMzg4YWMxNzM4MDk2YjdlZTdiN2RjMGYyNThhZGQ=
12
12
  data.tar.gz: !binary |-
13
- MDAwYmEwOGYxODM5ZDMxZDVjMjUyY2ZiM2NiMTJjZTRmZTk3YWYxZDRlNGFh
14
- NTEwZDAxMWZiMGNlYTc4NzgyMzg2NTMxYjAyMDY0MmNlZjUzYjljYmJhOGI5
15
- MWY5MDg0YjIxOGIxN2E4NDJlYmE4ZDE3ZjJhZjUzNDRlNzc4NjU=
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: false
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
@@ -20,9 +20,6 @@ RDoc::Task.new(:rdoc) do |rdoc|
20
20
  rdoc.rdoc_files.include('lib/**/*.rb')
21
21
  end
22
22
 
23
-
24
-
25
-
26
23
  Bundler::GemHelper.install_tasks
27
24
 
28
25
  require 'rake/testtask'
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  module Locomotive
2
2
  module Search
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
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.1
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-08 00:00:00.000000000 Z
11
+ date: 2013-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: locomotive_cms