hypertrack 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hypertrack/api_client.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05db517bcb62361dc0db41ea5801c9dc98a1fbbd7dd9084cc13d7e70e93909eb
4
- data.tar.gz: 003df3b6f68b8bf8371e2d6385ce2be77a09fbf989be0939c3034de8b0f5e496
3
+ metadata.gz: 3f4df415d3236a3896e552b6cdfe0b1b8fb80c384d9c1b2d4b4ae1d7481a9e36
4
+ data.tar.gz: a170fd6e581a2ca041fb9e2ae8dce433ad8a3a1b111223cc58d4361c37335ff2
5
5
  SHA512:
6
- metadata.gz: 53632a244690dd68be58ead6044706396a19426fdcd7bb246f2a9efd5342047c9570d6af6b06b7f39355580f2904f4e6a4f6a3003b1dfc33f44eae9f1176b56a
7
- data.tar.gz: 1a0b8fbc02652cf5643a7c5f19bdd3cd156ac8eaaecdbeea26bb0e6ada654ace9e3b786bce57b3deb1f8761e7b04845580f308c869161e3dc10b7da623e6d9a8
6
+ metadata.gz: b87d88fab0f85dc0289a807e5c27e564e39cdbf477ab768e1936252aba731b6821f7b6dcb9dee393bef632aeff77e9c882f8b41e7bcf89e58f7254966c1f8adb
7
+ data.tar.gz: 3008093937495dec864e4dc6f8c760ea12efaf6ae67cb044d561087ca72adaa5c5d459d0be4ced4058f72ceabdae13d9d841e4af210c4695046c6998ba61c065
@@ -69,7 +69,7 @@ module HyperTrack
69
69
  Net::HTTP.start(
70
70
  api_uri.host,
71
71
  api_uri.port,
72
- :read_timeout => ENV['NET_TIMEOUT'] || 5,
72
+ :read_timeout => ENV.fetch('NET_TIMEOUT', 5).to_i,
73
73
  :use_ssl => api_uri.scheme == 'https',
74
74
  :verify_mode => OpenSSL::SSL::VERIFY_PEER
75
75
  ) { |conn|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hypertrack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Utsav Kesharwani
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-08-16 00:00:00.000000000 Z
13
+ date: 2018-08-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json