lograge 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lograge/log_subscriber.rb +2 -3
- data/lib/lograge/railtie.rb +1 -1
- data/lib/lograge/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38604327cb4f55c74d123cffc28d5fc628f7c6a3
|
4
|
+
data.tar.gz: 98f4f1c943fce2365c6bc62df996945dcf46ba0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21d8263d547c05a350e4da8f56c61315364eb843ad340fdf7415b163cad06acb331a18a42ac6b63d43526b3cece891a5fb447648e57b4ef7c12ee7c6f06702f2
|
7
|
+
data.tar.gz: 966bdf892a46e78688f888e8f71d17d9b8f53866d6565802d09e8316405080eae96c89449bd1932bb62ef84089aaf1143099f32a2563eed624c55c952e5e6738
|
@@ -69,9 +69,8 @@ module Lograge
|
|
69
69
|
end
|
70
70
|
|
71
71
|
def get_error_status_code(exception)
|
72
|
-
|
73
|
-
|
74
|
-
exception_wrapper.status_code
|
72
|
+
status = ActionDispatch::ExceptionWrapper.rescue_responses[exception]
|
73
|
+
Rack::Utils.status_code(status)
|
75
74
|
end
|
76
75
|
|
77
76
|
def custom_options(data, event)
|
data/lib/lograge/railtie.rb
CHANGED
data/lib/lograge/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lograge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mathias Meyer
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-06-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|