thinking-sphinx 5.5.0 → 5.5.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/.github/workflows/ci.yml +14 -6
- data/CHANGELOG.markdown +8 -0
- data/README.textile +1 -1
- data/bin/loadsphinx +2 -1
- data/lib/thinking_sphinx/settings.rb +2 -1
- data/thinking-sphinx.gemspec +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: 903795814bfdd5627c9fad8c6a9aa075973c29a046e9ea1985244df29023d52b
|
|
4
|
+
data.tar.gz: 8e1152802089f3d9e0bce6536ac7a3d6d9bdc7707feee2d72489bf491bab670e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ccad3b3ffc2724ff71fb96707a7140ad44c927f6d7a7059022281056838f11a9fd784739f4bb5a4e1ce8f92f295f8da2af6e3134a32a0f9b5079042f6a225c99
|
|
7
|
+
data.tar.gz: f86ffa18c5c01b2a4b6530606e50010eb2bf8309ea18198489d347b9ee73807712c59aa286a14db35fb900d0d55182d415a65b63db645e0f92cd3d0f26173ee5
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -13,7 +13,7 @@ jobs:
|
|
|
13
13
|
ruby: [ '2.7', '3.0', '3.1', '3.2' ]
|
|
14
14
|
rails: [ '5_0', '5_1', '5_2', '6_0', '6_1', '7_0' ]
|
|
15
15
|
database: [ 'mysql2', 'postgresql' ]
|
|
16
|
-
sphinx_version: [ '3.4.1' ]
|
|
16
|
+
sphinx_version: [ '2.2.11', '3.4.1' ]
|
|
17
17
|
sphinx_engine: [ 'sphinx' ]
|
|
18
18
|
exclude:
|
|
19
19
|
- database: 'postgresql'
|
|
@@ -74,22 +74,30 @@ jobs:
|
|
|
74
74
|
strategy:
|
|
75
75
|
fail-fast: false
|
|
76
76
|
matrix:
|
|
77
|
-
ruby: [ '2.
|
|
77
|
+
ruby: [ '2.7', '3.0', '3.1', '3.2' ]
|
|
78
78
|
rails: [ '5_0', '5_1', '5_2', '6_0', '6_1', '7_0' ]
|
|
79
79
|
database: [ 'mysql2', 'postgresql' ]
|
|
80
80
|
sphinx_version: [ '3.5.4', '4.0.2' ]
|
|
81
81
|
sphinx_engine: [ 'manticore' ]
|
|
82
82
|
exclude:
|
|
83
|
-
- ruby: '2.5'
|
|
84
|
-
rails: '7_0'
|
|
85
|
-
- ruby: '2.6'
|
|
86
|
-
rails: '7_0'
|
|
87
83
|
- ruby: '3.0'
|
|
88
84
|
rails: '5_0'
|
|
89
85
|
- ruby: '3.0'
|
|
90
86
|
rails: '5_1'
|
|
91
87
|
- ruby: '3.0'
|
|
92
88
|
rails: '5_2'
|
|
89
|
+
- ruby: '3.1'
|
|
90
|
+
rails: '5_0'
|
|
91
|
+
- ruby: '3.1'
|
|
92
|
+
rails: '5_1'
|
|
93
|
+
- ruby: '3.1'
|
|
94
|
+
rails: '5_2'
|
|
95
|
+
- ruby: '3.2'
|
|
96
|
+
rails: '5_0'
|
|
97
|
+
- ruby: '3.2'
|
|
98
|
+
rails: '5_1'
|
|
99
|
+
- ruby: '3.2'
|
|
100
|
+
rails: '5_2'
|
|
93
101
|
|
|
94
102
|
services:
|
|
95
103
|
postgres:
|
data/CHANGELOG.markdown
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project (at least, from v3.0.0 onwards) are documented in this file.
|
|
4
4
|
|
|
5
|
+
## 5.5.1 - 2022-12-31
|
|
6
|
+
|
|
7
|
+
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v5.5.1)
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
* Fixed total count of results in pagination information for Manticore 5.0+, by disabling the cutoff limit. ([#1239](https://github.com/pat/thinking-sphinx/pull/1239)).
|
|
12
|
+
|
|
5
13
|
## 5.5.0 - 2022-12-30
|
|
6
14
|
|
|
7
15
|
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v5.5.0)
|
data/README.textile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
h1. Thinking Sphinx
|
|
2
2
|
|
|
3
|
-
Thinking Sphinx is a library for connecting ActiveRecord to the Sphinx full-text search tool, and integrates closely with Rails (but also works with other Ruby web frameworks). The current release is v5.5.
|
|
3
|
+
Thinking Sphinx is a library for connecting ActiveRecord to the Sphinx full-text search tool, and integrates closely with Rails (but also works with other Ruby web frameworks). The current release is v5.5.1.
|
|
4
4
|
|
|
5
5
|
h2. Upgrading
|
|
6
6
|
|
data/bin/loadsphinx
CHANGED
|
@@ -15,7 +15,8 @@ load_sphinx () {
|
|
|
15
15
|
distro="trusty";;
|
|
16
16
|
2.2.11)
|
|
17
17
|
url="http://sphinxsearch.com/files/sphinxsearch_2.2.11-release-1~jessie_amd64.deb"
|
|
18
|
-
format="deb"
|
|
18
|
+
format="deb"
|
|
19
|
+
distro="trusty";;
|
|
19
20
|
3.0.3)
|
|
20
21
|
url="http://sphinxsearch.com/files/sphinx-3.0.3-facc3fb-linux-amd64.tar.gz"
|
|
21
22
|
format="gz";;
|
|
@@ -20,7 +20,8 @@ class ThinkingSphinx::Settings
|
|
|
20
20
|
"workers" => "threads",
|
|
21
21
|
"mysql_encoding" => "utf8",
|
|
22
22
|
"maximum_statement_length" => (2 ** 23) - 5,
|
|
23
|
-
"real_time_tidy" => false
|
|
23
|
+
"real_time_tidy" => false,
|
|
24
|
+
"cutoff" => 0
|
|
24
25
|
}.freeze
|
|
25
26
|
YAML_SAFE_LOAD = YAML.method(:safe_load).parameters.any? do |parameter|
|
|
26
27
|
parameter == [:key, :aliases]
|
data/thinking-sphinx.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: thinking-sphinx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.5.
|
|
4
|
+
version: 5.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pat Allan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-12-
|
|
11
|
+
date: 2022-12-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|