objective_form 0.0.5 → 0.0.6
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 +7 -0
- data/lib/objective_form/base.rb +1 -1
- data/lib/objective_form/version.rb +1 -1
- metadata +5 -7
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 57f878626ec4e5d01c3576c62973a1c68533bfc2
|
|
4
|
+
data.tar.gz: 3022d30cd246ffbaaeca7fa5e706148688c947c3
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 43ce16e4f098ed0c53310ce25c4e138b8cc46c08d38e66fc65f2f2cd11c5a37c57d6d54cdd853b42dda4f89c6c32b8dd475bd3e228a8cb0b73df09340e08190d
|
|
7
|
+
data.tar.gz: 515f71ac7a65f7a22045057a73dcad9d2fdcc54899fe319850090acb85cc8d6cab4879cd95df367146dddbb4bb54d38849cd22d4de18b11efa997861420b8ec3
|
data/lib/objective_form/base.rb
CHANGED
|
@@ -91,7 +91,7 @@ module ObjectiveForm
|
|
|
91
91
|
|
|
92
92
|
define_method("#{name}=") do |values|
|
|
93
93
|
Array.wrap(values).each do |value|
|
|
94
|
-
pseudo_record_instance = pseudo_record.new(value)
|
|
94
|
+
pseudo_record_instance = pseudo_record.new(*value)
|
|
95
95
|
instance_variable_set("@#{name}", instance_variable_get("@#{name}") + [pseudo_record_instance])
|
|
96
96
|
end
|
|
97
97
|
end
|
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: objective_form
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 0.0.6
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- stevo
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
11
|
+
date: 2013-09-10 00:00:00.000000000 Z
|
|
13
12
|
dependencies: []
|
|
14
13
|
description: Objective form is for whoever miss dynamic nested fields adding in form
|
|
15
14
|
object using nested_form gem by Ryan Bates. Beside that it is lightweight abstraction
|
|
@@ -28,26 +27,25 @@ files:
|
|
|
28
27
|
- lib/objective_form/version.rb
|
|
29
28
|
homepage: https://github.com/stevo/objective_form
|
|
30
29
|
licenses: []
|
|
30
|
+
metadata: {}
|
|
31
31
|
post_install_message:
|
|
32
32
|
rdoc_options: []
|
|
33
33
|
require_paths:
|
|
34
34
|
- lib
|
|
35
35
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
36
|
-
none: false
|
|
37
36
|
requirements:
|
|
38
37
|
- - ! '>='
|
|
39
38
|
- !ruby/object:Gem::Version
|
|
40
39
|
version: '0'
|
|
41
40
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
42
|
-
none: false
|
|
43
41
|
requirements:
|
|
44
42
|
- - ! '>='
|
|
45
43
|
- !ruby/object:Gem::Version
|
|
46
44
|
version: '0'
|
|
47
45
|
requirements: []
|
|
48
46
|
rubyforge_project: ! '[none]'
|
|
49
|
-
rubygems_version:
|
|
47
|
+
rubygems_version: 2.0.7
|
|
50
48
|
signing_key:
|
|
51
|
-
specification_version:
|
|
49
|
+
specification_version: 4
|
|
52
50
|
summary: Form objects with nested_form support
|
|
53
51
|
test_files: []
|