thinking-sphinx 4.4.0 → 4.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51b5ca0d6ec512494befc55c2c96d86e792bbc9e6645522a94cf818f057f0570
4
- data.tar.gz: 7d7be3bce3f68d23343cc18f1883c88126d51c6e7eb27a3217b65b537b69d2d5
3
+ metadata.gz: c8afa50f4e183cba6d6ce4776b66ab3f274dd538af0ae98e1afd2d73132bc73d
4
+ data.tar.gz: b4a17507c4f023936ff6dabf1c8d4ae9cff2e08ba94808299ae7d7e9edc6c38d
5
5
  SHA512:
6
- metadata.gz: 2a1a2eff2b5f0fd4ee9c8b8fbdc2c137c855e064c9b4759eac336177932499e1d0f184c2bb649b29afb5f3f8d062008464925b90c59bf989b1b49110a73b6c87
7
- data.tar.gz: 65fd88269268931ea7e9aa4a79a2bb1b919f3ae7c6bfdf7b7bd1569c1465aafd76ef62ddb201ae280c8edae6e5c703dbcac04b18a3437a29ab1e849e485476d0
6
+ metadata.gz: 0cac814c511fc65b6bd477ff5b7861bedc551394d53655c75294d834bdc48ae6fa5b361e5e6b3e7a76c4280bc737c65188f21ed72abf18e352a55d967c354249
7
+ data.tar.gz: d79216c06faaa641ea71a30234ad6923fbbb9f2c0b5b0a75a2f7ce62720e6cbf91233965f6d2b0c7133e6e63c81c89db59306c3eb13da194c51fc009bf124041
@@ -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)
@@ -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.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 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.3'</code></pre>
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
@@ -5,7 +5,7 @@ $:.push File.expand_path('../lib', __FILE__)
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = 'thinking-sphinx'
8
- s.version = '4.4.0'
8
+ s.version = '4.4.1'
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.authors = ["Pat Allan"]
11
11
  s.email = ["pat@freelancing-gods.com"]
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.0
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-21 00:00:00.000000000 Z
11
+ date: 2019-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord