util-params 0.2.8 → 0.2.9

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: dc57cbfe1a70c7c56c9b977e973feff423986b86
4
- data.tar.gz: 1021e7291433355f4f9dbb8100c6ff90c775bfdd
3
+ metadata.gz: 7bd61392bd771650d38aa180e706dd5188a17617
4
+ data.tar.gz: 83fe6f526203e7351072733bfd6ebb47d4e1beec
5
5
  SHA512:
6
- metadata.gz: 18434868aafecaac497947e732ceff264efbc801801f1dbb8d5aae4581f092d2408127d6e2b5f0b49167f74fd653cd431a8cd48a653b6a0efd5ffb1b7c5b2331
7
- data.tar.gz: d508efc6d57d452d94dc3323c6476561ca37cf15f4d334c7dd43b809078b2e7aee1dbec9cb785b5f3a4117a6b1db2af0b6f32350e70af2d1a5b8058e6855b7b6
6
+ metadata.gz: f811cef6881f4ab34de08b98374b02f880454fcc780d32765b8ad5f01a7addad539e5c9b80697f1792e1f29dbce9951b34a96280b2f2462637f4a8a8b07e12c5
7
+ data.tar.gz: b8e1ad9bb45c7e51cd0fc03e209c38f1f3b26e4b757883acb3ddfa7c4e5f97cf94983a7b6efb152a03d443e5ef22cbe7583c3e78e4bc18335ae6379b589b1aee
@@ -237,7 +237,7 @@ module Util
237
237
  r = {}
238
238
 
239
239
  if elements.nil?
240
- return val.permit!
240
+ return val.permit!.to_h
241
241
  end
242
242
 
243
243
  elements.map do |options|
@@ -1,5 +1,5 @@
1
1
  module Util
2
2
  module Params
3
- VERSION = "0.2.8"
3
+ VERSION = "0.2.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: util-params
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - unchi