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 +5 -5
- data/lib/status-page/services/redis.rb +2 -4
- data/lib/status-page/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a4c01f15fa843994f457d5f22c644bac803baa3d0dd01c376e8cf562d67bbea0
|
4
|
+
data.tar.gz: 1b34d1fd18e61c70035cab8e98124b0a68dd25afc11cf7c75a4131acf523348e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:
|
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.
|
31
|
+
redis.close
|
34
32
|
end
|
35
33
|
|
36
34
|
private
|
data/lib/status-page/version.rb
CHANGED
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
|
+
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:
|
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
|
-
|
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,
|