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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f57052e725c96965588c538da23263f0789e41a
4
- data.tar.gz: a77327d98593e4970f533ae727aa9ff510e8b3b5
3
+ metadata.gz: 59fce44ed554fdf1b800ba8c988f73ee19474f38
4
+ data.tar.gz: 6c645d4a3a3e39c8e2a1f716981e4ca70f227b7a
5
5
  SHA512:
6
- metadata.gz: 24184ee7b339a9e6fe8372dfc6d67e64784f42fb527ede66bf85da84a2e21e8994e72cf8994e731c120ed5293919f63282c91fe4fb6982d4e99c4d1eec0d3b27
7
- data.tar.gz: a45fa3b89f3e72baea70650320c943f6c180ba8ceb06a73157b06b9d74d5d2b7650442eec8e80097c43add1baacdc636e2faccae70050aa1ed7344f3de41bf03
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
- params.except(*(['route_info'] + exceptions))
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
@@ -1,3 +1,3 @@
1
1
  module TrogdirAPI
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trogdir_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Crownoble