status-page 0.1.4 → 0.1.5

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
- SHA1:
3
- metadata.gz: 52c384a41db820198ceabb23d287329bd7104c4c
4
- data.tar.gz: 32ced89c5f80c3783fbb625c4bf5671c5be4b8b1
2
+ SHA256:
3
+ metadata.gz: a4c01f15fa843994f457d5f22c644bac803baa3d0dd01c376e8cf562d67bbea0
4
+ data.tar.gz: 1b34d1fd18e61c70035cab8e98124b0a68dd25afc11cf7c75a4131acf523348e
5
5
  SHA512:
6
- metadata.gz: 3ea6aa76924f33883ad37c37acd3c6228871f430f739dd7b2efad68c987965c1cec2d07989582cc3dcea6e6d1fb04700dacb7ae4a8e9f2114fc21c23decbc7ea
7
- data.tar.gz: 0143b82d88d195c3aed4c61ebfc6a56e0549391290795e18f59374271a39009ccb4d8fa7aff9232b7875a350bc41c719906edecc539fdcef62c22d2c85b675e6
6
+ metadata.gz: 124b3c28fc3515c9c5014560b1919f8c1967dbac1b0a7a2171ea5613a2da0e0b5b1a3358fb1a62f6e55d1f7344c49980226d027f5aeb47d4b0e218d98d773ddc
7
+ data.tar.gz: 6de5236ca88e3b9b9cc465a1b00c5b73ac3e58d1403a6226c60985e6e630dfca52074770b0b5eb9ba7a447d6957f93609704653d649b66f9f562ffcea0a0ba29
@@ -1,5 +1,3 @@
1
- require 'redis/namespace'
2
-
3
1
  module StatusPage
4
2
  module Services
5
3
  class RedisException < StandardError; end
@@ -9,7 +7,7 @@ module StatusPage
9
7
  attr_accessor :url
10
8
 
11
9
  def initialize
12
- @url = "redis://127.0.0.1:3306/1"
10
+ @url = "redis://127.0.0.1:6379/1"
13
11
  end
14
12
  end
15
13
 
@@ -30,7 +28,7 @@ module StatusPage
30
28
  rescue Exception => e
31
29
  raise RedisException.new(e.message)
32
30
  ensure
33
- redis.client.disconnect
31
+ redis.close
34
32
  end
35
33
 
36
34
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StatusPage
4
- VERSION = '0.1.4'
4
+ VERSION = '0.1.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: status-page
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leonid Beder
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-11-21 00:00:00.000000000 Z
12
+ date: 2020-02-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -69,8 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubyforge_project:
73
- rubygems_version: 2.5.2
72
+ rubygems_version: 3.0.3
74
73
  signing_key:
75
74
  specification_version: 4
76
75
  summary: Health monitoring Rails plug-in, which checks various services (db, cache,