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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f7333f262a5b1e9d919ca00b85931fb980e4ecc0
4
- data.tar.gz: 7337128b35c33d12690b1eaba6bf659e1df0f03f
3
+ metadata.gz: 92f616205addc3e9e48ab6a23139233080fc7b97
4
+ data.tar.gz: cdb287198f237c25d22471c1a8d3d330ec13b210
5
5
  SHA512:
6
- metadata.gz: c300e5f50274dc54ed86224bb4c39c853e69473201a6a556c08bbe5f8868f2189ffbbecd1de6e26574831b3e42b73f8fba2254a8be41000b724347fc10c21782
7
- data.tar.gz: 615ecacfba423c91e3f3e569041f82826fa778894be4c0b2ede19dfb00b3f7bdda723c6a87b57c2ef1b8514dde2bf3bd9cfce32b3202660d3faa8dd0ebf7e7e9
6
+ metadata.gz: 348f1d24568376ccc5f6dc7473ea35237ee240401fa51fa4891d2f52fb1a0f279b21b916c10e0ee468dfbb2d094cd0e369b03187e25c244986e950d043258154
7
+ data.tar.gz: cacfa47e3db345ebefc78174fc8217e5acb6846ad279c44f926ab41191dd90ddd5b7a807b4cf01d1097e9ea1439e37c3f87c922710b07a781d2e83ad970a400e
data/ChangeLog CHANGED
@@ -1,5 +1,9 @@
1
1
  CHANGELOG
2
2
 
3
+ 2017-08-04 1.20.1
4
+
5
+ * Make sure objectIDs are manipulated as strings
6
+
3
7
  2017-07-31 1.20.0
4
8
 
5
9
  * Override the user-agent (#238)
@@ -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']
@@ -1,3 +1,3 @@
1
1
  module AlgoliaSearch
2
- VERSION = '1.20.0'
2
+ VERSION = '1.20.1'
3
3
  end
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.0
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-07-31 00:00:00.000000000 Z
11
+ date: 2017-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json