grape_logging 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grape_logging-1.1.1.gem +0 -0
- data/lib/grape_logging/middleware/request_logger.rb +6 -1
- data/lib/grape_logging/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b3bf40b45307865cbd2c98fe98ca4a8a3a4d159
|
4
|
+
data.tar.gz: 116be8f340bab2a4d7b7b66bc1aba888a35db947
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29a8feba5650aa2034a30263bae9dab1e1810053e0df49d7a4e7224d569645c9002434f35aea875753d50c46d8cd869cded6aadaffdddd63fc06178f24474a28
|
7
|
+
data.tar.gz: 5cc8354ea7119b4e11b1619bb6795931e7f7f88f59392cd61bcd4ee76d3e4a825302ebef975a3908a267e0e8210ad62457a5477e9441cfb68b5bdd05a32ca3b7
|
Binary file
|
@@ -16,10 +16,15 @@ module GrapeLogging
|
|
16
16
|
def after
|
17
17
|
stop_time
|
18
18
|
logger.info parameters
|
19
|
-
ActiveSupport::Notifications.unsubscribe(@subscription) if @subscription
|
20
19
|
nil
|
21
20
|
end
|
22
21
|
|
22
|
+
def call!(env)
|
23
|
+
super
|
24
|
+
ensure
|
25
|
+
ActiveSupport::Notifications.unsubscribe(@subscription) if @subscription
|
26
|
+
end
|
27
|
+
|
23
28
|
protected
|
24
29
|
def parameters
|
25
30
|
{
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grape_logging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- aserafin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grape
|
@@ -68,6 +68,7 @@ files:
|
|
68
68
|
- Rakefile
|
69
69
|
- bin/console
|
70
70
|
- bin/setup
|
71
|
+
- grape_logging-1.1.1.gem
|
71
72
|
- grape_logging.gemspec
|
72
73
|
- lib/grape_logging.rb
|
73
74
|
- lib/grape_logging/formatters/default.rb
|