blabbermouth-rails 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/blabbermouth/rails/bystander.rb +6 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15e4830ca87f8d068ae0d86ba55590fda12cd598
|
4
|
+
data.tar.gz: 9692c233d0234f38a892d14e7cc3dc2613c231ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bdc9b49e22b1d17e7cc1d9dd8269ce9c318ce27c2170e898f5f825b8d26683ccbb0b61e1b8cefc2a6be1e6efcd48b5e1a1c12a332df7e9326b1992aa6a39b18
|
7
|
+
data.tar.gz: 8bea06e0a04fdca36a1c55a1c25bf6ac79ad9839c0bc3c343a530b4a1f8c27adcd33115772141f4c854a89c8e078fa0ede3e957df9cd2b30aa31ce110ada2164
|
@@ -5,26 +5,26 @@ module Blabbermouth
|
|
5
5
|
include Blabbermouth::Bystanders::DynamicEvents
|
6
6
|
|
7
7
|
def error(key, e, *args)
|
8
|
-
|
8
|
+
relay :error, key, e, *args
|
9
9
|
end
|
10
10
|
|
11
11
|
def info(key, msg=nil, *args)
|
12
|
-
|
12
|
+
relay :info, key, msg, *args
|
13
13
|
end
|
14
14
|
|
15
15
|
def increment(key, by=1, *args)
|
16
|
-
|
16
|
+
relay :increment, key, by, *args
|
17
17
|
end
|
18
18
|
|
19
19
|
def count(key, total, *args)
|
20
|
-
|
20
|
+
relay :count, key, total, *args
|
21
21
|
end
|
22
22
|
|
23
23
|
def time(key, duration, *args)
|
24
|
-
|
24
|
+
relay :time, key, duration, *args
|
25
25
|
end
|
26
26
|
|
27
|
-
def
|
27
|
+
def relay(meth, key, *args)
|
28
28
|
data, opts, args = parse_args(*args)
|
29
29
|
log meth, key, args.first, data
|
30
30
|
end
|