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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a858cb56b5f43663ae354b7beb32caafb9ed73d5
4
- data.tar.gz: a67ce688f706879887518123fabcbaa5363bc981
3
+ metadata.gz: 93442b5908bda26d84430d5cd86bcc33db785dca
4
+ data.tar.gz: b4b208462049ee6badd9db7f3ae4664b0eec2ad0
5
5
  SHA512:
6
- metadata.gz: 1200a0afd4d8e3c91f82e1e13605404912d556bc83717366256669656f2e18eb134f5608db5229ce3238bb8049e5b6a2625e9e63987f169cc55f7b08a3bc33ed
7
- data.tar.gz: e67883c89ce2a607eb068f12268e716b2b6600acc64339d7399dae3f823cde530ca92983723021741b41b3f1da88a1fdcb8fa344ef527e7c1749cf0063373a5e
6
+ metadata.gz: 354ff72a82cbe1e1ed1f90b5984289b485a94557a71c07dce588a0297a80bb6fb5c18d25dbd3ff9d07d7f9783b0961713344fa600ded7de43e33ae2c83c0ac33
7
+ data.tar.gz: 101b7fe49ea9f9ae5a906e510f78ab36d564bbe39a71a6d6cdc6a50bf4e7932fea366f7ceba66b74a22c052f026b2046d6e5b47d67244d800d4562c69215b1ca
@@ -1,7 +1,15 @@
1
1
  if defined?(::Rails.application)
2
- class ParameterFilter < ActiveSupport::ParameterFilter
3
- def initialize(_replacement, filter_parameters)
4
- super(filter_parameters)
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
@@ -1,3 +1,3 @@
1
1
  module GrapeLogging
2
- VERSION = '1.8.2'
2
+ VERSION = '1.8.3'
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.8.2
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-05 00:00:00.000000000 Z
11
+ date: 2019-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grape