roda-component 0.1.41 → 0.1.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c88883868a35ceb851b2acdc6a6c2561565f0a65
4
- data.tar.gz: 11ed6f807b1bf85fad7b2b2ce7fca1266074ebe5
3
+ metadata.gz: 157e0338814cd82f0ce49eaa75810ca4781da116
4
+ data.tar.gz: 8bc1c85b5d02b0cce611552f6eb46ffeb9634700
5
5
  SHA512:
6
- metadata.gz: 2fde4962fa6f498cf859970222133ab0b3e40e380010ed866b56d02eb02959571a07fc338bf72bd0a002e1fc8f95f6412552748f3ff50fa92f0f46d558f467f1
7
- data.tar.gz: 7676f22425c18f0ffccead18ea63ad9f80270753aa6156db8e57c51250f5ba4ad620cb09f09a58a62df6ac4a0af1b4caf90ab9ca355a12a3830331ab539ac2b5
6
+ metadata.gz: d82750d6fe41bdccc366a8a72dbc240e3ec6f10a66a2d091aba4af75d706581df3f3abaad54e9dae993952d203e691055583ec900fcb3ff123ca2a0ceddc6ae1
7
+ data.tar.gz: 82ecdd4090365b39b368a7c7daf40af0ad85b423267d2abb42fa259ebd2a2c7fa045ea3432d550d1b6319350228998ff62cbaf4badaace559a3296ecb81a78c9
@@ -157,14 +157,14 @@ class Roda
157
157
 
158
158
  data.each do |k, v|
159
159
  if klass = _form[k.to_s.to_sym]
160
- data = data[k]
161
- data = data.attributes if data.is_a?(Form)
160
+ d = data[k]
161
+ d = d.attributes if d.is_a?(Form)
162
162
 
163
- f = klass.new data
164
- k = "#{k}_attributes"
165
- data = f.model_attributes
163
+ f = klass.new d
164
+ k = "#{k}_attributes"
165
+ dt = f.model_attributes
166
166
 
167
- hash[k] = model_attributes data
167
+ hash[k] = model_attributes dt
168
168
  elsif v.is_a? Hash
169
169
  hash[k] = model_attributes data[k]
170
170
  else
@@ -1,5 +1,5 @@
1
1
  class Roda
2
2
  class Component
3
- VERSION = "0.1.41"
3
+ VERSION = "0.1.42"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roda-component
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.41
4
+ version: 0.1.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-14 00:00:00.000000000 Z
11
+ date: 2015-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal