tramway-core 1.17.2.1 → 1.17.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/app/controllers/tramway/core/application_controller.rb +12 -12
- data/app/decorators/tramway/core/application_decorator.rb +12 -26
- data/app/decorators/tramway/core/associations/class_helper.rb +7 -13
- data/app/decorators/tramway/core/associations/object_helper.rb +28 -2
- data/app/decorators/tramway/core/attributes/view_helper.rb +26 -0
- data/app/decorators/tramway/core/concerns/attributes_decorator_helper.rb +47 -26
- data/app/decorators/tramway/core/delegating/class_helper.rb +2 -0
- data/app/forms/tramway/core/application_form.rb +96 -145
- data/app/forms/tramway/core/application_forms/association_object_helpers.rb +27 -0
- data/app/forms/tramway/core/application_forms/constant_class_actions.rb +7 -0
- data/app/forms/tramway/core/application_forms/constant_object_actions.rb +20 -0
- data/app/forms/tramway/core/application_forms/properties_object_helper.rb +23 -0
- data/app/forms/tramway/core/extendable_form.rb +3 -70
- data/app/forms/tramway/core/extendable_forms_helpers/class_builder.rb +34 -0
- data/app/forms/tramway/core/extendable_forms_helpers/ignored_properties_helper.rb +11 -0
- data/app/forms/tramway/core/extendable_forms_helpers/more_properties_helper.rb +27 -0
- data/app/forms/tramway/core/extendable_forms_helpers/properties_helper.rb +16 -0
- data/app/forms/tramway/core/extendable_forms_helpers/submit/class_helpers.rb +18 -0
- data/app/forms/tramway/core/extendable_forms_helpers/submit/object_helpers.rb +7 -0
- data/app/forms/tramway/core/extendable_forms_helpers/validators.rb +40 -0
- data/app/helpers/tramway/core/application_helper.rb +2 -0
- data/app/helpers/tramway/core/copy_to_clipboard_helper.rb +6 -10
- data/app/helpers/tramway/core/inputs_helper.rb +93 -0
- data/app/helpers/tramway/core/title_helper.rb +17 -22
- data/app/models/tramway/core/application_record.rb +38 -40
- data/app/uploaders/image_defaults.rb +2 -1
- data/app/uploaders/photo_uploader.rb +8 -8
- data/app/views/tramway/core/shared/_input.html.haml +26 -0
- data/config/initializers/plurals.rb +2 -2
- data/lib/tramway/collection.rb +4 -6
- data/lib/tramway/collections.rb +4 -0
- data/lib/tramway/collections/helper.rb +15 -14
- data/lib/tramway/core.rb +22 -22
- data/lib/tramway/core/engine.rb +4 -8
- data/lib/tramway/core/generators.rb +6 -0
- data/lib/tramway/core/generators/install_generator.rb +17 -17
- data/lib/tramway/core/version.rb +1 -1
- data/lib/tramway/error.rb +12 -1
- data/lib/yaml/errors.yml +35 -0
- metadata +22 -3
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.17.
|
4
|
+
version: 1.17.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
|
+
- moshiaan
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
12
|
+
date: 2020-03-24 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: audited
|
@@ -357,13 +358,27 @@ files:
|
|
357
358
|
- app/decorators/tramway/core/application_decorator.rb
|
358
359
|
- app/decorators/tramway/core/associations/class_helper.rb
|
359
360
|
- app/decorators/tramway/core/associations/object_helper.rb
|
361
|
+
- app/decorators/tramway/core/attributes/view_helper.rb
|
360
362
|
- app/decorators/tramway/core/concerns/attributes_decorator_helper.rb
|
361
363
|
- app/decorators/tramway/core/delegating/class_helper.rb
|
362
364
|
- app/forms/tramway/core/application_form.rb
|
365
|
+
- app/forms/tramway/core/application_forms/association_object_helpers.rb
|
366
|
+
- app/forms/tramway/core/application_forms/constant_class_actions.rb
|
367
|
+
- app/forms/tramway/core/application_forms/constant_object_actions.rb
|
368
|
+
- app/forms/tramway/core/application_forms/properties_object_helper.rb
|
363
369
|
- app/forms/tramway/core/extendable_form.rb
|
370
|
+
- app/forms/tramway/core/extendable_forms_helpers/class_builder.rb
|
371
|
+
- app/forms/tramway/core/extendable_forms_helpers/ignored_properties_helper.rb
|
372
|
+
- app/forms/tramway/core/extendable_forms_helpers/more_properties_helper.rb
|
373
|
+
- app/forms/tramway/core/extendable_forms_helpers/properties_helper.rb
|
374
|
+
- app/forms/tramway/core/extendable_forms_helpers/submit/class_helpers.rb
|
375
|
+
- app/forms/tramway/core/extendable_forms_helpers/submit/object_helpers.rb
|
376
|
+
- app/forms/tramway/core/extendable_forms_helpers/validators.rb
|
364
377
|
- app/forms/tramway/core/extended_application_form.rb
|
365
378
|
- app/forms/tramway/core/form_creator.rb
|
379
|
+
- app/helpers/tramway/core/application_helper.rb
|
366
380
|
- app/helpers/tramway/core/copy_to_clipboard_helper.rb
|
381
|
+
- app/helpers/tramway/core/inputs_helper.rb
|
367
382
|
- app/helpers/tramway/core/title_helper.rb
|
368
383
|
- app/inputs/date_picker_input.rb
|
369
384
|
- app/models/tramway/core/application_record.rb
|
@@ -372,6 +387,7 @@ files:
|
|
372
387
|
- app/uploaders/image_defaults.rb
|
373
388
|
- app/uploaders/photo_uploader.rb
|
374
389
|
- app/views/tramway/core/404.haml
|
390
|
+
- app/views/tramway/core/shared/_input.html.haml
|
375
391
|
- app/views/tramway/core/shared/_input_extended.html.haml
|
376
392
|
- app/views/tramway/core/shared/_messages.html.haml
|
377
393
|
- app/views/tramway/core/shared/input_extended_types/_checkbox.html.haml
|
@@ -397,10 +413,12 @@ files:
|
|
397
413
|
- lib/string.rb
|
398
414
|
- lib/tasks/tramway/core_tasks.rake
|
399
415
|
- lib/tramway/collection.rb
|
416
|
+
- lib/tramway/collections.rb
|
400
417
|
- lib/tramway/collections/helper.rb
|
401
418
|
- lib/tramway/core.rb
|
402
419
|
- lib/tramway/core/application.rb
|
403
420
|
- lib/tramway/core/engine.rb
|
421
|
+
- lib/tramway/core/generators.rb
|
404
422
|
- lib/tramway/core/generators/install_generator.rb
|
405
423
|
- lib/tramway/core/generators/templates/initializers/simple_form.rb
|
406
424
|
- lib/tramway/core/generators/templates/initializers/simple_form_bootstrap.rb
|
@@ -408,7 +426,8 @@ files:
|
|
408
426
|
- lib/tramway/error.rb
|
409
427
|
- lib/tramway/helpers/class_name_helpers.rb
|
410
428
|
- lib/validators/presence_validator.rb
|
411
|
-
|
429
|
+
- lib/yaml/errors.yml
|
430
|
+
homepage: https://github.com/purple-magic/tramway-core
|
412
431
|
licenses:
|
413
432
|
- MIT
|
414
433
|
metadata: {}
|