phlexi-form 0.5.7 → 0.5.8

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: caffd32f45047afeefc49aa53617c040aa58bcc2feb2c08ccf557343e23e2cd2
4
- data.tar.gz: 30322935ea64a0c9d101713fbf0eeee5b58df1c23bf5df5fac8410fc8e4fffd6
3
+ metadata.gz: 769c19201c23a4bd65f03d8c370ee7ce975bb5b30560028bda580d2f206131d4
4
+ data.tar.gz: aafd7a064c210f62363acccc9bb58bff7e5fc5f0657cc70c241f508928094e4b
5
5
  SHA512:
6
- metadata.gz: 3944387335922b711ad776f331db795c99cf6dc166d32e90ec8199c5d56212581c58f4fca31dff9d6693b2df0debbed62cc53348f0c9305dc6fd463fea35c44d
7
- data.tar.gz: c4b1e473bd8b3477d000aab90179df679f182dd557d81f7ff2c2613f8ad34ce1efd994365751741ab8f7f91e0a5c6c424afb025c07c2d1085b8f5fc24a3dc94c
6
+ metadata.gz: 322ee42a68da4600bc714095c5b7403bcab299b0a38dd5539d2897032ec92c0a3155ab3c16c1e100712e6270c8e00e574be347e9a10f4d84dbf68815f052513f
7
+ data.tar.gz: 672d008fbe9abe7c76315dc520634d002bd8323a1328aac93a390eacf0c5e1e4bc230d731795c77714d702e8586ce4df87c5d3b48ef8ac8b94c0cf60ece5ccff
@@ -15,7 +15,7 @@ module Phlexi
15
15
 
16
16
  params = params[key]
17
17
  params = params.values if params.is_a?(Hash)
18
- inputs = params.map { |param| namespace.extract_input([param]) }
18
+ inputs = Array(params).map { |param| namespace.extract_input([param]) }
19
19
  {key => inputs}
20
20
  end
21
21
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Phlexi
4
4
  module Form
5
- VERSION = "0.5.7"
5
+ VERSION = "0.5.8"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phlexi-form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7
4
+ version: 0.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Froelich
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-06 00:00:00.000000000 Z
11
+ date: 2024-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: phlex