el_vfs_client 0.4.4 → 0.4.5
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: 2faa0c8f440ca5184afa12867e39c2704e0fb1e2a31623c6ffe8bf56f4680bca
|
4
|
+
data.tar.gz: f87369506d5b151688ac2c1a554ae3b0af960094c2bc6961d796777169e5f40b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 438d1101b16ec1c4715febaa7658e82ee0138e8de04718be9c9b4b374bac1c3d8d1394bf0be2cfc11d74ccd0942683f52d139a7d14f9e7afcaa249ff74cf37b6
|
7
|
+
data.tar.gz: 3d73e009337f44b5a3590d32c5fe9cf06aaaf98b215772ee2b3bcfd327441e07478efa34f8571234caeb23a211d8ad60205b449f71d2716c1dd73256d5f2f812
|
@@ -11,6 +11,8 @@ module ElVfsClient
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def run
|
14
|
+
params = permitted_params if Rails.version.to_f >= 5.1
|
15
|
+
|
14
16
|
params.delete(:format)
|
15
17
|
params.delete(:controller)
|
16
18
|
params.delete(:action)
|
@@ -66,5 +68,11 @@ module ElVfsClient
|
|
66
68
|
def root_path
|
67
69
|
PathInterpolator.path(request)
|
68
70
|
end
|
71
|
+
|
72
|
+
# support strong params for rails 5.*
|
73
|
+
def permitted_params
|
74
|
+
permitted = params.permit(:name, :init, :root_path, :cmd, :target, :tree, :_, :action, :controller, :download, upload: [], targets: [])
|
75
|
+
permitted.to_h
|
76
|
+
end
|
69
77
|
end
|
70
78
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: el_vfs_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Lihachev
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2018-10-09 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: configliere
|
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
142
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.
|
143
|
+
rubygems_version: 2.7.7
|
144
144
|
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: Summary of ElVfsClient.
|