okcomputer-checks 1.1.0 → 1.1.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: d3f6daa10543667d831f916643cd8509bd71267cf9027a4ca5e2455a424dabc2
4
- data.tar.gz: e39221047f08e96a9d15ba478a204dc4dcd2a4cdab789fff63cc5cb50ede5d97
3
+ metadata.gz: 1f8fe4e2977b1bf89c003d9c98e9924ebfc5953872592d678cb4df4a3d4e7a9b
4
+ data.tar.gz: 8fbda4d43ee4dc061e6ec523c6fc6184010d19b55dc35b339aa62e3e6ce77fdf
5
5
  SHA512:
6
- metadata.gz: 6fececbd15ed6ccb3a0ce20c49c624c8377a0213804682992acd17250c6ac17ac52f93a2d9c4f15a7311a0aa9051344d46b17ae02813d07a924c82d0a10d445e
7
- data.tar.gz: 9879e6cda942bdad1b32de1aba99d4110fe6baeb8dc41cf90f135d09c6af73ffd32ec69fa28176f1738f908b5429bc6e50694cd8feea1b80e48fe9a3c2d564bd
6
+ metadata.gz: 3cf97da455d7e78cdb9891bc9d33a33704ee4577fb73d9fef8008cfe1755428ee9381cefc5805e754673902349c54aab357d7f47acda3bad3ae149989fade7ce
7
+ data.tar.gz: 327f6fac075c99ef6fd72cb48c555167021754f7b5552d4d48f4afdec821f9eb04a3376943d0d8f18a19124c145dc132311e0a9f35a485481853c0f31802c495
@@ -31,7 +31,7 @@ module OkComputer
31
31
  def perform_request
32
32
  response = Faraday.get(url, request: { timeout: request_timeout }) do |req|
33
33
  req.headers['Content-Type'] = 'application/json'
34
- req.body = { hapikey: api_key }.to_json
34
+ req.params['hapikey'] = api_key
35
35
  end
36
36
 
37
37
  [response.status, MultiJson.decode(response.body)]
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OkComputer
4
4
  module Checks
5
- VERSION = '1.1.0'
5
+ VERSION = '1.1.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: okcomputer-checks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - First Circle Engineering
@@ -266,7 +266,7 @@ homepage: https://github.com/carabao-capital/okcomputer-checks
266
266
  licenses:
267
267
  - MIT
268
268
  metadata:
269
- source_code_uri: https://github.com/carabao-capital/okcomputer-checks/tree/v1.1.0
269
+ source_code_uri: https://github.com/carabao-capital/okcomputer-checks/tree/v1.1.1
270
270
  allowed_push_host: https://rubygems.org
271
271
  post_install_message:
272
272
  rdoc_options: []