health-monitor-rails 8.6.1 → 8.6.2

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: 3deaec4ae2728a5955ac19b59c7f65c4cbdbe99882b7afa3d22600d650cc796a
4
- data.tar.gz: eaad84f4ac2cd63a38abc7b7f5e3b7ba146aa525db829c50d9d4752c68a785d8
3
+ metadata.gz: 754b75d21b10aa7b909e172e7b8e1f0ddbad7d11bd4284d877eb279bb25dca3c
4
+ data.tar.gz: f998b3bae7256df474a8abae0ec0d09fbcbee17216e6c5ae2535cccc78be94f2
5
5
  SHA512:
6
- metadata.gz: 4a81f5d9779e9df710b839a017816922b00faeac099e22c42ee87e9a9769d4bb897c0ad9393f3e662b7992b823bbd49410ebef844f860f36dd55def2d92df3a1
7
- data.tar.gz: af25561d78845aabbfd4d81fcc6298d3ddebcd081196da6075e9e8085b6e73999147e45865fdb8a3c9193999e52ccaf503d4d737994ead70b54fc6fe21e1ea31
6
+ metadata.gz: b010bdbb70c557f28ed326aac704ba75b5e09de3cc70d3e3bc8d4e8a9f7ebe7095b50634f5fd4b1ef64aad8a0320d6410d6af95b226ca1d85a2f1dc4aa2751af
7
+ data.tar.gz: cce51fd1e2a22998b91b67dfc758ba383d11762d085d4d1baa40a14d948eeca69c327c331affa8c190860800b72d5b0c59d0218dab4d757f76082ca86eab1221
@@ -45,7 +45,7 @@ module HealthMonitor
45
45
  status: STATUSES[:ok]
46
46
  }
47
47
  rescue StandardError => e
48
- configuration.error_callback&.call(e)
48
+ configuration.error_callback.try(:call, e)
49
49
 
50
50
  {
51
51
  name: provider.provider_name,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HealthMonitor
4
- VERSION = '8.6.1'
4
+ VERSION = '8.6.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: health-monitor-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.6.1
4
+ version: 8.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leonid Beder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-17 00:00:00.000000000 Z
11
+ date: 2019-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails