super 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +56 -0
- data/README.md +6 -0
- data/STABILITY.md +50 -0
- data/app/assets/javascripts/super/application.js +12 -7
- data/app/controllers/super/application_controller.rb +1 -1
- data/app/views/layouts/super/application.html.erb +14 -6
- data/app/views/super/application/_super_panel.html.erb +1 -1
- data/app/views/super/application/_super_schema_display_index.html.erb +4 -4
- data/app/views/super/application/_super_schema_display_show.html.erb +3 -3
- data/app/views/super/application/_super_schema_form.html.erb +1 -1
- data/frontend/super-frontend/dist/application.js +12 -7
- data/frontend/super-frontend/src/javascripts/super/application.ts +5 -8
- data/lib/generators/super/resource/templates/resources_controller.rb.tt +1 -31
- data/lib/generators/super/webpacker/webpacker_generator.rb +3 -2
- data/lib/super.rb +11 -0
- data/lib/super/assets.rb +108 -38
- data/lib/super/configuration.rb +18 -73
- data/lib/super/controls.rb +2 -25
- data/lib/super/controls/optional.rb +41 -16
- data/lib/super/controls/required.rb +1 -29
- data/lib/super/controls/steps.rb +9 -23
- data/lib/super/display.rb +72 -0
- data/lib/super/display/guesser.rb +34 -0
- data/lib/super/display/schema_types.rb +19 -62
- data/lib/super/engine.rb +1 -1
- data/lib/super/filter.rb +5 -130
- data/lib/super/filter/form_object.rb +97 -0
- data/lib/super/filter/guesser.rb +30 -0
- data/lib/super/filter/plugin.rb +47 -0
- data/lib/super/filter/schema_types.rb +1 -7
- data/lib/super/form.rb +27 -40
- data/lib/super/form/builder.rb +48 -0
- data/lib/super/form/guesser.rb +27 -0
- data/lib/super/form/schema_types.rb +19 -29
- data/lib/super/form/strong_params.rb +29 -0
- data/lib/super/pagination.rb +10 -16
- data/lib/super/schema.rb +0 -25
- data/lib/super/schema/common.rb +25 -0
- data/lib/super/schema/guesser.rb +77 -0
- data/lib/super/version.rb +1 -1
- metadata +14 -2
data/lib/super/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zach Ahn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -206,9 +206,11 @@ extensions: []
|
|
206
206
|
extra_rdoc_files: []
|
207
207
|
files:
|
208
208
|
- ".yardopts"
|
209
|
+
- CONTRIBUTING.md
|
209
210
|
- LICENSE
|
210
211
|
- README.md
|
211
212
|
- Rakefile
|
213
|
+
- STABILITY.md
|
212
214
|
- app/assets/config/super_manifest.js
|
213
215
|
- app/assets/javascripts/super/application.js
|
214
216
|
- app/assets/stylesheets/super/application.css
|
@@ -283,14 +285,22 @@ files:
|
|
283
285
|
- lib/super/controls/optional.rb
|
284
286
|
- lib/super/controls/required.rb
|
285
287
|
- lib/super/controls/steps.rb
|
288
|
+
- lib/super/display.rb
|
289
|
+
- lib/super/display/guesser.rb
|
286
290
|
- lib/super/display/schema_types.rb
|
287
291
|
- lib/super/engine.rb
|
288
292
|
- lib/super/error.rb
|
289
293
|
- lib/super/filter.rb
|
294
|
+
- lib/super/filter/form_object.rb
|
295
|
+
- lib/super/filter/guesser.rb
|
290
296
|
- lib/super/filter/operator.rb
|
297
|
+
- lib/super/filter/plugin.rb
|
291
298
|
- lib/super/filter/schema_types.rb
|
292
299
|
- lib/super/form.rb
|
300
|
+
- lib/super/form/builder.rb
|
301
|
+
- lib/super/form/guesser.rb
|
293
302
|
- lib/super/form/schema_types.rb
|
303
|
+
- lib/super/form/strong_params.rb
|
294
304
|
- lib/super/layout.rb
|
295
305
|
- lib/super/link.rb
|
296
306
|
- lib/super/navigation/automatic.rb
|
@@ -300,6 +310,8 @@ files:
|
|
300
310
|
- lib/super/partial/resolving.rb
|
301
311
|
- lib/super/plugin.rb
|
302
312
|
- lib/super/schema.rb
|
313
|
+
- lib/super/schema/common.rb
|
314
|
+
- lib/super/schema/guesser.rb
|
303
315
|
- lib/super/version.rb
|
304
316
|
- lib/super/view_helper.rb
|
305
317
|
homepage:
|