health-monitor-rails 9.0.0 → 9.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: bbc0b7bae28ad4057890ef41d0d5c225b0c4cbfb7e4b44642fe761766f5ea58b
4
- data.tar.gz: a338e7cbe5c0f06bfa1e6ce8d85c0c01e94d1aca2e087ba8e2f68b3e1b756efe
3
+ metadata.gz: f17a76a7f5baaf094524cc1e1e4a3f6a967bffe1900540f9a68abadeee1fcab3
4
+ data.tar.gz: 62d688b2f06bc54e727f9291937cbbb7ed706e5c02125596ac8b0193bdf3321f
5
5
  SHA512:
6
- metadata.gz: 9bad3ff296683b068ef145173950cfa914d1c8c9c2baae6780516785976a97ac3000843952ab665b39f96ee7e8c0b3c1211f5380a26a31003a0df2ad3ee31886
7
- data.tar.gz: 3955b32884bb53e3a01f4c1973ca8905e0884eb0b9c1744f904dd10baf4293e77591d9ea4ce3fab27c3c6253dcca05f1ee1de9daf44e4cf7a0b4ba594f5a405e
6
+ metadata.gz: cf42a67607f30a3fc3cff87abeaad8a3c0dc84b29636890ae82d28aa464eadf52940bbbb2c9fbba385449abdfe81d4c5dab874a9f21c1fefaf81911a65f4b62e
7
+ data.tar.gz: 71e8a6294d988401db16c78ecfb692c5579d3633cb2ebc783fa64d6ffd809ae6af75c4782c7f81038cc6e4156d6aa5b2de1b13344bdc6c61ace13f2fa38effb2
@@ -24,8 +24,7 @@ module HealthMonitor
24
24
 
25
25
  def add_custom_provider(custom_provider_class)
26
26
  unless custom_provider_class < HealthMonitor::Providers::Base
27
- raise ArgumentError.new 'custom provider class must implement '\
28
- 'HealthMonitor::Providers::Base'
27
+ raise ArgumentError.new 'custom provider class must implement HealthMonitor::Providers::Base'
29
28
  end
30
29
 
31
30
  add_provider(custom_provider_class)
@@ -29,7 +29,7 @@ module HealthMonitor
29
29
  {
30
30
  results: results,
31
31
  status: results.any? { |res| res[:status] != STATUSES[:ok] } ? :service_unavailable : :ok,
32
- timestamp: Time.now.to_s(:rfc2822)
32
+ timestamp: Time.now.to_formatted_s(:rfc2822)
33
33
  }
34
34
  end
35
35
 
@@ -37,7 +37,7 @@ module HealthMonitor
37
37
  private
38
38
 
39
39
  def check_values!
40
- time = Time.now.to_s(:rfc2822)
40
+ time = Time.now.to_formatted_s(:rfc2822)
41
41
 
42
42
  redis.set(key, time)
43
43
  fetched = redis.get(key)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HealthMonitor
4
- VERSION = '9.0.0'
4
+ VERSION = '9.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: 9.0.0
4
+ version: 9.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leonid Beder
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-18 00:00:00.000000000 Z
11
+ date: 2021-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - ">="
144
144
  - !ruby/object:Gem::Version
145
- version: '1.0'
145
+ version: 1.1.0
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
- version: '1.0'
152
+ version: 1.1.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: resque
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -276,8 +276,9 @@ files:
276
276
  homepage: https://github.com/lbeder/health-monitor-rails
277
277
  licenses:
278
278
  - MIT
279
- metadata: {}
280
- post_install_message:
279
+ metadata:
280
+ rubygems_mfa_required: 'true'
281
+ post_install_message:
281
282
  rdoc_options: []
282
283
  require_paths:
283
284
  - lib
@@ -292,8 +293,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
292
293
  - !ruby/object:Gem::Version
293
294
  version: '0'
294
295
  requirements: []
295
- rubygems_version: 3.0.3
296
- signing_key:
296
+ rubygems_version: 3.1.6
297
+ signing_key:
297
298
  specification_version: 4
298
299
  summary: Health monitoring Rails plug-in, which checks various services (db, cache,
299
300
  sidekiq, redis, etc.)