griffin-interceptors 0.1.6 → 0.1.7
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d657d90a299aac795764ad2ec4a113e3ecf1569d77d3d263e5613bddf78d96ea
|
4
|
+
data.tar.gz: c73db1b2082492007780224b5761048f3b958730029c192b29c4a5f53e61d2f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2e8c52dc58fdc421b6b21d32186b023fc58eca8c28b36487d2132a75bb10ee20e2f5d88cbeab4968f3300a621d90bb086a6cbc4f18ebf2ecc4eb3d93aa23630
|
7
|
+
data.tar.gz: 2c2091370bffb51e5d8d375abc6eef1e8d81a81412487943ac90636cbe84a9f82ce8bc0e36e1bcfda3281b9e600e0227b0a5bf0637dd7b40f281478b8d071c20
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
require 'griffin/interceptors/server/payload_interceptor'
|
4
4
|
|
5
|
-
# Check actionpack exists to use ActionDispatch::Http::ParameterFilter
|
6
|
-
gem 'actionpack'
|
5
|
+
# Check actionpack exists to use ActionDispatch::Http::ParameterFilter if needed
|
6
|
+
gem 'actionpack' unless defined?(ActiveSupport::ParameterFilter)
|
7
7
|
|
8
8
|
module Griffin
|
9
9
|
module Interceptors
|
@@ -19,7 +19,13 @@ module Griffin
|
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
22
|
-
|
22
|
+
# ActionDispatch::Http::ParameterFilter is deprecated and will be removed from Rails 6.1.
|
23
|
+
parameter_filter_klass = if defined?(ActiveSupport::ParameterFilter)
|
24
|
+
ActiveSupport::ParameterFilter
|
25
|
+
else
|
26
|
+
ActionDispatch::Http::ParameterFilter
|
27
|
+
end
|
28
|
+
@parameter_filter = parameter_filter_klass.new(@filters)
|
23
29
|
end
|
24
30
|
|
25
31
|
def server_streamer(call: nil, **)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: griffin-interceptors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuta Iwama
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: get_process_mem
|
@@ -148,8 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
- !ruby/object:Gem::Version
|
149
149
|
version: '0'
|
150
150
|
requirements: []
|
151
|
-
|
152
|
-
rubygems_version: 2.6.14.1
|
151
|
+
rubygems_version: 3.0.3
|
153
152
|
signing_key:
|
154
153
|
specification_version: 4
|
155
154
|
summary: A collection of interceptors for griffin
|