wedge 0.0.10 → 0.0.11

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: b2dbd8ba00a1f62c5d52845b31d490a2556c87ed
4
- data.tar.gz: ee88de101b63dd804501fc94c69aec3301d3b29b
3
+ metadata.gz: 464afb6e5e2a51373a7b4101850d98b2b056821a
4
+ data.tar.gz: 44ef804998a7b75b30da9201918b5ceb710ed742
5
5
  SHA512:
6
- metadata.gz: bab16e31b80b81dd7d394f183c3d7e5f4eb4f96e4274acc9c3df9035d978ac89cc831dc71d79d86c3bee22b0b42994b119287d8a74897457c792ed5987564202
7
- data.tar.gz: d5920870feab5097fcbf6a57483da43fd2408836b5ea77cf95605c40bc9322ba922645f183f09ceed26b8d6ac2d19159cf7c9478542b8b996c76b17fdb57668f
6
+ metadata.gz: 3cf8ae11cc2e7e3ee3309dddd1c20fe60925c1619ad5e20188809b8dbdd27f0d6031d610e1655274495aac6a73c73a7afc689dd99fb6d95ae477d74ce7c71486
7
+ data.tar.gz: 726e78d917def347959f0b2f4f54918668e9df6af65a41b100db350cb42e3feb1148d5e278ea4210f34724a8a23a254aae3e162e5f8b3ddccc85157ed92227ae
@@ -93,7 +93,13 @@ module Wedge
93
93
  name = field['name']
94
94
  value = field['value']
95
95
 
96
- params[name] = value
96
+ if name =~ /\[\]$/
97
+ name = name.gsub(/\[\]$/,'')
98
+ params[name] = [] if params[name].nil?
99
+ params[name].push value
100
+ else
101
+ params[name] = value
102
+ end
97
103
  end
98
104
 
99
105
  params_obj = {}
@@ -1,3 +1,3 @@
1
1
  module Wedge
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wedge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  version: '0'
219
219
  requirements: []
220
220
  rubyforge_project:
221
- rubygems_version: 2.2.2
221
+ rubygems_version: 2.4.3
222
222
  signing_key:
223
223
  specification_version: 4
224
224
  summary: Components for the Browser and Server