Skip to content

Commit be5e48b

Browse files
committed
Merge branch 'release/v5.5.1'
2 parents 2a67818 + 4d5ac1c commit be5e48b

File tree

6 files changed

+28
-10
lines changed

6 files changed

+28
-10
lines changed

.github/workflows/ci.yml

+14-6
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
ruby: [ '2.7', '3.0', '3.1', '3.2' ]
1414
rails: [ '5_0', '5_1', '5_2', '6_0', '6_1', '7_0' ]
1515
database: [ 'mysql2', 'postgresql' ]
16-
sphinx_version: [ '3.4.1' ]
16+
sphinx_version: [ '2.2.11', '3.4.1' ]
1717
sphinx_engine: [ 'sphinx' ]
1818
exclude:
1919
- database: 'postgresql'
@@ -74,22 +74,30 @@ jobs:
7474
strategy:
7575
fail-fast: false
7676
matrix:
77-
ruby: [ '2.5', '2.6', '2.7', '3.0' ]
77+
ruby: [ '2.7', '3.0', '3.1', '3.2' ]
7878
rails: [ '5_0', '5_1', '5_2', '6_0', '6_1', '7_0' ]
7979
database: [ 'mysql2', 'postgresql' ]
8080
sphinx_version: [ '3.5.4', '4.0.2' ]
8181
sphinx_engine: [ 'manticore' ]
8282
exclude:
83-
- ruby: '2.5'
84-
rails: '7_0'
85-
- ruby: '2.6'
86-
rails: '7_0'
8783
- ruby: '3.0'
8884
rails: '5_0'
8985
- ruby: '3.0'
9086
rails: '5_1'
9187
- ruby: '3.0'
9288
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'
93101

94102
services:
95103
postgres:

CHANGELOG.markdown

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
All notable changes to this project (at least, from v3.0.0 onwards) are documented in this file.
44

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+
513
## 5.5.0 - 2022-12-30
614

715
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v5.5.0)

README.textile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
h1. Thinking Sphinx
22

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.0.
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.
44

55
h2. Upgrading
66

bin/loadsphinx

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ load_sphinx () {
1515
distro="trusty";;
1616
2.2.11)
1717
url="http://sphinxsearch.com/files/sphinxsearch_2.2.11-release-1~jessie_amd64.deb"
18-
format="deb";;
18+
format="deb"
19+
distro="trusty";;
1920
3.0.3)
2021
url="http://sphinxsearch.com/files/sphinx-3.0.3-facc3fb-linux-amd64.tar.gz"
2122
format="gz";;

lib/thinking_sphinx/settings.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ class ThinkingSphinx::Settings
2020
"workers" => "threads",
2121
"mysql_encoding" => "utf8",
2222
"maximum_statement_length" => (2 ** 23) - 5,
23-
"real_time_tidy" => false
23+
"real_time_tidy" => false,
24+
"cutoff" => 0
2425
}.freeze
2526
YAML_SAFE_LOAD = YAML.method(:safe_load).parameters.any? do |parameter|
2627
parameter == [:key, :aliases]

thinking-sphinx.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $:.push File.expand_path('../lib', __FILE__)
55

66
Gem::Specification.new do |s|
77
s.name = 'thinking-sphinx'
8-
s.version = '5.5.0'
8+
s.version = '5.5.1'
99
s.platform = Gem::Platform::RUBY
1010
s.authors = ["Pat Allan"]
1111
s.email = ["pat@freelancing-gods.com"]

0 commit comments

Comments
 (0)