cronitor 4.1.0 → 4.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: d91bccffc3a53dfe487e4740c00aa83b47fe31c4347a1bdc93e017bbb3467751
4
- data.tar.gz: 5730c8a4742bab773c1e3582fa4f00298890171e91ef96b83fda8e0a6ebd6470
3
+ metadata.gz: 70d39a60f81039830a50c36c9885a6021155dfdef29403b2b28335f8be8fd2f8
4
+ data.tar.gz: 26d1637753bfbea371b1dd5add7752cb36b9a2a20d0c5f2a66c760813fde83b2
5
5
  SHA512:
6
- metadata.gz: '054173538e57d465de2cc25786a42ccdb80c2be0532f0526634153de3fd7c46f428cdeaded4dd84e6169a9aa5717439bab0b1b4cc9672b56b93543ae58183ae3'
7
- data.tar.gz: 311901851f90644a7d0c46eeed1b2bd821880816090799d1601008e29fa19a4cad2199905f317a9a08225296d579ba054bc87456dadf19fe427f3487c0ac42ce
6
+ metadata.gz: 4ad94427bb731459e4a41463b0435a2afc6e904ad15a76a57d50557d77285931bca7773b537b9eb5433b382364ab0161e87f03b326f5dca5faa4997e70f8c63d
7
+ data.tar.gz: beb4775ed796685a6d1c90bb88c692cf8d2a34f834c858449138afffbcf53d258f84ff791c265d89e05db287d8259a9a7087f32c660410f99b40d965f49a0e19
data/README.md CHANGED
@@ -81,7 +81,7 @@ Cronitor.apply_config
81
81
  Cronitor.validate_config
82
82
  ```
83
83
 
84
- The `cronitor.yaml` file includes three top level keys `jobs`, `checks`, `events`. You can configure monitors under each key by defining [monitors](https://cronitor.io/docs/monitor-api#attributes).
84
+ The `cronitor.yaml` file includes three top level keys `jobs`, `checks`, `heartbeats`. You can configure monitors under each key by defining [monitors](https://cronitor.io/docs/monitor-api#attributes).
85
85
 
86
86
  ```yaml
87
87
  jobs:
@@ -117,7 +117,7 @@ module Cronitor
117
117
 
118
118
  # apply a backoff before sending the next ping
119
119
  sleep(retry_count * 1.5 * rand)
120
- ping(params.merge(retry_count: params[:retry_count] + 1))
120
+ ping(params.merge(retry_count: retry_count + 1))
121
121
  end
122
122
  end
123
123
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cronitor
4
- VERSION = '4.1.0'
4
+ VERSION = '4.1.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: 4.1.0
4
+ version: 4.1.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: 2021-05-20 00:00:00.000000000 Z
12
+ date: 2021-05-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty