algoliasearch-rails 1.20.0 → 1.20.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/lib/algoliasearch-rails.rb +1 -1
- data/lib/algoliasearch/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92f616205addc3e9e48ab6a23139233080fc7b97
|
4
|
+
data.tar.gz: cdb287198f237c25d22471c1a8d3d330ec13b210
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 348f1d24568376ccc5f6dc7473ea35237ee240401fa51fa4891d2f52fb1a0f279b21b916c10e0ee468dfbb2d094cd0e369b03187e25c244986e950d043258154
|
7
|
+
data.tar.gz: cacfa47e3db345ebefc78174fc8217e5acb6846ad279c44f926ab41191dd90ddd5b7a807b4cf01d1097e9ea1439e37c3f87c922710b07a781d2e83ad970a400e
|
data/ChangeLog
CHANGED
data/lib/algoliasearch-rails.rb
CHANGED
@@ -658,7 +658,7 @@ module AlgoliaSearch
|
|
658
658
|
algolia_object_id_of(hit)
|
659
659
|
end
|
660
660
|
results = json['hits'].map do |hit|
|
661
|
-
o = results_by_id[hit['objectID']]
|
661
|
+
o = results_by_id[hit['objectID'].to_s]
|
662
662
|
if o
|
663
663
|
o.highlight_result = hit['_highlightResult']
|
664
664
|
o.snippet_result = hit['_snippetResult']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: algoliasearch-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.20.
|
4
|
+
version: 1.20.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Algolia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|