super 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.md +56 -0
  3. data/README.md +6 -0
  4. data/STABILITY.md +50 -0
  5. data/app/assets/javascripts/super/application.js +12 -7
  6. data/app/controllers/super/application_controller.rb +1 -1
  7. data/app/views/layouts/super/application.html.erb +14 -6
  8. data/app/views/super/application/_super_panel.html.erb +1 -1
  9. data/app/views/super/application/_super_schema_display_index.html.erb +4 -4
  10. data/app/views/super/application/_super_schema_display_show.html.erb +3 -3
  11. data/app/views/super/application/_super_schema_form.html.erb +1 -1
  12. data/frontend/super-frontend/dist/application.js +12 -7
  13. data/frontend/super-frontend/src/javascripts/super/application.ts +5 -8
  14. data/lib/generators/super/resource/templates/resources_controller.rb.tt +1 -31
  15. data/lib/generators/super/webpacker/webpacker_generator.rb +3 -2
  16. data/lib/super.rb +11 -0
  17. data/lib/super/assets.rb +108 -38
  18. data/lib/super/configuration.rb +18 -73
  19. data/lib/super/controls.rb +2 -25
  20. data/lib/super/controls/optional.rb +41 -16
  21. data/lib/super/controls/required.rb +1 -29
  22. data/lib/super/controls/steps.rb +9 -23
  23. data/lib/super/display.rb +72 -0
  24. data/lib/super/display/guesser.rb +34 -0
  25. data/lib/super/display/schema_types.rb +19 -62
  26. data/lib/super/engine.rb +1 -1
  27. data/lib/super/filter.rb +5 -130
  28. data/lib/super/filter/form_object.rb +97 -0
  29. data/lib/super/filter/guesser.rb +30 -0
  30. data/lib/super/filter/plugin.rb +47 -0
  31. data/lib/super/filter/schema_types.rb +1 -7
  32. data/lib/super/form.rb +27 -40
  33. data/lib/super/form/builder.rb +48 -0
  34. data/lib/super/form/guesser.rb +27 -0
  35. data/lib/super/form/schema_types.rb +19 -29
  36. data/lib/super/form/strong_params.rb +29 -0
  37. data/lib/super/pagination.rb +10 -16
  38. data/lib/super/schema.rb +0 -25
  39. data/lib/super/schema/common.rb +25 -0
  40. data/lib/super/schema/guesser.rb +77 -0
  41. data/lib/super/version.rb +1 -1
  42. metadata +14 -2
@@ -1,3 +1,3 @@
1
1
  module Super
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
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.7
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-16 00:00:00.000000000 Z
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: