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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 953bc3996abee00a768fce8e8bb9e7b49bf0cf0e
4
- data.tar.gz: 5b764486efdbf64f85abf50e46fe1f52b953f633
3
+ metadata.gz: 5b3bf40b45307865cbd2c98fe98ca4a8a3a4d159
4
+ data.tar.gz: 116be8f340bab2a4d7b7b66bc1aba888a35db947
5
5
  SHA512:
6
- metadata.gz: da6f99aa5f53276170bf35d4ef6e4a7b43a445a668dbb8cf181980dbf5add07142c1ff7399157ab6465cdb45f57b0da11fa34013d77dbb99fc134f0670777eeb
7
- data.tar.gz: 4071821e5f37e917eb4172481f73f4c9e3af133b05f04c931c898cdf380d277e56bbf073232cadbd0d88d8842ce63ebdfe55111362526bc42d8164d4edc236a2
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
  {
@@ -1,3 +1,3 @@
1
1
  module GrapeLogging
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
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.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-26 00:00:00.000000000 Z
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