grape_logging 1.8.2 → 1.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/grape_logging/util/parameter_filter.rb +11 -3
- data/lib/grape_logging/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: 93442b5908bda26d84430d5cd86bcc33db785dca
|
4
|
+
data.tar.gz: b4b208462049ee6badd9db7f3ae4664b0eec2ad0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 354ff72a82cbe1e1ed1f90b5984289b485a94557a71c07dce588a0297a80bb6fb5c18d25dbd3ff9d07d7f9783b0961713344fa600ded7de43e33ae2c83c0ac33
|
7
|
+
data.tar.gz: 101b7fe49ea9f9ae5a906e510f78ab36d564bbe39a71a6d6cdc6a50bf4e7932fea366f7ceba66b74a22c052f026b2046d6e5b47d67244d800d4562c69215b1ca
|
@@ -1,7 +1,15 @@
|
|
1
1
|
if defined?(::Rails.application)
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
if Gem::Version.new(Rails.version) < Gem::Version.new('6.0.0')
|
3
|
+
class ParameterFilter < ActionDispatch::Http::ParameterFilter
|
4
|
+
def initialize(_replacement, filter_parameters)
|
5
|
+
super(filter_parameters)
|
6
|
+
end
|
7
|
+
end
|
8
|
+
else
|
9
|
+
class ParameterFilter < ActiveSupport::ParameterFilter
|
10
|
+
def initialize(_replacement, filter_parameters)
|
11
|
+
super(filter_parameters)
|
12
|
+
end
|
5
13
|
end
|
6
14
|
end
|
7
15
|
else
|
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.8.
|
4
|
+
version: 1.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- aserafin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grape
|