thinking-sphinx 4.3.1 → 4.3.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03cdbbdc5e88bbe791ca53d26ec0408fcc0ac0baa9ab03de58d2e8fb821c7cdd
4
- data.tar.gz: b6ed1c04b02e2db70606334d7cc5ea715b6540d92d21d9415b47ed0ef02d8a65
3
+ metadata.gz: caea8816a7dcdd55d9889ac7beaef2b2991cf8dd191641eaa698521fb95b6713
4
+ data.tar.gz: e0b460d4d58b8edf679bbbc89ee074cba5b8a3c9ba236351cd758444c9106863
5
5
  SHA512:
6
- metadata.gz: 2731b4341a0eb74f3c0312d4535a1cbc1c8b50e4694ce1a61c5c7fc54981b02b3336467779a9beb437013eea812ee6e1eb9c81e9905247f35b094575e6a7de6d
7
- data.tar.gz: 0f3b3eb6a3437100e8337465610cf1eca9c6ae7d5159838cfe0011748e87f59bace8e6cd5c4a199f3dd87dd63ce8048bae5aa0ddd88a72e9d95973e18d88204d
6
+ metadata.gz: c4a676a4cb6fd8707fcf3cf295862a748dcb74707b152e482593ab59494b6b74afa57c47cf755093de6a115532bead056fb78788ff3cc23047da2ba34f998b62
7
+ data.tar.gz: 61bbbbab89a682cf746922938195f3aaa3a626a760c500b098561e59cc41c411181af8b6c464067c5a7376c0120ae3d5c9ccf4aa18f3c035cddfbd4541cb11d3
@@ -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.3.2 - 2019-07-10
6
+
7
+ [Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v4.3.2)
8
+
9
+ ### Fixed
10
+
11
+ * Reverted loading change behaviour from v4.3.1 for Rails v5 ([Eduardo J.](https://github.com/eduardoj) in [#1138](https://github.com/pat/thinking-sphinx/pull/1138)).
12
+
5
13
  ## 4.3.1 - 2019-06-27
6
14
 
7
15
  [Release Notes](https://github.com/pat/thinking-sphinx/releases/tag/v4.3.1)
@@ -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.3.1.
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.3.2.
4
4
 
5
5
  h2. Upgrading
6
6
 
@@ -98,7 +98,7 @@ class ThinkingSphinx::Configuration < Riddle::Configuration
98
98
  end
99
99
 
100
100
  def preload_index(file)
101
- if ActiveRecord::VERSION::MAJOR < 5
101
+ if ActiveRecord::VERSION::MAJOR <= 5
102
102
  ActiveSupport::Dependencies.require_or_load file
103
103
  else
104
104
  load file
@@ -4,7 +4,7 @@ require 'spec_helper'
4
4
 
5
5
  describe ThinkingSphinx::Configuration do
6
6
  let(:config) { ThinkingSphinx::Configuration.instance }
7
- let(:use_load?) { ActiveRecord::VERSION::MAJOR >= 5 }
7
+ let(:use_load?) { ActiveRecord::VERSION::MAJOR > 5 }
8
8
  let(:loading_object) { use_load? ? config : ActiveSupport::Dependencies }
9
9
  let(:loading_method) { use_load? ? :load : :require_or_load }
10
10
 
@@ -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.3.1'
8
+ s.version = '4.3.2'
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.3.1
4
+ version: 4.3.2
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-06-27 00:00:00.000000000 Z
11
+ date: 2019-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord