formily 0.0.5.6.4 → 0.0.5.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/models/formily/input.rb +2 -2
- data/lib/formily/version.rb +1 -1
- metadata +3 -6
- data/Gemfile.lock +0 -161
- data/formily-0.0.5.3.gem +0 -0
- data/formily.gemspec +0 -41
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9e14df961ffffe4e3af6b7677bef3099d0c8ad46e655df1f59a582de4c0eda03
|
4
|
+
data.tar.gz: 814b4fcca8646feb2ca21028858e10d76059c0bbbd26856087c6235af28db19d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb9bdf16f0ceb962ea21693f702d6aa4813c1324b3160d79bac996d435709211ea91c1ba19c678c2ecfa25c4b9c76fc246e251bd645a6a5153cd5fc19286f070
|
7
|
+
data.tar.gz: 3c3fcb20697162749bbf5123835932fc3eda216c0be224c4fafcc45b2958557b275c9d91e890f3b6e39993ca85865589acdb2d08d4061ca813d3c6c70d7bf77c
|
data/app/models/formily/input.rb
CHANGED
@@ -84,11 +84,11 @@ class Formily::Input < ActiveRecord::Base
|
|
84
84
|
|
85
85
|
@obj_rel = if val_arr.first =~ /->/
|
86
86
|
m = val_arr.first.sub(/.*?->/, '').safe_constantize
|
87
|
-
user_id = controller.
|
87
|
+
user_id = controller.params["user_id"]
|
88
88
|
if user_id
|
89
89
|
m.find(user_id)
|
90
90
|
else
|
91
|
-
|
91
|
+
nil
|
92
92
|
end
|
93
93
|
else
|
94
94
|
m = controller.instance_variable_get('@obj_rel')
|
data/lib/formily/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formily
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.5.6.
|
4
|
+
version: 0.0.5.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -165,7 +165,6 @@ extra_rdoc_files: []
|
|
165
165
|
files:
|
166
166
|
- CODE_OF_CONDUCT.md
|
167
167
|
- Gemfile
|
168
|
-
- Gemfile.lock
|
169
168
|
- LICENSE.txt
|
170
169
|
- README.md
|
171
170
|
- Rakefile
|
@@ -307,8 +306,6 @@ files:
|
|
307
306
|
- app/views/formily/submit_data/submit.json.jbuilder
|
308
307
|
- app/views/layouts/formily_iframe.haml
|
309
308
|
- config/routes.rb
|
310
|
-
- formily-0.0.5.3.gem
|
311
|
-
- formily.gemspec
|
312
309
|
- lib/formily.rb
|
313
310
|
- lib/formily/config.rb
|
314
311
|
- lib/formily/engine.rb
|
@@ -347,7 +344,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
347
344
|
version: '0'
|
348
345
|
requirements: []
|
349
346
|
rubyforge_project:
|
350
|
-
rubygems_version: 2.6
|
347
|
+
rubygems_version: 2.7.6
|
351
348
|
signing_key:
|
352
349
|
specification_version: 4
|
353
350
|
summary: Write a short summary, because Rubygems requires one.
|
data/Gemfile.lock
DELETED
@@ -1,161 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
formily (0.0.5.6.4)
|
5
|
-
browser (~> 2.2)
|
6
|
-
haml (~> 4.0)
|
7
|
-
jquery-rails (~> 4.0)
|
8
|
-
jquery-ui-rails (~> 5.0)
|
9
|
-
paper_trail (~> 6.0.2, >= 6.0.2)
|
10
|
-
paperclip (~> 4.0)
|
11
|
-
rails (~> 4.0)
|
12
|
-
sass-rails (~> 5.0)
|
13
|
-
|
14
|
-
GEM
|
15
|
-
remote: https://rubygems.org/
|
16
|
-
specs:
|
17
|
-
actionmailer (4.2.10)
|
18
|
-
actionpack (= 4.2.10)
|
19
|
-
actionview (= 4.2.10)
|
20
|
-
activejob (= 4.2.10)
|
21
|
-
mail (~> 2.5, >= 2.5.4)
|
22
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
23
|
-
actionpack (4.2.10)
|
24
|
-
actionview (= 4.2.10)
|
25
|
-
activesupport (= 4.2.10)
|
26
|
-
rack (~> 1.6)
|
27
|
-
rack-test (~> 0.6.2)
|
28
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
29
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
30
|
-
actionview (4.2.10)
|
31
|
-
activesupport (= 4.2.10)
|
32
|
-
builder (~> 3.1)
|
33
|
-
erubis (~> 2.7.0)
|
34
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
35
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
36
|
-
activejob (4.2.10)
|
37
|
-
activesupport (= 4.2.10)
|
38
|
-
globalid (>= 0.3.0)
|
39
|
-
activemodel (4.2.10)
|
40
|
-
activesupport (= 4.2.10)
|
41
|
-
builder (~> 3.1)
|
42
|
-
activerecord (4.2.10)
|
43
|
-
activemodel (= 4.2.10)
|
44
|
-
activesupport (= 4.2.10)
|
45
|
-
arel (~> 6.0)
|
46
|
-
activesupport (4.2.10)
|
47
|
-
i18n (~> 0.7)
|
48
|
-
minitest (~> 5.1)
|
49
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
50
|
-
tzinfo (~> 1.1)
|
51
|
-
arel (6.0.4)
|
52
|
-
browser (2.5.3)
|
53
|
-
builder (3.2.3)
|
54
|
-
climate_control (0.2.0)
|
55
|
-
cocaine (0.5.8)
|
56
|
-
climate_control (>= 0.0.3, < 1.0)
|
57
|
-
concurrent-ruby (1.0.5)
|
58
|
-
crass (1.0.3)
|
59
|
-
erubis (2.7.0)
|
60
|
-
ffi (1.9.18)
|
61
|
-
globalid (0.4.1)
|
62
|
-
activesupport (>= 4.2.0)
|
63
|
-
haml (4.0.7)
|
64
|
-
tilt
|
65
|
-
i18n (0.9.1)
|
66
|
-
concurrent-ruby (~> 1.0)
|
67
|
-
jquery-rails (4.3.1)
|
68
|
-
rails-dom-testing (>= 1, < 3)
|
69
|
-
railties (>= 4.2.0)
|
70
|
-
thor (>= 0.14, < 2.0)
|
71
|
-
jquery-ui-rails (5.0.5)
|
72
|
-
railties (>= 3.2.16)
|
73
|
-
loofah (2.1.1)
|
74
|
-
crass (~> 1.0.2)
|
75
|
-
nokogiri (>= 1.5.9)
|
76
|
-
mail (2.7.0)
|
77
|
-
mini_mime (>= 0.1.1)
|
78
|
-
mime-types (3.1)
|
79
|
-
mime-types-data (~> 3.2015)
|
80
|
-
mime-types-data (3.2016.0521)
|
81
|
-
mimemagic (0.3.0)
|
82
|
-
mini_mime (1.0.0)
|
83
|
-
mini_portile2 (2.3.0)
|
84
|
-
minitest (5.10.3)
|
85
|
-
nokogiri (1.8.1)
|
86
|
-
mini_portile2 (~> 2.3.0)
|
87
|
-
paper_trail (6.0.2)
|
88
|
-
activerecord (>= 4.0, < 5.2)
|
89
|
-
request_store (~> 1.1)
|
90
|
-
paperclip (4.3.7)
|
91
|
-
activemodel (>= 3.2.0)
|
92
|
-
activesupport (>= 3.2.0)
|
93
|
-
cocaine (~> 0.5.5)
|
94
|
-
mime-types
|
95
|
-
mimemagic (= 0.3.0)
|
96
|
-
rack (1.6.8)
|
97
|
-
rack-test (0.6.3)
|
98
|
-
rack (>= 1.0)
|
99
|
-
rails (4.2.10)
|
100
|
-
actionmailer (= 4.2.10)
|
101
|
-
actionpack (= 4.2.10)
|
102
|
-
actionview (= 4.2.10)
|
103
|
-
activejob (= 4.2.10)
|
104
|
-
activemodel (= 4.2.10)
|
105
|
-
activerecord (= 4.2.10)
|
106
|
-
activesupport (= 4.2.10)
|
107
|
-
bundler (>= 1.3.0, < 2.0)
|
108
|
-
railties (= 4.2.10)
|
109
|
-
sprockets-rails
|
110
|
-
rails-deprecated_sanitizer (1.0.3)
|
111
|
-
activesupport (>= 4.2.0.alpha)
|
112
|
-
rails-dom-testing (1.0.8)
|
113
|
-
activesupport (>= 4.2.0.beta, < 5.0)
|
114
|
-
nokogiri (~> 1.6)
|
115
|
-
rails-deprecated_sanitizer (>= 1.0.1)
|
116
|
-
rails-html-sanitizer (1.0.3)
|
117
|
-
loofah (~> 2.0)
|
118
|
-
railties (4.2.10)
|
119
|
-
actionpack (= 4.2.10)
|
120
|
-
activesupport (= 4.2.10)
|
121
|
-
rake (>= 0.8.7)
|
122
|
-
thor (>= 0.18.1, < 2.0)
|
123
|
-
rake (10.4.2)
|
124
|
-
rb-fsevent (0.10.2)
|
125
|
-
rb-inotify (0.9.10)
|
126
|
-
ffi (>= 0.5.0, < 2)
|
127
|
-
request_store (1.3.2)
|
128
|
-
sass (3.5.3)
|
129
|
-
sass-listen (~> 4.0.0)
|
130
|
-
sass-listen (4.0.0)
|
131
|
-
rb-fsevent (~> 0.9, >= 0.9.4)
|
132
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
133
|
-
sass-rails (5.0.7)
|
134
|
-
railties (>= 4.0.0, < 6)
|
135
|
-
sass (~> 3.1)
|
136
|
-
sprockets (>= 2.8, < 4.0)
|
137
|
-
sprockets-rails (>= 2.0, < 4.0)
|
138
|
-
tilt (>= 1.1, < 3)
|
139
|
-
sprockets (3.7.1)
|
140
|
-
concurrent-ruby (~> 1.0)
|
141
|
-
rack (> 1, < 3)
|
142
|
-
sprockets-rails (3.2.1)
|
143
|
-
actionpack (>= 4.0)
|
144
|
-
activesupport (>= 4.0)
|
145
|
-
sprockets (>= 3.0.0)
|
146
|
-
thor (0.20.0)
|
147
|
-
thread_safe (0.3.6)
|
148
|
-
tilt (2.0.8)
|
149
|
-
tzinfo (1.2.4)
|
150
|
-
thread_safe (~> 0.1)
|
151
|
-
|
152
|
-
PLATFORMS
|
153
|
-
ruby
|
154
|
-
|
155
|
-
DEPENDENCIES
|
156
|
-
bundler (~> 1.8)
|
157
|
-
formily!
|
158
|
-
rake (~> 10.0)
|
159
|
-
|
160
|
-
BUNDLED WITH
|
161
|
-
1.16.2
|
data/formily-0.0.5.3.gem
DELETED
Binary file
|
data/formily.gemspec
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'formily/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = 'formily'
|
8
|
-
spec.version = Formily::VERSION
|
9
|
-
spec.authors = ['Alex']
|
10
|
-
spec.email = ['rormercury@gmail.com']
|
11
|
-
|
12
|
-
spec.required_ruby_version = '>= 2.0'
|
13
|
-
|
14
|
-
# if spec.respond_to?(:metadata)
|
15
|
-
# spec.metadata['allowed_push_host'] = "Set to 'http://mygemserver.com' to prevent pushes to rubygems.org, or delete to allow pushes to any server."
|
16
|
-
# end
|
17
|
-
|
18
|
-
spec.summary = %q{Write a short summary, because Rubygems requires one.}
|
19
|
-
spec.description = %q{Write a longer description or delete this line.}
|
20
|
-
spec.homepage = 'https://bitbucket.org/akturatech/form-builder'
|
21
|
-
spec.license = 'MIT'
|
22
|
-
|
23
|
-
spec.files = Dir['{lib,config,app}/**/*', '[A-Z]*']
|
24
|
-
spec.require_path = 'lib'
|
25
|
-
|
26
|
-
spec.bindir = 'exe'
|
27
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
-
|
29
|
-
spec.add_development_dependency 'bundler', '~> 1.8'
|
30
|
-
spec.add_development_dependency 'rake', '~> 10.0'
|
31
|
-
|
32
|
-
spec.add_dependency 'rails', '~> 4.0'
|
33
|
-
spec.add_dependency 'paperclip', '~> 4.0'
|
34
|
-
spec.add_dependency 'paper_trail', '~> 6.0.2', '>= 6.0.2'
|
35
|
-
spec.add_dependency 'sass-rails', '~> 5.0'
|
36
|
-
spec.add_dependency 'jquery-rails', '~> 4.0'
|
37
|
-
spec.add_dependency 'jquery-ui-rails', '~> 5.0'
|
38
|
-
spec.add_dependency 'haml', '~> 4.0'
|
39
|
-
spec.add_dependency 'browser', '~> 2.2'
|
40
|
-
|
41
|
-
end
|