thinking-sphinx 4.4.0 → 4.4.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.markdown +8 -0
- data/README.textile +2 -2
- data/lib/thinking_sphinx/railtie.rb +8 -0
- 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: c8afa50f4e183cba6d6ce4776b66ab3f274dd538af0ae98e1afd2d73132bc73d
|
|
4
|
+
data.tar.gz: b4a17507c4f023936ff6dabf1c8d4ae9cff2e08ba94808299ae7d7e9edc6c38d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0cac814c511fc65b6bd477ff5b7861bedc551394d53655c75294d834bdc48ae6fa5b361e5e6b3e7a76c4280bc737c65188f21ed72abf18e352a55d967c354249
|
|
7
|
+
data.tar.gz: d79216c06faaa641ea71a30234ad6923fbbb9f2c0b5b0a75a2f7ce62720e6cbf91233965f6d2b0c7133e6e63c81c89db59306c3eb13da194c51fc009bf124041
|
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
|
+
## 4.4.1 - 2019-08-23
|
|
6
|
+
|
|
7
|
+
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v4.4.1)
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
* Automatically remove `app/indices` from Zeitwerk's autoload paths in Rails 6.0 onwards (if using Zeitwerk as the autoloader).
|
|
12
|
+
|
|
5
13
|
## 4.4.0 - 2019-08-21
|
|
6
14
|
|
|
7
15
|
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v4.4.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 v4.4.
|
|
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 v4.4.1.
|
|
4
4
|
|
|
5
5
|
h2. Upgrading
|
|
6
6
|
|
|
@@ -14,7 +14,7 @@ It's a gem, so install it like you would any other gem. You will also need to sp
|
|
|
14
14
|
|
|
15
15
|
<pre><code>gem 'mysql2', '~> 0.3', :platform => :ruby
|
|
16
16
|
gem 'jdbc-mysql', '~> 5.1.35', :platform => :jruby
|
|
17
|
-
gem 'thinking-sphinx', '~> 4.
|
|
17
|
+
gem 'thinking-sphinx', '~> 4.4'</code></pre>
|
|
18
18
|
|
|
19
19
|
The MySQL gems mentioned are required for connecting to Sphinx, so please include it even when you're using PostgreSQL for your database. If you're using JRuby with a version of Sphinx prior to 2.2.11, there is "currently an issue with Sphinx and jdbc-mysql 5.1.36 or newer":http://sphinxsearch.com/forum/view.html?id=13939, so you'll need to stick to nothing more recent than 5.1.35, or upgrade Sphinx.
|
|
20
20
|
|
|
@@ -9,6 +9,14 @@ class ThinkingSphinx::Railtie < Rails::Railtie
|
|
|
9
9
|
ActiveSupport.on_load(:active_record) do
|
|
10
10
|
ActiveRecord::Base.send :include, ThinkingSphinx::ActiveRecord::Base
|
|
11
11
|
end
|
|
12
|
+
|
|
13
|
+
if ActiveSupport::VERSION::MAJOR > 5
|
|
14
|
+
if Rails.application.config.autoloader == :zeitwerk
|
|
15
|
+
ActiveSupport::Dependencies.autoload_paths.delete(
|
|
16
|
+
Rails.root.join("app", "indices").to_s
|
|
17
|
+
)
|
|
18
|
+
end
|
|
19
|
+
end
|
|
12
20
|
end
|
|
13
21
|
|
|
14
22
|
rake_tasks do
|
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: 4.4.
|
|
4
|
+
version: 4.4.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: 2019-08-
|
|
11
|
+
date: 2019-08-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|