health-monitor-rails 11.0.0 → 11.1.0

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: ebb626c2a794dc6f2b1a0e657fb126179155ad88ec12b8d67bb356519517204d
4
- data.tar.gz: 45beac4910b662ca499ce4017a53a0bf5671b6b5791a11fa357b432c31ee130e
3
+ metadata.gz: 7051cd9b37789b436d29b3c64a4db67c780cd05cc69a62bfd2e8b0565c6094ae
4
+ data.tar.gz: 1c1c2d5d30b614d01c0cfd66278bc3849ff386717e62c06e0c1029bf3b10f408
5
5
  SHA512:
6
- metadata.gz: 368decd1adde6046ec5561573afe27f1423bde4a37ed8c4dee7a99a93bcbde1f2752ff1370ff09f1a807815ebe012f73b514a44ba23231ac5442e99b9d885869
7
- data.tar.gz: 4d413a6fdce8c28ce49279867f39ca208274f1c6a226c7ae68a1b2b2b4c80f8ed7dd7a7331be30bae2f7eac0eff81f8e2298cfc76b44b61aa205df789b667c28
6
+ metadata.gz: a6877e52dec7c9f39c29ecb7fdaf476b7171cd9162bfb1355df75c377c5822ee5f5d0f1dfd3f5b635582d54c7d65ebbf9ee67808d8d26c18e0cf571f6983e26f
7
+ data.tar.gz: 52b2088d122c133f14428c2fa0def9129da9622b8d46fc383d8edde6938050e14bc05751bfae922a8b6aec8bcc876713602945cf8395c0a49e7eb0bd5105091b
data/README.md CHANGED
@@ -332,7 +332,7 @@ end
332
332
 
333
333
  ```ruby
334
334
  HealthMonitor.configure do |config|
335
- config.add_custom_provider(CustomProvider)
335
+ config.add_custom_provider(CustomProvider.new)
336
336
  end
337
337
  ```
338
338
 
@@ -35,7 +35,7 @@ module HealthMonitor
35
35
  raise ArgumentError.new 'custom provider class must implement HealthMonitor::Providers::Base'
36
36
  end
37
37
 
38
- add_provider(custom_provider_class)
38
+ add_provider(custom_provider_class.new)
39
39
  end
40
40
 
41
41
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HealthMonitor
4
- VERSION = '11.0.0'
4
+ VERSION = '11.1.0'
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: 11.0.0
4
+ version: 11.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leonid Beder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-14 00:00:00.000000000 Z
11
+ date: 2023-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties