herb 0.9.7-arm-linux-gnu → 0.10.1-arm-linux-gnu
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 +1 -0
- data/config/action_view_helpers/actioncable/action_cable_helper/action_cable_meta_tag.yml +20 -0
- data/config/action_view_helpers/actionpack/content_security_policy/content_security_policy?.yml +16 -0
- data/config/action_view_helpers/actionpack/content_security_policy/content_security_policy_nonce.yml +16 -0
- data/config/action_view_helpers/actionpack/polymorphic_routes/polymorphic_path.yml +27 -0
- data/config/action_view_helpers/actionpack/polymorphic_routes/polymorphic_url.yml +33 -0
- data/config/action_view_helpers/actionpack/request_forgery_protection/form_authenticity_token.yml +19 -0
- data/config/action_view_helpers/actionpack/request_forgery_protection/protect_against_forgery?.yml +16 -0
- data/config/action_view_helpers/actiontext/content_helper/render_action_text_content.yml +21 -0
- data/config/action_view_helpers/actiontext/content_helper/sanitize_action_text_content.yml +21 -0
- data/config/action_view_helpers/actiontext/tag_helper/rich_textarea_tag.yml +46 -0
- data/config/action_view_helpers/actionview/active_model_helper/error_message.yml +16 -0
- data/config/action_view_helpers/actionview/active_model_helper/error_wrapping.yml +16 -0
- data/config/action_view_helpers/actionview/active_model_helper/object.yml +16 -0
- data/config/action_view_helpers/actionview/asset_tag_helper/apply_stylesheet_media_default.yml +16 -0
- data/config/action_view_helpers/actionview/asset_tag_helper/audio_tag.yml +45 -0
- data/config/action_view_helpers/actionview/asset_tag_helper/auto_discovery_link_tag.yml +44 -0
- data/config/action_view_helpers/actionview/asset_tag_helper/auto_include_nonce.yml +16 -0
- data/config/action_view_helpers/actionview/asset_tag_helper/auto_include_nonce_for_scripts.yml +16 -0
- data/config/action_view_helpers/actionview/asset_tag_helper/auto_include_nonce_for_styles.yml +16 -0
- data/config/action_view_helpers/actionview/asset_tag_helper/favicon_link_tag.yml +46 -0
- data/config/action_view_helpers/actionview/asset_tag_helper/image_decoding.yml +16 -0
- data/config/action_view_helpers/actionview/asset_tag_helper/image_loading.yml +16 -0
- data/config/action_view_helpers/actionview/asset_tag_helper/image_tag.yml +68 -0
- data/config/action_view_helpers/actionview/asset_tag_helper/javascript_include_tag.yml +59 -0
- data/config/action_view_helpers/actionview/asset_tag_helper/picture_tag.yml +29 -0
- data/config/action_view_helpers/actionview/asset_tag_helper/preload_link_tag.yml +50 -0
- data/config/action_view_helpers/actionview/asset_tag_helper/preload_links_header.yml +16 -0
- data/config/action_view_helpers/actionview/asset_tag_helper/stylesheet_link_tag.yml +50 -0
- data/config/action_view_helpers/actionview/asset_tag_helper/video_tag.yml +55 -0
- data/config/action_view_helpers/actionview/asset_url_helper/asset_path.yml +23 -0
- data/config/action_view_helpers/actionview/asset_url_helper/asset_url.yml +23 -0
- data/config/action_view_helpers/actionview/asset_url_helper/audio_path.yml +23 -0
- data/config/action_view_helpers/actionview/asset_url_helper/audio_url.yml +23 -0
- data/config/action_view_helpers/actionview/asset_url_helper/compute_asset_extname.yml +16 -0
- data/config/action_view_helpers/actionview/asset_url_helper/compute_asset_host.yml +16 -0
- data/config/action_view_helpers/actionview/asset_url_helper/compute_asset_path.yml +16 -0
- data/config/action_view_helpers/actionview/asset_url_helper/font_path.yml +23 -0
- data/config/action_view_helpers/actionview/asset_url_helper/font_url.yml +23 -0
- data/config/action_view_helpers/actionview/asset_url_helper/image_path.yml +23 -0
- data/config/action_view_helpers/actionview/asset_url_helper/image_url.yml +23 -0
- data/config/action_view_helpers/actionview/asset_url_helper/javascript_path.yml +23 -0
- data/config/action_view_helpers/actionview/asset_url_helper/javascript_url.yml +23 -0
- data/config/action_view_helpers/actionview/asset_url_helper/public_compute_asset_path.yml +16 -0
- data/config/action_view_helpers/actionview/asset_url_helper/stylesheet_path.yml +23 -0
- data/config/action_view_helpers/actionview/asset_url_helper/stylesheet_url.yml +23 -0
- data/config/action_view_helpers/actionview/asset_url_helper/video_path.yml +23 -0
- data/config/action_view_helpers/actionview/asset_url_helper/video_url.yml +23 -0
- data/config/action_view_helpers/actionview/atom_feed_helper/atom_feed.yml +40 -0
- data/config/action_view_helpers/actionview/cache_helper/cache.yml +28 -0
- data/config/action_view_helpers/actionview/cache_helper/cache_fragment_name.yml +16 -0
- data/config/action_view_helpers/actionview/cache_helper/cache_if.yml +27 -0
- data/config/action_view_helpers/actionview/cache_helper/cache_unless.yml +27 -0
- data/config/action_view_helpers/actionview/cache_helper/caching_predicate.yml +16 -0
- data/config/action_view_helpers/actionview/cache_helper/digest_path_from_template.yml +16 -0
- data/config/action_view_helpers/actionview/cache_helper/fragment_for.yml +16 -0
- data/config/action_view_helpers/actionview/cache_helper/fragment_name_with_digest.yml +16 -0
- data/config/action_view_helpers/actionview/cache_helper/read_fragment_for.yml +16 -0
- data/config/action_view_helpers/actionview/cache_helper/uncacheable.yml +16 -0
- data/config/action_view_helpers/actionview/cache_helper/write_fragment_for.yml +16 -0
- data/config/action_view_helpers/actionview/capture_helper/capture.yml +16 -0
- data/config/action_view_helpers/actionview/capture_helper/content_for.yml +24 -0
- data/config/action_view_helpers/actionview/capture_helper/content_for_predicate.yml +21 -0
- data/config/action_view_helpers/actionview/capture_helper/provide.yml +21 -0
- data/config/action_view_helpers/actionview/capture_helper/with_output_buffer.yml +16 -0
- data/config/action_view_helpers/actionview/content_exfiltration_prevention_helper/prepend_content_exfiltration_prevention.yml +16 -0
- data/config/action_view_helpers/actionview/content_exfiltration_prevention_helper/prevent_content_exfiltration.yml +16 -0
- data/config/action_view_helpers/actionview/controller_helper/action_name.yml +16 -0
- data/config/action_view_helpers/actionview/controller_helper/assign_controller.yml +16 -0
- data/config/action_view_helpers/actionview/controller_helper/controller.yml +16 -0
- data/config/action_view_helpers/actionview/controller_helper/controller_name.yml +16 -0
- data/config/action_view_helpers/actionview/controller_helper/controller_path.yml +16 -0
- data/config/action_view_helpers/actionview/controller_helper/cookies.yml +16 -0
- data/config/action_view_helpers/actionview/controller_helper/flash.yml +16 -0
- data/config/action_view_helpers/actionview/controller_helper/headers.yml +16 -0
- data/config/action_view_helpers/actionview/controller_helper/logger.yml +18 -0
- data/config/action_view_helpers/actionview/controller_helper/params.yml +16 -0
- data/config/action_view_helpers/actionview/controller_helper/request.yml +16 -0
- data/config/action_view_helpers/actionview/controller_helper/request_forgery_protection_token.yml +16 -0
- data/config/action_view_helpers/actionview/controller_helper/response.yml +16 -0
- data/config/action_view_helpers/actionview/controller_helper/session.yml +16 -0
- data/config/action_view_helpers/actionview/csp_helper/csp_meta_tag.yml +23 -0
- data/config/action_view_helpers/actionview/csrf_helper/csrf_meta_tags.yml +23 -0
- data/config/action_view_helpers/actionview/date_helper/date_select.yml +71 -0
- data/config/action_view_helpers/actionview/date_helper/datetime_select.yml +59 -0
- data/config/action_view_helpers/actionview/date_helper/distance_of_time_in_words.yml +33 -0
- data/config/action_view_helpers/actionview/date_helper/relative_time_in_words.yml +36 -0
- data/config/action_view_helpers/actionview/date_helper/select_date.yml +49 -0
- data/config/action_view_helpers/actionview/date_helper/select_datetime.yml +58 -0
- data/config/action_view_helpers/actionview/date_helper/select_day.yml +42 -0
- data/config/action_view_helpers/actionview/date_helper/select_hour.yml +48 -0
- data/config/action_view_helpers/actionview/date_helper/select_minute.yml +42 -0
- data/config/action_view_helpers/actionview/date_helper/select_month.yml +54 -0
- data/config/action_view_helpers/actionview/date_helper/select_second.yml +39 -0
- data/config/action_view_helpers/actionview/date_helper/select_time.yml +52 -0
- data/config/action_view_helpers/actionview/date_helper/select_year.yml +45 -0
- data/config/action_view_helpers/actionview/date_helper/time_ago_in_words.yml +26 -0
- data/config/action_view_helpers/actionview/date_helper/time_select.yml +56 -0
- data/config/action_view_helpers/actionview/date_helper/time_tag.yml +37 -0
- data/config/action_view_helpers/actionview/debug_helper/debug.yml +21 -0
- data/config/action_view_helpers/actionview/form_helper/apply_form_for_options.yml +16 -0
- data/config/action_view_helpers/actionview/form_helper/button.yml +38 -0
- data/config/action_view_helpers/actionview/form_helper/checkbox.yml +49 -0
- data/config/action_view_helpers/actionview/form_helper/color_field.yml +32 -0
- data/config/action_view_helpers/actionview/form_helper/date_field.yml +38 -0
- data/config/action_view_helpers/actionview/form_helper/datetime_field.yml +43 -0
- data/config/action_view_helpers/actionview/form_helper/email_field.yml +32 -0
- data/config/action_view_helpers/actionview/form_helper/emitted_hidden_id.yml +16 -0
- data/config/action_view_helpers/actionview/form_helper/fields.yml +31 -0
- data/config/action_view_helpers/actionview/form_helper/fields_for.yml +33 -0
- data/config/action_view_helpers/actionview/form_helper/file_field.yml +44 -0
- data/config/action_view_helpers/actionview/form_helper/form_for.yml +41 -0
- data/config/action_view_helpers/actionview/form_helper/form_with.yml +42 -0
- data/config/action_view_helpers/actionview/form_helper/form_with_generates_ids.yml +16 -0
- data/config/action_view_helpers/actionview/form_helper/form_with_generates_remote_forms.yml +16 -0
- data/config/action_view_helpers/actionview/form_helper/hidden_field.yml +32 -0
- data/config/action_view_helpers/actionview/form_helper/label.yml +47 -0
- data/config/action_view_helpers/actionview/form_helper/month_field.yml +32 -0
- data/config/action_view_helpers/actionview/form_helper/multipart.yml +16 -0
- data/config/action_view_helpers/actionview/form_helper/multiple_file_field_include_hidden.yml +16 -0
- data/config/action_view_helpers/actionview/form_helper/number_field.yml +44 -0
- data/config/action_view_helpers/actionview/form_helper/password_field.yml +32 -0
- data/config/action_view_helpers/actionview/form_helper/radio_button.yml +37 -0
- data/config/action_view_helpers/actionview/form_helper/range_field.yml +44 -0
- data/config/action_view_helpers/actionview/form_helper/search_field.yml +32 -0
- data/config/action_view_helpers/actionview/form_helper/submit.yml +35 -0
- data/config/action_view_helpers/actionview/form_helper/telephone_field.yml +34 -0
- data/config/action_view_helpers/actionview/form_helper/text_field.yml +32 -0
- data/config/action_view_helpers/actionview/form_helper/textarea.yml +37 -0
- data/config/action_view_helpers/actionview/form_helper/time_field.yml +41 -0
- data/config/action_view_helpers/actionview/form_helper/url_field.yml +32 -0
- data/config/action_view_helpers/actionview/form_helper/week_field.yml +32 -0
- data/config/action_view_helpers/actionview/form_options_helper/collection_checkboxes.yml +58 -0
- data/config/action_view_helpers/actionview/form_options_helper/collection_radio_buttons.yml +56 -0
- data/config/action_view_helpers/actionview/form_options_helper/collection_select.yml +65 -0
- data/config/action_view_helpers/actionview/form_options_helper/grouped_collection_select.yml +69 -0
- data/config/action_view_helpers/actionview/form_options_helper/grouped_options_for_select.yml +39 -0
- data/config/action_view_helpers/actionview/form_options_helper/option_groups_from_collection_for_select.yml +47 -0
- data/config/action_view_helpers/actionview/form_options_helper/options_for_select.yml +27 -0
- data/config/action_view_helpers/actionview/form_options_helper/options_from_collection_for_select.yml +37 -0
- data/config/action_view_helpers/actionview/form_options_helper/select.yml +59 -0
- data/config/action_view_helpers/actionview/form_options_helper/time_zone_options_for_select.yml +34 -0
- data/config/action_view_helpers/actionview/form_options_helper/time_zone_select.yml +53 -0
- data/config/action_view_helpers/actionview/form_options_helper/weekday_options_for_select.yml +31 -0
- data/config/action_view_helpers/actionview/form_options_helper/weekday_select.yml +38 -0
- data/config/action_view_helpers/actionview/form_tag_helper/button_tag.yml +39 -0
- data/config/action_view_helpers/actionview/form_tag_helper/checkbox_tag.yml +45 -0
- data/config/action_view_helpers/actionview/form_tag_helper/color_field_tag.yml +38 -0
- data/config/action_view_helpers/actionview/form_tag_helper/date_field_tag.yml +37 -0
- data/config/action_view_helpers/actionview/form_tag_helper/datetime_field_tag.yml +39 -0
- data/config/action_view_helpers/actionview/form_tag_helper/default_enforce_utf8.yml +16 -0
- data/config/action_view_helpers/actionview/form_tag_helper/email_field_tag.yml +37 -0
- data/config/action_view_helpers/actionview/form_tag_helper/embed_authenticity_token_in_remote_forms.yml +16 -0
- data/config/action_view_helpers/actionview/form_tag_helper/field_id.yml +32 -0
- data/config/action_view_helpers/actionview/form_tag_helper/field_name.yml +32 -0
- data/config/action_view_helpers/actionview/form_tag_helper/field_set_tag.yml +34 -0
- data/config/action_view_helpers/actionview/form_tag_helper/file_field_tag.yml +41 -0
- data/config/action_view_helpers/actionview/form_tag_helper/form_tag.yml +42 -0
- data/config/action_view_helpers/actionview/form_tag_helper/hidden_field_tag.yml +37 -0
- data/config/action_view_helpers/actionview/form_tag_helper/image_submit_tag.yml +40 -0
- data/config/action_view_helpers/actionview/form_tag_helper/label_tag.yml +38 -0
- data/config/action_view_helpers/actionview/form_tag_helper/month_field_tag.yml +37 -0
- data/config/action_view_helpers/actionview/form_tag_helper/number_field_tag.yml +49 -0
- data/config/action_view_helpers/actionview/form_tag_helper/password_field_tag.yml +38 -0
- data/config/action_view_helpers/actionview/form_tag_helper/radio_button_tag.yml +42 -0
- data/config/action_view_helpers/actionview/form_tag_helper/range_field_tag.yml +49 -0
- data/config/action_view_helpers/actionview/form_tag_helper/search_field_tag.yml +37 -0
- data/config/action_view_helpers/actionview/form_tag_helper/select_tag.yml +49 -0
- data/config/action_view_helpers/actionview/form_tag_helper/submit_tag.yml +39 -0
- data/config/action_view_helpers/actionview/form_tag_helper/telephone_field_tag.yml +39 -0
- data/config/action_view_helpers/actionview/form_tag_helper/text_field_tag.yml +37 -0
- data/config/action_view_helpers/actionview/form_tag_helper/textarea_tag.yml +43 -0
- data/config/action_view_helpers/actionview/form_tag_helper/time_field_tag.yml +37 -0
- data/config/action_view_helpers/actionview/form_tag_helper/url_field_tag.yml +37 -0
- data/config/action_view_helpers/actionview/form_tag_helper/utf8_enforcer_tag.yml +16 -0
- data/config/action_view_helpers/actionview/form_tag_helper/week_field_tag.yml +37 -0
- data/config/action_view_helpers/actionview/javascript_helper/escape_javascript.yml +23 -0
- data/config/action_view_helpers/actionview/javascript_helper/javascript_cdata_section.yml +16 -0
- data/config/action_view_helpers/actionview/javascript_helper/javascript_tag.yml +45 -0
- data/config/action_view_helpers/actionview/number_helper/number_to_currency.yml +36 -0
- data/config/action_view_helpers/actionview/number_helper/number_to_human.yml +27 -0
- data/config/action_view_helpers/actionview/number_helper/number_to_human_size.yml +24 -0
- data/config/action_view_helpers/actionview/number_helper/number_to_percentage.yml +24 -0
- data/config/action_view_helpers/actionview/number_helper/number_to_phone.yml +34 -0
- data/config/action_view_helpers/actionview/number_helper/number_with_delimiter.yml +29 -0
- data/config/action_view_helpers/actionview/number_helper/number_with_precision.yml +27 -0
- data/config/action_view_helpers/actionview/output_safety_helper/raw.yml +21 -0
- data/config/action_view_helpers/actionview/output_safety_helper/safe_join.yml +26 -0
- data/config/action_view_helpers/actionview/output_safety_helper/to_sentence.yml +33 -0
- data/config/action_view_helpers/actionview/record_identifier/dom_class.yml +27 -0
- data/config/action_view_helpers/actionview/record_identifier/dom_id.yml +27 -0
- data/config/action_view_helpers/actionview/record_identifier/dom_target.yml +22 -0
- data/config/action_view_helpers/actionview/record_identifier/model_name_from_record_or_class.yml +16 -0
- data/config/action_view_helpers/actionview/rendering_helper/render.yml +34 -0
- data/config/action_view_helpers/actionview/sanitize_helper/sanitize.yml +27 -0
- data/config/action_view_helpers/actionview/sanitize_helper/sanitize_css.yml +21 -0
- data/config/action_view_helpers/actionview/sanitize_helper/sanitizer_vendor.yml +16 -0
- data/config/action_view_helpers/actionview/sanitize_helper/strip_links.yml +21 -0
- data/config/action_view_helpers/actionview/sanitize_helper/strip_tags.yml +21 -0
- data/config/action_view_helpers/actionview/tag_helper/cdata_section.yml +21 -0
- data/config/action_view_helpers/actionview/tag_helper/content_tag.yml +64 -0
- data/config/action_view_helpers/actionview/tag_helper/escape_once.yml +21 -0
- data/config/action_view_helpers/actionview/tag_helper/tag.yml +47 -0
- data/config/action_view_helpers/actionview/tag_helper/token_list.yml +24 -0
- data/config/action_view_helpers/actionview/text_helper/concat.yml +21 -0
- data/config/action_view_helpers/actionview/text_helper/current_cycle.yml +22 -0
- data/config/action_view_helpers/actionview/text_helper/cycle.yml +31 -0
- data/config/action_view_helpers/actionview/text_helper/excerpt.yml +39 -0
- data/config/action_view_helpers/actionview/text_helper/highlight.yml +35 -0
- data/config/action_view_helpers/actionview/text_helper/pluralize.yml +32 -0
- data/config/action_view_helpers/actionview/text_helper/reset_cycle.yml +22 -0
- data/config/action_view_helpers/actionview/text_helper/safe_concat.yml +16 -0
- data/config/action_view_helpers/actionview/text_helper/simple_format.yml +40 -0
- data/config/action_view_helpers/actionview/text_helper/truncate.yml +40 -0
- data/config/action_view_helpers/actionview/text_helper/word_wrap.yml +27 -0
- data/config/action_view_helpers/actionview/translation_helper/debug_missing_translation.yml +16 -0
- data/config/action_view_helpers/actionview/translation_helper/localize.yml +29 -0
- data/config/action_view_helpers/actionview/translation_helper/translate.yml +32 -0
- data/config/action_view_helpers/actionview/url_helper/button_to.yml +55 -0
- data/config/action_view_helpers/actionview/url_helper/button_to_generates_button_tag.yml +16 -0
- data/config/action_view_helpers/actionview/url_helper/current_page?.yml +28 -0
- data/config/action_view_helpers/actionview/url_helper/link_to.yml +76 -0
- data/config/action_view_helpers/actionview/url_helper/link_to_if.yml +42 -0
- data/config/action_view_helpers/actionview/url_helper/link_to_unless.yml +42 -0
- data/config/action_view_helpers/actionview/url_helper/link_to_unless_current.yml +37 -0
- data/config/action_view_helpers/actionview/url_helper/mail_to.yml +56 -0
- data/config/action_view_helpers/actionview/url_helper/phone_to.yml +44 -0
- data/config/action_view_helpers/actionview/url_helper/sms_to.yml +47 -0
- data/config/action_view_helpers/actionview/url_helper/url_for.yml +22 -0
- data/config/action_view_helpers/turbo-rails/drive_helper/turbo_exempts_page_from_cache.yml +16 -0
- data/config/action_view_helpers/turbo-rails/drive_helper/turbo_exempts_page_from_cache_tag.yml +20 -0
- data/config/action_view_helpers/turbo-rails/drive_helper/turbo_exempts_page_from_preview.yml +16 -0
- data/config/action_view_helpers/turbo-rails/drive_helper/turbo_exempts_page_from_preview_tag.yml +20 -0
- data/config/action_view_helpers/turbo-rails/drive_helper/turbo_page_requires_reload.yml +16 -0
- data/config/action_view_helpers/turbo-rails/drive_helper/turbo_page_requires_reload_tag.yml +20 -0
- data/config/action_view_helpers/turbo-rails/drive_helper/turbo_refresh_method_tag.yml +26 -0
- data/config/action_view_helpers/turbo-rails/drive_helper/turbo_refresh_scroll_tag.yml +26 -0
- data/config/action_view_helpers/turbo-rails/drive_helper/turbo_refreshes_with.yml +22 -0
- data/config/action_view_helpers/turbo-rails/frames_helper/turbo_frame_tag.yml +50 -0
- data/config/action_view_helpers/turbo-rails/includes_helper/turbo_include_tags.yml +16 -0
- data/config/action_view_helpers/turbo-rails/streams_action_helper/turbo_stream_action_tag.yml +34 -0
- data/config/action_view_helpers/turbo-rails/streams_action_helper/turbo_stream_refresh_tag.yml +23 -0
- data/config/action_view_helpers/turbo-rails/streams_helper/turbo_stream.yml +16 -0
- data/config/action_view_helpers/turbo-rails/streams_helper/turbo_stream_from.yml +33 -0
- data/config/options.yml +14 -0
- data/config/view_context_methods/actionview/base/annotate_rendered_view_with_filenames.yml +8 -0
- data/config/view_context_methods/actionview/base/assign.yml +8 -0
- data/config/view_context_methods/actionview/base/assigns.yml +8 -0
- data/config/view_context_methods/actionview/base/automatically_disable_submit_tag.yml +8 -0
- data/config/view_context_methods/actionview/base/compiled_method_container.yml +8 -0
- data/config/view_context_methods/actionview/base/config.yml +8 -0
- data/config/view_context_methods/actionview/base/default_form_builder.yml +8 -0
- data/config/view_context_methods/actionview/base/default_formats.yml +8 -0
- data/config/view_context_methods/actionview/base/field_error_proc.yml +8 -0
- data/config/view_context_methods/actionview/base/formats.yml +8 -0
- data/config/view_context_methods/actionview/base/in_rendering_context.yml +8 -0
- data/config/view_context_methods/actionview/base/locale.yml +8 -0
- data/config/view_context_methods/actionview/base/lookup_context.yml +8 -0
- data/config/view_context_methods/actionview/base/output_buffer.yml +8 -0
- data/config/view_context_methods/actionview/base/prefix_partial_path_with_controller_namespace.yml +10 -0
- data/config/view_context_methods/actionview/base/remove_hidden_field_autocomplete.yml +8 -0
- data/config/view_context_methods/actionview/base/streaming_completion_on_exception.yml +8 -0
- data/config/view_context_methods/actionview/base/view_flow.yml +8 -0
- data/config/view_context_methods/actionview/base/view_paths.yml +8 -0
- data/config/view_context_methods/actionview/base/view_renderer.yml +8 -0
- data/config/view_context_methods/actionview/template/local_assigns.yml +8 -0
- data/config/view_context_methods/activemodel/conversion/convert_to_model.yml +8 -0
- data/config/view_context_methods/activesupport/benchmarkable/benchmark.yml +8 -0
- data/ext/herb/extconf.rb +1 -0
- data/ext/herb/extension.c +108 -0
- data/herb.gemspec +2 -1
- data/lib/herb/3.2/herb.so +0 -0
- data/lib/herb/3.3/herb.so +0 -0
- data/lib/herb/3.4/herb.so +0 -0
- data/lib/herb/4.0/herb.so +0 -0
- data/lib/herb/action_view/render_analyzer.rb +1057 -0
- data/lib/herb/ast/erb_render_node.rb +155 -0
- data/lib/herb/bootstrap.rb +0 -1
- data/lib/herb/cli.rb +253 -19
- data/lib/herb/colors.rb +18 -0
- data/lib/herb/configuration.rb +49 -13
- data/lib/herb/defaults.yml +3 -0
- data/lib/herb/dev/runner.rb +445 -0
- data/lib/herb/dev/server.rb +207 -0
- data/lib/herb/dev/server_entry.rb +128 -0
- data/lib/herb/diff_operation.rb +34 -0
- data/lib/herb/diff_result.rb +59 -0
- data/lib/herb/engine/compiler.rb +56 -3
- data/lib/herb/engine/validators/render_validator.rb +92 -0
- data/lib/herb/engine.rb +58 -4
- data/lib/herb/html/util.rb +16 -0
- data/lib/herb/project.rb +1 -6
- data/lib/herb/version.rb +1 -1
- data/lib/herb.rb +41 -5
- data/sig/herb/action_view/render_analyzer.rbs +122 -0
- data/sig/herb/ast/erb_render_node.rbs +29 -0
- data/sig/herb/colors.rbs +12 -0
- data/sig/herb/configuration.rbs +20 -1
- data/sig/herb/dev/runner.rbs +59 -0
- data/sig/herb/dev/server.rbs +50 -0
- data/sig/herb/dev/server_entry.rbs +51 -0
- data/sig/herb/diff_operation.rbs +34 -0
- data/sig/herb/diff_result.rbs +34 -0
- data/sig/herb/engine/compiler.rbs +6 -0
- data/sig/herb/engine/validators/render_validator.rbs +21 -0
- data/sig/herb/engine.rbs +15 -0
- data/sig/herb/html/util.rbs +13 -0
- data/sig/herb.rbs +12 -2
- data/sig/herb_c_extension.rbs +1 -1
- data/sig/vendor/did_you_mean.rbs +6 -0
- data/sig/vendor/parallel.rbs +4 -0
- data/src/analyze/action_view/attribute_extraction_helpers.c +3 -2
- data/src/diff/herb_diff.c +137 -0
- data/src/diff/herb_diff_attributes.c +207 -0
- data/src/diff/herb_diff_children.c +518 -0
- data/src/diff/herb_diff_helpers.c +114 -0
- data/src/diff/herb_diff_nodes.c +707 -0
- data/src/diff/herb_hash.c +42 -0
- data/src/diff/herb_hash_index_map.c +47 -0
- data/src/diff/herb_hash_map.c +104 -0
- data/src/diff/herb_hash_tree.c +680 -0
- data/src/include/diff/herb_diff.h +118 -0
- data/src/include/diff/herb_hash.h +25 -0
- data/src/include/diff/herb_hash_index_map.h +32 -0
- data/src/include/diff/herb_hash_map.h +30 -0
- data/src/include/herb.h +1 -0
- data/src/include/version.h +1 -1
- data/templates/javascript/packages/core/src/config.ts.erb +43 -0
- data/templates/rust/src/ast/nodes.rs.erb +1 -1
- data/templates/rust/src/config.rs.erb +50 -0
- data/templates/src/diff/herb_diff_helpers.c.erb +38 -0
- data/templates/src/diff/herb_diff_nodes.c.erb +224 -0
- data/templates/src/diff/herb_hash_tree.c.erb +147 -0
- data/templates/template.rb +4 -4
- metadata +307 -4
- data/lib/herb/3.0/herb.so +0 -0
- data/lib/herb/3.1/herb.so +0 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: select_year
|
|
3
|
+
source: "ActionView::Helpers::DateHelper#select_year"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns a `<select>` tag with options for each of the five years on each side of the current, which is selected. The five year radius can be changed using the `:start_year` and `:end_year` keys in the options. Both ascending and descending year lists are supported by making `:start_year` less than or greater than `:end_year`. Override the field name using the `:field_name` option, `"year"` by default.
|
|
11
|
+
signature: "select_year(date, options = {}, html_options = {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-select_year"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: date
|
|
16
|
+
position: 1
|
|
17
|
+
type: [date, time, integer]
|
|
18
|
+
optional: false
|
|
19
|
+
description: "The date, time, or year number to pre-select."
|
|
20
|
+
- name: options
|
|
21
|
+
position: 2
|
|
22
|
+
type: hash
|
|
23
|
+
optional: true
|
|
24
|
+
default: "{}"
|
|
25
|
+
description: "Options for customizing the year select behavior."
|
|
26
|
+
- name: html_options
|
|
27
|
+
position: 3
|
|
28
|
+
type: hash
|
|
29
|
+
optional: true
|
|
30
|
+
default: "{}"
|
|
31
|
+
description: "HTML attributes for the `<select>` tag."
|
|
32
|
+
options:
|
|
33
|
+
- name: field_name
|
|
34
|
+
type: string
|
|
35
|
+
description: "Override the field name, defaults to `\"year\"`."
|
|
36
|
+
- name: start_year
|
|
37
|
+
type: integer
|
|
38
|
+
description: "The start year for the year select."
|
|
39
|
+
- name: end_year
|
|
40
|
+
type: integer
|
|
41
|
+
description: "The end year for the year select."
|
|
42
|
+
- name: prompt
|
|
43
|
+
type: [boolean, string]
|
|
44
|
+
description: "Set to `true` for a generic prompt or a string for a custom prompt."
|
|
45
|
+
special_behaviors: []
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: time_ago_in_words
|
|
3
|
+
source: "ActionView::Helpers::DateHelper#time_ago_in_words"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: text
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Like `distance_of_time_in_words` but where `to_time` is fixed to `Time.now`.
|
|
11
|
+
signature: "time_ago_in_words(from_time, options = {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-time_ago_in_words"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: from_time
|
|
16
|
+
position: 1
|
|
17
|
+
type: object
|
|
18
|
+
optional: false
|
|
19
|
+
description: "Starting time."
|
|
20
|
+
options:
|
|
21
|
+
- name: include_seconds
|
|
22
|
+
type: boolean
|
|
23
|
+
description: "Include more detail for distances under 1 minute."
|
|
24
|
+
special_behaviors: []
|
|
25
|
+
aliases:
|
|
26
|
+
- distance_of_time_in_words_to_now
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: time_select
|
|
3
|
+
source: "ActionView::Helpers::DateHelper#time_select"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns a set of `<select>` tags (one for hour, minute, and optionally second) pre-selected for accessing a specified time-based attribute (identified by `method`) on an object assigned to the template (identified by `object`).
|
|
11
|
+
signature: "time_select(object_name, method, options = {}, html_options = {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-time_select"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: object_name
|
|
16
|
+
position: 1
|
|
17
|
+
type: string
|
|
18
|
+
optional: false
|
|
19
|
+
description: "The name of the object."
|
|
20
|
+
- name: method
|
|
21
|
+
position: 2
|
|
22
|
+
type: string
|
|
23
|
+
optional: false
|
|
24
|
+
description: "The attribute name on the object."
|
|
25
|
+
- name: options
|
|
26
|
+
position: 3
|
|
27
|
+
type: hash
|
|
28
|
+
optional: true
|
|
29
|
+
default: "{}"
|
|
30
|
+
description: "Options for customizing the time select behavior."
|
|
31
|
+
- name: html_options
|
|
32
|
+
position: 4
|
|
33
|
+
type: hash
|
|
34
|
+
optional: true
|
|
35
|
+
default: "{}"
|
|
36
|
+
description: "HTML attributes applied to every `<select>` tag in the set."
|
|
37
|
+
options:
|
|
38
|
+
- name: include_seconds
|
|
39
|
+
type: boolean
|
|
40
|
+
description: "If `true`, includes a select for seconds."
|
|
41
|
+
- name: minute_step
|
|
42
|
+
type: integer
|
|
43
|
+
description: "Step value for the minute select (e.g. `15` gives 00, 15, 30, 45)."
|
|
44
|
+
- name: ampm
|
|
45
|
+
type: boolean
|
|
46
|
+
description: "If `true`, shows hours in AM/PM format."
|
|
47
|
+
- name: ignore_date
|
|
48
|
+
type: boolean
|
|
49
|
+
description: "If `true`, removes the hidden inputs for day, month, and year."
|
|
50
|
+
- name: prompt
|
|
51
|
+
type: [boolean, string, hash]
|
|
52
|
+
description: "Set to `true` for generic prompts, a string for a custom prompt, or a hash for per-field prompts."
|
|
53
|
+
- name: disabled
|
|
54
|
+
type: boolean
|
|
55
|
+
description: "If `true`, the select fields are disabled."
|
|
56
|
+
special_behaviors: []
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: time_tag
|
|
3
|
+
source: "ActionView::Helpers::DateHelper#time_tag"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: true
|
|
9
|
+
description: |-
|
|
10
|
+
Returns an HTML `<time>` tag for the given date or time. The datetime attribute is set to the ISO 8601 representation. Content defaults to a localized long format string.
|
|
11
|
+
signature: "time_tag(date_or_time, *args, &block)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-time_tag"
|
|
13
|
+
tag:
|
|
14
|
+
name: time
|
|
15
|
+
is_void: false
|
|
16
|
+
preferred: true
|
|
17
|
+
detect_style: call_name
|
|
18
|
+
arguments:
|
|
19
|
+
- name: date_or_time
|
|
20
|
+
position: 1
|
|
21
|
+
type: object
|
|
22
|
+
optional: false
|
|
23
|
+
description: "A Date, Time, or DateTime object."
|
|
24
|
+
- name: content
|
|
25
|
+
position: 2
|
|
26
|
+
type: string
|
|
27
|
+
optional: true
|
|
28
|
+
default: "nil"
|
|
29
|
+
description: "Display text. Defaults to `I18n.l(date_or_time, format: :long)`."
|
|
30
|
+
options:
|
|
31
|
+
- name: format
|
|
32
|
+
type: symbol
|
|
33
|
+
description: "`I18n` date/time format to use. Defaults to `:long`."
|
|
34
|
+
- name: datetime
|
|
35
|
+
type: string
|
|
36
|
+
description: "Override the datetime attribute value."
|
|
37
|
+
special_behaviors: []
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: debug
|
|
3
|
+
source: "ActionView::Helpers::DebugHelper#debug"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns a YAML representation of the object wrapped in a `<pre>` tag for display.
|
|
11
|
+
signature: "debug(object)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/DebugHelper.html#method-i-debug"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: object
|
|
16
|
+
position: 1
|
|
17
|
+
type: object
|
|
18
|
+
optional: false
|
|
19
|
+
description: "Object to debug."
|
|
20
|
+
options: []
|
|
21
|
+
special_behaviors: []
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: apply_form_for_options!
|
|
3
|
+
source: "ActionView::Helpers::FormHelper#apply_form_for_options!"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: void
|
|
6
|
+
visibility: internal
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Applies default form options based on the model object. Determines the URL, method, and scope automatically.
|
|
11
|
+
signature: "apply_form_for_options!(object, options)"
|
|
12
|
+
documentation_url: ""
|
|
13
|
+
tag: null
|
|
14
|
+
arguments: []
|
|
15
|
+
options: []
|
|
16
|
+
special_behaviors: []
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: button
|
|
3
|
+
source: "ActionView::Helpers::FormHelper#button"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: true
|
|
9
|
+
description: |-
|
|
10
|
+
Creates a `<button type="submit">` for the form. When no value is given, it generates a label based on whether the object is a new or persisted record. Accepts a block for custom button content. This is the model-bound version used inside `form_with`/`form_for` blocks.
|
|
11
|
+
signature: "button(value = nil, options = {}, &block)"
|
|
12
|
+
documentation_url: ""
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: value
|
|
16
|
+
position: 1
|
|
17
|
+
type: [string, symbol]
|
|
18
|
+
optional: true
|
|
19
|
+
default: "nil"
|
|
20
|
+
description: "Button text or a Symbol mapped to `field_name`/`field_id`. Auto-generated from the model if omitted."
|
|
21
|
+
- name: options
|
|
22
|
+
position: 2
|
|
23
|
+
type: hash
|
|
24
|
+
optional: true
|
|
25
|
+
default: "{}"
|
|
26
|
+
description: "HTML attributes hash."
|
|
27
|
+
options:
|
|
28
|
+
- name: disabled
|
|
29
|
+
type: boolean
|
|
30
|
+
description: "If `true`, the button is disabled."
|
|
31
|
+
- name: formmethod
|
|
32
|
+
type: string
|
|
33
|
+
description: "HTTP method for the button's form submission."
|
|
34
|
+
- name: data
|
|
35
|
+
type: hash
|
|
36
|
+
maps_to: data-*
|
|
37
|
+
description: "Hash of `data-*` attributes."
|
|
38
|
+
special_behaviors: []
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: checkbox
|
|
3
|
+
source: "ActionView::Helpers::FormHelper#checkbox"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Creates an `<input type="checkbox">` for a specified attribute on a model object, along with a hidden field for the unchecked value. Also available as `check_box`. This is the model-bound version used inside `form_with`/`form_for` blocks.
|
|
11
|
+
signature: "checkbox(object_name, method, options = {}, checked_value = \"1\", unchecked_value = \"0\")"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-checkbox"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: object_name
|
|
16
|
+
position: 1
|
|
17
|
+
type: [string, symbol]
|
|
18
|
+
optional: false
|
|
19
|
+
description: "The name of the object."
|
|
20
|
+
- name: method
|
|
21
|
+
position: 2
|
|
22
|
+
type: symbol
|
|
23
|
+
optional: false
|
|
24
|
+
description: "The attribute name on the object."
|
|
25
|
+
- name: options
|
|
26
|
+
position: 3
|
|
27
|
+
type: hash
|
|
28
|
+
optional: true
|
|
29
|
+
default: "{}"
|
|
30
|
+
description: "HTML attributes hash."
|
|
31
|
+
- name: checked_value
|
|
32
|
+
position: 4
|
|
33
|
+
type: string
|
|
34
|
+
optional: true
|
|
35
|
+
default: "\"1\""
|
|
36
|
+
description: "Value submitted when the checkbox is checked."
|
|
37
|
+
- name: unchecked_value
|
|
38
|
+
position: 5
|
|
39
|
+
type: string
|
|
40
|
+
optional: true
|
|
41
|
+
default: "\"0\""
|
|
42
|
+
description: "Value submitted when the checkbox is unchecked (via hidden field)."
|
|
43
|
+
options:
|
|
44
|
+
- name: include_hidden
|
|
45
|
+
type: boolean
|
|
46
|
+
description: "If `false`, omits the hidden field for the unchecked value."
|
|
47
|
+
special_behaviors: []
|
|
48
|
+
aliases:
|
|
49
|
+
- check_box
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: color_field
|
|
3
|
+
source: "ActionView::Helpers::FormHelper#color_field"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Creates an `<input type="color">` for a specified attribute on a model object. This is the model-bound version used inside `form_with`/`form_for` blocks.
|
|
11
|
+
signature: "color_field(object_name, method, options = {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-color_field"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: object_name
|
|
16
|
+
position: 1
|
|
17
|
+
type: [string, symbol]
|
|
18
|
+
optional: false
|
|
19
|
+
description: "The name of the object."
|
|
20
|
+
- name: method
|
|
21
|
+
position: 2
|
|
22
|
+
type: symbol
|
|
23
|
+
optional: false
|
|
24
|
+
description: "The attribute name on the object."
|
|
25
|
+
- name: options
|
|
26
|
+
position: 3
|
|
27
|
+
type: hash
|
|
28
|
+
optional: true
|
|
29
|
+
default: "{}"
|
|
30
|
+
description: "HTML attributes hash."
|
|
31
|
+
options: []
|
|
32
|
+
special_behaviors: []
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: date_field
|
|
3
|
+
source: "ActionView::Helpers::FormHelper#date_field"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Creates an `<input type="date">` for a specified attribute on a model object. The default value is formatted with `strftime("%Y-%m-%d")`. This is the model-bound version used inside `form_with`/`form_for` blocks.
|
|
11
|
+
signature: "date_field(object_name, method, options = {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-date_field"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: object_name
|
|
16
|
+
position: 1
|
|
17
|
+
type: [string, symbol]
|
|
18
|
+
optional: false
|
|
19
|
+
description: "The name of the object."
|
|
20
|
+
- name: method
|
|
21
|
+
position: 2
|
|
22
|
+
type: symbol
|
|
23
|
+
optional: false
|
|
24
|
+
description: "The attribute name on the object."
|
|
25
|
+
- name: options
|
|
26
|
+
position: 3
|
|
27
|
+
type: hash
|
|
28
|
+
optional: true
|
|
29
|
+
default: "{}"
|
|
30
|
+
description: "HTML attributes hash."
|
|
31
|
+
options:
|
|
32
|
+
- name: min
|
|
33
|
+
type: [string, date]
|
|
34
|
+
description: "Minimum date value (ISO8601 string or Date/Time object)."
|
|
35
|
+
- name: max
|
|
36
|
+
type: [string, date]
|
|
37
|
+
description: "Maximum date value (ISO8601 string or Date/Time object)."
|
|
38
|
+
special_behaviors: []
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: datetime_field
|
|
3
|
+
source: "ActionView::Helpers::FormHelper#datetime_field"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Creates an `<input type="datetime-local">` for a specified attribute on a model object. The default value is formatted with `strftime("%Y-%m-%dT%T")`. Also available as `datetime_local_field`. This is the model-bound version used inside `form_with`/`form_for` blocks.
|
|
11
|
+
signature: "datetime_field(object_name, method, options = {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-datetime_field"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: object_name
|
|
16
|
+
position: 1
|
|
17
|
+
type: [string, symbol]
|
|
18
|
+
optional: false
|
|
19
|
+
description: "The name of the object."
|
|
20
|
+
- name: method
|
|
21
|
+
position: 2
|
|
22
|
+
type: symbol
|
|
23
|
+
optional: false
|
|
24
|
+
description: "The attribute name on the object."
|
|
25
|
+
- name: options
|
|
26
|
+
position: 3
|
|
27
|
+
type: hash
|
|
28
|
+
optional: true
|
|
29
|
+
default: "{}"
|
|
30
|
+
description: "HTML attributes hash."
|
|
31
|
+
options:
|
|
32
|
+
- name: include_seconds
|
|
33
|
+
type: boolean
|
|
34
|
+
description: "If `false`, renders just date, hour, and minute without seconds."
|
|
35
|
+
- name: min
|
|
36
|
+
type: [string, date, time]
|
|
37
|
+
description: "Minimum datetime value (ISO8601 string or Date/Time object)."
|
|
38
|
+
- name: max
|
|
39
|
+
type: [string, date, time]
|
|
40
|
+
description: "Maximum datetime value (ISO8601 string or Date/Time object)."
|
|
41
|
+
special_behaviors: []
|
|
42
|
+
aliases:
|
|
43
|
+
- datetime_local_field
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: email_field
|
|
3
|
+
source: "ActionView::Helpers::FormHelper#email_field"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Creates an `<input type="email">` for a specified attribute on a model object. This is the model-bound version used inside `form_with`/`form_for` blocks.
|
|
11
|
+
signature: "email_field(object_name, method, options = {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-email_field"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: object_name
|
|
16
|
+
position: 1
|
|
17
|
+
type: [string, symbol]
|
|
18
|
+
optional: false
|
|
19
|
+
description: "The name of the object."
|
|
20
|
+
- name: method
|
|
21
|
+
position: 2
|
|
22
|
+
type: symbol
|
|
23
|
+
optional: false
|
|
24
|
+
description: "The attribute name on the object."
|
|
25
|
+
- name: options
|
|
26
|
+
position: 3
|
|
27
|
+
type: hash
|
|
28
|
+
optional: true
|
|
29
|
+
default: "{}"
|
|
30
|
+
description: "HTML attributes hash."
|
|
31
|
+
options: []
|
|
32
|
+
special_behaviors: []
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: emitted_hidden_id?
|
|
3
|
+
source: "ActionView::Helpers::FormHelper#emitted_hidden_id?"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: boolean
|
|
6
|
+
visibility: internal
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns whether the hidden `id` field has already been emitted for this form builder.
|
|
11
|
+
signature: "emitted_hidden_id?"
|
|
12
|
+
documentation_url: ""
|
|
13
|
+
tag: null
|
|
14
|
+
arguments: []
|
|
15
|
+
options: []
|
|
16
|
+
special_behaviors: []
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: fields
|
|
3
|
+
source: "ActionView::Helpers::FormHelper#fields"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: true
|
|
9
|
+
description: |-
|
|
10
|
+
Scopes input fields to a model object. This is the model-bound version used inside `form_with`/`form_for` blocks to create a nested scope for form fields.
|
|
11
|
+
signature: "fields(scope = nil, model: nil, **options, &block)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-fields"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: scope
|
|
16
|
+
position: 1
|
|
17
|
+
type: [string, symbol]
|
|
18
|
+
optional: true
|
|
19
|
+
default: "nil"
|
|
20
|
+
description: "The scope for the fields (used as the parameter key prefix)."
|
|
21
|
+
options:
|
|
22
|
+
- name: model
|
|
23
|
+
type: object
|
|
24
|
+
description: "The model object to scope fields to."
|
|
25
|
+
- name: index
|
|
26
|
+
type: [string, integer]
|
|
27
|
+
description: "Index for nested attributes."
|
|
28
|
+
- name: builder
|
|
29
|
+
type: class
|
|
30
|
+
description: "Custom form builder class."
|
|
31
|
+
special_behaviors: []
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: fields_for
|
|
3
|
+
source: "ActionView::Helpers::FormHelper#fields_for"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: true
|
|
9
|
+
description: |-
|
|
10
|
+
Creates a scope around a specific model object, like `form_with`, but without building a `<form>` tag. Useful for specifying additional model objects in the same form.
|
|
11
|
+
signature: "fields_for(record_name, record_object = nil, options = {}, &block)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-fields_for"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: record_name
|
|
16
|
+
position: 1
|
|
17
|
+
type: [string, symbol]
|
|
18
|
+
optional: false
|
|
19
|
+
description: "Name of the model object."
|
|
20
|
+
- name: record_object
|
|
21
|
+
position: 2
|
|
22
|
+
type: object
|
|
23
|
+
optional: true
|
|
24
|
+
default: "nil"
|
|
25
|
+
description: "The model object to scope fields to."
|
|
26
|
+
- name: options
|
|
27
|
+
position: 3
|
|
28
|
+
type: hash
|
|
29
|
+
optional: true
|
|
30
|
+
default: "{}"
|
|
31
|
+
description: "Options hash."
|
|
32
|
+
options: []
|
|
33
|
+
special_behaviors: []
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: file_field
|
|
3
|
+
source: "ActionView::Helpers::FormHelper#file_field"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Creates an `<input type="file">` for a specified attribute on a model object. Sets the enclosing form's encoding to `multipart/form-data`. This is the model-bound version used inside `form_with`/`form_for` blocks.
|
|
11
|
+
signature: "file_field(object_name, method, options = {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-file_field"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: object_name
|
|
16
|
+
position: 1
|
|
17
|
+
type: [string, symbol]
|
|
18
|
+
optional: false
|
|
19
|
+
description: "The name of the object."
|
|
20
|
+
- name: method
|
|
21
|
+
position: 2
|
|
22
|
+
type: symbol
|
|
23
|
+
optional: false
|
|
24
|
+
description: "The attribute name on the object."
|
|
25
|
+
- name: options
|
|
26
|
+
position: 3
|
|
27
|
+
type: hash
|
|
28
|
+
optional: true
|
|
29
|
+
default: "{}"
|
|
30
|
+
description: "HTML attributes hash."
|
|
31
|
+
options:
|
|
32
|
+
- name: multiple
|
|
33
|
+
type: boolean
|
|
34
|
+
description: "If `true`, allows selecting multiple files."
|
|
35
|
+
- name: include_hidden
|
|
36
|
+
type: boolean
|
|
37
|
+
description: "When `multiple: true`, prefixes with a hidden field for empty submissions."
|
|
38
|
+
- name: accept
|
|
39
|
+
type: string
|
|
40
|
+
description: "Mime type(s) to filter the file chooser."
|
|
41
|
+
- name: direct_upload
|
|
42
|
+
type: boolean
|
|
43
|
+
description: "If `true`, enables Active Storage direct upload."
|
|
44
|
+
special_behaviors: []
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: form_for
|
|
3
|
+
source: "ActionView::Helpers::FormHelper#form_for"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: true
|
|
9
|
+
description: |-
|
|
10
|
+
Creates a form that allows the user to create or update the attributes of a specific model object. Superseded by `form_with` in modern Rails.
|
|
11
|
+
signature: "form_for(record, options = {}, &block)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-form_for"
|
|
13
|
+
tag:
|
|
14
|
+
name: form
|
|
15
|
+
is_void: false
|
|
16
|
+
preferred: false
|
|
17
|
+
detect_style: call_name
|
|
18
|
+
arguments:
|
|
19
|
+
- name: record
|
|
20
|
+
position: 1
|
|
21
|
+
type: object
|
|
22
|
+
optional: false
|
|
23
|
+
description: "The model object the form is for."
|
|
24
|
+
- name: options
|
|
25
|
+
position: 2
|
|
26
|
+
type: hash
|
|
27
|
+
optional: true
|
|
28
|
+
default: "{}"
|
|
29
|
+
description: "Form options hash."
|
|
30
|
+
options:
|
|
31
|
+
- name: url
|
|
32
|
+
type: [string, hash]
|
|
33
|
+
description: "URL the form submits to."
|
|
34
|
+
- name: method
|
|
35
|
+
type: symbol
|
|
36
|
+
description: "HTTP method for the form."
|
|
37
|
+
- name: data
|
|
38
|
+
type: hash
|
|
39
|
+
maps_to: data-*
|
|
40
|
+
description: "Hash of `data-*` attributes."
|
|
41
|
+
special_behaviors: []
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: form_with
|
|
3
|
+
source: "ActionView::Helpers::FormHelper#form_with"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: true
|
|
9
|
+
description: |-
|
|
10
|
+
Creates a `<form>` tag based on mixing URLs, scopes, or models. Using just a URL, adding a scope, or passing a model object are all supported. An existing model makes an update form and fills out field values. The preferred way to create forms in modern Rails.
|
|
11
|
+
signature: "form_with(model: nil, scope: nil, url: nil, format: nil, **options, &block)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-form_with"
|
|
13
|
+
tag:
|
|
14
|
+
name: form
|
|
15
|
+
is_void: false
|
|
16
|
+
preferred: true
|
|
17
|
+
detect_style: call_name
|
|
18
|
+
arguments: []
|
|
19
|
+
options:
|
|
20
|
+
- name: model
|
|
21
|
+
type: object
|
|
22
|
+
description: "A model object to infer URL and scope from."
|
|
23
|
+
- name: scope
|
|
24
|
+
type: [string, symbol]
|
|
25
|
+
description: "Scope to prefix input field names with."
|
|
26
|
+
- name: url
|
|
27
|
+
type: [string, hash]
|
|
28
|
+
description: "URL the form submits to."
|
|
29
|
+
- name: method
|
|
30
|
+
type: symbol
|
|
31
|
+
description: "HTTP method for the form (`:get`, `:post`, `:patch`, `:delete`)."
|
|
32
|
+
- name: local
|
|
33
|
+
type: boolean
|
|
34
|
+
description: "If `true`, disables remote form submission."
|
|
35
|
+
- name: data
|
|
36
|
+
type: hash
|
|
37
|
+
maps_to: data-*
|
|
38
|
+
description: "Hash of `data-*` attributes."
|
|
39
|
+
- name: class
|
|
40
|
+
type: string
|
|
41
|
+
description: "CSS class name(s)."
|
|
42
|
+
special_behaviors: []
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: form_with_generates_ids
|
|
3
|
+
source: "ActionView::Helpers::FormHelper#form_with_generates_ids"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: boolean
|
|
6
|
+
visibility: internal
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns whether `form_with` generates `id` attributes on form elements by default.
|
|
11
|
+
signature: "form_with_generates_ids"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments: []
|
|
15
|
+
options: []
|
|
16
|
+
special_behaviors: []
|