okcomputer 1.11.0 → 1.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e2e3f9c41d2f33dae8b0c4150153002bd0ac548
4
- data.tar.gz: 04f39dab21da2e5e854afd1690a35857fe1f0aaa
3
+ metadata.gz: e98c45fbc87628bf1d143ef54b7c3688db17445f
4
+ data.tar.gz: 755db783e2105b593afa77653aee78d3a8febfc9
5
5
  SHA512:
6
- metadata.gz: 7cc80015fab9fdfb41e2b7f10ce0c864ee288282f0c48f7e7477a13c19dae3161fdfe5dfe78b87a9e50f80e9e05da9e2b6a44c2e3132a486c9bb7244b42578b2
7
- data.tar.gz: 3cb175228a439530547d779bc9efb4ed5b8f3909bcf25f52a7220bdc32e429cc2c49b7e91a0a9e73b3641474b75baae502c50714a264eaabf19aeac52feea488
6
+ metadata.gz: 4f8b9332ca781d93205bdd03fc8de67a2274f8206b6df2ae6d56ce4f3e6e98a8f20235ec83f6c42e21bad4d192268a9aef3214ef11695a3ef83d89ea02def386
7
+ data.tar.gz: 55409375cfeee2457b4f6d59e768adc0cf8073a8860bd80c2f7fdd20a9fc31aa91c53ccfa84075366bfb942637a6a77813074f63637d82f767929ddcd21a584c
@@ -34,7 +34,7 @@ module OkComputer
34
34
  # Returns response body if the request was successful.
35
35
  # Otherwise raises a HttpCheck::ConnectionFailed error.
36
36
  def perform_request
37
- timeout(request_timeout) do
37
+ Timeout.timeout(request_timeout) do
38
38
  options = { read_timeout: request_timeout }
39
39
 
40
40
  if basic_auth_options.any?
@@ -1,3 +1,3 @@
1
1
  module OkComputer
2
- VERSION = '1.11.0'
2
+ VERSION = '1.11.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: okcomputer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Byrne
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-08-19 00:00:00.000000000 Z
13
+ date: 2016-08-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: sqlite3