exception_notification_moderate 0.0.1 → 0.0.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23b3a5fe475a9a0b6f1d21f96690fd2e46867391
|
4
|
+
data.tar.gz: 03c22ea2d71fb47f920351d5f807714a6777cd23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f99851e321960f1ab9f7db595dbd71dc93a5952ed616002a9548a25268c6f91f0d5759ec0a751995cc30bf744829d6a074f01c3efe8d6fa637b2692ce19ee736
|
7
|
+
data.tar.gz: 7a5391de76bd6c6dab0c3b5190ccdb9b489308dae1420c2619b44e9ac9e0ff70e96732d1aba2970af896c0fce895cf4a6308ecad7a8b3f8c7f6e067f70c99852
|
data/README.md
CHANGED
@@ -31,7 +31,11 @@ module ExceptionNotifier
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def redis
|
34
|
-
|
34
|
+
if ExceptionNotificationModerate.redis_host
|
35
|
+
Redis.new(host: ExceptionNotificationModerate.redis_host)
|
36
|
+
elsif ExceptionNotificationModerate.redis_url
|
37
|
+
Redis.new(host: ExceptionNotificationModerate.redis_url)
|
38
|
+
end
|
35
39
|
end
|
36
40
|
end
|
37
41
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exception_notification_moderate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ryonext
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: exception_notification
|
@@ -184,3 +184,4 @@ summary: Notify same exception moderate.
|
|
184
184
|
test_files:
|
185
185
|
- spec/exception_notification_moderate_spec.rb
|
186
186
|
- spec/spec_helper.rb
|
187
|
+
has_rdoc:
|