trogdir_api 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/trogdir/helpers/request_helpers.rb +5 -2
- data/lib/trogdir_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59fce44ed554fdf1b800ba8c988f73ee19474f38
|
4
|
+
data.tar.gz: 6c645d4a3a3e39c8e2a1f716981e4ca70f227b7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 119d14d5f0b696a6d302fd1fffbe03b7a082d7d834753ec47e6a264ff4ec1a0cb1f6eb85a5408de31ab211c2626f6f06780e8400452b63e1109e1ab43f6f1163
|
7
|
+
data.tar.gz: eea6d08e7f9ccc118be17d84690f7cbc91d8da24ec27006f6871a0fa05d6a79b954bf9e41b3b9befd846459ae1e86889702e2b631874cbdce874f9b546c2fb34
|
@@ -2,7 +2,10 @@ module Trogdir
|
|
2
2
|
module RequestHelpers
|
3
3
|
def clean_params(options = {})
|
4
4
|
exceptions = Array(options[:except])
|
5
|
-
|
5
|
+
|
6
|
+
cleaned_params = params.except(*(['route_info'] + exceptions))
|
7
|
+
|
8
|
+
declared(cleaned_params, include_missing: false)
|
6
9
|
end
|
7
10
|
end
|
8
|
-
end
|
11
|
+
end
|
data/lib/trogdir_api/version.rb
CHANGED