thinking-sphinx 5.2.0 → 5.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +8 -0
- data/README.textile +1 -1
- data/lib/thinking_sphinx/railtie.rb +5 -5
- 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: 174a0193bd92fcdca5e1af880b893ddf5ae94e477e53c03f7684d48470042a89
|
4
|
+
data.tar.gz: fe6b9df85b827b0ffec5a60ae9c691b4b50efa3774bd83854124e3639ecea93d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7eac5ba48a5f23b6e142a33065c27490df0036abd94899dba580e2c1f738904f46f203657e2b34549028b9c7f64dda6a5642c80e4bea6acc989a66f6b0bebade
|
7
|
+
data.tar.gz: 9b8a4875deeb1b6a38fe3127162e77e0e8a8879ae6e7aa4da7d457cc00869c0e77d4d2a95c691ff1d12eab0c9f20d06be8abc024b911f15819fef03890d1f5f8
|
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.2.1 - 2021-08-09
|
6
|
+
|
7
|
+
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v5.2.1)
|
8
|
+
|
9
|
+
### Fixed
|
10
|
+
|
11
|
+
* Ensure ActiveRecord components are loaded for rake tasks, but only after the Rails application has initialised. More details in [#1199](https://github.com/pat/thinking-sphinx/issues/1199).
|
12
|
+
|
5
13
|
## 5.2.0 - 2021-06-12
|
6
14
|
|
7
15
|
[Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v5.2.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.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.2.1.
|
4
4
|
|
5
5
|
h2. Upgrading
|
6
6
|
|
@@ -5,12 +5,12 @@ class ThinkingSphinx::Railtie < Rails::Railtie
|
|
5
5
|
ThinkingSphinx::Configuration.reset
|
6
6
|
end
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
end
|
8
|
+
config.after_initialize do
|
9
|
+
require 'thinking_sphinx/active_record'
|
10
|
+
ActiveRecord::Base.include ThinkingSphinx::ActiveRecord::Base
|
11
|
+
end
|
13
12
|
|
13
|
+
initializer 'thinking_sphinx.initialisation' do
|
14
14
|
if ActiveSupport::VERSION::MAJOR > 5
|
15
15
|
if Rails.application.config.autoloader == :zeitwerk
|
16
16
|
ActiveSupport::Dependencies.autoload_paths.delete(
|
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.2.
|
4
|
+
version: 5.2.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: 2021-
|
11
|
+
date: 2021-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|