typesense 0.14.0 → 0.14.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: 1e5351bb2e29787021c03a8a0fb8f69ea70eefc672f179ed8a5dd0cb4ffafddb
4
- data.tar.gz: c793b23e18e2d317e4a71ef377ff6f23c913d75abb031d21f4f6ac64fff64bfd
3
+ metadata.gz: 1bb8d21314545a009551827388585832a78bf7ec685032959b9829a7870ddb9f
4
+ data.tar.gz: 4084625e3489791d29054738567b5e6eb60c05688f553121d035ef92ba85db8e
5
5
  SHA512:
6
- metadata.gz: b5bf0b69d1e254cef8fe65d04752a967b023f6ccb48fd5e838e5e4dcdfadd745438bcdce0d8a4cc9044052480384f0904c6ecaf291ab6c07eda3553f15767183
7
- data.tar.gz: c53cbea3e8bb8a31cdc501f8d3af27d250f3933b8284890d5814c59a9d7a4889cb794589750c998009061f78bb163b1cd74c94bfec0dff9217966442494bc721
6
+ metadata.gz: a3b6f7e798a06042e57d6c6282a2f9bc1f51921542b525c4369cb4d313900ba0a2eee739356c01062e3519d8d4e7cc8f977b3a732a49ff325e5a1df750eed165
7
+ data.tar.gz: ae3a68760647e57b966b24a352e215673d2eff16c5d0a3830729d2ece01ab2cbd1a60282ce2d72a2b2c504084da9088647b8520445cae06605a48b8ec712e52e
@@ -32,7 +32,7 @@ module Typesense
32
32
  # @param [Array,String] documents An array of document hashes or a JSONL string of documents.
33
33
  def import(documents, options = {})
34
34
  documents_in_jsonl_format = if documents.is_a?(Array)
35
- documents.map { |document| Oj.dump(document) }.join("\n")
35
+ documents.map { |document| Oj.dump(document, mode: :compat) }.join("\n")
36
36
  else
37
37
  documents
38
38
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Typesense
4
- VERSION = '0.14.0'
4
+ VERSION = '0.14.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typesense
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Typesense, Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-01 00:00:00.000000000 Z
11
+ date: 2022-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print