tb_search 1.0 → 1.0.1

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
- YzNmMzI1OTA0Mzc1ODJmMDIxMjQ1N2VhMDA4OGJmNThlMWM3YmRkZA==
4
+ YmNlNWNlNmU4YzliNDkzOGU5NmNjMTMwNzMyOGNhMTVmZTgxYTZiYg==
5
5
  data.tar.gz: !binary |-
6
- NWUyNmNkYjliMTI1NjU4YjAxMjU4NzM5Njk1NzM5NDJjZjFkYmZkMg==
6
+ YjUyMGNhODFkYzA2NDYwMThmZDMzOTg3MGYyYTgzOTEwZDRiMzYzYg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OTZhNDg3ZTM5OTYwOTg3ZDBkYTkzMzk0NjgxMTdlMGE5N2QwYTQxMTg5ZmY4
10
- MDk4Y2RiOGUwZTAxMTMzYzAzZjI0MjQ5ZmM1MDhkNDJiZDQzMjE4YTI5OTRk
11
- YzVhM2UwYjE2MGFmZjVhY2VhNGYzOGZkZmE0MzM4MGIwODUzZWY=
9
+ ZGNkNDhiYTBmZGIyZDJkN2VhZDU0YzkwMjhjMjk5YTM0NTQ0M2ZhYjQ2YWQy
10
+ ZDE3N2U1NTc5YTM1YzNjM2EwNzYwOTI2MDc0OGZjMzhmN2Q3MDFmYjc4MDhk
11
+ MjdiNGM2MDk3YjY5ZmQzYmNkY2JmODU2YzMzM2E4YzU2MWJlMTU=
12
12
  data.tar.gz: !binary |-
13
- ZTBiMzI4NWYwZWNlNTBiZTFkNWE3ZjNkZTBiNmExM2Y2NDg3MmQ4YmRkZmYy
14
- MWVlYjI1OGUyNGYyZTUxODNhZTYxN2I1YzdmNzUwZjYzNTYwMDhkZjg1ZjFl
15
- ZjdhMWRiNDg2MWI1YTZkYzE2NmRmNGFiNjU0NjdmZjU0OGYxZjM=
13
+ ZTEwYmYxYjZmOTkzOTg5NWQ0ZmEyNzZhOWRhYWMyY2M0MzJlMjMwODFkZDQ4
14
+ N2I4MWJjOGIwY2JkNjliNDc1NmE2NTUwNWE2YmUxY2YzMTEyMjU0ZjlhZjRl
15
+ OTA1NDM2ZWNhZGZkMWRkOTRkNjMyN2IwMThhOTYxYTMzNWVmY2Q=
@@ -7,12 +7,12 @@ module Spud::Searchable
7
7
  def spud_searchable
8
8
  if self.name == 'SpudPage'
9
9
  self.instance_eval do
10
- acts_as_indexed :fields => [:name,:meta_keywords,:meta_description,:full_content_processed], :if => Proc.new { |page| page.published == true && page.visibility == 0 }
10
+ acts_as_indexed :fields => [:name, :meta_keywords, :meta_description, :full_content_processed], :if => Proc.new { |page| page.published == true && page.visibility == 0 }
11
11
  end
12
12
  end
13
13
  if self.name == 'SpudPost'
14
14
  self.instance_eval do
15
- acts_as_indexed :fields => [:title,:content_processed], :if => Proc.new { |post| post.published_at <= Time.now.utc && post.visible == true }
15
+ acts_as_indexed :fields => [:title, :content_processed, :category_names], :if => Proc.new { |post| post.published_at <= Time.now.utc && post.visible == true }
16
16
  end
17
17
  end
18
18
  end
@@ -1,5 +1,5 @@
1
1
  module Spud
2
2
  module Search
3
- VERSION = "1.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tb_search
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Estes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-19 00:00:00.000000000 Z
11
+ date: 2013-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -202,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
202
  version: '0'
203
203
  requirements: []
204
204
  rubyforge_project:
205
- rubygems_version: 2.0.3
205
+ rubygems_version: 2.0.7
206
206
  signing_key:
207
207
  specification_version: 4
208
208
  summary: Acts as indexed adapter for tb core for quick searches of pages and blogs