effective_pages 3.7.4 → 3.7.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 609cb873f8ee7b06289d1b6a892e5dfdf31d331fec0e70524193966b8dae6fb5
4
- data.tar.gz: e931912e980cf36b614deae0cf70f729f3e6e98fa78d6b415de4ccd5f13d687d
3
+ metadata.gz: 9e7cca51681b4c15a785e7e6cd0b8bc431dc1209d7c5723b4d34fe1b9830505e
4
+ data.tar.gz: 23b194a85d402b4703d72b404e70ab9917f205d081fbef946a187d36112754ad
5
5
  SHA512:
6
- metadata.gz: ed4f370e424c4fa6d03146b15f2b15e67f747202009c4b264bad9b2fa1debc398a5fdb322ff4cabe1dc5fd7220bdd33a2effa4ccb4f72ee9df12be97695187f2
7
- data.tar.gz: 5678d59ab27e06eb7320710462451917512e91f6c8010087dcea656b745f80442b5a4b9ca17f06d29f2818e910c32feaffc7dce464b7f76aad440e81ba4f3499
6
+ metadata.gz: ede6f5b8c0c7708539847272ec016d44c47fc542d8effe4d6fb5022369af1c141f4a42fc25105f942422858f3336315db29594152eadc07c6d139ba12d7bdbd2
7
+ data.tar.gz: 928de1989eabc9067b2b37e979a50b5c4c1aa02d4936c32e2067ecb8087f02ae6e52c7a54eaac897af874585bb4adf0e278986dc56df5c0a0c69b6d2dc3064ee
@@ -3,11 +3,7 @@ module Effective
3
3
  if defined?(PgSearch)
4
4
  include PgSearch::Model
5
5
 
6
- multisearchable against: [:search_content]
7
-
8
- def search_content
9
- title + '|' + body.to_plain_text
10
- end
6
+ multisearchable against: [:body]
11
7
  end
12
8
 
13
9
  attr_accessor :current_user
@@ -20,7 +20,7 @@ module Effective
20
20
  public
21
21
 
22
22
  def to_s
23
- name
23
+ model_name.human
24
24
  end
25
25
  end
26
26
  end
@@ -1,3 +1,3 @@
1
1
  module EffectivePages
2
- VERSION = '3.7.4'.freeze
2
+ VERSION = '3.7.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.4
4
+ version: 3.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-26 00:00:00.000000000 Z
11
+ date: 2023-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails