avo 0.4.7 → 0.5.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of avo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile +36 -10
- data/Gemfile.lock +114 -88
- data/README.md +8 -0
- data/app/components/avo/common/badge_viewer_component.html.erb +24 -0
- data/app/components/avo/common/badge_viewer_component.rb +8 -0
- data/app/components/avo/common/boolean_check_component.html.erb +12 -0
- data/app/components/avo/common/boolean_check_component.rb +7 -0
- data/app/components/avo/common/boolean_group_component.html.erb +16 -0
- data/app/components/avo/common/boolean_group_component.rb +8 -0
- data/app/components/avo/common/files_list_viewer_component.html.erb +5 -0
- data/app/components/avo/common/files_list_viewer_component.rb +8 -0
- data/app/components/avo/common/gravatar_viewer_component.html.erb +12 -0
- data/app/components/avo/common/gravatar_viewer_component.rb +12 -0
- data/app/components/avo/common/heading_component.html.erb +13 -0
- data/app/components/avo/common/heading_component.rb +8 -0
- data/app/components/avo/common/multiple_file_viewer_component.html.erb +26 -0
- data/app/components/avo/common/multiple_file_viewer_component.rb +13 -0
- data/app/components/avo/common/single_file_viewer_component.html.erb +28 -0
- data/app/components/avo/common/single_file_viewer_component.rb +13 -0
- data/app/components/avo/common/status_viewer_component.html.erb +10 -0
- data/app/components/avo/common/status_viewer_component.rb +8 -0
- data/app/components/avo/edit/field_wrapper_component.html.erb +20 -0
- data/app/components/avo/edit/field_wrapper_component.rb +19 -0
- data/app/components/avo/edit/fields/belongs_to_field_component.html.erb +19 -0
- data/app/components/avo/edit/fields/belongs_to_field_component.rb +4 -0
- data/app/components/avo/edit/fields/boolean_field_component.html.erb +9 -0
- data/app/components/avo/edit/fields/boolean_field_component.rb +4 -0
- data/app/components/avo/edit/fields/boolean_group_field_component.html.erb +25 -0
- data/app/components/avo/edit/fields/boolean_group_field_component.rb +4 -0
- data/app/components/avo/edit/fields/code_field_component.html.erb +19 -0
- data/app/components/avo/edit/fields/code_field_component.rb +4 -0
- data/app/components/avo/edit/fields/country_field_component.html.erb +7 -0
- data/app/components/avo/edit/fields/country_field_component.rb +4 -0
- data/app/components/avo/edit/fields/date_field_component.html.erb +18 -0
- data/app/components/avo/edit/fields/date_field_component.rb +4 -0
- data/app/components/avo/edit/fields/date_time_field_component.html.erb +20 -0
- data/app/components/avo/edit/fields/date_time_field_component.rb +4 -0
- data/app/components/avo/edit/fields/external_image_field_component.html.erb +6 -0
- data/app/components/avo/edit/fields/external_image_field_component.rb +4 -0
- data/app/components/avo/edit/fields/field_component.rb +13 -0
- data/app/components/avo/edit/fields/file_field_component.html.erb +9 -0
- data/app/components/avo/edit/fields/file_field_component.rb +4 -0
- data/app/components/avo/edit/fields/files_field_component.html.erb +5 -0
- data/app/components/avo/edit/fields/files_field_component.rb +4 -0
- data/app/components/avo/edit/fields/heading_field_component.html.erb +3 -0
- data/app/components/avo/edit/fields/heading_field_component.rb +4 -0
- data/app/components/avo/edit/fields/hidden_field_component.html.erb +1 -0
- data/app/components/avo/edit/fields/hidden_field_component.rb +4 -0
- data/app/components/avo/edit/fields/id_field_component.html.erb +3 -0
- data/app/components/avo/edit/fields/id_field_component.rb +4 -0
- data/app/components/avo/edit/fields/markdown_field_component.html.erb +11 -0
- data/app/components/avo/edit/fields/markdown_field_component.rb +4 -0
- data/app/components/avo/edit/fields/number_field_component.html.erb +9 -0
- data/app/components/avo/edit/fields/number_field_component.rb +4 -0
- data/app/components/avo/edit/fields/password_field_component.html.erb +7 -0
- data/app/components/avo/edit/fields/password_field_component.rb +4 -0
- data/app/components/avo/edit/fields/select_field_component.html.erb +6 -0
- data/app/components/avo/edit/fields/select_field_component.rb +4 -0
- data/app/components/avo/edit/fields/status_field_component.html.erb +7 -0
- data/app/components/avo/edit/fields/status_field_component.rb +4 -0
- data/app/components/avo/edit/fields/text_field_component.html.erb +6 -0
- data/app/components/avo/edit/fields/text_field_component.rb +4 -0
- data/app/components/avo/edit/fields/textarea_field_component.html.erb +7 -0
- data/app/components/avo/edit/fields/textarea_field_component.rb +4 -0
- data/app/components/avo/edit/fields/trix_field_component.html.erb +11 -0
- data/app/components/avo/edit/fields/trix_field_component.rb +4 -0
- data/app/components/avo/index/field_wrapper_component.html.erb +7 -0
- data/app/components/avo/index/field_wrapper_component.rb +10 -0
- data/app/components/avo/index/fields/badge_field_component.html.erb +3 -0
- data/app/components/avo/index/fields/badge_field_component.rb +4 -0
- data/app/components/avo/index/fields/belongs_to_field_component.html.erb +7 -0
- data/app/components/avo/index/fields/belongs_to_field_component.rb +4 -0
- data/app/components/avo/index/fields/boolean_field_component.html.erb +3 -0
- data/app/components/avo/index/fields/boolean_field_component.rb +4 -0
- data/app/components/avo/index/fields/boolean_group_field_component.html.erb +3 -0
- data/app/components/avo/index/fields/boolean_group_field_component.rb +4 -0
- data/app/components/avo/index/fields/country_field_component.html.erb +7 -0
- data/app/components/avo/index/fields/country_field_component.rb +4 -0
- data/app/components/avo/index/fields/date_field_component.html.erb +3 -0
- data/app/components/avo/index/fields/date_field_component.rb +4 -0
- data/app/components/avo/index/fields/date_time_field_component.html.erb +3 -0
- data/app/components/avo/index/fields/date_time_field_component.rb +4 -0
- data/app/components/avo/index/fields/external_image_field_component.html.erb +9 -0
- data/app/components/avo/index/fields/external_image_field_component.rb +4 -0
- data/app/components/avo/index/fields/field_component.html.erb +1 -0
- data/app/components/avo/index/fields/field_component.rb +11 -0
- data/app/components/avo/index/fields/file_field_component.html.erb +11 -0
- data/app/components/avo/index/fields/file_field_component.rb +4 -0
- data/app/components/avo/index/fields/files_field_component.html.erb +3 -0
- data/app/components/avo/index/fields/files_field_component.rb +4 -0
- data/app/components/avo/index/fields/gravatar_field_component.html.erb +11 -0
- data/app/components/avo/index/fields/gravatar_field_component.rb +4 -0
- data/app/components/avo/index/fields/has_one_field_component.html.erb +7 -0
- data/app/components/avo/index/fields/has_one_field_component.rb +4 -0
- data/app/components/avo/index/fields/id_field_component.html.erb +10 -0
- data/app/components/avo/index/fields/id_field_component.rb +4 -0
- data/app/components/avo/index/fields/number_field_component.html.erb +3 -0
- data/app/components/avo/index/fields/number_field_component.rb +4 -0
- data/app/components/avo/index/fields/select_field_component.html.erb +3 -0
- data/app/components/avo/index/fields/select_field_component.rb +4 -0
- data/app/components/avo/index/fields/status_field_component.html.erb +3 -0
- data/app/components/avo/index/fields/status_field_component.rb +4 -0
- data/app/components/avo/index/fields/text_field_component.html.erb +3 -0
- data/app/components/avo/index/fields/text_field_component.rb +4 -0
- data/app/components/avo/index/grid_item_component.html.erb +41 -0
- data/app/components/avo/index/grid_item_component.rb +31 -0
- data/app/components/avo/index/resource_controls_component.html.erb +56 -0
- data/app/components/avo/index/resource_controls_component.rb +39 -0
- data/app/components/avo/index/resource_grid_component.html.erb +13 -0
- data/app/components/avo/index/resource_grid_component.rb +10 -0
- data/app/components/avo/index/resource_table_component.html.erb +16 -0
- data/app/components/avo/index/resource_table_component.rb +10 -0
- data/app/components/avo/index/table_row_component.html.erb +18 -0
- data/app/components/avo/index/table_row_component.rb +11 -0
- data/app/components/avo/loading_component.html.erb +10 -0
- data/app/components/avo/loading_component.rb +7 -0
- data/app/components/avo/modal_component.html.erb +20 -0
- data/app/components/avo/modal_component.rb +5 -0
- data/app/components/avo/navigation_heading_component.html.erb +3 -0
- data/app/components/avo/navigation_heading_component.rb +7 -0
- data/app/components/avo/navigation_link_component.html.erb +3 -0
- data/app/components/avo/navigation_link_component.rb +10 -0
- data/app/components/avo/panel_component.html.erb +27 -0
- data/app/components/avo/panel_component.rb +20 -0
- data/app/components/avo/resource_component.rb +14 -0
- data/app/components/avo/show/field_wrapper_component.html.erb +16 -0
- data/app/components/avo/show/field_wrapper_component.rb +15 -0
- data/app/components/avo/show/fields/badge_field_component.html.erb +3 -0
- data/app/components/avo/show/fields/badge_field_component.rb +4 -0
- data/app/components/avo/show/fields/belongs_to_field_component.html.erb +3 -0
- data/app/components/avo/show/fields/belongs_to_field_component.rb +4 -0
- data/app/components/avo/show/fields/boolean_field_component.html.erb +3 -0
- data/app/components/avo/show/fields/boolean_field_component.rb +4 -0
- data/app/components/avo/show/fields/boolean_group_field_component.html.erb +3 -0
- data/app/components/avo/show/fields/boolean_group_field_component.rb +4 -0
- data/app/components/avo/show/fields/code_field_component.html.erb +19 -0
- data/app/components/avo/show/fields/code_field_component.rb +4 -0
- data/app/components/avo/show/fields/country_field_component.html.erb +7 -0
- data/app/components/avo/show/fields/country_field_component.rb +4 -0
- data/app/components/avo/show/fields/date_field_component.html.erb +3 -0
- data/app/components/avo/show/fields/date_field_component.rb +4 -0
- data/app/components/avo/show/fields/date_time_field_component.html.erb +3 -0
- data/app/components/avo/show/fields/date_time_field_component.rb +4 -0
- data/app/components/avo/show/fields/external_image_field_component.html.erb +5 -0
- data/app/components/avo/show/fields/external_image_field_component.rb +4 -0
- data/app/components/avo/show/fields/field_component.rb +11 -0
- data/app/components/avo/show/fields/file_field_component.html.erb +3 -0
- data/app/components/avo/show/fields/file_field_component.rb +4 -0
- data/app/components/avo/show/fields/files_field_component.html.erb +3 -0
- data/app/components/avo/show/fields/files_field_component.rb +4 -0
- data/app/components/avo/show/fields/gravatar_field_component.html.erb +7 -0
- data/app/components/avo/show/fields/gravatar_field_component.rb +4 -0
- data/app/components/avo/show/fields/has_many_field_component.html.erb +3 -0
- data/app/components/avo/show/fields/has_many_field_component.rb +4 -0
- data/app/components/avo/show/fields/has_one_field_component.html.erb +19 -0
- data/app/components/avo/show/fields/has_one_field_component.rb +5 -0
- data/app/components/avo/show/fields/heading_field_component.html.erb +3 -0
- data/app/components/avo/show/fields/heading_field_component.rb +4 -0
- data/app/components/avo/show/fields/id_field_component.html.erb +3 -0
- data/app/components/avo/show/fields/id_field_component.rb +4 -0
- data/app/components/avo/show/fields/markdown_field_component.html.erb +10 -0
- data/app/components/avo/show/fields/markdown_field_component.rb +4 -0
- data/app/components/avo/show/fields/number_field_component.html.erb +3 -0
- data/app/components/avo/show/fields/number_field_component.rb +4 -0
- data/app/components/avo/show/fields/select_field_component.html.erb +3 -0
- data/app/components/avo/show/fields/select_field_component.rb +4 -0
- data/app/components/avo/show/fields/status_field_component.html.erb +3 -0
- data/app/components/avo/show/fields/status_field_component.rb +4 -0
- data/app/components/avo/show/fields/text_field_component.html.erb +3 -0
- data/app/components/avo/show/fields/text_field_component.rb +4 -0
- data/app/components/avo/show/fields/textarea_field_component.html.erb +3 -0
- data/app/components/avo/show/fields/textarea_field_component.rb +4 -0
- data/app/components/avo/show/fields/trix_field_component.html.erb +14 -0
- data/app/components/avo/show/fields/trix_field_component.rb +4 -0
- data/app/components/avo/views/resource_edit_component.html.erb +29 -0
- data/app/components/avo/views/resource_edit_component.rb +23 -0
- data/app/components/avo/views/resource_index_component.html.erb +62 -0
- data/app/components/avo/views/resource_index_component.rb +93 -0
- data/app/components/avo/views/resource_new_component.html.erb +25 -0
- data/app/components/avo/views/resource_new_component.rb +27 -0
- data/app/components/avo/views/resource_show_component.html.erb +64 -0
- data/app/components/avo/views/resource_show_component.rb +66 -0
- data/app/controllers/avo/actions_controller.rb +53 -22
- data/app/controllers/avo/application_controller.rb +183 -24
- data/app/controllers/avo/attachments_controller.rb +25 -0
- data/app/controllers/avo/base_controller.rb +229 -0
- data/app/controllers/avo/home_controller.rb +3 -0
- data/app/controllers/avo/relations_controller.rb +88 -19
- data/app/controllers/avo/resources_controller.rb +2 -259
- data/app/controllers/avo/search_controller.rb +7 -6
- data/app/frontend/css/alerts.css +35 -0
- data/app/frontend/css/application.css +73 -0
- data/app/frontend/css/components/code.css +27 -0
- data/app/frontend/css/components/status.css +30 -0
- data/app/frontend/css/fonts.css +26 -0
- data/app/frontend/css/loader.css +134 -0
- data/app/frontend/css/pagination.css +67 -0
- data/app/frontend/css/tailwindcss/base.css +1 -0
- data/app/frontend/css/tailwindcss/components.css +1 -0
- data/app/frontend/css/tailwindcss/utilities.css +1 -0
- data/app/frontend/css/tooltips.css +105 -0
- data/app/frontend/css/typography.css +23 -0
- data/app/frontend/fonts/nunito-v16-latin-700.eot +0 -0
- data/app/frontend/fonts/nunito-v16-latin-700.svg +388 -0
- data/app/frontend/fonts/nunito-v16-latin-700.ttf +0 -0
- data/app/frontend/fonts/nunito-v16-latin-700.woff +0 -0
- data/app/frontend/fonts/nunito-v16-latin-700.woff2 +0 -0
- data/app/frontend/fonts/nunito-v16-latin-regular.eot +0 -0
- data/app/frontend/fonts/nunito-v16-latin-regular.svg +380 -0
- data/app/frontend/fonts/nunito-v16-latin-regular.ttf +0 -0
- data/app/frontend/fonts/nunito-v16-latin-regular.woff +0 -0
- data/app/frontend/fonts/nunito-v16-latin-regular.woff2 +0 -0
- data/app/frontend/images/logo.png +0 -0
- data/app/frontend/importmap.json.erb +5 -0
- data/app/frontend/js/controllers/action_controller.js +32 -0
- data/app/frontend/js/controllers/actions_picker_controller.js +44 -0
- data/app/frontend/js/controllers/alerts_controller.js +26 -0
- data/app/frontend/js/controllers/attachments_controller.js +9 -0
- data/app/frontend/js/controllers/boolean_filter_controller.js +21 -0
- data/app/frontend/js/controllers/fields/code_field_controller.js +35 -0
- data/app/frontend/js/controllers/fields/date_field_controller.js +53 -0
- data/app/frontend/js/controllers/fields/simple_mde_controller.js +26 -0
- data/app/frontend/js/controllers/filter_controller.js +52 -0
- data/app/frontend/js/controllers/hidden_input_controller.js +10 -0
- data/app/frontend/js/controllers/item_selector_controller.js +68 -0
- data/app/frontend/js/controllers/modal_controller.js +11 -0
- data/app/frontend/js/controllers/per_page_controller.js +9 -0
- data/app/frontend/js/controllers/select_filter_controller.js +15 -0
- data/app/frontend/js/controllers/tippy_controller.js +14 -0
- data/app/frontend/js/controllers/toggle_panel_controller.js +18 -0
- data/app/frontend/js/helpers/cast_boolean.js +2 -0
- data/app/frontend/js/toastr.js +9 -0
- data/app/frontend/packs/application.js +45 -0
- data/{public/avo-packs/media/svgs/arrow-circle-right-1ad1e15ec9a7aa54b67d126566a5aa2d.svg → app/frontend/svgs/arrow-circle-right.svg} +0 -0
- data/{public/avo-packs/media/svgs/arrow-left-0e8e808ff771a62a348d0232c8ccf539.svg → app/frontend/svgs/arrow-left.svg} +0 -0
- data/{public/avo-packs/media/svgs/avocado-bca389be7cf81162df902dfbd09b8adb.svg → app/frontend/svgs/avocado.svg} +0 -0
- data/app/frontend/svgs/badge-check-sm.svg +3 -0
- data/{public/avo-packs/media/svgs/check-circle-be9e4dcbd25467ae9a3d3c6c5c7a09fa.svg → app/frontend/svgs/check-circle.svg} +0 -0
- data/{public/avo-packs/media/svgs/chevron-down-01208b17a1f70a1bb8d82bba131da4f4.svg → app/frontend/svgs/chevron-down.svg} +0 -0
- data/{public/avo-packs/media/svgs/chevron-up-25ecf340dd76966d5ed63c85c025befc.svg → app/frontend/svgs/chevron-up.svg} +0 -0
- data/{public/avo-packs/media/svgs/code-69010c6ddb6ad50be8677f16468c51f8.svg → app/frontend/svgs/code.svg} +0 -0
- data/{public/avo-packs/media/svgs/color-swatch-60cf90fb6b5386e38f3b003f34e7ecbe.svg → app/frontend/svgs/color-swatch.svg} +0 -0
- data/app/frontend/svgs/document-text.svg +3 -0
- data/{public/avo-packs/media/svgs/download-c6ae3f12364a467c28cbf41dc90afbdd.svg → app/frontend/svgs/download.svg} +0 -0
- data/{public/avo-packs/media/svgs/edit-46c6dbef52ba6ddfc9afbc37186dfa2b.svg → app/frontend/svgs/edit.svg} +0 -0
- data/app/frontend/svgs/exclamation-circle-sm.svg +3 -0
- data/app/frontend/svgs/exclamation-sm.svg +3 -0
- data/{public/avo-packs/media/svgs/exclamation-8d1c0baa390a8df9bb52176011eb5892.svg → app/frontend/svgs/exclamation.svg} +0 -0
- data/{public/avo-packs/media/svgs/eye-cc6f85c70ebed6929712a5c7d51f102d.svg → app/frontend/svgs/eye.svg} +0 -0
- data/{public/avo-packs/media/svgs/filter-0007cddbc85cfe207f9876d4d184444a.svg → app/frontend/svgs/filter.svg} +0 -0
- data/{public/avo-packs/media/svgs/fire-782f08df79993311b6d907e12d9ebe9f.svg → app/frontend/svgs/fire.svg} +0 -0
- data/{public/avo-packs/media/svgs/game-board-6c59fe04181ac9954356c9f1f4d28053.svg → app/frontend/svgs/game-board.svg} +0 -0
- data/{public/avo-packs/media/svgs/globe-dfd9977c9d65814d2fc576904406dd08.svg → app/frontend/svgs/globe.svg} +0 -0
- data/app/frontend/svgs/information-circle-sm.svg +3 -0
- data/app/frontend/svgs/information-circle.svg +1 -0
- data/{public/avo-packs/media/svgs/library-7d391192a15da64fbb527908c9e035c7.svg → app/frontend/svgs/library.svg} +0 -0
- data/{public/avo-packs/media/svgs/photograph-9f37f1f5e6a48e68ce3b7d9cbe7b6fad.svg → app/frontend/svgs/photograph.svg} +0 -0
- data/app/frontend/svgs/play.svg +1 -0
- data/{public/avo-packs/media/svgs/plus-circle-b379b2a2aa803511ae5945b6fd323204.svg → app/frontend/svgs/plus-circle.svg} +0 -0
- data/{public/avo-packs/media/svgs/plus-530f0af27b9f1a4552454233c2f9a641.svg → app/frontend/svgs/plus.svg} +0 -0
- data/{public/avo-packs/media/svgs/question-mark-circle-3ece1d61091827910cdd097db711062b.svg → app/frontend/svgs/question-mark-circle.svg} +0 -0
- data/{public/avo-packs/media/svgs/save-e54acd7ac9646053e36382776f822756.svg → app/frontend/svgs/save.svg} +0 -0
- data/{public/avo-packs/media/svgs/selector-b43b3957d7cc121d06be14312613c218.svg → app/frontend/svgs/selector.svg} +0 -0
- data/{public/avo-packs/media/svgs/sort-ascending-f5bc0761702809cab20b0ea3065cb88a.svg → app/frontend/svgs/sort-ascending.svg} +0 -0
- data/{public/avo-packs/media/svgs/sort-descending-1c8ddc56c72be6781e59d808f9d06203.svg → app/frontend/svgs/sort-descending.svg} +0 -0
- data/{public/avo-packs/media/svgs/switch-horizontal-d23337f0fb533a86d14b746d25ad48ae.svg → app/frontend/svgs/switch-horizontal.svg} +0 -0
- data/{public/avo-packs/media/svgs/thumbs-down-44f83eacbf5b8fe0f2f085da75866ce0.svg → app/frontend/svgs/thumbs-down.svg} +0 -0
- data/{public/avo-packs/media/svgs/thumbs-up-b866900017db179b50d6b19a1424ed25.svg → app/frontend/svgs/thumbs-up.svg} +0 -0
- data/app/frontend/svgs/times.svg +3 -0
- data/app/frontend/svgs/trash-sm.svg +3 -0
- data/{public/avo-packs/media/svgs/trash-a61412a066e358bcc24494a5080b7255.svg → app/frontend/svgs/trash.svg} +0 -0
- data/{public/avo-packs/media/svgs/view-grid-add-d0ee477a044e5d46c0c62af66cb6de77.svg → app/frontend/svgs/view-grid-add.svg} +0 -0
- data/{public/avo-packs/media/svgs/view-grid-393669034db69f59497616d5416ae411.svg → app/frontend/svgs/view-grid.svg} +0 -0
- data/{public/avo-packs/media/svgs/view-list-8a7a159ca5d892f72cf8c6744a2074e2.svg → app/frontend/svgs/view-list.svg} +0 -0
- data/{public/avo-packs/media/svgs/x-circle-c540f9ccfe937ad9b4f662e0b65e47e2.svg → app/frontend/svgs/x-circle.svg} +0 -0
- data/app/helpers/avo/actions_helper.rb +4 -0
- data/app/helpers/avo/application_helper.rb +156 -3
- data/app/helpers/avo/attachments_helper.rb +4 -0
- data/app/helpers/avo/resources_helper.rb +101 -0
- data/app/views/avo/actions/show.html.erb +71 -0
- data/app/views/avo/attachments/show.html.erb +7 -0
- data/app/views/avo/base/_actions.html.erb +36 -0
- data/app/views/avo/base/_boolean_filter.html.erb +33 -0
- data/app/views/avo/base/_filters.html.erb +37 -0
- data/app/views/avo/base/_select_filter.html.erb +20 -0
- data/app/views/avo/base/edit.html.erb +1 -0
- data/app/views/avo/base/index.html.erb +15 -0
- data/app/views/avo/base/new.html.erb +1 -0
- data/app/views/avo/base/show.html.erb +3 -0
- data/app/views/avo/home/_actions.html.erb +16 -0
- data/app/views/avo/home/_docs.html.erb +9 -0
- data/app/views/avo/home/_filters.html.erb +16 -0
- data/app/views/avo/home/_resources.html.erb +29 -0
- data/app/views/avo/home/index.html.erb +54 -3
- data/app/views/avo/partials/_a_button.html.erb +7 -0
- data/app/views/avo/partials/_a_link.html.erb +7 -0
- data/app/views/avo/partials/_alert.html.erb +1 -0
- data/app/views/avo/partials/_alerts.html.erb +3 -0
- data/app/views/avo/partials/_empty_state.html.erb +17 -0
- data/app/views/{partials → avo/partials}/_footer.html.erb +0 -0
- data/app/views/{partials → avo/partials}/_header.html.erb +0 -0
- data/app/views/avo/partials/_javascript.html.erb +3 -0
- data/app/views/{partials → avo/partials}/_logo.html.erb +0 -0
- data/app/views/avo/partials/_paginator.html.erb +30 -0
- data/app/views/avo/partials/_sortable_component.html.erb +14 -0
- data/app/views/avo/partials/_table_header.html.erb +50 -0
- data/app/views/avo/partials/_view_toggle_button.html.erb +17 -0
- data/app/views/avo/relations/new.html.erb +29 -0
- data/app/views/avo/sidebar/_license_warning.html.erb +12 -0
- data/app/views/avo/sidebar/_license_warnings.html.erb +6 -0
- data/app/views/avo/sidebar/_sidebar.html.erb +23 -0
- data/app/views/kaminari/_first_page.html.erb +3 -0
- data/app/views/kaminari/_last_page.html.erb +3 -0
- data/app/views/kaminari/_next_page.html.erb +9 -0
- data/app/views/kaminari/_page.html.erb +12 -0
- data/app/views/kaminari/_prev_page.html.erb +9 -0
- data/app/views/layouts/avo/_filter_wrapper.html.erb +8 -0
- data/app/views/layouts/avo/application.html.erb +28 -40
- data/app/views/layouts/avo/application_vue.html.erb +61 -0
- data/avo.gemspec +5 -2
- data/bin/helpers.rb +34 -0
- data/bin/init +35 -0
- data/bin/rspec +8 -0
- data/bin/spring +17 -0
- data/bin/test +21 -0
- data/bin/webpack +9 -10
- data/bin/webpack-dev-server +9 -10
- data/config/cable.yml +11 -0
- data/config/initializers/inline_svg.rb +33 -0
- data/config/initializers/pagy.rb +1 -0
- data/config/routes.rb +22 -18
- data/config/spring.rb +7 -0
- data/config/webpack/environment.js +14 -10
- data/config/webpacker.yml +5 -4
- data/config/webpacker_packed.yml +86 -0
- data/db/factories.rb +10 -3
- data/db/migrate/20210305082639_add_url_to_teams.rb +5 -0
- data/lib/avo.rb +3 -0
- data/lib/avo/app/action.rb +50 -61
- data/lib/avo/app/actions_loader.rb +11 -0
- data/lib/avo/app/app.rb +57 -45
- data/lib/avo/app/fields/badge_field.rb +3 -30
- data/lib/avo/app/fields/belongs_to.rb +38 -50
- data/lib/avo/app/fields/boolean_field.rb +8 -10
- data/lib/avo/app/fields/boolean_group_field.rb +13 -11
- data/lib/avo/app/fields/code_field.rb +11 -9
- data/lib/avo/app/fields/country_field.rb +12 -21
- data/lib/avo/app/fields/currency_field.rb +1 -2
- data/lib/avo/app/fields/date_field.rb +16 -11
- data/lib/avo/app/fields/date_time_field.rb +38 -0
- data/lib/avo/app/fields/external_image_field.rb +24 -0
- data/lib/avo/app/fields/field.rb +76 -84
- data/lib/avo/app/fields/field_extensions/visible_in_different_views.rb +5 -5
- data/lib/avo/app/fields/file_field.rb +8 -14
- data/lib/avo/app/fields/files_field.rb +10 -18
- data/lib/avo/app/fields/gravatar_field.rb +18 -13
- data/lib/avo/app/fields/has_and_belongs_to_many.rb +13 -24
- data/lib/avo/app/fields/has_many.rb +13 -26
- data/lib/avo/app/fields/has_one.rb +23 -30
- data/lib/avo/app/fields/heading_field.rb +2 -8
- data/lib/avo/app/fields/hidden_field.rb +2 -2
- data/lib/avo/app/fields/id_field.rb +2 -8
- data/lib/avo/app/fields/key_value_field.rb +5 -2
- data/lib/avo/app/fields/markdown_field.rb +1 -1
- data/lib/avo/app/fields/number_field.rb +5 -12
- data/lib/avo/app/fields/password_field.rb +1 -1
- data/lib/avo/app/fields/select_field.rb +33 -10
- data/lib/avo/app/fields/status_field.rb +9 -7
- data/lib/avo/app/fields/text_field.rb +1 -8
- data/lib/avo/app/fields/textarea_field.rb +2 -9
- data/lib/avo/app/fields/trix_field.rb +3 -7
- data/lib/avo/app/fields_loader.rb +29 -0
- data/lib/avo/app/filter.rb +0 -11
- data/lib/avo/app/licensing/hq.rb +3 -3
- data/lib/avo/app/licensing/license.rb +1 -1
- data/lib/avo/app/resource.rb +184 -126
- data/lib/avo/app/services/authorization_service.rb +68 -6
- data/lib/avo/app/services/panel_service.rb +25 -0
- data/lib/avo/configuration.rb +6 -0
- data/lib/avo/engine.rb +4 -1
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/controller_generator.rb +13 -0
- data/lib/generators/avo/locales_generator.rb +12 -0
- data/lib/generators/avo/partials_generator.rb +8 -0
- data/lib/generators/avo/resource_generator.rb +16 -2
- data/lib/generators/avo/templates/action.rb +3 -3
- data/lib/generators/avo/templates/filters/boolean_filter.rb +2 -2
- data/lib/generators/avo/templates/filters/select_filter.rb +2 -2
- data/lib/generators/avo/templates/initializer/avo.rb +3 -4
- data/lib/generators/avo/templates/locales/avo.en.yml +22 -1
- data/lib/generators/avo/templates/partials/_footer.html.erb +3 -0
- data/lib/generators/avo/templates/partials/_header.html.erb +1 -0
- data/lib/generators/avo/templates/{views → partials}/_logo.html.erb +0 -0
- data/lib/generators/avo/templates/{views → partials}/_scripts.html.erb +0 -0
- data/lib/generators/avo/templates/resource/%plural_name%_controller.tt +2 -0
- data/lib/generators/avo/templates/resource/%singular_name%.tt +20 -0
- data/public/avo-packs/css/application-3598cfbb.css +6 -0
- data/public/avo-packs/css/application-3598cfbb.css.br +0 -0
- data/public/avo-packs/css/application-3598cfbb.css.gz +0 -0
- data/public/avo-packs/js/1-0565987ca0c3045602ad.chunk.js +2 -0
- data/public/avo-packs/js/1-0565987ca0c3045602ad.chunk.js.br +0 -0
- data/public/avo-packs/js/1-0565987ca0c3045602ad.chunk.js.gz +0 -0
- data/public/avo-packs/js/1-0565987ca0c3045602ad.chunk.js.map +1 -0
- data/public/avo-packs/js/1-0565987ca0c3045602ad.chunk.js.map.br +0 -0
- data/public/avo-packs/js/1-0565987ca0c3045602ad.chunk.js.map.gz +0 -0
- data/public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js +26 -0
- data/public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js.LICENSE.txt +77 -0
- data/public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js.br +0 -0
- data/public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js.gz +0 -0
- data/public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js.map +1 -0
- data/public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js.map.br +0 -0
- data/public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js.map.gz +0 -0
- data/public/avo-packs/manifest.json +17 -46
- data/public/avo-packs/manifest.json.br +0 -0
- data/public/avo-packs/manifest.json.gz +0 -0
- data/public/avo-packs/media/fonts/nunito-v16-latin-700-2cc22f9c0cf217cbfc371f3b74992305.ttf +0 -0
- data/public/avo-packs/media/fonts/nunito-v16-latin-700-2cc22f9c0cf217cbfc371f3b74992305.ttf.br +0 -0
- data/public/avo-packs/media/fonts/nunito-v16-latin-700-2cc22f9c0cf217cbfc371f3b74992305.ttf.gz +0 -0
- data/public/avo-packs/media/fonts/nunito-v16-latin-700-35bd1c96bc2e402cf22ea812ae067995.svg +388 -0
- data/public/avo-packs/media/fonts/nunito-v16-latin-700-35bd1c96bc2e402cf22ea812ae067995.svg.br +0 -0
- data/public/avo-packs/media/fonts/nunito-v16-latin-700-35bd1c96bc2e402cf22ea812ae067995.svg.gz +0 -0
- data/public/avo-packs/media/fonts/nunito-v16-latin-700-412073df419ad5f6f8f2ea76eb4aced9.woff2 +0 -0
- data/public/avo-packs/media/fonts/nunito-v16-latin-700-7c472b19cb573f537bad8ef62ca917ac.woff +0 -0
- data/public/avo-packs/media/fonts/nunito-v16-latin-700-df7e79af617f98cd3b95d320e8b2a1af.eot +0 -0
- data/public/avo-packs/media/fonts/nunito-v16-latin-regular-00fbd8a72a3708b8314cce5f0515640e.svg +380 -0
- data/public/avo-packs/media/fonts/nunito-v16-latin-regular-00fbd8a72a3708b8314cce5f0515640e.svg.br +0 -0
- data/public/avo-packs/media/fonts/nunito-v16-latin-regular-00fbd8a72a3708b8314cce5f0515640e.svg.gz +0 -0
- data/public/avo-packs/media/fonts/nunito-v16-latin-regular-2fae1e2418251b68fe5d0505ab93dd5c.eot +0 -0
- data/public/avo-packs/media/fonts/nunito-v16-latin-regular-bcf84d6cb8a0ac214c8c14ba9af834f3.woff2 +0 -0
- data/public/avo-packs/media/fonts/nunito-v16-latin-regular-cb632c9fe211ba2c2bf1564c9a9295cc.woff +0 -0
- data/public/avo-packs/media/fonts/nunito-v16-latin-regular-df8c4bee41b6ca0ed2b7b71456ed7fbb.ttf +0 -0
- data/public/avo-packs/media/fonts/nunito-v16-latin-regular-df8c4bee41b6ca0ed2b7b71456ed7fbb.ttf.br +0 -0
- data/public/avo-packs/media/fonts/nunito-v16-latin-regular-df8c4bee41b6ca0ed2b7b71456ed7fbb.ttf.gz +0 -0
- metadata +427 -140
- data/app/controllers/avo/filters_controller.rb +0 -19
- data/app/controllers/avo/resource_overview_controller.rb +0 -24
- data/app/views/avo/home/router.html.erb +0 -8
- data/app/views/layouts/avo/_javascript.html.erb +0 -8
- data/app/views/layouts/avo/_translations.html.erb +0 -5
- data/config/webpack/loaders/vue-post-css.js +0 -20
- data/config/webpack/loaders/vue-svg.js +0 -21
- data/config/webpack/loaders/vue.js +0 -6
- data/lib/avo/app/fields/datetime_field.rb +0 -34
- data/lib/avo/app/resource_actions.rb +0 -18
- data/lib/avo/app/resource_fields.rb +0 -26
- data/lib/avo/app/resource_filters.rb +0 -18
- data/lib/generators/avo/templates/resource.rb +0 -14
- data/lib/generators/avo/templates/views/_footer.html.erb +0 -3
- data/lib/generators/avo/templates/views/_header.html.erb +0 -1
- data/lib/generators/avo/views_generator.rb +0 -8
- data/public/avo-packs/css/application-c9595d99.css +0 -3
- data/public/avo-packs/css/application-c9595d99.css.br +0 -0
- data/public/avo-packs/css/application-c9595d99.css.gz +0 -0
- data/public/avo-packs/js/application-144b5ffff4c561077ba5.js +0 -3
- data/public/avo-packs/js/application-144b5ffff4c561077ba5.js.LICENSE.txt +0 -767
- data/public/avo-packs/js/application-144b5ffff4c561077ba5.js.br +0 -0
- data/public/avo-packs/js/application-144b5ffff4c561077ba5.js.gz +0 -0
- data/public/avo-packs/js/application-144b5ffff4c561077ba5.js.map +0 -1
- data/public/avo-packs/js/application-144b5ffff4c561077ba5.js.map.br +0 -0
- data/public/avo-packs/js/application-144b5ffff4c561077ba5.js.map.gz +0 -0
- data/public/avo-packs/media/font/fontello-068ca2b3.ttf +0 -0
- data/public/avo-packs/media/font/fontello-068ca2b3.ttf.br +0 -0
- data/public/avo-packs/media/font/fontello-068ca2b3.ttf.gz +0 -0
- data/public/avo-packs/media/font/fontello-8d4a4e6f.woff2 +0 -0
- data/public/avo-packs/media/font/fontello-9354499c.svg +0 -72
- data/public/avo-packs/media/font/fontello-9354499c.svg.br +0 -0
- data/public/avo-packs/media/font/fontello-9354499c.svg.gz +0 -0
- data/public/avo-packs/media/font/fontello-a782baa8.woff +0 -0
- data/public/avo-packs/media/font/fontello-e73a0647.eot +0 -0
- data/public/avo-packs/media/font/fontello-e73a0647.eot.br +0 -0
- data/public/avo-packs/media/font/fontello-e73a0647.eot.gz +0 -0
- data/public/avo-packs/media/svgs/arrow-circle-right-1ad1e15ec9a7aa54b67d126566a5aa2d.svg.br +0 -0
- data/public/avo-packs/media/svgs/arrow-circle-right-1ad1e15ec9a7aa54b67d126566a5aa2d.svg.gz +0 -0
- data/public/avo-packs/media/svgs/arrow-left-0e8e808ff771a62a348d0232c8ccf539.svg.br +0 -0
- data/public/avo-packs/media/svgs/avocado-bca389be7cf81162df902dfbd09b8adb.svg.br +0 -0
- data/public/avo-packs/media/svgs/avocado-bca389be7cf81162df902dfbd09b8adb.svg.gz +0 -0
- data/public/avo-packs/media/svgs/check-circle-be9e4dcbd25467ae9a3d3c6c5c7a09fa.svg.br +0 -0
- data/public/avo-packs/media/svgs/chevron-down-01208b17a1f70a1bb8d82bba131da4f4.svg.br +0 -0
- data/public/avo-packs/media/svgs/chevron-down-01208b17a1f70a1bb8d82bba131da4f4.svg.gz +0 -0
- data/public/avo-packs/media/svgs/chevron-up-25ecf340dd76966d5ed63c85c025befc.svg.br +0 -0
- data/public/avo-packs/media/svgs/chevron-up-25ecf340dd76966d5ed63c85c025befc.svg.gz +0 -0
- data/public/avo-packs/media/svgs/code-69010c6ddb6ad50be8677f16468c51f8.svg.br +0 -0
- data/public/avo-packs/media/svgs/color-swatch-60cf90fb6b5386e38f3b003f34e7ecbe.svg.br +0 -0
- data/public/avo-packs/media/svgs/color-swatch-60cf90fb6b5386e38f3b003f34e7ecbe.svg.gz +0 -0
- data/public/avo-packs/media/svgs/download-c6ae3f12364a467c28cbf41dc90afbdd.svg.br +0 -0
- data/public/avo-packs/media/svgs/download-c6ae3f12364a467c28cbf41dc90afbdd.svg.gz +0 -0
- data/public/avo-packs/media/svgs/edit-46c6dbef52ba6ddfc9afbc37186dfa2b.svg.br +0 -0
- data/public/avo-packs/media/svgs/edit-46c6dbef52ba6ddfc9afbc37186dfa2b.svg.gz +0 -0
- data/public/avo-packs/media/svgs/exclamation-8d1c0baa390a8df9bb52176011eb5892.svg.br +0 -0
- data/public/avo-packs/media/svgs/exclamation-8d1c0baa390a8df9bb52176011eb5892.svg.gz +0 -0
- data/public/avo-packs/media/svgs/eye-cc6f85c70ebed6929712a5c7d51f102d.svg.br +0 -1
- data/public/avo-packs/media/svgs/eye-cc6f85c70ebed6929712a5c7d51f102d.svg.gz +0 -0
- data/public/avo-packs/media/svgs/filter-0007cddbc85cfe207f9876d4d184444a.svg.br +0 -0
- data/public/avo-packs/media/svgs/filter-0007cddbc85cfe207f9876d4d184444a.svg.gz +0 -0
- data/public/avo-packs/media/svgs/fire-782f08df79993311b6d907e12d9ebe9f.svg.br +0 -0
- data/public/avo-packs/media/svgs/fire-782f08df79993311b6d907e12d9ebe9f.svg.gz +0 -0
- data/public/avo-packs/media/svgs/game-board-6c59fe04181ac9954356c9f1f4d28053.svg.br +0 -0
- data/public/avo-packs/media/svgs/game-board-6c59fe04181ac9954356c9f1f4d28053.svg.gz +0 -0
- data/public/avo-packs/media/svgs/globe-dfd9977c9d65814d2fc576904406dd08.svg.br +0 -0
- data/public/avo-packs/media/svgs/globe-dfd9977c9d65814d2fc576904406dd08.svg.gz +0 -0
- data/public/avo-packs/media/svgs/library-7d391192a15da64fbb527908c9e035c7.svg.br +0 -0
- data/public/avo-packs/media/svgs/photograph-9f37f1f5e6a48e68ce3b7d9cbe7b6fad.svg.br +0 -2
- data/public/avo-packs/media/svgs/photograph-9f37f1f5e6a48e68ce3b7d9cbe7b6fad.svg.gz +0 -0
- data/public/avo-packs/media/svgs/plus-530f0af27b9f1a4552454233c2f9a641.svg.br +0 -0
- data/public/avo-packs/media/svgs/plus-circle-b379b2a2aa803511ae5945b6fd323204.svg.br +0 -0
- data/public/avo-packs/media/svgs/question-mark-circle-3ece1d61091827910cdd097db711062b.svg.br +0 -0
- data/public/avo-packs/media/svgs/question-mark-circle-3ece1d61091827910cdd097db711062b.svg.gz +0 -0
- data/public/avo-packs/media/svgs/save-e54acd7ac9646053e36382776f822756.svg.br +0 -0
- data/public/avo-packs/media/svgs/save-e54acd7ac9646053e36382776f822756.svg.gz +0 -0
- data/public/avo-packs/media/svgs/selector-b43b3957d7cc121d06be14312613c218.svg.br +0 -0
- data/public/avo-packs/media/svgs/sort-ascending-f5bc0761702809cab20b0ea3065cb88a.svg.br +0 -0
- data/public/avo-packs/media/svgs/sort-descending-1c8ddc56c72be6781e59d808f9d06203.svg.br +0 -0
- data/public/avo-packs/media/svgs/switch-horizontal-d23337f0fb533a86d14b746d25ad48ae.svg.br +0 -2
- data/public/avo-packs/media/svgs/switch-horizontal-d23337f0fb533a86d14b746d25ad48ae.svg.gz +0 -0
- data/public/avo-packs/media/svgs/thumbs-down-44f83eacbf5b8fe0f2f085da75866ce0.svg.br +0 -0
- data/public/avo-packs/media/svgs/thumbs-down-44f83eacbf5b8fe0f2f085da75866ce0.svg.gz +0 -0
- data/public/avo-packs/media/svgs/thumbs-up-b866900017db179b50d6b19a1424ed25.svg.br +0 -4
- data/public/avo-packs/media/svgs/thumbs-up-b866900017db179b50d6b19a1424ed25.svg.gz +0 -0
- data/public/avo-packs/media/svgs/times-539256e95a00360c3bbc6160c6b695cd.svg +0 -1
- data/public/avo-packs/media/svgs/times-539256e95a00360c3bbc6160c6b695cd.svg.br +0 -0
- data/public/avo-packs/media/svgs/times-539256e95a00360c3bbc6160c6b695cd.svg.gz +0 -0
- data/public/avo-packs/media/svgs/trash-a61412a066e358bcc24494a5080b7255.svg.br +0 -0
- data/public/avo-packs/media/svgs/trash-a61412a066e358bcc24494a5080b7255.svg.gz +0 -0
- data/public/avo-packs/media/svgs/view-grid-393669034db69f59497616d5416ae411.svg.br +0 -1
- data/public/avo-packs/media/svgs/view-grid-393669034db69f59497616d5416ae411.svg.gz +0 -0
- data/public/avo-packs/media/svgs/view-grid-add-d0ee477a044e5d46c0c62af66cb6de77.svg.br +0 -0
- data/public/avo-packs/media/svgs/view-grid-add-d0ee477a044e5d46c0c62af66cb6de77.svg.gz +0 -0
- data/public/avo-packs/media/svgs/view-list-8a7a159ca5d892f72cf8c6744a2074e2.svg.br +0 -3
- data/public/avo-packs/media/svgs/view-list-8a7a159ca5d892f72cf8c6744a2074e2.svg.gz +0 -0
- data/public/avo-packs/media/svgs/x-circle-c540f9ccfe937ad9b4f662e0b65e47e2.svg.br +0 -0
- data/public/avo-packs/media/svgs/x-circle-c540f9ccfe937ad9b4f662e0b65e47e2.svg.gz +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 714d80a0c55444d87252f30e9233fe5db432136e9cd4ba0ad9851a57fd73b37e
|
4
|
+
data.tar.gz: 184d84ab6338864f1b0479c344278544422cb3967acff3dd6063148a446211fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc03e6bcd02b5f628e063f94188cf3293f747ee0f53bfcae46cf198bd1074c5da9304c94024e7a3fbcada4a6ee7342f0f20e9c9659dd57e2a6cd8d4d3bd686c2
|
7
|
+
data.tar.gz: b7a1c8fdf844e0064eef6df2449b501a75e0ed4f06499c6f74187654f16b02f316690076c00f3bafe98641a651b05c722cabd1c81f080eac0ffab03302754ac3
|
data/Gemfile
CHANGED
@@ -15,7 +15,7 @@ gemspec
|
|
15
15
|
# gem 'byebug', group: [:development, :test]
|
16
16
|
|
17
17
|
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
|
18
|
-
gem 'webpacker', '~>
|
18
|
+
gem 'webpacker', '~> 5.x'
|
19
19
|
|
20
20
|
# SVGs
|
21
21
|
gem 'inline_svg'
|
@@ -25,7 +25,9 @@ gem 'countries'
|
|
25
25
|
# Authorization
|
26
26
|
gem 'pundit'
|
27
27
|
|
28
|
+
#
|
28
29
|
# Dependencies for dummy_app
|
30
|
+
#
|
29
31
|
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
30
32
|
gem 'rails', '~> 6.0.2', '>= 6.0.2.2'
|
31
33
|
# Use postgresql as the database for Active Record
|
@@ -44,7 +46,7 @@ gem 'jbuilder', '~> 2.7'
|
|
44
46
|
# gem 'bcrypt', '~> 3.1.7'
|
45
47
|
|
46
48
|
# Use Active Storage variant
|
47
|
-
|
49
|
+
gem 'image_processing', '~> 1.2'
|
48
50
|
|
49
51
|
# Reduces boot times through caching; required in config/boot.rb
|
50
52
|
gem 'bootsnap', '>= 1.4.2', require: false
|
@@ -56,10 +58,8 @@ gem 'web-console', '>= 3.3.0'
|
|
56
58
|
gem 'listen', '>= 3.0.5', '< 3.2'
|
57
59
|
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
58
60
|
gem 'spring'
|
59
|
-
gem 'spring-watcher-listen', '~> 2.0.0'
|
60
61
|
|
61
62
|
gem 'factory_bot_rails'
|
62
|
-
gem 'faker', require: false
|
63
63
|
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
64
64
|
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
65
65
|
|
@@ -68,32 +68,58 @@ gem 'database_cleaner'
|
|
68
68
|
|
69
69
|
gem 'ruby-debug-ide', require: false
|
70
70
|
gem 'debase'
|
71
|
+
#
|
72
|
+
# END Dependencies for dummy_app
|
73
|
+
#
|
71
74
|
|
72
|
-
group :development
|
75
|
+
group :development do
|
76
|
+
gem 'rubocop'
|
77
|
+
|
78
|
+
# Release helper
|
79
|
+
gem 'bump', require: false
|
80
|
+
gem 'gem-release', require: false
|
81
|
+
gem 'faker', require: false
|
82
|
+
|
83
|
+
# gem 'rack-mini-profiler'
|
84
|
+
# gem 'memory_profiler'
|
85
|
+
# gem 'stackprof'
|
86
|
+
# gem 'ruby-prof'
|
87
|
+
|
88
|
+
|
89
|
+
# gem 'pry-rails'
|
90
|
+
end
|
91
|
+
|
92
|
+
group :test do
|
73
93
|
gem 'rspec-rails', '~> 4.0.0'
|
94
|
+
gem 'rails-controller-testing'
|
74
95
|
# Adds support for Capybara system testing and selenium driver
|
75
96
|
gem 'capybara', '>= 2.15'
|
76
97
|
gem 'selenium-webdriver'
|
77
98
|
# Easy installation and use of web drivers to run system tests with browsers
|
78
99
|
gem 'webdrivers'
|
100
|
+
gem 'faker'
|
79
101
|
gem 'fuubar'
|
80
|
-
gem 'rubocop'
|
81
102
|
gem 'simplecov', require: false
|
82
103
|
gem 'simplecov-cobertura'
|
83
104
|
gem 'webmock'
|
105
|
+
gem 'spring-commands-rspec'
|
84
106
|
|
85
|
-
|
86
|
-
gem 'bump', require: false
|
87
|
-
gem 'gem-release', require: false
|
107
|
+
gem 'test-prof'
|
88
108
|
end
|
89
109
|
|
90
110
|
gem 'zeitwerk', '~> 2.3'
|
91
111
|
|
92
112
|
# Pagination
|
93
|
-
gem '
|
113
|
+
gem 'pagy'
|
94
114
|
|
95
115
|
gem 'httparty'
|
96
116
|
|
97
117
|
gem 'iso'
|
98
118
|
|
99
119
|
gem 'i18n-js'
|
120
|
+
|
121
|
+
gem 'hotwire-rails'
|
122
|
+
|
123
|
+
gem 'active_link_to'
|
124
|
+
|
125
|
+
gem 'view_component', require: 'view_component/engine'
|
data/Gemfile.lock
CHANGED
@@ -1,70 +1,77 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
avo (0.
|
4
|
+
avo (0.5.0.beta2)
|
5
|
+
active_link_to
|
5
6
|
countries
|
7
|
+
hotwire-rails
|
6
8
|
httparty
|
7
9
|
i18n-js
|
10
|
+
image_processing
|
8
11
|
inline_svg
|
9
|
-
|
12
|
+
pagy
|
10
13
|
pundit
|
11
14
|
rails (>= 6.0)
|
15
|
+
view_component
|
12
16
|
webpacker
|
13
17
|
zeitwerk
|
14
18
|
|
15
19
|
GEM
|
16
20
|
remote: https://rubygems.org/
|
17
21
|
specs:
|
18
|
-
actioncable (6.0.3.
|
19
|
-
actionpack (= 6.0.3.
|
22
|
+
actioncable (6.0.3.5)
|
23
|
+
actionpack (= 6.0.3.5)
|
20
24
|
nio4r (~> 2.0)
|
21
25
|
websocket-driver (>= 0.6.1)
|
22
|
-
actionmailbox (6.0.3.
|
23
|
-
actionpack (= 6.0.3.
|
24
|
-
activejob (= 6.0.3.
|
25
|
-
activerecord (= 6.0.3.
|
26
|
-
activestorage (= 6.0.3.
|
27
|
-
activesupport (= 6.0.3.
|
26
|
+
actionmailbox (6.0.3.5)
|
27
|
+
actionpack (= 6.0.3.5)
|
28
|
+
activejob (= 6.0.3.5)
|
29
|
+
activerecord (= 6.0.3.5)
|
30
|
+
activestorage (= 6.0.3.5)
|
31
|
+
activesupport (= 6.0.3.5)
|
28
32
|
mail (>= 2.7.1)
|
29
|
-
actionmailer (6.0.3.
|
30
|
-
actionpack (= 6.0.3.
|
31
|
-
actionview (= 6.0.3.
|
32
|
-
activejob (= 6.0.3.
|
33
|
+
actionmailer (6.0.3.5)
|
34
|
+
actionpack (= 6.0.3.5)
|
35
|
+
actionview (= 6.0.3.5)
|
36
|
+
activejob (= 6.0.3.5)
|
33
37
|
mail (~> 2.5, >= 2.5.4)
|
34
38
|
rails-dom-testing (~> 2.0)
|
35
|
-
actionpack (6.0.3.
|
36
|
-
actionview (= 6.0.3.
|
37
|
-
activesupport (= 6.0.3.
|
39
|
+
actionpack (6.0.3.5)
|
40
|
+
actionview (= 6.0.3.5)
|
41
|
+
activesupport (= 6.0.3.5)
|
38
42
|
rack (~> 2.0, >= 2.0.8)
|
39
43
|
rack-test (>= 0.6.3)
|
40
44
|
rails-dom-testing (~> 2.0)
|
41
45
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
42
|
-
actiontext (6.0.3.
|
43
|
-
actionpack (= 6.0.3.
|
44
|
-
activerecord (= 6.0.3.
|
45
|
-
activestorage (= 6.0.3.
|
46
|
-
activesupport (= 6.0.3.
|
46
|
+
actiontext (6.0.3.5)
|
47
|
+
actionpack (= 6.0.3.5)
|
48
|
+
activerecord (= 6.0.3.5)
|
49
|
+
activestorage (= 6.0.3.5)
|
50
|
+
activesupport (= 6.0.3.5)
|
47
51
|
nokogiri (>= 1.8.5)
|
48
|
-
actionview (6.0.3.
|
49
|
-
activesupport (= 6.0.3.
|
52
|
+
actionview (6.0.3.5)
|
53
|
+
activesupport (= 6.0.3.5)
|
50
54
|
builder (~> 3.1)
|
51
55
|
erubi (~> 1.4)
|
52
56
|
rails-dom-testing (~> 2.0)
|
53
57
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
54
|
-
|
55
|
-
|
58
|
+
active_link_to (1.0.5)
|
59
|
+
actionpack
|
60
|
+
addressable
|
61
|
+
activejob (6.0.3.5)
|
62
|
+
activesupport (= 6.0.3.5)
|
56
63
|
globalid (>= 0.3.6)
|
57
|
-
activemodel (6.0.3.
|
58
|
-
activesupport (= 6.0.3.
|
59
|
-
activerecord (6.0.3.
|
60
|
-
activemodel (= 6.0.3.
|
61
|
-
activesupport (= 6.0.3.
|
62
|
-
activestorage (6.0.3.
|
63
|
-
actionpack (= 6.0.3.
|
64
|
-
activejob (= 6.0.3.
|
65
|
-
activerecord (= 6.0.3.
|
64
|
+
activemodel (6.0.3.5)
|
65
|
+
activesupport (= 6.0.3.5)
|
66
|
+
activerecord (6.0.3.5)
|
67
|
+
activemodel (= 6.0.3.5)
|
68
|
+
activesupport (= 6.0.3.5)
|
69
|
+
activestorage (6.0.3.5)
|
70
|
+
actionpack (= 6.0.3.5)
|
71
|
+
activejob (= 6.0.3.5)
|
72
|
+
activerecord (= 6.0.3.5)
|
66
73
|
marcel (~> 0.3.1)
|
67
|
-
activesupport (6.0.3.
|
74
|
+
activesupport (6.0.3.5)
|
68
75
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
69
76
|
i18n (>= 0.7, < 2)
|
70
77
|
minitest (~> 5.1)
|
@@ -89,7 +96,7 @@ GEM
|
|
89
96
|
regexp_parser (~> 1.5)
|
90
97
|
xpath (~> 3.2)
|
91
98
|
childprocess (3.0.0)
|
92
|
-
concurrent-ruby (1.1.
|
99
|
+
concurrent-ruby (1.1.8)
|
93
100
|
countries (3.0.1)
|
94
101
|
i18n_data (~> 0.10.0)
|
95
102
|
sixarm_ruby_unaccent (~> 1.1)
|
@@ -112,7 +119,7 @@ GEM
|
|
112
119
|
dotenv-rails (2.7.6)
|
113
120
|
dotenv (= 2.7.6)
|
114
121
|
railties (>= 3.2)
|
115
|
-
erubi (1.
|
122
|
+
erubi (1.10.0)
|
116
123
|
factory_bot (6.1.0)
|
117
124
|
activesupport (>= 5.0.0)
|
118
125
|
factory_bot_rails (6.1.0)
|
@@ -128,38 +135,33 @@ GEM
|
|
128
135
|
globalid (0.4.2)
|
129
136
|
activesupport (>= 4.2.0)
|
130
137
|
hashdiff (1.0.1)
|
138
|
+
hotwire-rails (0.1.3)
|
139
|
+
rails (>= 6.0.0)
|
140
|
+
stimulus-rails
|
141
|
+
turbo-rails
|
131
142
|
httparty (0.18.1)
|
132
143
|
mime-types (~> 3.0)
|
133
144
|
multi_xml (>= 0.5.2)
|
134
|
-
i18n (1.8.
|
145
|
+
i18n (1.8.9)
|
135
146
|
concurrent-ruby (~> 1.0)
|
136
147
|
i18n-js (3.8.0)
|
137
148
|
i18n (>= 0.6.6)
|
138
149
|
i18n_data (0.10.0)
|
139
|
-
|
150
|
+
image_processing (1.12.1)
|
151
|
+
mini_magick (>= 4.9.5, < 5)
|
152
|
+
ruby-vips (>= 2.0.17, < 3)
|
153
|
+
inline_svg (1.7.2)
|
140
154
|
activesupport (>= 3.0)
|
141
155
|
nokogiri (>= 1.6)
|
142
156
|
iso (0.3.0)
|
143
157
|
i18n
|
144
158
|
jbuilder (2.10.1)
|
145
159
|
activesupport (>= 5.0.0)
|
146
|
-
kaminari (1.2.1)
|
147
|
-
activesupport (>= 4.1.0)
|
148
|
-
kaminari-actionview (= 1.2.1)
|
149
|
-
kaminari-activerecord (= 1.2.1)
|
150
|
-
kaminari-core (= 1.2.1)
|
151
|
-
kaminari-actionview (1.2.1)
|
152
|
-
actionview
|
153
|
-
kaminari-core (= 1.2.1)
|
154
|
-
kaminari-activerecord (1.2.1)
|
155
|
-
activerecord
|
156
|
-
kaminari-core (= 1.2.1)
|
157
|
-
kaminari-core (1.2.1)
|
158
160
|
listen (3.1.5)
|
159
161
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
160
162
|
rb-inotify (~> 0.9, >= 0.9.7)
|
161
163
|
ruby_dep (~> 1.2)
|
162
|
-
loofah (2.
|
164
|
+
loofah (2.9.0)
|
163
165
|
crass (~> 1.0.2)
|
164
166
|
nokogiri (>= 1.5.9)
|
165
167
|
mail (2.7.1)
|
@@ -171,15 +173,18 @@ GEM
|
|
171
173
|
mime-types-data (~> 3.2015)
|
172
174
|
mime-types-data (3.2020.0512)
|
173
175
|
mimemagic (0.3.5)
|
176
|
+
mini_magick (4.11.0)
|
174
177
|
mini_mime (1.0.2)
|
175
|
-
mini_portile2 (2.
|
176
|
-
minitest (5.14.
|
178
|
+
mini_portile2 (2.5.0)
|
179
|
+
minitest (5.14.4)
|
177
180
|
msgpack (1.3.3)
|
178
181
|
multi_xml (0.6.0)
|
179
|
-
nio4r (2.5.
|
180
|
-
nokogiri (1.
|
181
|
-
mini_portile2 (~> 2.
|
182
|
+
nio4r (2.5.5)
|
183
|
+
nokogiri (1.11.1)
|
184
|
+
mini_portile2 (~> 2.5.0)
|
185
|
+
racc (~> 1.4)
|
182
186
|
orm_adapter (0.5.0)
|
187
|
+
pagy (3.10.0)
|
183
188
|
parallel (1.19.2)
|
184
189
|
parser (2.7.1.5)
|
185
190
|
ast (~> 2.4.1)
|
@@ -189,39 +194,44 @@ GEM
|
|
189
194
|
nio4r (~> 2.0)
|
190
195
|
pundit (2.1.0)
|
191
196
|
activesupport (>= 3.0.0)
|
197
|
+
racc (1.5.2)
|
192
198
|
rack (2.2.3)
|
193
199
|
rack-proxy (0.6.5)
|
194
200
|
rack
|
195
201
|
rack-test (1.1.0)
|
196
202
|
rack (>= 1.0, < 3)
|
197
|
-
rails (6.0.3.
|
198
|
-
actioncable (= 6.0.3.
|
199
|
-
actionmailbox (= 6.0.3.
|
200
|
-
actionmailer (= 6.0.3.
|
201
|
-
actionpack (= 6.0.3.
|
202
|
-
actiontext (= 6.0.3.
|
203
|
-
actionview (= 6.0.3.
|
204
|
-
activejob (= 6.0.3.
|
205
|
-
activemodel (= 6.0.3.
|
206
|
-
activerecord (= 6.0.3.
|
207
|
-
activestorage (= 6.0.3.
|
208
|
-
activesupport (= 6.0.3.
|
203
|
+
rails (6.0.3.5)
|
204
|
+
actioncable (= 6.0.3.5)
|
205
|
+
actionmailbox (= 6.0.3.5)
|
206
|
+
actionmailer (= 6.0.3.5)
|
207
|
+
actionpack (= 6.0.3.5)
|
208
|
+
actiontext (= 6.0.3.5)
|
209
|
+
actionview (= 6.0.3.5)
|
210
|
+
activejob (= 6.0.3.5)
|
211
|
+
activemodel (= 6.0.3.5)
|
212
|
+
activerecord (= 6.0.3.5)
|
213
|
+
activestorage (= 6.0.3.5)
|
214
|
+
activesupport (= 6.0.3.5)
|
209
215
|
bundler (>= 1.3.0)
|
210
|
-
railties (= 6.0.3.
|
216
|
+
railties (= 6.0.3.5)
|
211
217
|
sprockets-rails (>= 2.0.0)
|
218
|
+
rails-controller-testing (1.0.5)
|
219
|
+
actionpack (>= 5.0.1.rc1)
|
220
|
+
actionview (>= 5.0.1.rc1)
|
221
|
+
activesupport (>= 5.0.1.rc1)
|
212
222
|
rails-dom-testing (2.0.3)
|
213
223
|
activesupport (>= 4.2.0)
|
214
224
|
nokogiri (>= 1.6)
|
215
225
|
rails-html-sanitizer (1.3.0)
|
216
226
|
loofah (~> 2.3)
|
217
|
-
railties (6.0.3.
|
218
|
-
actionpack (= 6.0.3.
|
219
|
-
activesupport (= 6.0.3.
|
227
|
+
railties (6.0.3.5)
|
228
|
+
actionpack (= 6.0.3.5)
|
229
|
+
activesupport (= 6.0.3.5)
|
220
230
|
method_source
|
221
231
|
rake (>= 0.8.7)
|
222
232
|
thor (>= 0.20.3, < 2.0)
|
223
233
|
rainbow (3.0.0)
|
224
|
-
rake (13.0.
|
234
|
+
rake (13.0.3)
|
225
235
|
rb-fsevent (0.10.4)
|
226
236
|
rb-inotify (0.10.1)
|
227
237
|
ffi (~> 1.0)
|
@@ -261,6 +271,8 @@ GEM
|
|
261
271
|
ruby-debug-ide (0.7.2)
|
262
272
|
rake (>= 0.8.1)
|
263
273
|
ruby-progressbar (1.10.1)
|
274
|
+
ruby-vips (2.0.17)
|
275
|
+
ffi (~> 1.9)
|
264
276
|
ruby_dep (1.5.0)
|
265
277
|
rubyzip (2.3.0)
|
266
278
|
sass-rails (6.0.0)
|
@@ -276,6 +288,7 @@ GEM
|
|
276
288
|
selenium-webdriver (3.142.7)
|
277
289
|
childprocess (>= 0.5, < 4.0)
|
278
290
|
rubyzip (>= 1.2.2)
|
291
|
+
semantic_range (2.3.1)
|
279
292
|
simplecov (0.19.0)
|
280
293
|
docile (~> 1.1)
|
281
294
|
simplecov-html (~> 0.11)
|
@@ -284,9 +297,8 @@ GEM
|
|
284
297
|
simplecov-html (0.12.3)
|
285
298
|
sixarm_ruby_unaccent (1.2.0)
|
286
299
|
spring (2.1.1)
|
287
|
-
spring-
|
288
|
-
|
289
|
-
spring (>= 1.2, < 3.0)
|
300
|
+
spring-commands-rspec (1.0.4)
|
301
|
+
spring (>= 0.9.1)
|
290
302
|
sprockets (4.0.2)
|
291
303
|
concurrent-ruby (~> 1.0)
|
292
304
|
rack (> 1, < 3)
|
@@ -294,13 +306,20 @@ GEM
|
|
294
306
|
actionpack (>= 4.0)
|
295
307
|
activesupport (>= 4.0)
|
296
308
|
sprockets (>= 3.0.0)
|
297
|
-
|
309
|
+
stimulus-rails (0.2.3)
|
310
|
+
rails (>= 6.0.0)
|
311
|
+
test-prof (0.12.2)
|
312
|
+
thor (1.1.0)
|
298
313
|
thread_safe (0.3.6)
|
299
314
|
tilt (2.0.10)
|
300
|
-
|
315
|
+
turbo-rails (0.5.9)
|
316
|
+
rails (>= 6.0.0)
|
317
|
+
tzinfo (1.2.9)
|
301
318
|
thread_safe (~> 0.1)
|
302
319
|
unicode-display_width (1.7.0)
|
303
320
|
unicode_utils (1.4.0)
|
321
|
+
view_component (2.24.0)
|
322
|
+
activesupport (>= 5.0.0, < 7.0)
|
304
323
|
warden (1.2.9)
|
305
324
|
rack (>= 2.0.9)
|
306
325
|
web-console (4.0.4)
|
@@ -316,21 +335,23 @@ GEM
|
|
316
335
|
addressable (>= 2.3.6)
|
317
336
|
crack (>= 0.3.2)
|
318
337
|
hashdiff (>= 0.4.0, < 2.0.0)
|
319
|
-
webpacker (
|
320
|
-
activesupport (>=
|
338
|
+
webpacker (5.2.1)
|
339
|
+
activesupport (>= 5.2)
|
321
340
|
rack-proxy (>= 0.6.1)
|
322
|
-
railties (>=
|
341
|
+
railties (>= 5.2)
|
342
|
+
semantic_range (>= 2.3.0)
|
323
343
|
websocket-driver (0.7.3)
|
324
344
|
websocket-extensions (>= 0.1.0)
|
325
345
|
websocket-extensions (0.1.5)
|
326
346
|
xpath (3.2.0)
|
327
347
|
nokogiri (~> 1.8)
|
328
|
-
zeitwerk (2.4.
|
348
|
+
zeitwerk (2.4.2)
|
329
349
|
|
330
350
|
PLATFORMS
|
331
351
|
ruby
|
332
352
|
|
333
353
|
DEPENDENCIES
|
354
|
+
active_link_to
|
334
355
|
avo!
|
335
356
|
bootsnap (>= 1.4.2)
|
336
357
|
bump
|
@@ -345,17 +366,20 @@ DEPENDENCIES
|
|
345
366
|
faker
|
346
367
|
fuubar
|
347
368
|
gem-release
|
369
|
+
hotwire-rails
|
348
370
|
httparty
|
349
371
|
i18n-js
|
372
|
+
image_processing (~> 1.2)
|
350
373
|
inline_svg
|
351
374
|
iso
|
352
375
|
jbuilder (~> 2.7)
|
353
|
-
kaminari
|
354
376
|
listen (>= 3.0.5, < 3.2)
|
377
|
+
pagy
|
355
378
|
pg (>= 0.18, < 2.0)
|
356
379
|
puma (~> 4.3.5)
|
357
380
|
pundit
|
358
381
|
rails (~> 6.0.2, >= 6.0.2.2)
|
382
|
+
rails-controller-testing
|
359
383
|
rspec-rails (~> 4.0.0)
|
360
384
|
rubocop
|
361
385
|
ruby-debug-ide
|
@@ -364,13 +388,15 @@ DEPENDENCIES
|
|
364
388
|
simplecov
|
365
389
|
simplecov-cobertura
|
366
390
|
spring
|
367
|
-
spring-
|
391
|
+
spring-commands-rspec
|
392
|
+
test-prof
|
368
393
|
tzinfo-data
|
394
|
+
view_component
|
369
395
|
web-console (>= 3.3.0)
|
370
396
|
webdrivers
|
371
397
|
webmock
|
372
|
-
webpacker (~>
|
398
|
+
webpacker (~> 5.x)
|
373
399
|
zeitwerk (~> 2.3)
|
374
400
|
|
375
401
|
BUNDLED WITH
|
376
|
-
2.
|
402
|
+
2.2.5
|