typesense 0.5.3 → 0.5.4

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: bcf637e89f09c24ce984420370602cc27326e71a4fc813b2b3c530ab6647c91d
4
- data.tar.gz: 3439e7c8a0eaed0ffeeaf9a2b3c695927251f3b38741181023d581d0813fe9ba
3
+ metadata.gz: daf1095f05bf1b0a6a8dce800dcbd08d80c6711615dd96bd533bdff561bcfd4b
4
+ data.tar.gz: c3f22c5657cfbffd5eea14862f81cf32af19a699354f8f6cecd45850c7d22b26
5
5
  SHA512:
6
- metadata.gz: 002cacde4237f98f06bb1d291eb37b984c394d37dfa544c8e58c723b12ff92813599574acf1207df1d9b539622a28f72a4cd975edee3254f0def13d935684fd2
7
- data.tar.gz: 0343b17045c714e25091537dc319ae00145d151f8fe30b216deae1170d3b7f24bf9a6003090ee0b9dff8e2adae406a2c723e07a97ee230d16b365ed574601204
6
+ metadata.gz: 3933ca65c765545244d66c18e4c2a20b390ed7c3f9d3ef0134596f6f929826748eace3cfc14e9985e93bd091e5463d990d4173ba6b1f3e5e6a31a3681615822d
7
+ data.tar.gz: 704d5853d7c232d66d05aa037c26f3adfa9089599ae68c74c90af69e02bfc28cc5a87e51958cfb56acc7d64b75c7d53129bb514af736e299348abfa233b5fd0f
@@ -84,7 +84,7 @@ module Typesense
84
84
 
85
85
  exception_message = (response_object.parsed_response && response_object.parsed_response['message']) || 'Error'
86
86
  raise custom_exception_klass_for(response_object.response), exception_message
87
- rescue Net::ReadTimeout, Net::OpenTimeout,
87
+ rescue SocketError, Net::ReadTimeout, Net::OpenTimeout,
88
88
  EOFError, Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError, Net::ProtocolError,
89
89
  Errno::EINVAL, Errno::ENETDOWN, Errno::ENETUNREACH, Errno::ENETRESET, Errno::ECONNABORTED, Errno::ECONNRESET,
90
90
  Errno::ETIMEDOUT, Errno::ECONNREFUSED, Errno::EHOSTDOWN, Errno::EHOSTUNREACH,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Typesense
4
- VERSION = '0.5.3'
4
+ VERSION = '0.5.4'
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.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Typesense, Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-09 00:00:00.000000000 Z
11
+ date: 2020-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print