alchemy-pg_search 2.4.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/alchemy-pg_search.gemspec +3 -3
- data/lib/alchemy/pg_search/content_extension.rb +1 -3
- data/lib/alchemy/pg_search/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '041410896e0f98a81e3ead2437c7a5b02cb434e37d72ab5736db7ef3dbbaa5c0'
|
|
4
|
+
data.tar.gz: 8b93ed647898f4b0c5540d4674233565beb2dcb9fa41370f0d228de48a1fb852
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2ede6256f9123b9bee9d13656c243a1ee3f370f40e04210674dd7ca2450ac83a66b2c3edda878ea6a0dca3b2aa64d042e6bdc4e0d2b3a676708455db4050db08
|
|
7
|
+
data.tar.gz: cecc52649b848c514ebd07fff4b4822d19233f8fb50def4ffcb99acf14d1ad2ba45a07fc0ec53d3385fa49f566d8250b80862f530ec40acfd9edc841b10f3c8f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## 3.0.0 (2022-07-01)
|
|
2
|
+
|
|
3
|
+
- Changed searchable option initialization [#29](https://github.com/AlchemyCMS/alchemy-pg_search/pull/29) by [kulturbande](https://github.com/kulturbande)
|
|
4
|
+
- Remove Alchemy 4 support [#27](https://github.com/AlchemyCMS/alchemy-pg_search/pull/27) by [tvdeyen](https://github.com/tvdeyen)
|
|
5
|
+
|
|
1
6
|
## 2.4.0 (2022-06-06)
|
|
2
7
|
|
|
3
8
|
- Add support for Alchemy 5.2 [#25](https://github.com/AlchemyCMS/alchemy-pg_search/pull/25) by [kulturbande](https://github.com/kulturbande)
|
data/alchemy-pg_search.gemspec
CHANGED
|
@@ -8,15 +8,15 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.version = Alchemy::PgSearch::VERSION
|
|
9
9
|
spec.authors = ["Thomas von Deyen"]
|
|
10
10
|
spec.email = ["thomas@vondeyen.com"]
|
|
11
|
-
spec.description = "PostgreSQL search for Alchemy CMS
|
|
12
|
-
spec.summary = "This gem provides PostgreSQL full text search to Alchemy
|
|
11
|
+
spec.description = "PostgreSQL search for Alchemy CMS"
|
|
12
|
+
spec.summary = "This gem provides PostgreSQL full text search to Alchemy"
|
|
13
13
|
spec.homepage = "https://alchemy-cms.com"
|
|
14
14
|
spec.license = "BSD-3-Clause"
|
|
15
15
|
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^spec/}) }
|
|
17
17
|
spec.require_paths = ["lib"]
|
|
18
18
|
|
|
19
|
-
spec.add_runtime_dependency "alchemy_cms", [">=
|
|
19
|
+
spec.add_runtime_dependency "alchemy_cms", [">= 5.0", "< 6"]
|
|
20
20
|
spec.add_runtime_dependency "pg_search", ["~> 2.1"]
|
|
21
21
|
spec.add_runtime_dependency "pg"
|
|
22
22
|
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
module Alchemy::PgSearch::ContentExtension
|
|
2
2
|
module ClassMethods
|
|
3
3
|
def new(attributes)
|
|
4
|
-
element = attributes[:element]
|
|
5
|
-
definition = element.content_definition_for(attributes[:name])
|
|
6
4
|
super.tap do |content|
|
|
7
|
-
content.searchable = definition.key?(:searchable) ? definition[:searchable] : true
|
|
5
|
+
content.searchable = content.definition.key?(:searchable) ? content.definition[:searchable] : true
|
|
8
6
|
end
|
|
9
7
|
end
|
|
10
8
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: alchemy-pg_search
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Thomas von Deyen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-07-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: alchemy_cms
|
|
@@ -16,7 +16,7 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
19
|
+
version: '5.0'
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
22
|
version: '6'
|
|
@@ -26,7 +26,7 @@ dependencies:
|
|
|
26
26
|
requirements:
|
|
27
27
|
- - ">="
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: '
|
|
29
|
+
version: '5.0'
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: '6'
|
|
@@ -100,7 +100,7 @@ dependencies:
|
|
|
100
100
|
- - ">="
|
|
101
101
|
- !ruby/object:Gem::Version
|
|
102
102
|
version: '0'
|
|
103
|
-
description: PostgreSQL search for Alchemy CMS
|
|
103
|
+
description: PostgreSQL search for Alchemy CMS
|
|
104
104
|
email:
|
|
105
105
|
- thomas@vondeyen.com
|
|
106
106
|
executables: []
|
|
@@ -162,5 +162,5 @@ requirements: []
|
|
|
162
162
|
rubygems_version: 3.1.6
|
|
163
163
|
signing_key:
|
|
164
164
|
specification_version: 4
|
|
165
|
-
summary: This gem provides PostgreSQL full text search to Alchemy
|
|
165
|
+
summary: This gem provides PostgreSQL full text search to Alchemy
|
|
166
166
|
test_files: []
|