cronitor 5.2.0 → 5.2.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: 55b057acd03a6a25b77974f2834d1f9d0a745e94089b5a8f1a7b19b74cdbd291
4
- data.tar.gz: 6eea2063baf3f2a31a4f67ee27d419b70ac94127f18216fb5dcc555d042a8bc6
3
+ metadata.gz: 256202e94ab78e773be9c52bfd101ba23fb12d33140be4035e03488918db4a09
4
+ data.tar.gz: 285d0414d43c71968b11b57be219bd8a8bc5f31b49a66b254124677efcc42869
5
5
  SHA512:
6
- metadata.gz: c88b28e6b24c779f522b93e6dd6a6b57da6bc7df615d393b3dec35f76c7577d5b5cf0710a0d8e54b5f73f88210543426362eee35fe0641f8c63aa63ff40f3331
7
- data.tar.gz: f20d7064b7dde42ec30c6ee46bbeb7fa38323e17053737cc2fe127257aaf74e6a4ee67850bd77be4eb5d2f4454e2665f1e01a4141b2b424d0958be97f6dd2bd4
6
+ metadata.gz: bc5ffa239b51b869fc73b11fd83900340823e63fe46a82609a96e2c45f13148c1b6514844e1315a7a584927400a5cbb85381c7fa995940d938bfc1528403e7d3
7
+ data.tar.gz: 4666eea5d6f1cf5631fb9fcccadfa6e11d074a560af1a7a411b6dd8f7720dd8667576752337216ee4bca9c2a2dd6e718ecbc14d0b1656b6a6be642657b9fca51
@@ -201,7 +201,16 @@ module Cronitor
201
201
  return
202
202
  end
203
203
 
204
- HTTParty.get(monitor_api_url, timeout: Cronitor.timeout, headers: Cronitor::Monitor::Headers::JSON, format: :json)
204
+ HTTParty.get(
205
+ monitor_api_url,
206
+ basic_auth: {
207
+ username: api_key,
208
+ password: ''
209
+ },
210
+ timeout: Cronitor.timeout,
211
+ headers: Cronitor::Monitor::Headers::JSON,
212
+ format: :json
213
+ )
205
214
  end
206
215
 
207
216
  def clean_params(params)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cronitor
4
- VERSION = '5.2.0'
4
+ VERSION = '5.2.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cronitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0
4
+ version: 5.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Byrnes
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-02-21 00:00:00.000000000 Z
12
+ date: 2025-01-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty