super 0.0.4 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +13 -0
- data/CONTRIBUTING.md +56 -0
- data/README.md +60 -85
- data/STABILITY.md +50 -0
- data/app/assets/javascripts/super/application.js +1169 -359
- data/app/assets/stylesheets/super/application.css +86648 -30707
- data/app/controllers/super/application_controller.rb +44 -71
- data/app/views/layouts/super/application.html.erb +26 -6
- data/app/views/super/application/{_resources_header.html.erb → _collection_header.html.erb} +5 -6
- data/app/views/super/application/_display_rich_text.html.erb +1 -0
- data/app/views/super/application/_filter.html.erb +14 -0
- data/app/views/super/application/_filter_type_select.html.erb +31 -0
- data/app/views/super/application/_filter_type_text.html.erb +22 -0
- data/app/views/super/application/_filter_type_timestamp.html.erb +35 -0
- data/app/views/super/application/_flash.html.erb +13 -13
- data/app/views/super/application/_form_field__destroy.html.erb +6 -2
- data/app/views/super/application/_form_field_checkbox.html.erb +15 -0
- data/app/views/super/application/_form_field_generic.html.erb +19 -0
- data/app/views/super/application/_form_field_rich_text_area.html.erb +13 -0
- data/app/views/super/application/_form_field_select.html.erb +11 -5
- data/app/views/super/application/_form_field_text.html.erb +13 -5
- data/app/views/super/application/_form_has_many.html.erb +3 -3
- data/app/views/super/application/_form_inline_errors.html.erb +1 -1
- data/app/views/super/application/{_resource_header.html.erb → _member_header.html.erb} +6 -6
- data/app/views/super/application/_super_layout.html.erb +12 -17
- data/app/views/super/application/_super_pagination.html.erb +16 -0
- data/app/views/super/application/_super_panel.html.erb +3 -7
- data/app/views/super/application/_super_schema_display_actions.html.erb +5 -0
- data/app/views/super/application/_super_schema_display_index.html.erb +24 -0
- data/app/views/super/application/_super_schema_display_show.html.erb +8 -0
- data/app/views/super/application/{_form.html.erb → _super_schema_form.html.erb} +2 -4
- data/app/views/super/application/edit.html.erb +1 -1
- data/app/views/super/application/index.html.erb +1 -1
- data/app/views/super/application/new.html.erb +1 -1
- data/app/views/super/application/show.html.erb +1 -1
- data/app/views/super/feather/{_chevron_down.svg → _chevron_down.html} +0 -0
- data/config/locales/en.yml +5 -0
- data/docs/README.md +8 -0
- data/docs/action_text.md +48 -0
- data/docs/cheat.md +41 -0
- data/docs/faq.md +44 -0
- data/docs/installation.md +21 -0
- data/docs/quick_start.md +30 -0
- data/docs/webpacker.md +25 -0
- data/docs/yard_customizations.rb +41 -0
- data/frontend/super-frontend/build.js +1 -1
- data/frontend/super-frontend/dist/application.css +86648 -30707
- data/frontend/super-frontend/dist/application.js +1169 -359
- data/frontend/super-frontend/package.json +2 -3
- data/frontend/super-frontend/src/javascripts/super/{application.ts → application.js} +5 -8
- data/frontend/super-frontend/src/javascripts/super/apply_template_controller.js +17 -0
- data/frontend/super-frontend/src/javascripts/super/{toggle_pending_destruction_controller.ts → toggle_pending_destruction_controller.js} +2 -2
- data/frontend/super-frontend/tailwind.config.js +7 -1
- data/frontend/super-frontend/yarn.lock +1368 -1391
- data/lib/generators/super/action_text/USAGE +23 -0
- data/lib/generators/super/action_text/action_text_generator.rb +30 -0
- data/lib/generators/super/action_text/templates/pack_super_action_text.css +23 -0
- data/lib/generators/super/action_text/templates/pack_super_action_text.js +4 -0
- data/lib/generators/super/install/install_generator.rb +16 -0
- data/lib/generators/super/resource/templates/resources_controller.rb.tt +1 -31
- data/lib/generators/super/webpacker/USAGE +5 -4
- data/lib/generators/super/webpacker/webpacker_generator.rb +10 -1
- data/lib/super.rb +22 -5
- data/lib/super/action_inquirer.rb +2 -2
- data/lib/super/assets.rb +112 -38
- data/lib/super/client_error.rb +43 -0
- data/lib/super/compatibility.rb +25 -0
- data/lib/super/configuration.rb +21 -69
- data/lib/super/controls.rb +9 -257
- data/lib/super/controls/optional.rb +79 -0
- data/lib/super/controls/required.rb +13 -0
- data/lib/super/controls/steps.rb +114 -0
- data/lib/super/display.rb +66 -3
- data/lib/super/display/guesser.rb +34 -0
- data/lib/super/display/schema_types.rb +61 -25
- data/lib/super/engine.rb +7 -1
- data/lib/super/error.rb +8 -9
- data/lib/super/filter.rb +12 -0
- data/lib/super/filter/form_object.rb +97 -0
- data/lib/super/filter/guesser.rb +30 -0
- data/lib/super/filter/operator.rb +103 -0
- data/lib/super/filter/plugin.rb +47 -0
- data/lib/super/filter/schema_types.rb +112 -0
- data/lib/super/form.rb +35 -0
- data/lib/super/form/builder.rb +48 -0
- data/lib/super/form/guesser.rb +27 -0
- data/lib/super/form/schema_types.rb +29 -22
- data/lib/super/form/strong_params.rb +29 -0
- data/lib/super/layout.rb +28 -0
- data/lib/super/link.rb +55 -32
- data/lib/super/pagination.rb +55 -0
- data/lib/super/panel.rb +13 -0
- data/lib/super/partial.rb +12 -0
- data/lib/super/partial/resolving.rb +24 -0
- data/lib/super/plugin.rb +34 -63
- data/lib/super/schema.rb +12 -22
- data/lib/super/schema/common.rb +25 -0
- data/lib/super/schema/guesser.rb +77 -0
- data/lib/super/version.rb +1 -1
- data/lib/super/view_helper.rb +43 -0
- metadata +138 -41
- data/app/helpers/super/application_helper.rb +0 -32
- data/app/views/super/application/_index.html.erb +0 -45
- data/app/views/super/application/_show.html.erb +0 -10
- data/frontend/super-frontend/src/javascripts/super/apply_template_controller.ts +0 -21
- data/frontend/super-frontend/src/javascripts/super/rails__ujs.d.ts +0 -1
- data/frontend/super-frontend/tsconfig.json +0 -13
- data/lib/super/action.rb +0 -22
- data/lib/super/action/step.rb +0 -36
- data/lib/super/test_support/copy_app_templates/controllers/favorite_things_controller.rb +0 -50
- data/lib/super/test_support/copy_app_templates/controllers/members_controller.rb +0 -74
- data/lib/super/test_support/copy_app_templates/controllers/ships_controller.rb +0 -47
- data/lib/super/test_support/copy_app_templates/migrations/20190216224956_create_members.rb +0 -11
- data/lib/super/test_support/copy_app_templates/migrations/20190803143320_create_ships.rb +0 -11
- data/lib/super/test_support/copy_app_templates/migrations/20190806014121_add_ship_to_members.rb +0 -5
- data/lib/super/test_support/copy_app_templates/migrations/20191126050453_create_favorite_things.rb +0 -10
- data/lib/super/test_support/copy_app_templates/models/favorite_thing.rb +0 -7
- data/lib/super/test_support/copy_app_templates/models/member.rb +0 -23
- data/lib/super/test_support/copy_app_templates/models/ship.rb +0 -3
- data/lib/super/test_support/copy_app_templates/routes.rb +0 -11
- data/lib/super/test_support/copy_app_templates/seeds.rb +0 -2
- data/lib/super/test_support/copy_app_templates/views/members/_favorite_things.html.erb +0 -11
- data/lib/super/test_support/fixtures/favorite_things.yml +0 -9
- data/lib/super/test_support/fixtures/members.yml +0 -336
- data/lib/super/test_support/fixtures/ships.yml +0 -10
- data/lib/super/test_support/generate_copy_app.rb +0 -42
- data/lib/super/test_support/generate_dummy.rb +0 -93
- data/lib/super/test_support/starfleet_seeder.rb +0 -50
- data/lib/tasks/super_tasks.rake +0 -4
data/lib/super/schema.rb
CHANGED
@@ -5,26 +5,10 @@ module Super
|
|
5
5
|
#
|
6
6
|
# The various "schema types" are likely of more interest
|
7
7
|
class Schema
|
8
|
-
#
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
if @schema_type.respond_to?(:setup)
|
14
|
-
@schema_type.setup(fields: @fields)
|
15
|
-
end
|
16
|
-
|
17
|
-
if block_given?
|
18
|
-
yield(@fields, @schema_type)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
attr_reader :fields
|
23
|
-
|
24
|
-
def field_keys
|
25
|
-
fields.keys
|
26
|
-
end
|
27
|
-
|
8
|
+
# This class can be thought of as a Hash, where the keys usually refer to
|
9
|
+
# the model's column name and the value refers to the column type. Note
|
10
|
+
# though that this isn't always the case—different `SchemaTypes` can do
|
11
|
+
# whatever makes sense in their context
|
28
12
|
class Fields
|
29
13
|
include Enumerable
|
30
14
|
|
@@ -44,9 +28,13 @@ module Super
|
|
44
28
|
@backing.keys
|
45
29
|
end
|
46
30
|
|
47
|
-
def
|
31
|
+
def values
|
32
|
+
@backing.values
|
33
|
+
end
|
34
|
+
|
35
|
+
def each(&block)
|
48
36
|
if block_given?
|
49
|
-
return @backing.each(&
|
37
|
+
return @backing.each(&block)
|
50
38
|
end
|
51
39
|
|
52
40
|
enum_for(:each)
|
@@ -65,6 +53,8 @@ module Super
|
|
65
53
|
inside = {}
|
66
54
|
@backing = inside
|
67
55
|
yield
|
56
|
+
return inside
|
57
|
+
ensure
|
68
58
|
@backing = outside
|
69
59
|
inside
|
70
60
|
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module Super
|
2
|
+
class Schema
|
3
|
+
module Common
|
4
|
+
def each_attribute_name
|
5
|
+
if block_given?
|
6
|
+
@fields.keys.each do |key|
|
7
|
+
yield(key)
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
enum_for(:each_attribute_name)
|
12
|
+
end
|
13
|
+
|
14
|
+
def each_attribute
|
15
|
+
if block_given?
|
16
|
+
@fields.each do |key, value|
|
17
|
+
yield(key, value)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
enum_for(:each_attribute)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,77 @@
|
|
1
|
+
module Super
|
2
|
+
class Schema
|
3
|
+
class Guesser
|
4
|
+
def initialize(model:, fields:, type:)
|
5
|
+
@model = model
|
6
|
+
@fields = fields
|
7
|
+
@type = type
|
8
|
+
@rejects = []
|
9
|
+
end
|
10
|
+
|
11
|
+
def limit
|
12
|
+
@limit = yield
|
13
|
+
self
|
14
|
+
end
|
15
|
+
|
16
|
+
def reject(&block)
|
17
|
+
@rejects.push(block)
|
18
|
+
self
|
19
|
+
end
|
20
|
+
|
21
|
+
def ignore_foreign_keys
|
22
|
+
@rejects.push(-> (attribute_name) { is_foreign_key[attribute_name] })
|
23
|
+
self
|
24
|
+
end
|
25
|
+
|
26
|
+
def assign_type(&block)
|
27
|
+
@assign_type = block
|
28
|
+
self
|
29
|
+
end
|
30
|
+
|
31
|
+
def call
|
32
|
+
result = sorted_attribute_names
|
33
|
+
result = @rejects.reduce(result) do |intermediary_result, rejection_proc|
|
34
|
+
intermediary_result.reject(&rejection_proc)
|
35
|
+
end
|
36
|
+
|
37
|
+
result = result.first(@limit) if @limit && @limit != Float::INFINITY
|
38
|
+
|
39
|
+
result.each do |name|
|
40
|
+
@fields[name] = @assign_type.call(name)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def sorted_attribute_names
|
47
|
+
@model
|
48
|
+
.attribute_names
|
49
|
+
.sort_by { |name| sort_weight[name] }
|
50
|
+
end
|
51
|
+
|
52
|
+
def sort_weight
|
53
|
+
@sort_weight ||= Hash.new do |hash, name|
|
54
|
+
hash[name] =
|
55
|
+
case name
|
56
|
+
when "id" then 0
|
57
|
+
when "title" then 1000
|
58
|
+
when "name" then 1300
|
59
|
+
when "created_at" then 9500
|
60
|
+
when "updated_at" then 9750
|
61
|
+
else
|
62
|
+
2000 + hash.size
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
def is_foreign_key
|
68
|
+
@is_foreign_key ||=
|
69
|
+
@model
|
70
|
+
.reflect_on_all_associations
|
71
|
+
.select { |a| a.macro == :belongs_to }
|
72
|
+
.map { |a| [a.foreign_key, true] }
|
73
|
+
.to_h
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
data/lib/super/version.rb
CHANGED
@@ -0,0 +1,43 @@
|
|
1
|
+
module Super
|
2
|
+
module ViewHelper
|
3
|
+
module_function
|
4
|
+
|
5
|
+
# For example, calling `classes("always", ["sometimes", condition])` would
|
6
|
+
# return the string "always sometimes" or "always"
|
7
|
+
def classes(*list)
|
8
|
+
result = list.map do |c|
|
9
|
+
case c
|
10
|
+
when String
|
11
|
+
c
|
12
|
+
when Array
|
13
|
+
if c.size != 2
|
14
|
+
raise %(Expected exactly two elements (["class", some_condition]), got: #{c.inspect})
|
15
|
+
end
|
16
|
+
|
17
|
+
c.first if c.last
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
result.compact.join(" ")
|
22
|
+
end
|
23
|
+
|
24
|
+
def errors_accounting_for_reflections(model_instance, column_or_association)
|
25
|
+
errable_fields(model_instance, column_or_association)
|
26
|
+
.flat_map { |field| Compatability.errable_fields(field) }
|
27
|
+
.flat_map { |field| model_instance.errors.full_messages_for(field) }
|
28
|
+
.uniq
|
29
|
+
end
|
30
|
+
|
31
|
+
def errable_fields(model_instance, column_or_association)
|
32
|
+
column_or_association = column_or_association.to_s
|
33
|
+
reflection = model_instance.class.reflect_on_association(column_or_association)
|
34
|
+
reflection ||= model_instance.class.reflections.values.find { |r| r.foreign_key == column_or_association }
|
35
|
+
|
36
|
+
if reflection
|
37
|
+
[reflection.name.to_s, reflection.foreign_key.to_s]
|
38
|
+
else
|
39
|
+
[column_or_association]
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: super
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zach Ahn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: railties
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -24,20 +24,82 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '5.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '5.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '5.0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: capybara
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.18'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.18'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: selenium-webdriver
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.142'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.142'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: webdrivers
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '4.3'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '4.3'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: puma
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '4.3'
|
31
90
|
- - ">="
|
32
91
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
92
|
+
version: 4.3.6
|
34
93
|
type: :development
|
35
94
|
prerelease: false
|
36
95
|
version_requirements: !ruby/object:Gem::Requirement
|
37
96
|
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '4.3'
|
38
100
|
- - ">="
|
39
101
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
102
|
+
version: 4.3.6
|
41
103
|
- !ruby/object:Gem::Dependency
|
42
104
|
name: sqlite3
|
43
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,6 +184,20 @@ dependencies:
|
|
122
184
|
- - ">="
|
123
185
|
- !ruby/object:Gem::Version
|
124
186
|
version: '0'
|
187
|
+
- !ruby/object:Gem::Dependency
|
188
|
+
name: i18n-debug
|
189
|
+
requirement: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - ">="
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '0'
|
194
|
+
type: :development
|
195
|
+
prerelease: false
|
196
|
+
version_requirements: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - ">="
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '0'
|
125
201
|
description:
|
126
202
|
email:
|
127
203
|
- engineering@zachahn.com
|
@@ -129,51 +205,74 @@ executables: []
|
|
129
205
|
extensions: []
|
130
206
|
extra_rdoc_files: []
|
131
207
|
files:
|
208
|
+
- ".yardopts"
|
209
|
+
- CONTRIBUTING.md
|
132
210
|
- LICENSE
|
133
211
|
- README.md
|
134
212
|
- Rakefile
|
213
|
+
- STABILITY.md
|
135
214
|
- app/assets/config/super_manifest.js
|
136
215
|
- app/assets/javascripts/super/application.js
|
137
216
|
- app/assets/stylesheets/super/application.css
|
138
217
|
- app/controllers/super/application_controller.rb
|
139
|
-
- app/helpers/super/application_helper.rb
|
140
218
|
- app/views/layouts/super/application.html.erb
|
219
|
+
- app/views/super/application/_collection_header.html.erb
|
220
|
+
- app/views/super/application/_display_rich_text.html.erb
|
221
|
+
- app/views/super/application/_filter.html.erb
|
222
|
+
- app/views/super/application/_filter_type_select.html.erb
|
223
|
+
- app/views/super/application/_filter_type_text.html.erb
|
224
|
+
- app/views/super/application/_filter_type_timestamp.html.erb
|
141
225
|
- app/views/super/application/_flash.html.erb
|
142
|
-
- app/views/super/application/_form.html.erb
|
143
226
|
- app/views/super/application/_form_field__destroy.html.erb
|
227
|
+
- app/views/super/application/_form_field_checkbox.html.erb
|
228
|
+
- app/views/super/application/_form_field_generic.html.erb
|
229
|
+
- app/views/super/application/_form_field_rich_text_area.html.erb
|
144
230
|
- app/views/super/application/_form_field_select.html.erb
|
145
231
|
- app/views/super/application/_form_field_text.html.erb
|
146
232
|
- app/views/super/application/_form_fieldset.html.erb
|
147
233
|
- app/views/super/application/_form_has_many.html.erb
|
148
234
|
- app/views/super/application/_form_has_one.html.erb
|
149
235
|
- app/views/super/application/_form_inline_errors.html.erb
|
150
|
-
- app/views/super/application/
|
151
|
-
- app/views/super/application/_resource_header.html.erb
|
152
|
-
- app/views/super/application/_resources_header.html.erb
|
153
|
-
- app/views/super/application/_show.html.erb
|
236
|
+
- app/views/super/application/_member_header.html.erb
|
154
237
|
- app/views/super/application/_super_layout.html.erb
|
238
|
+
- app/views/super/application/_super_pagination.html.erb
|
155
239
|
- app/views/super/application/_super_panel.html.erb
|
240
|
+
- app/views/super/application/_super_schema_display_actions.html.erb
|
241
|
+
- app/views/super/application/_super_schema_display_index.html.erb
|
242
|
+
- app/views/super/application/_super_schema_display_show.html.erb
|
243
|
+
- app/views/super/application/_super_schema_form.html.erb
|
156
244
|
- app/views/super/application/edit.html.erb
|
157
245
|
- app/views/super/application/index.html.erb
|
158
246
|
- app/views/super/application/new.html.erb
|
159
247
|
- app/views/super/application/nothing.html.erb
|
160
248
|
- app/views/super/application/show.html.erb
|
161
249
|
- app/views/super/feather/README.md
|
162
|
-
- app/views/super/feather/_chevron_down.
|
250
|
+
- app/views/super/feather/_chevron_down.html
|
251
|
+
- config/locales/en.yml
|
163
252
|
- config/routes.rb
|
253
|
+
- docs/README.md
|
254
|
+
- docs/action_text.md
|
255
|
+
- docs/cheat.md
|
256
|
+
- docs/faq.md
|
257
|
+
- docs/installation.md
|
258
|
+
- docs/quick_start.md
|
259
|
+
- docs/webpacker.md
|
260
|
+
- docs/yard_customizations.rb
|
164
261
|
- frontend/super-frontend/build.js
|
165
262
|
- frontend/super-frontend/dist/application.css
|
166
263
|
- frontend/super-frontend/dist/application.js
|
167
264
|
- frontend/super-frontend/package.json
|
168
265
|
- frontend/super-frontend/postcss.config.js
|
169
|
-
- frontend/super-frontend/src/javascripts/super/application.
|
170
|
-
- frontend/super-frontend/src/javascripts/super/apply_template_controller.
|
171
|
-
- frontend/super-frontend/src/javascripts/super/
|
172
|
-
- frontend/super-frontend/src/javascripts/super/toggle_pending_destruction_controller.ts
|
266
|
+
- frontend/super-frontend/src/javascripts/super/application.js
|
267
|
+
- frontend/super-frontend/src/javascripts/super/apply_template_controller.js
|
268
|
+
- frontend/super-frontend/src/javascripts/super/toggle_pending_destruction_controller.js
|
173
269
|
- frontend/super-frontend/src/stylesheets/super/application.css
|
174
270
|
- frontend/super-frontend/tailwind.config.js
|
175
|
-
- frontend/super-frontend/tsconfig.json
|
176
271
|
- frontend/super-frontend/yarn.lock
|
272
|
+
- lib/generators/super/action_text/USAGE
|
273
|
+
- lib/generators/super/action_text/action_text_generator.rb
|
274
|
+
- lib/generators/super/action_text/templates/pack_super_action_text.css
|
275
|
+
- lib/generators/super/action_text/templates/pack_super_action_text.js
|
177
276
|
- lib/generators/super/install/USAGE
|
178
277
|
- lib/generators/super/install/install_generator.rb
|
179
278
|
- lib/generators/super/install/templates/base_controller.rb.tt
|
@@ -185,46 +284,44 @@ files:
|
|
185
284
|
- lib/generators/super/webpacker/templates/pack_super_application.js.erb.tt
|
186
285
|
- lib/generators/super/webpacker/webpacker_generator.rb
|
187
286
|
- lib/super.rb
|
188
|
-
- lib/super/action.rb
|
189
|
-
- lib/super/action/step.rb
|
190
287
|
- lib/super/action_inquirer.rb
|
191
288
|
- lib/super/assets.rb
|
289
|
+
- lib/super/client_error.rb
|
290
|
+
- lib/super/compatibility.rb
|
192
291
|
- lib/super/configuration.rb
|
193
292
|
- lib/super/controls.rb
|
293
|
+
- lib/super/controls/optional.rb
|
294
|
+
- lib/super/controls/required.rb
|
295
|
+
- lib/super/controls/steps.rb
|
194
296
|
- lib/super/display.rb
|
297
|
+
- lib/super/display/guesser.rb
|
195
298
|
- lib/super/display/schema_types.rb
|
196
299
|
- lib/super/engine.rb
|
197
300
|
- lib/super/error.rb
|
301
|
+
- lib/super/filter.rb
|
302
|
+
- lib/super/filter/form_object.rb
|
303
|
+
- lib/super/filter/guesser.rb
|
304
|
+
- lib/super/filter/operator.rb
|
305
|
+
- lib/super/filter/plugin.rb
|
306
|
+
- lib/super/filter/schema_types.rb
|
307
|
+
- lib/super/form.rb
|
308
|
+
- lib/super/form/builder.rb
|
309
|
+
- lib/super/form/guesser.rb
|
198
310
|
- lib/super/form/schema_types.rb
|
311
|
+
- lib/super/form/strong_params.rb
|
199
312
|
- lib/super/layout.rb
|
200
313
|
- lib/super/link.rb
|
201
314
|
- lib/super/navigation/automatic.rb
|
202
315
|
- lib/super/pagination.rb
|
203
316
|
- lib/super/panel.rb
|
204
317
|
- lib/super/partial.rb
|
318
|
+
- lib/super/partial/resolving.rb
|
205
319
|
- lib/super/plugin.rb
|
206
320
|
- lib/super/schema.rb
|
207
|
-
- lib/super/
|
208
|
-
- lib/super/
|
209
|
-
- lib/super/test_support/copy_app_templates/controllers/ships_controller.rb
|
210
|
-
- lib/super/test_support/copy_app_templates/migrations/20190216224956_create_members.rb
|
211
|
-
- lib/super/test_support/copy_app_templates/migrations/20190803143320_create_ships.rb
|
212
|
-
- lib/super/test_support/copy_app_templates/migrations/20190806014121_add_ship_to_members.rb
|
213
|
-
- lib/super/test_support/copy_app_templates/migrations/20191126050453_create_favorite_things.rb
|
214
|
-
- lib/super/test_support/copy_app_templates/models/favorite_thing.rb
|
215
|
-
- lib/super/test_support/copy_app_templates/models/member.rb
|
216
|
-
- lib/super/test_support/copy_app_templates/models/ship.rb
|
217
|
-
- lib/super/test_support/copy_app_templates/routes.rb
|
218
|
-
- lib/super/test_support/copy_app_templates/seeds.rb
|
219
|
-
- lib/super/test_support/copy_app_templates/views/members/_favorite_things.html.erb
|
220
|
-
- lib/super/test_support/fixtures/favorite_things.yml
|
221
|
-
- lib/super/test_support/fixtures/members.yml
|
222
|
-
- lib/super/test_support/fixtures/ships.yml
|
223
|
-
- lib/super/test_support/generate_copy_app.rb
|
224
|
-
- lib/super/test_support/generate_dummy.rb
|
225
|
-
- lib/super/test_support/starfleet_seeder.rb
|
321
|
+
- lib/super/schema/common.rb
|
322
|
+
- lib/super/schema/guesser.rb
|
226
323
|
- lib/super/version.rb
|
227
|
-
- lib/
|
324
|
+
- lib/super/view_helper.rb
|
228
325
|
homepage:
|
229
326
|
licenses:
|
230
327
|
- LGPL-3.0-only
|
@@ -244,8 +341,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
244
341
|
- !ruby/object:Gem::Version
|
245
342
|
version: '0'
|
246
343
|
requirements: []
|
247
|
-
rubygems_version: 3.
|
344
|
+
rubygems_version: 3.1.4
|
248
345
|
signing_key:
|
249
346
|
specification_version: 4
|
250
|
-
summary: A simple, powerful, zero
|
347
|
+
summary: A simple, powerful, zero dependency Rails admin framework
|
251
348
|
test_files: []
|