form_core 0.0.9 → 0.0.10
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b31039c62309ba6b937b5d46316981d2b004992
|
4
|
+
data.tar.gz: e5579a0fcfbf52f43d036f785c8db1497f6beb08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86c275e9809a0af77af74e834e23ec665f585015a008ceebc05fac72636b4c1ce4138e501ecca7b918d917bed0d1b825d53f9e40394af94291d394c1925480bd
|
7
|
+
data.tar.gz: 33abbe43d3da57763e5c012b22dab8994621605dfdb8876943dfd1d3149d1cf34bfc2cbbdb7228728922ac81cc78c47a89094b2944372e54762211efb9c52d43
|
@@ -4,7 +4,6 @@ class CreateFields < ActiveRecord::Migration[5.1]
|
|
4
4
|
t.string :name, null: false
|
5
5
|
t.integer :accessibility, null: false
|
6
6
|
t.text :validations
|
7
|
-
t.text :static_default_value
|
8
7
|
t.text :options
|
9
8
|
t.string :type, null: false, index: true
|
10
9
|
t.references :form, foreign_key: {to_table: :form_core_forms}
|
@@ -10,7 +10,6 @@ module FormCore::Concerns
|
|
10
10
|
|
11
11
|
serialize :validations
|
12
12
|
serialize :options
|
13
|
-
serialize :static_default_value
|
14
13
|
|
15
14
|
validates :name,
|
16
15
|
presence: true,
|
@@ -40,7 +39,7 @@ module FormCore::Concerns
|
|
40
39
|
end
|
41
40
|
|
42
41
|
def default_value
|
43
|
-
|
42
|
+
nil
|
44
43
|
end
|
45
44
|
|
46
45
|
def interpret_to(model, overrides: {})
|
data/lib/form_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: form_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jasl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
88
|
rubyforge_project:
|
89
|
-
rubygems_version: 2.6.
|
89
|
+
rubygems_version: 2.6.13
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: A Rails engine providing ability to generate dynamic form.
|