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 +4 -4
- data/lib/wedge/events.rb +7 -1
- data/lib/wedge/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 464afb6e5e2a51373a7b4101850d98b2b056821a
|
4
|
+
data.tar.gz: 44ef804998a7b75b30da9201918b5ceb710ed742
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cf8ae11cc2e7e3ee3309dddd1c20fe60925c1619ad5e20188809b8dbdd27f0d6031d610e1655274495aac6a73c73a7afc689dd99fb6d95ae477d74ce7c71486
|
7
|
+
data.tar.gz: 726e78d917def347959f0b2f4f54918668e9df6af65a41b100db350cb42e3feb1148d5e278ea4210f34724a8a23a254aae3e162e5f8b3ddccc85157ed92227ae
|
data/lib/wedge/events.rb
CHANGED
@@ -93,7 +93,13 @@ module Wedge
|
|
93
93
|
name = field['name']
|
94
94
|
value = field['value']
|
95
95
|
|
96
|
-
|
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 = {}
|
data/lib/wedge/version.rb
CHANGED
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.
|
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.
|
221
|
+
rubygems_version: 2.4.3
|
222
222
|
signing_key:
|
223
223
|
specification_version: 4
|
224
224
|
summary: Components for the Browser and Server
|