algoliasearch-rails 1.19.0 → 1.19.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +4 -0
- data/VERSION +1 -1
- data/lib/algoliasearch/utilities.rb +2 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23f4ced41b37b645e2cce5d67f805d42850e029a
|
4
|
+
data.tar.gz: a796b183866ab727b38d31be8235a3a8ff3883bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b31dbca7392ef79fa82ca7f949318e5365543797fa612cc0dad7cc0e453f57dc412e13c25acc1b24b7f0140944576bbe5de60e5d6bcc59f429d29a00e28db17c
|
7
|
+
data.tar.gz: b0c7c3b271489fc8a10caf5a460e3bb236caa5992b98fe422581f219b07881386c126fcd3b8b1980dee556d34fe1e59a72da5a5e2a9c8ada8b0a9bee4662a641
|
data/ChangeLog
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.19.
|
1
|
+
1.19.1
|
@@ -2,9 +2,8 @@ module AlgoliaSearch
|
|
2
2
|
module Utilities
|
3
3
|
class << self
|
4
4
|
def get_model_classes
|
5
|
-
Rails.application.eager_load! # Ensure all models are loaded (not necessary in production when cache_classes is true).
|
6
|
-
|
7
|
-
ActiveRecord::Base.descendants.select{ |model| model.respond_to?(:algolia_reindex) }
|
5
|
+
Rails.application.eager_load! if Rails.application # Ensure all models are loaded (not necessary in production when cache_classes is true).
|
6
|
+
AlgoliaSearch.instance_variable_get :@included_in
|
8
7
|
end
|
9
8
|
|
10
9
|
def clear_all_indexes
|