alchemy-pg_search 4.1.0 → 4.1.1
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 +84 -23
- data/Rakefile +1 -1
- data/app/extensions/alchemy/pg_search/element_extension.rb +9 -2
- data/lib/alchemy/pg_search/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 828c2a8af31cad65403c88864ee11200cd85d0a9c45752b850aecddd045bde5d
|
|
4
|
+
data.tar.gz: fb5848d9f666566521788b6c72439b436bfde28a44e3a097b6a0316ad7297d0d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5476bef5b1fd765d8a1557c5c7530f3ec9c4261751054f02b2b73c2b3900d1252ade1bd27a642bef9cbc85fb6a54522ccf13274633e8af7f974ea587cfaea544
|
|
7
|
+
data.tar.gz: 41c2a772efe484abec82ec3928fea14f8d1a86f2b703748c4f7223f66a56d8182a074b4430a541242b3ad15d9acde85e5d53e099987da7cad900f74f90a946dc
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v4.1.1](https://github.com/AlchemyCMS/alchemy-pg_search/tree/v4.1.1) (2022-09-20)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/AlchemyCMS/alchemy-pg_search/compare/v4.1.0...v4.1.1)
|
|
6
|
+
|
|
7
|
+
**Merged pull requests:**
|
|
8
|
+
|
|
9
|
+
- Fix creating elements that has searchable defined [\#36](https://github.com/AlchemyCMS/alchemy-pg_search/pull/36) ([tvdeyen](https://github.com/tvdeyen))
|
|
10
|
+
|
|
3
11
|
## [v4.1.0](https://github.com/AlchemyCMS/alchemy-pg_search/tree/v4.1.0) (2022-09-19)
|
|
4
12
|
|
|
5
13
|
[Full Changelog](https://github.com/AlchemyCMS/alchemy-pg_search/compare/v4.0.0...v4.1.0)
|
|
@@ -14,44 +22,97 @@
|
|
|
14
22
|
- Add multisearch configuration [\#34](https://github.com/AlchemyCMS/alchemy-pg_search/pull/34) ([kulturbande](https://github.com/kulturbande))
|
|
15
23
|
- Remove old ferret upgrader [\#31](https://github.com/AlchemyCMS/alchemy-pg_search/pull/31) ([tvdeyen](https://github.com/tvdeyen))
|
|
16
24
|
|
|
17
|
-
##
|
|
25
|
+
## [v4.0.0](https://github.com/AlchemyCMS/alchemy-pg_search/tree/v4.0.0) (2022-08-30)
|
|
26
|
+
|
|
27
|
+
[Full Changelog](https://github.com/AlchemyCMS/alchemy-pg_search/compare/v3.0.0...v4.0.0)
|
|
28
|
+
|
|
29
|
+
**Merged pull requests:**
|
|
30
|
+
|
|
31
|
+
- Alchemy 6 multi search [\#30](https://github.com/AlchemyCMS/alchemy-pg_search/pull/30) ([kulturbande](https://github.com/kulturbande))
|
|
32
|
+
|
|
33
|
+
## [v3.0.0](https://github.com/AlchemyCMS/alchemy-pg_search/tree/v3.0.0) (2022-07-01)
|
|
34
|
+
|
|
35
|
+
[Full Changelog](https://github.com/AlchemyCMS/alchemy-pg_search/compare/v2.4.0...v3.0.0)
|
|
36
|
+
|
|
37
|
+
**Merged pull requests:**
|
|
38
|
+
|
|
39
|
+
- Fix initializing without element in attribute [\#29](https://github.com/AlchemyCMS/alchemy-pg_search/pull/29) ([kulturbande](https://github.com/kulturbande))
|
|
40
|
+
- Remove Alchemy 4 support [\#27](https://github.com/AlchemyCMS/alchemy-pg_search/pull/27) ([tvdeyen](https://github.com/tvdeyen))
|
|
41
|
+
|
|
42
|
+
## [v2.4.0](https://github.com/AlchemyCMS/alchemy-pg_search/tree/v2.4.0) (2022-06-06)
|
|
43
|
+
|
|
44
|
+
[Full Changelog](https://github.com/AlchemyCMS/alchemy-pg_search/compare/v2.3.0...v2.4.0)
|
|
45
|
+
|
|
46
|
+
**Merged pull requests:**
|
|
47
|
+
|
|
48
|
+
- Switch to github actions [\#26](https://github.com/AlchemyCMS/alchemy-pg_search/pull/26) ([tvdeyen](https://github.com/tvdeyen))
|
|
49
|
+
- Add Alchemy 5.3 support [\#25](https://github.com/AlchemyCMS/alchemy-pg_search/pull/25) ([kulturbande](https://github.com/kulturbande))
|
|
18
50
|
|
|
19
|
-
|
|
20
|
-
- Moved all extensions to a separate folder [#30](https://github.com/AlchemyCMS/alchemy-pg_search/pull/30) by [kulturbande](https://github.com/kulturbande)
|
|
21
|
-
- Enable pg_search multisearch [#30](https://github.com/AlchemyCMS/alchemy-pg_search/pull/30) by [kulturbande](https://github.com/kulturbande)
|
|
22
|
-
- Update Dummy App to Alchemy 6 [#30](https://github.com/AlchemyCMS/alchemy-pg_search/pull/30) by [kulturbande](https://github.com/kulturbande)
|
|
51
|
+
## [v2.3.0](https://github.com/AlchemyCMS/alchemy-pg_search/tree/v2.3.0) (2022-03-04)
|
|
23
52
|
|
|
24
|
-
|
|
53
|
+
[Full Changelog](https://github.com/AlchemyCMS/alchemy-pg_search/compare/v2.2.0...v2.3.0)
|
|
25
54
|
|
|
26
|
-
|
|
27
|
-
|
|
55
|
+
**Merged pull requests:**
|
|
56
|
+
|
|
57
|
+
- Update to Alchemy 5.1 [\#24](https://github.com/AlchemyCMS/alchemy-pg_search/pull/24) ([kulturbande](https://github.com/kulturbande))
|
|
58
|
+
|
|
59
|
+
## [v2.2.0](https://github.com/AlchemyCMS/alchemy-pg_search/tree/v2.2.0) (2021-09-25)
|
|
60
|
+
|
|
61
|
+
[Full Changelog](https://github.com/AlchemyCMS/alchemy-pg_search/compare/v2.1.0...v2.2.0)
|
|
62
|
+
|
|
63
|
+
**Merged pull requests:**
|
|
64
|
+
|
|
65
|
+
- Alchemy 4.3 [\#21](https://github.com/AlchemyCMS/alchemy-pg_search/pull/21) ([tvdeyen](https://github.com/tvdeyen))
|
|
28
66
|
|
|
29
|
-
##
|
|
67
|
+
## [v2.1.0](https://github.com/AlchemyCMS/alchemy-pg_search/tree/v2.1.0) (2021-09-25)
|
|
30
68
|
|
|
31
|
-
|
|
69
|
+
[Full Changelog](https://github.com/AlchemyCMS/alchemy-pg_search/compare/v2.0.0...v2.1.0)
|
|
32
70
|
|
|
33
|
-
|
|
71
|
+
**Merged pull requests:**
|
|
34
72
|
|
|
35
|
-
-
|
|
73
|
+
- Do not allow Alchemy 4.3 and above [\#22](https://github.com/AlchemyCMS/alchemy-pg_search/pull/22) ([tvdeyen](https://github.com/tvdeyen))
|
|
74
|
+
- Add Rails 5.1 support [\#19](https://github.com/AlchemyCMS/alchemy-pg_search/pull/19) ([tvdeyen](https://github.com/tvdeyen))
|
|
36
75
|
|
|
37
|
-
##
|
|
76
|
+
## [v2.0.0](https://github.com/AlchemyCMS/alchemy-pg_search/tree/v2.0.0) (2021-09-23)
|
|
38
77
|
|
|
39
|
-
|
|
78
|
+
[Full Changelog](https://github.com/AlchemyCMS/alchemy-pg_search/compare/v1.2.0...v2.0.0)
|
|
79
|
+
|
|
80
|
+
**Closed issues:**
|
|
40
81
|
|
|
41
|
-
|
|
82
|
+
- Support for Alchemy 4 [\#12](https://github.com/AlchemyCMS/alchemy-pg_search/issues/12)
|
|
42
83
|
|
|
43
|
-
|
|
44
|
-
|
|
84
|
+
**Merged pull requests:**
|
|
85
|
+
|
|
86
|
+
- Move searchable attribute to contents table [\#20](https://github.com/AlchemyCMS/alchemy-pg_search/pull/20) ([tvdeyen](https://github.com/tvdeyen))
|
|
87
|
+
- Support Alchemy 4.0 [\#18](https://github.com/AlchemyCMS/alchemy-pg_search/pull/18) ([tvdeyen](https://github.com/tvdeyen))
|
|
88
|
+
- Remove test files from build gem [\#16](https://github.com/AlchemyCMS/alchemy-pg_search/pull/16) ([tvdeyen](https://github.com/tvdeyen))
|
|
89
|
+
- v1.2.0 [\#15](https://github.com/AlchemyCMS/alchemy-pg_search/pull/15) ([tvdeyen](https://github.com/tvdeyen))
|
|
90
|
+
|
|
91
|
+
## [v1.2.0](https://github.com/AlchemyCMS/alchemy-pg_search/tree/v1.2.0) (2018-11-28)
|
|
92
|
+
|
|
93
|
+
[Full Changelog](https://github.com/AlchemyCMS/alchemy-pg_search/compare/v0.1.0...v1.2.0)
|
|
94
|
+
|
|
95
|
+
**Closed issues:**
|
|
96
|
+
|
|
97
|
+
- Can't generate view templates [\#7](https://github.com/AlchemyCMS/alchemy-pg_search/issues/7)
|
|
98
|
+
- error in combination with spree [\#1](https://github.com/AlchemyCMS/alchemy-pg_search/issues/1)
|
|
99
|
+
|
|
100
|
+
**Merged pull requests:**
|
|
45
101
|
|
|
46
|
-
|
|
102
|
+
- Rename the \#search method into \#full\_text\_search [\#14](https://github.com/AlchemyCMS/alchemy-pg_search/pull/14) ([tvdeyen](https://github.com/tvdeyen))
|
|
103
|
+
- Search scope class [\#13](https://github.com/AlchemyCMS/alchemy-pg_search/pull/13) ([tvdeyen](https://github.com/tvdeyen))
|
|
104
|
+
- Configurable pagination [\#11](https://github.com/AlchemyCMS/alchemy-pg_search/pull/11) ([tvdeyen](https://github.com/tvdeyen))
|
|
105
|
+
- Nested elements support [\#10](https://github.com/AlchemyCMS/alchemy-pg_search/pull/10) ([tvdeyen](https://github.com/tvdeyen))
|
|
106
|
+
- Fix view template generator [\#9](https://github.com/AlchemyCMS/alchemy-pg_search/pull/9) ([wdspkr](https://github.com/wdspkr))
|
|
107
|
+
- Adjust alchemy page to new interface [\#8](https://github.com/AlchemyCMS/alchemy-pg_search/pull/8) ([wdspkr](https://github.com/wdspkr))
|
|
108
|
+
- Fix small typo in README [\#5](https://github.com/AlchemyCMS/alchemy-pg_search/pull/5) ([wdspkr](https://github.com/wdspkr))
|
|
109
|
+
- Remove executables line from gemspec [\#4](https://github.com/AlchemyCMS/alchemy-pg_search/pull/4) ([robinboening](https://github.com/robinboening))
|
|
110
|
+
- Alchemy 4 [\#3](https://github.com/AlchemyCMS/alchemy-pg_search/pull/3) ([tvdeyen](https://github.com/tvdeyen))
|
|
47
111
|
|
|
48
|
-
|
|
49
|
-
- Support Alchemy 4.0 [#18](https://github.com/AlchemyCMS/alchemy-pg_search/pull/18) by [tvdeyen](https://github.com/tvdeyen)
|
|
112
|
+
## [v0.1.0](https://github.com/AlchemyCMS/alchemy-pg_search/tree/v0.1.0) (2014-12-16)
|
|
50
113
|
|
|
51
|
-
|
|
114
|
+
[Full Changelog](https://github.com/AlchemyCMS/alchemy-pg_search/compare/ec23bf1d33f27d7ada9a2dd49922e4ae7740350d...v0.1.0)
|
|
52
115
|
|
|
53
|
-
- Rename the #search method into #full_text_search [#14](https://github.com/AlchemyCMS/alchemy-pg_search/pull/14) by [tvdeyen](https://github.com/tvdeyen)
|
|
54
|
-
- Add a page search scope class [#13](https://github.com/AlchemyCMS/alchemy-pg_search/pull/13) by [tvdeyen](https://github.com/tvdeyen)
|
|
55
116
|
|
|
56
117
|
|
|
57
118
|
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/Rakefile
CHANGED
|
@@ -51,7 +51,7 @@ namespace :changelog do
|
|
|
51
51
|
GitHubChangelogGenerator::RakeTask.new :update do |config|
|
|
52
52
|
config.user = "AlchemyCMS"
|
|
53
53
|
config.project = "alchemy-pg_search"
|
|
54
|
-
config.since_tag = "
|
|
54
|
+
# config.since_tag = "v1.2.0"
|
|
55
55
|
config.future_release = "v#{Alchemy::PgSearch::VERSION}"
|
|
56
56
|
end
|
|
57
57
|
end
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
module Alchemy::PgSearch::ElementExtension
|
|
2
|
+
def self.prepended(base)
|
|
3
|
+
base.attr_writer :searchable
|
|
4
|
+
end
|
|
5
|
+
|
|
6
|
+
def searchable
|
|
7
|
+
definition.key?(:searchable) ? definition[:searchable] : true
|
|
8
|
+
end
|
|
9
|
+
|
|
2
10
|
def searchable?
|
|
3
|
-
|
|
4
|
-
public? && page.searchable? && page_version.public?
|
|
11
|
+
searchable && public? && page.searchable? && page_version.public?
|
|
5
12
|
end
|
|
6
13
|
end
|
|
7
14
|
|
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.1.
|
|
4
|
+
version: 4.1.1
|
|
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-09-
|
|
11
|
+
date: 2022-09-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: alchemy_cms
|