slim_form_object 3.3.2 → 3.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
  SHA256:
3
- metadata.gz: 3c1edda86a28889a997ba55334211f71950130d5cce53ebe306869947d97776d
4
- data.tar.gz: da054ff6c868fd85424689e9288927b31a7af3936e681e211cc1efeaf72378fa
3
+ metadata.gz: 1169e7dcf359595abb4f60e3c7f915936e547530b31b557750443c823efa1501
4
+ data.tar.gz: '09fe5c3e7c2fa09bbbe186d24ff686ed045b3a436f611363ae35bc6ac35cbafe'
5
5
  SHA512:
6
- metadata.gz: 3d1e14cf1e415781b3aa91f0ba11050763380d36248cf71e694e539b9e374ecc10f0652f766f1ed82347ef6485ec747355738a5d872d4aa8a7272867b85e25a7
7
- data.tar.gz: 23e31fae04c45844df16f169f14cadf069a1274e34548ad6494877f5faa0d90aea1ea7d2108012fb4a4d79a43195934bfb7a630e8f53557312a22e744f2aedff
6
+ metadata.gz: '0781e5140217065b6122d35bb188dd149613a4312481c37c7e50a2da2e302c0401b54752faa488621e9b41dc1dd3a6b5a0d43a7b7943c4cf7dfe2b290972ea81'
7
+ data.tar.gz: 799d39aab29f6b90b8513d84a214074a341d7f201c7adef305bcc8e9efa71d5f49a0d6f817599326751f09f86c8f7d2e8ec78c30bd79711892bc50b4acba69f4
@@ -47,10 +47,10 @@ module SlimFormObject
47
47
 
48
48
  value_params.each do |key, value|
49
49
  if is_nested?(value)
50
- if nested_as_hash?(value)
51
- value.values.each { |hash_params| nested << make_hash_objects_and_nested_objects(key, hash_params) }
52
- elsif value.is_a?(Array)
50
+ if value.is_a?(Array)
53
51
  value.each { |hash_params| nested << make_hash_objects_and_nested_objects(key, hash_params) }
52
+ elsif nested_as_hash?(value)
53
+ value.values.each { |hash_params| nested << make_hash_objects_and_nested_objects(key, hash_params) }
54
54
  else
55
55
  nested << make_hash_objects_and_nested_objects(key, value)
56
56
  end
@@ -1,3 +1,3 @@
1
1
  module SlimFormObject
2
- VERSION = "3.3.2"
2
+ VERSION = "3.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slim_form_object
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.2
4
+ version: 3.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - nerzh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-12 00:00:00.000000000 Z
11
+ date: 2019-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel