dynamic_scaffold 1.11.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -0
- data/app/assets/javascripts/dynamic_scaffold/auto_width.js +35 -0
- data/app/assets/javascripts/dynamic_scaffold/common.js +20 -1
- data/app/assets/javascripts/dynamic_scaffold.js +1 -0
- data/app/helpers/dynamic_scaffold_helper.rb +2 -0
- data/app/views/dynamic_scaffold/bootstrap/_form.html.erb +1 -1
- data/app/views/dynamic_scaffold/bootstrap/_list.html.erb +2 -2
- data/app/views/dynamic_scaffold/bootstrap/_pagination.html.erb +1 -1
- data/config/routes.rb +2 -0
- data/config/spring.rb +2 -0
- data/lib/dynamic_scaffold/config.rb +2 -0
- data/lib/dynamic_scaffold/controller.rb +2 -0
- data/lib/dynamic_scaffold/controller_utilities.rb +5 -3
- data/lib/dynamic_scaffold/engine.rb +2 -0
- data/lib/dynamic_scaffold/error/base.rb +2 -0
- data/lib/dynamic_scaffold/error/invalid_icon.rb +2 -0
- data/lib/dynamic_scaffold/error/invalid_operation.rb +2 -0
- data/lib/dynamic_scaffold/error/invalid_parameter.rb +2 -0
- data/lib/dynamic_scaffold/form/item/base.rb +4 -3
- data/lib/dynamic_scaffold/form/item/block.rb +2 -0
- data/lib/dynamic_scaffold/form/item/carrier_wave_image.rb +2 -0
- data/lib/dynamic_scaffold/form/item/cocoon.rb +2 -0
- data/lib/dynamic_scaffold/form/item/globalize_fields.rb +2 -0
- data/lib/dynamic_scaffold/form/item/json_object.rb +2 -0
- data/lib/dynamic_scaffold/form/item/single_option.rb +2 -0
- data/lib/dynamic_scaffold/form/item/two_options.rb +2 -0
- data/lib/dynamic_scaffold/form/item/two_options_with_block.rb +2 -0
- data/lib/dynamic_scaffold/form/item/type.rb +2 -0
- data/lib/dynamic_scaffold/form_builder.rb +3 -1
- data/lib/dynamic_scaffold/icons/fontawesome.rb +17 -15
- data/lib/dynamic_scaffold/json_object/attribute.rb +2 -0
- data/lib/dynamic_scaffold/json_object/model.rb +3 -1
- data/lib/dynamic_scaffold/list/item.rb +2 -0
- data/lib/dynamic_scaffold/list/pagination.rb +2 -0
- data/lib/dynamic_scaffold/list_builder.rb +2 -0
- data/lib/dynamic_scaffold/monkeypatch/action_view/helpers/form_builder.rb +2 -0
- data/lib/dynamic_scaffold/routes.rb +3 -1
- data/lib/dynamic_scaffold/title.rb +2 -0
- data/lib/dynamic_scaffold/vars.rb +2 -0
- data/lib/dynamic_scaffold/version.rb +3 -1
- data/lib/dynamic_scaffold.rb +2 -0
- data/lib/generators/dynamic_scaffold/dynamic_scaffold_generator.rb +2 -0
- data/lib/generators/dynamic_scaffold/templates/controller.erb +1 -1
- data/lib/tasks/dynamic_scaffold_tasks.rake +2 -0
- metadata +65 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c5c6ffc040bc5b732799e02be73ade7950d28950e8b1769f574c61ecb126f7e
|
4
|
+
data.tar.gz: c34716b1c1896bd321616d6d5ad8018a7299ef892317ad9d8ea4ed02cedbc5e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d09f5c854cdecebcbfdfa42230871e8438684399d088f275603dc326741488e31543f74ac3ddc5a391e71775c2f3ed4d10f1a6b01395a5e54f5c7e08987d19fa
|
7
|
+
data.tar.gz: c8ad8ed86a3d2e56894c067fb95c05ba52a89a8858ac7f1289ad1fca5ec6d2737be056c511d0c39cf36feb1bfb112d9c8c472be7afa784622155b51bd0a2c68f
|
data/Rakefile
CHANGED
@@ -0,0 +1,35 @@
|
|
1
|
+
var calcWidth = function(){
|
2
|
+
var firstRow = document.querySelector('.js-ds-list-row:first-child')
|
3
|
+
if(!firstRow){
|
4
|
+
return
|
5
|
+
}
|
6
|
+
|
7
|
+
var wrapperWidth = firstRow.clientWidth
|
8
|
+
|
9
|
+
var autoWidthItemIndexes = Array.prototype.filter.call(firstRow.querySelectorAll('.js-ds-list-item'), function(item){
|
10
|
+
return item.classList.contains('ds-auto-width')
|
11
|
+
}).map(function(item){
|
12
|
+
return parseInt(item.getAttribute('data-index'), 10)
|
13
|
+
})
|
14
|
+
|
15
|
+
autoWidthItemIndexes.forEach(function(index){
|
16
|
+
var items = document.querySelectorAll('.js-ds-list-item[data-index="' + index + '"]')
|
17
|
+
|
18
|
+
Array.prototype.forEach.call(items, function(item){
|
19
|
+
item.style.width = 'auto'
|
20
|
+
})
|
21
|
+
|
22
|
+
var maxWidth = Array.prototype.reduce.call(items, function(currentMax, item){
|
23
|
+
return Math.max(currentMax, item.offsetWidth)
|
24
|
+
}, 0)
|
25
|
+
|
26
|
+
maxWidth = Math.min(maxWidth, wrapperWidth)
|
27
|
+
|
28
|
+
Array.prototype.forEach.call(items, function(item){
|
29
|
+
item.style.width = maxWidth + 'px'
|
30
|
+
})
|
31
|
+
})
|
32
|
+
}
|
33
|
+
|
34
|
+
document.addEventListener('dynamic_scaffold:load', calcWidth)
|
35
|
+
document.addEventListener('dynamic_scaffold:window_resized', calcWidth)
|
@@ -13,6 +13,7 @@ if (window.Element && !Element.prototype.closest) {
|
|
13
13
|
};
|
14
14
|
}
|
15
15
|
|
16
|
+
// dynamic_scaffold:load
|
16
17
|
(function(){
|
17
18
|
var fireEvent = function(){
|
18
19
|
var event = document.createEvent("HTMLEvents");
|
@@ -25,7 +26,25 @@ if (window.Element && !Element.prototype.closest) {
|
|
25
26
|
// Not fire after the initial page load
|
26
27
|
if (e.data.timing.visitEnd) fireEvent()
|
27
28
|
})
|
28
|
-
})()
|
29
|
+
})();
|
30
|
+
|
31
|
+
|
32
|
+
// dynamic_scaffold:window_resized
|
33
|
+
(function(){
|
34
|
+
var fireEvent = function(){
|
35
|
+
var event = document.createEvent("HTMLEvents");
|
36
|
+
event.initEvent('dynamic_scaffold:window_resized', false, false)
|
37
|
+
document.dispatchEvent(event)
|
38
|
+
}
|
39
|
+
|
40
|
+
var timeout = 0
|
41
|
+
window.addEventListener('resize', function(e){
|
42
|
+
this.clearTimeout(timeout)
|
43
|
+
timeout = setTimeout(function(){
|
44
|
+
fireEvent()
|
45
|
+
}, 300)
|
46
|
+
})
|
47
|
+
})();
|
29
48
|
|
30
49
|
// promise polyfill
|
31
50
|
// IE 11 has no Promise? Are you kidding?
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<%= form_with method: method, model: @record, url: url, local: true, class: 'ds-form' do |form| %>
|
1
|
+
<%= form_with method: method, model: @record, scope: dynamic_scaffold.model.name.underscore, url: url, local: true, class: 'ds-form' do |form| %>
|
2
2
|
<%-dynamic_scaffold.form.items.each do |elem|-%>
|
3
3
|
<%= render 'dynamic_scaffold/bootstrap/form/row', form: form, elem: elem, depth: 0 %>
|
4
4
|
<% end %>
|
@@ -38,9 +38,9 @@
|
|
38
38
|
<div class="ds-list-heading"><%= dynamic_scaffold.list.title(record) %></div>
|
39
39
|
<% end %>
|
40
40
|
<div class="ds-list-items">
|
41
|
-
<%dynamic_scaffold.list.items.
|
41
|
+
<%dynamic_scaffold.list.items.each_with_index do |disp, index|%>
|
42
42
|
<%- if disp.show?(self, record) -%>
|
43
|
-
<%= content_tag :div, class: class_names('ds-list-item', disp.classnames), **disp.html_attributes do%>
|
43
|
+
<%= content_tag :div, class: class_names('ds-list-item js-ds-list-item', disp.classnames), **{**disp.html_attributes, 'data-index': index} do%>
|
44
44
|
<div class="ds-list-label"><%= disp.label %></div>
|
45
45
|
<div class="ds-list-value"><%= disp.value self, record %></div>
|
46
46
|
<%end%>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<%if dynamic_scaffold.list.pagination %>
|
2
2
|
<div class="ds-row">
|
3
|
-
<%= paginate @records, {views_prefix: 'dynamic_scaffold/bootstrap'}.merge(dynamic_scaffold.list.pagination.kaminari_options) %>
|
3
|
+
<%= paginate @records, **{views_prefix: 'dynamic_scaffold/bootstrap'}.merge(dynamic_scaffold.list.pagination.kaminari_options) %>
|
4
4
|
</div>
|
5
5
|
<%end%>
|
data/config/routes.rb
CHANGED
data/config/spring.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module DynamicScaffold
|
2
4
|
module ControllerUtilities
|
3
5
|
private
|
@@ -7,7 +9,7 @@ module DynamicScaffold
|
|
7
9
|
return {} if dynamic_scaffold.scope.nil?
|
8
10
|
|
9
11
|
case dynamic_scaffold.scope
|
10
|
-
when Array
|
12
|
+
when Array
|
11
13
|
dynamic_scaffold.scope.each_with_object({}) do |val, res|
|
12
14
|
if val.is_a? Hash
|
13
15
|
val.each {|k, v| res[k] = v }
|
@@ -15,7 +17,7 @@ module DynamicScaffold
|
|
15
17
|
res[val] = params[val]
|
16
18
|
end
|
17
19
|
end
|
18
|
-
when Hash
|
20
|
+
when Hash
|
19
21
|
dynamic_scaffold.scope
|
20
22
|
end
|
21
23
|
end
|
@@ -110,7 +112,7 @@ module DynamicScaffold
|
|
110
112
|
|
111
113
|
if route.nil?
|
112
114
|
raise DynamicScaffold::Error::RouteNotFound,
|
113
|
-
|
115
|
+
"Missing controller#action #{params[:controller]}##{action}"
|
114
116
|
end
|
115
117
|
|
116
118
|
options.merge!(scope_params)
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module DynamicScaffold
|
2
4
|
module Form
|
3
5
|
module Item
|
@@ -102,8 +104,7 @@ module DynamicScaffold
|
|
102
104
|
# )
|
103
105
|
# return label unless label.nil?
|
104
106
|
# end
|
105
|
-
|
106
|
-
view.tag.label(proxy_field.label, label_attrs) if proxy_field.label.present?
|
107
|
+
view.tag.label(proxy_field.label, **label_attrs) if proxy_field.label.present?
|
107
108
|
end
|
108
109
|
|
109
110
|
def extract_parameters(permitting)
|
@@ -171,7 +172,7 @@ module DynamicScaffold
|
|
171
172
|
def errors(form)
|
172
173
|
msg = form.object.errors.full_messages_for(proxy_field.name)
|
173
174
|
rel = @config.model.reflect_on_all_associations.find {|r| r.foreign_key.to_s == name.to_s }
|
174
|
-
msg.concat(form.object.errors.full_messages_for(rel.name)) if rel.present?
|
175
|
+
msg = msg.dup.concat(form.object.errors.full_messages_for(rel.name)) if rel.present?
|
175
176
|
msg
|
176
177
|
end
|
177
178
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module DynamicScaffold
|
2
4
|
class FormBuilder
|
3
5
|
attr_accessor :parent_item
|
@@ -12,7 +14,7 @@ module DynamicScaffold
|
|
12
14
|
if @items.empty?
|
13
15
|
@config.model.column_names.each do |column|
|
14
16
|
type = :text_field
|
15
|
-
type = :hidden_field if @config.scope
|
17
|
+
type = :hidden_field if @config.scope&.include?(column.to_sym)
|
16
18
|
item = Form::Item::SingleOption.new(@config, type, column)
|
17
19
|
item.parent_item = parent_item
|
18
20
|
@items << item
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module DynamicScaffold
|
2
4
|
module Fontawesome
|
3
5
|
def self.inline_svg(path)
|
@@ -13,35 +15,35 @@ Rails.application.config.dynamic_scaffold.icons = proc do |name|
|
|
13
15
|
# This function is called in view scope.
|
14
16
|
# https://github.com/gomo/dynamic_scaffold/blob/b4066bbd40cd6e7307ce283d5a9bd526ae124e00/lib/dynamic_scaffold/controller_utilities.rb#L104-L106
|
15
17
|
case name
|
16
|
-
when :up
|
18
|
+
when :up
|
17
19
|
DynamicScaffold::Fontawesome.inline_svg('chevron-up.svg')
|
18
|
-
when :down
|
20
|
+
when :down
|
19
21
|
DynamicScaffold::Fontawesome.inline_svg('chevron-down.svg')
|
20
|
-
when :delete
|
22
|
+
when :delete
|
21
23
|
DynamicScaffold::Fontawesome.inline_svg('times.svg')
|
22
|
-
when :edit
|
24
|
+
when :edit
|
23
25
|
DynamicScaffold::Fontawesome.inline_svg('pencil-alt.svg')
|
24
|
-
when :add
|
26
|
+
when :add
|
25
27
|
DynamicScaffold::Fontawesome.inline_svg('plus.svg')
|
26
|
-
when :save
|
28
|
+
when :save
|
27
29
|
DynamicScaffold::Fontawesome.inline_svg('hdd.svg')
|
28
|
-
when :back
|
30
|
+
when :back
|
29
31
|
DynamicScaffold::Fontawesome.inline_svg('chevron-left.svg')
|
30
|
-
when :error
|
32
|
+
when :error
|
31
33
|
DynamicScaffold::Fontawesome.inline_svg('exclamation-circle.svg')
|
32
|
-
when :first
|
34
|
+
when :first
|
33
35
|
DynamicScaffold::Fontawesome.inline_svg('step-backward.svg')
|
34
|
-
when :last
|
36
|
+
when :last
|
35
37
|
DynamicScaffold::Fontawesome.inline_svg('step-forward.svg')
|
36
|
-
when :next
|
38
|
+
when :next
|
37
39
|
DynamicScaffold::Fontawesome.inline_svg('chevron-right.svg')
|
38
|
-
when :prev
|
40
|
+
when :prev
|
39
41
|
DynamicScaffold::Fontawesome.inline_svg('chevron-left.svg')
|
40
|
-
when :top
|
42
|
+
when :top
|
41
43
|
DynamicScaffold::Fontawesome.inline_svg('angle-double-up.svg')
|
42
|
-
when :bottom
|
44
|
+
when :bottom
|
43
45
|
DynamicScaffold::Fontawesome.inline_svg('angle-double-down.svg')
|
44
|
-
when :times
|
46
|
+
when :times
|
45
47
|
DynamicScaffold::Fontawesome.inline_svg('times.svg')
|
46
48
|
else
|
47
49
|
raise DynamicScaffold::Error::InvalidIcon, "Unknown icon type #{name} specified."
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module DynamicScaffold
|
2
4
|
module JSONObject
|
3
5
|
module Model
|
@@ -6,7 +8,7 @@ module DynamicScaffold
|
|
6
8
|
module ClassMethods
|
7
9
|
def dump(obj)
|
8
10
|
obj = obj.attributes if obj.is_a? ActiveModel::Attributes
|
9
|
-
obj
|
11
|
+
obj&.to_json
|
10
12
|
end
|
11
13
|
|
12
14
|
def load(source)
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module DynamicScaffold
|
2
4
|
module Routes
|
3
5
|
extend ActiveSupport::Concern
|
@@ -20,4 +22,4 @@ module DynamicScaffold
|
|
20
22
|
end
|
21
23
|
end
|
22
24
|
|
23
|
-
::ActionDispatch::Routing::Mapper.
|
25
|
+
::ActionDispatch::Routing::Mapper.include DynamicScaffold::Routes
|
data/lib/dynamic_scaffold.rb
CHANGED
@@ -62,7 +62,7 @@ class <%= @class_scope.present? ? "#{@class_scope}::" : '' %><%= @plural_model_n
|
|
62
62
|
# Please see https://github.com/gomo/dynamic_scaffold#customize-list for details.
|
63
63
|
|
64
64
|
<%- @model.column_names.each do |column| -%>
|
65
|
-
config.list.item(:<%= column %>,
|
65
|
+
config.list.item(:<%= column %>, class: 'ds-auto-width')
|
66
66
|
<%- end -%>
|
67
67
|
|
68
68
|
# You can customize the form fields through `config.form`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dynamic_scaffold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masamoto Miyata
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: classnames-rails-view
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
version: '5.0'
|
48
48
|
- - "<="
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version:
|
50
|
+
version: 6.1.4.4
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
version: '5.0'
|
58
58
|
- - "<="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version:
|
60
|
+
version: 6.1.4.4
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: capybara
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -118,100 +118,128 @@ dependencies:
|
|
118
118
|
name: pry-byebug
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
|
-
- - "
|
121
|
+
- - ">="
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
123
|
+
version: '0'
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
|
-
- - "
|
128
|
+
- - ">="
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: '
|
130
|
+
version: '0'
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: pry-doc
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- - "
|
135
|
+
- - ">="
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: '0
|
137
|
+
version: '0'
|
138
138
|
type: :development
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
|
-
- - "
|
142
|
+
- - ">="
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version: '0
|
144
|
+
version: '0'
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
146
|
name: pry-rails
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
|
-
- - "
|
149
|
+
- - ">="
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version: '0
|
151
|
+
version: '0'
|
152
152
|
type: :development
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
|
-
- - "
|
156
|
+
- - ">="
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
version: '0
|
158
|
+
version: '0'
|
159
159
|
- !ruby/object:Gem::Dependency
|
160
160
|
name: pry-stack_explorer
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - ">="
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - ">="
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
173
|
+
- !ruby/object:Gem::Dependency
|
174
|
+
name: psych
|
161
175
|
requirement: !ruby/object:Gem::Requirement
|
162
176
|
requirements:
|
163
177
|
- - "~>"
|
164
178
|
- !ruby/object:Gem::Version
|
165
|
-
version: '
|
179
|
+
version: '3.1'
|
166
180
|
type: :development
|
167
181
|
prerelease: false
|
168
182
|
version_requirements: !ruby/object:Gem::Requirement
|
169
183
|
requirements:
|
170
184
|
- - "~>"
|
171
185
|
- !ruby/object:Gem::Version
|
172
|
-
version: '
|
186
|
+
version: '3.1'
|
187
|
+
- !ruby/object:Gem::Dependency
|
188
|
+
name: rspec
|
189
|
+
requirement: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - '='
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '3.10'
|
194
|
+
type: :development
|
195
|
+
prerelease: false
|
196
|
+
version_requirements: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - '='
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '3.10'
|
173
201
|
- !ruby/object:Gem::Dependency
|
174
202
|
name: rspec-rails
|
175
203
|
requirement: !ruby/object:Gem::Requirement
|
176
204
|
requirements:
|
177
|
-
- - "
|
205
|
+
- - ">="
|
178
206
|
- !ruby/object:Gem::Version
|
179
|
-
version:
|
207
|
+
version: '0'
|
180
208
|
type: :development
|
181
209
|
prerelease: false
|
182
210
|
version_requirements: !ruby/object:Gem::Requirement
|
183
211
|
requirements:
|
184
|
-
- - "
|
212
|
+
- - ">="
|
185
213
|
- !ruby/object:Gem::Version
|
186
|
-
version:
|
214
|
+
version: '0'
|
187
215
|
- !ruby/object:Gem::Dependency
|
188
216
|
name: rubocop
|
189
217
|
requirement: !ruby/object:Gem::Requirement
|
190
218
|
requirements:
|
191
|
-
- -
|
219
|
+
- - '='
|
192
220
|
- !ruby/object:Gem::Version
|
193
|
-
version: 0.
|
221
|
+
version: 0.75.0
|
194
222
|
type: :development
|
195
223
|
prerelease: false
|
196
224
|
version_requirements: !ruby/object:Gem::Requirement
|
197
225
|
requirements:
|
198
|
-
- -
|
226
|
+
- - '='
|
199
227
|
- !ruby/object:Gem::Version
|
200
|
-
version: 0.
|
228
|
+
version: 0.75.0
|
201
229
|
- !ruby/object:Gem::Dependency
|
202
|
-
name: rubocop-
|
230
|
+
name: rubocop-rails
|
203
231
|
requirement: !ruby/object:Gem::Requirement
|
204
232
|
requirements:
|
205
|
-
- - "
|
233
|
+
- - ">="
|
206
234
|
- !ruby/object:Gem::Version
|
207
|
-
version:
|
235
|
+
version: '0'
|
208
236
|
type: :development
|
209
237
|
prerelease: false
|
210
238
|
version_requirements: !ruby/object:Gem::Requirement
|
211
239
|
requirements:
|
212
|
-
- - "
|
240
|
+
- - ">="
|
213
241
|
- !ruby/object:Gem::Version
|
214
|
-
version:
|
242
|
+
version: '0'
|
215
243
|
- !ruby/object:Gem::Dependency
|
216
244
|
name: sqlite3
|
217
245
|
requirement: !ruby/object:Gem::Requirement
|
@@ -252,6 +280,7 @@ files:
|
|
252
280
|
- app/assets/images/dynamic_scaffold/fontawesome/step-forward.svg
|
253
281
|
- app/assets/images/dynamic_scaffold/fontawesome/times.svg
|
254
282
|
- app/assets/javascripts/dynamic_scaffold.js
|
283
|
+
- app/assets/javascripts/dynamic_scaffold/auto_width.js
|
255
284
|
- app/assets/javascripts/dynamic_scaffold/common.js
|
256
285
|
- app/assets/javascripts/dynamic_scaffold/delete.js
|
257
286
|
- app/assets/javascripts/dynamic_scaffold/image.js
|
@@ -323,7 +352,7 @@ homepage: https://github.com/gomo/dynamic_scaffold
|
|
323
352
|
licenses:
|
324
353
|
- MIT
|
325
354
|
metadata: {}
|
326
|
-
post_install_message:
|
355
|
+
post_install_message:
|
327
356
|
rdoc_options: []
|
328
357
|
require_paths:
|
329
358
|
- lib
|
@@ -331,15 +360,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
331
360
|
requirements:
|
332
361
|
- - ">="
|
333
362
|
- !ruby/object:Gem::Version
|
334
|
-
version:
|
363
|
+
version: 2.6.0
|
335
364
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
336
365
|
requirements:
|
337
366
|
- - ">="
|
338
367
|
- !ruby/object:Gem::Version
|
339
368
|
version: '0'
|
340
369
|
requirements: []
|
341
|
-
rubygems_version: 3.
|
342
|
-
signing_key:
|
370
|
+
rubygems_version: 3.2.32
|
371
|
+
signing_key:
|
343
372
|
specification_version: 4
|
344
373
|
summary: The Scaffold system which dynamically generates CRUD and sort functions.
|
345
374
|
test_files: []
|