herb 0.9.7-x86_64-linux-gnu → 0.10.1-x86_64-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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5aaa7accca3739a6d1914800a8f8568b3dcecba8442ccb4bd5fffa24c06c2a59
|
|
4
|
+
data.tar.gz: 90ec70504479d29044572f2feafb37351fa367c778441a1b6c43d25b559b2452
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65aca934a3dc27f8ec3221008ebfe94d6cf93850a7c0ac9c9bf1de3d6a1d14e04cdfb5ca1581ecb99aef1d62eddd7de4ee177466a34ab20e1e7efba430a249d7
|
|
7
|
+
data.tar.gz: 448959bcd0c7f9e92db9176e5afc0b69cc89ca5c62b59ae4f5cc2ad009c8ee72d20f93065bd4555cb191bdce33be15115aa0ee4cd7da6050d8c68a66a609e422
|
data/README.md
CHANGED
|
@@ -59,6 +59,7 @@ The Herb ecosystem offers multiple tools that integrate seamlessly into editors,
|
|
|
59
59
|
| [Herb Language Service](https://herb-tools.dev/projects/language-service) | HTML+ERB language service with ActionView tag helper support. |
|
|
60
60
|
| [Herb Language Server](https://herb-tools.dev/projects/language-server) | Rich editor integration for VS Code, Zed, Neovim, and more. |
|
|
61
61
|
| [Herb Engine](https://herb-tools.dev/projects/engine) | HTML-aware ERB rendering engine, API-compatible with Erubi. |
|
|
62
|
+
| [Herb Dev Server](https://herb-tools.dev/projects/dev-server) | File-watching dev server with live DOM patching for templates. *(experimental)* |
|
|
62
63
|
| [Herb Dev Tools](https://herb-tools.dev/projects/dev-tools) | In-browser dev tools for inspecting and debugging templates, shipped with ReActionView. |
|
|
63
64
|
| [ReActionView](https://reactionview.dev) | ActionView-compatible ERB engine with modern DX for Rails. |
|
|
64
65
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: action_cable_meta_tag
|
|
3
|
+
source: "ActionCable::Helpers::ActionCableHelper#action_cable_meta_tag"
|
|
4
|
+
gem: actioncable
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns an `"action-cable-url"` `<meta>` tag with the value of the URL specified in your configuration. Ensure this is above your JavaScript tag. Used by Action Cable to determine the URL of your WebSocket server.
|
|
11
|
+
signature: "action_cable_meta_tag"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionCable/Helpers/ActionCableHelper.html#method-i-action_cable_meta_tag"
|
|
13
|
+
tag:
|
|
14
|
+
name: meta
|
|
15
|
+
is_void: true
|
|
16
|
+
preferred: false
|
|
17
|
+
detect_style: call_name
|
|
18
|
+
arguments: []
|
|
19
|
+
options: []
|
|
20
|
+
special_behaviors: []
|
data/config/action_view_helpers/actionpack/content_security_policy/content_security_policy?.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: content_security_policy?
|
|
3
|
+
source: "ActionController::ContentSecurityPolicy#content_security_policy?"
|
|
4
|
+
gem: actionpack
|
|
5
|
+
output: boolean
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns whether a Content-Security-Policy is present for the current request.
|
|
11
|
+
signature: "content_security_policy?"
|
|
12
|
+
documentation_url: ""
|
|
13
|
+
tag: null
|
|
14
|
+
arguments: []
|
|
15
|
+
options: []
|
|
16
|
+
special_behaviors: []
|
data/config/action_view_helpers/actionpack/content_security_policy/content_security_policy_nonce.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: content_security_policy_nonce
|
|
3
|
+
source: "ActionController::ContentSecurityPolicy#content_security_policy_nonce"
|
|
4
|
+
gem: actionpack
|
|
5
|
+
output: text
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns the Content-Security-Policy nonce for the current request. This nonce value is used in `<script>` and `<style>` tags to allow inline content when a CSP is configured with a nonce source.
|
|
11
|
+
signature: "content_security_policy_nonce"
|
|
12
|
+
documentation_url: ""
|
|
13
|
+
tag: null
|
|
14
|
+
arguments: []
|
|
15
|
+
options: []
|
|
16
|
+
special_behaviors: []
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: polymorphic_path
|
|
3
|
+
source: "ActionDispatch::Routing::PolymorphicRoutes#polymorphic_path"
|
|
4
|
+
gem: actionpack
|
|
5
|
+
output: url
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns the path component of a URL for the given record. Like `polymorphic_url` but returns a path instead of a full URL.
|
|
11
|
+
signature: "polymorphic_path(record_or_hash_or_array, options = {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionDispatch/Routing/PolymorphicRoutes.html#method-i-polymorphic_path"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: record_or_hash_or_array
|
|
16
|
+
position: 1
|
|
17
|
+
type: object
|
|
18
|
+
optional: false
|
|
19
|
+
description: "An Active Record instance, class, array, or hash."
|
|
20
|
+
- name: options
|
|
21
|
+
position: 2
|
|
22
|
+
type: hash
|
|
23
|
+
optional: true
|
|
24
|
+
default: "{}"
|
|
25
|
+
description: "URL options hash."
|
|
26
|
+
options: []
|
|
27
|
+
special_behaviors: []
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: polymorphic_url
|
|
3
|
+
source: "ActionDispatch::Routing::PolymorphicRoutes#polymorphic_url"
|
|
4
|
+
gem: actionpack
|
|
5
|
+
output: url
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns the URL for the given record or array of records. Automatically resolves to the named route based on the class of the record.
|
|
11
|
+
signature: "polymorphic_url(record_or_hash_or_array, options = {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionDispatch/Routing/PolymorphicRoutes.html#method-i-polymorphic_url"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: record_or_hash_or_array
|
|
16
|
+
position: 1
|
|
17
|
+
type: object
|
|
18
|
+
optional: false
|
|
19
|
+
description: "An Active Record instance, class, array, or hash."
|
|
20
|
+
- name: options
|
|
21
|
+
position: 2
|
|
22
|
+
type: hash
|
|
23
|
+
optional: true
|
|
24
|
+
default: "{}"
|
|
25
|
+
description: "URL options hash."
|
|
26
|
+
options:
|
|
27
|
+
- name: action
|
|
28
|
+
type: symbol
|
|
29
|
+
description: "Route action (e.g. `:edit`, `:new`)."
|
|
30
|
+
- name: routing_type
|
|
31
|
+
type: symbol
|
|
32
|
+
description: "Whether to generate `:url` or `:path`. Defaults to `:url`."
|
|
33
|
+
special_behaviors: []
|
data/config/action_view_helpers/actionpack/request_forgery_protection/form_authenticity_token.yml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: form_authenticity_token
|
|
3
|
+
source: "ActionController::RequestForgeryProtection#form_authenticity_token"
|
|
4
|
+
gem: actionpack
|
|
5
|
+
output: text
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Creates the authenticity token for the current request. Returns the masked CSRF token string used for protecting forms against cross-site request forgery.
|
|
11
|
+
signature: "form_authenticity_token(form_options: {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionController/RequestForgeryProtection.html#method-i-form_authenticity_token"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments: []
|
|
15
|
+
options:
|
|
16
|
+
- name: form_options
|
|
17
|
+
type: hash
|
|
18
|
+
description: "A hash that may contain `:action` and `:method` keys for per-form CSRF tokens."
|
|
19
|
+
special_behaviors: []
|
data/config/action_view_helpers/actionpack/request_forgery_protection/protect_against_forgery?.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: protect_against_forgery?
|
|
3
|
+
source: "ActionController::RequestForgeryProtection#protect_against_forgery?"
|
|
4
|
+
gem: actionpack
|
|
5
|
+
output: boolean
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Checks if the controller allows forgery protection. Returns `true` if forgery protection is enabled and the session is active.
|
|
11
|
+
signature: "protect_against_forgery?"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionController/RequestForgeryProtection.html#method-i-protect_against_forgery-3F"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments: []
|
|
15
|
+
options: []
|
|
16
|
+
special_behaviors: []
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: render_action_text_content
|
|
3
|
+
source: "ActionText::ContentHelper#render_action_text_content"
|
|
4
|
+
gem: actiontext
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Renders Action Text content by processing attachments and sanitizing the resulting HTML. Sets `prefix_partial_path_with_controller_namespace` to `false`, renders attachments, and then sanitizes the content.
|
|
11
|
+
signature: "render_action_text_content(content)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionText/ContentHelper.html#method-i-render_action_text_content"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: content
|
|
16
|
+
position: 1
|
|
17
|
+
type: object
|
|
18
|
+
optional: false
|
|
19
|
+
description: "The Action Text content object to render."
|
|
20
|
+
options: []
|
|
21
|
+
special_behaviors: []
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: sanitize_action_text_content
|
|
3
|
+
source: "ActionText::ContentHelper#sanitize_action_text_content"
|
|
4
|
+
gem: actiontext
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Sanitizes Action Text content HTML using the configured sanitizer, allowed tags, allowed attributes, and scrubber. Returns the sanitized HTML as an `html_safe` string.
|
|
11
|
+
signature: "sanitize_action_text_content(content)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionText/ContentHelper.html#method-i-sanitize_action_text_content"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: content
|
|
16
|
+
position: 1
|
|
17
|
+
type: object
|
|
18
|
+
optional: false
|
|
19
|
+
description: "The Action Text content object to sanitize."
|
|
20
|
+
options: []
|
|
21
|
+
special_behaviors: []
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rich_textarea_tag
|
|
3
|
+
source: "ActionText::TagHelper#rich_textarea_tag"
|
|
4
|
+
gem: actiontext
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: true
|
|
9
|
+
description: |-
|
|
10
|
+
Returns a `<trix-editor>` tag that instantiates the Trix JavaScript editor as well as a hidden field that Trix will write to on changes, so the content will be sent on form submissions.
|
|
11
|
+
signature: "rich_textarea_tag(name, value = nil, options = {}, &block)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionText/TagHelper.html#method-i-rich_textarea_tag"
|
|
13
|
+
tag:
|
|
14
|
+
name: trix-editor
|
|
15
|
+
is_void: false
|
|
16
|
+
preferred: true
|
|
17
|
+
detect_style: call_name
|
|
18
|
+
arguments:
|
|
19
|
+
- name: name
|
|
20
|
+
position: 1
|
|
21
|
+
type: string
|
|
22
|
+
optional: false
|
|
23
|
+
description: "Name attribute for the hidden field and editor."
|
|
24
|
+
- name: value
|
|
25
|
+
position: 2
|
|
26
|
+
type: string
|
|
27
|
+
optional: true
|
|
28
|
+
default: "nil"
|
|
29
|
+
description: "Initial content for the editor."
|
|
30
|
+
- name: options
|
|
31
|
+
position: 3
|
|
32
|
+
type: hash
|
|
33
|
+
optional: true
|
|
34
|
+
default: "{}"
|
|
35
|
+
description: "HTML attributes hash."
|
|
36
|
+
options:
|
|
37
|
+
- name: class
|
|
38
|
+
type: string
|
|
39
|
+
description: |-
|
|
40
|
+
CSS class. Defaults to `"trix-content"` for default styles.
|
|
41
|
+
- name: data
|
|
42
|
+
type: hash
|
|
43
|
+
maps_to: data-*
|
|
44
|
+
description: |-
|
|
45
|
+
Hash of `data-*` attributes. Includes direct_upload_url and blob_url_template by default.
|
|
46
|
+
special_behaviors: []
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: error_message
|
|
3
|
+
source: "ActionView::Helpers::ActiveModelHelper#error_message"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: text
|
|
6
|
+
visibility: internal
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns the validation error message for the current field.
|
|
11
|
+
signature: "error_message"
|
|
12
|
+
documentation_url: ""
|
|
13
|
+
tag: null
|
|
14
|
+
arguments: []
|
|
15
|
+
options: []
|
|
16
|
+
special_behaviors: []
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: error_wrapping
|
|
3
|
+
source: "ActionView::Helpers::ActiveModelHelper#error_wrapping"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: internal
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Wraps the given HTML tag with error-specific markup when the associated field has validation errors.
|
|
11
|
+
signature: "error_wrapping(html_tag)"
|
|
12
|
+
documentation_url: ""
|
|
13
|
+
tag: null
|
|
14
|
+
arguments: []
|
|
15
|
+
options: []
|
|
16
|
+
special_behaviors: []
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: object
|
|
3
|
+
source: "ActionView::Helpers::ActiveModelHelper#object"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: text
|
|
6
|
+
visibility: internal
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns the model object associated with the form builder.
|
|
11
|
+
signature: "object"
|
|
12
|
+
documentation_url: ""
|
|
13
|
+
tag: null
|
|
14
|
+
arguments: []
|
|
15
|
+
options: []
|
|
16
|
+
special_behaviors: []
|
data/config/action_view_helpers/actionview/asset_tag_helper/apply_stylesheet_media_default.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: apply_stylesheet_media_default
|
|
3
|
+
source: "ActionView::Helpers::AssetTagHelper#apply_stylesheet_media_default"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: text
|
|
6
|
+
visibility: internal
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns whether `stylesheet_link_tag` applies a default `media` attribute.
|
|
11
|
+
signature: "apply_stylesheet_media_default"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments: []
|
|
15
|
+
options: []
|
|
16
|
+
special_behaviors: []
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: audio_tag
|
|
3
|
+
source: "ActionView::Helpers::AssetTagHelper#audio_tag"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: true
|
|
9
|
+
description: |-
|
|
10
|
+
Returns an HTML `<audio>` tag for the sources. If sources is a string, a single `<audio>` tag will be returned. If sources is an array, an `<audio>` tag with nested `<source>` tags for each source will be returned. The sources can be full paths, files in your public audios directory, or Active Storage attachments.
|
|
11
|
+
signature: "audio_tag(*sources, **options)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html#method-i-audio_tag"
|
|
13
|
+
tag:
|
|
14
|
+
name: audio
|
|
15
|
+
is_void: false
|
|
16
|
+
preferred: true
|
|
17
|
+
detect_style: call_name
|
|
18
|
+
implicit_attribute:
|
|
19
|
+
name: src
|
|
20
|
+
source: first_arg
|
|
21
|
+
wrapper: audio_path
|
|
22
|
+
skip_wrapping_for:
|
|
23
|
+
- url
|
|
24
|
+
arguments:
|
|
25
|
+
- name: sources
|
|
26
|
+
position: 1
|
|
27
|
+
type: string
|
|
28
|
+
optional: false
|
|
29
|
+
splat: true
|
|
30
|
+
description: "One or more audio file paths or URLs."
|
|
31
|
+
options:
|
|
32
|
+
- name: controls
|
|
33
|
+
type: boolean
|
|
34
|
+
description: "Whether to show playback controls."
|
|
35
|
+
- name: autoplay
|
|
36
|
+
type: boolean
|
|
37
|
+
description: "Whether to start playing automatically."
|
|
38
|
+
- name: loop
|
|
39
|
+
type: boolean
|
|
40
|
+
description: "Whether audio loops."
|
|
41
|
+
- name: preload
|
|
42
|
+
type: string
|
|
43
|
+
description: |-
|
|
44
|
+
Preload behavior (`"auto"`, `"metadata"`, `"none"`).
|
|
45
|
+
special_behaviors: []
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: auto_discovery_link_tag
|
|
3
|
+
source: "ActionView::Helpers::AssetTagHelper#auto_discovery_link_tag"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns a `<link>` tag that browsers and feed readers can use to auto-detect an RSS, Atom, or JSON feed. The type can be `:rss` (default), `:atom`, or `:json`.
|
|
11
|
+
signature: "auto_discovery_link_tag(type = :rss, url_options = {}, tag_options = {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html#method-i-auto_discovery_link_tag"
|
|
13
|
+
tag:
|
|
14
|
+
name: link
|
|
15
|
+
is_void: true
|
|
16
|
+
preferred: false
|
|
17
|
+
detect_style: call_name
|
|
18
|
+
arguments:
|
|
19
|
+
- name: type
|
|
20
|
+
position: 1
|
|
21
|
+
type: symbol
|
|
22
|
+
optional: true
|
|
23
|
+
default: ":rss"
|
|
24
|
+
description: "Feed type (`:rss`, `:atom`, or `:json`)."
|
|
25
|
+
- name: url_options
|
|
26
|
+
position: 2
|
|
27
|
+
type: hash
|
|
28
|
+
optional: true
|
|
29
|
+
default: "{}"
|
|
30
|
+
description: "URL options hash passed to `url_for`."
|
|
31
|
+
- name: tag_options
|
|
32
|
+
position: 3
|
|
33
|
+
type: hash
|
|
34
|
+
optional: true
|
|
35
|
+
default: "{}"
|
|
36
|
+
description: "HTML attributes for the `<link>` tag."
|
|
37
|
+
options:
|
|
38
|
+
- name: title
|
|
39
|
+
type: string
|
|
40
|
+
description: "Title of the feed."
|
|
41
|
+
- name: type
|
|
42
|
+
type: string
|
|
43
|
+
description: "MIME type override."
|
|
44
|
+
special_behaviors: []
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: auto_include_nonce
|
|
3
|
+
source: "ActionView::Helpers::AssetTagHelper#auto_include_nonce"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: boolean
|
|
6
|
+
visibility: internal
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns whether CSP nonce is automatically included in asset tags.
|
|
11
|
+
signature: "auto_include_nonce"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments: []
|
|
15
|
+
options: []
|
|
16
|
+
special_behaviors: []
|
data/config/action_view_helpers/actionview/asset_tag_helper/auto_include_nonce_for_scripts.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: auto_include_nonce_for_scripts
|
|
3
|
+
source: "ActionView::Helpers::AssetTagHelper#auto_include_nonce_for_scripts"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: boolean
|
|
6
|
+
visibility: internal
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns whether CSP nonce is automatically included in `<script>` tags.
|
|
11
|
+
signature: "auto_include_nonce_for_scripts"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments: []
|
|
15
|
+
options: []
|
|
16
|
+
special_behaviors: []
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: auto_include_nonce_for_styles
|
|
3
|
+
source: "ActionView::Helpers::AssetTagHelper#auto_include_nonce_for_styles"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: boolean
|
|
6
|
+
visibility: internal
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns whether CSP nonce is automatically included in `<style>` tags.
|
|
11
|
+
signature: "auto_include_nonce_for_styles"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments: []
|
|
15
|
+
options: []
|
|
16
|
+
special_behaviors: []
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: favicon_link_tag
|
|
3
|
+
source: "ActionView::Helpers::AssetTagHelper#favicon_link_tag"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns a `<link>` tag for a favicon managed by the asset pipeline. If a page has no link like the one generated by this helper, browsers ask for /favicon.ico automatically. Defaults to `"favicon.ico"` with rel `"icon"` and type `"image/x-icon"`.
|
|
11
|
+
signature: "favicon_link_tag(source = \"favicon.ico\", options = {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html#method-i-favicon_link_tag"
|
|
13
|
+
tag:
|
|
14
|
+
name: link
|
|
15
|
+
is_void: true
|
|
16
|
+
preferred: false
|
|
17
|
+
detect_style: call_name
|
|
18
|
+
implicit_attribute:
|
|
19
|
+
name: href
|
|
20
|
+
source: first_arg
|
|
21
|
+
wrapper: image_path
|
|
22
|
+
skip_wrapping_for:
|
|
23
|
+
- url
|
|
24
|
+
arguments:
|
|
25
|
+
- name: source
|
|
26
|
+
position: 1
|
|
27
|
+
type: string
|
|
28
|
+
optional: true
|
|
29
|
+
default: "favicon.ico"
|
|
30
|
+
description: "Path to the favicon file."
|
|
31
|
+
- name: options
|
|
32
|
+
position: 2
|
|
33
|
+
type: hash
|
|
34
|
+
optional: true
|
|
35
|
+
default: "{}"
|
|
36
|
+
description: "HTML attributes hash."
|
|
37
|
+
options:
|
|
38
|
+
- name: type
|
|
39
|
+
type: string
|
|
40
|
+
description: |-
|
|
41
|
+
MIME type of the favicon (e.g. `"image/x-icon"`).
|
|
42
|
+
- name: rel
|
|
43
|
+
type: string
|
|
44
|
+
description: |-
|
|
45
|
+
Link relation (defaults to `"icon"`).
|
|
46
|
+
special_behaviors: []
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: image_decoding
|
|
3
|
+
source: "ActionView::Helpers::AssetTagHelper#image_decoding"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: text
|
|
6
|
+
visibility: internal
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns the default `decoding` attribute for `image_tag` (e.g. `"async"`).
|
|
11
|
+
signature: "image_decoding"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments: []
|
|
15
|
+
options: []
|
|
16
|
+
special_behaviors: []
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: image_loading
|
|
3
|
+
source: "ActionView::Helpers::AssetTagHelper#image_loading"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: text
|
|
6
|
+
visibility: internal
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns the default `loading` attribute for `image_tag` (e.g. `"lazy"`).
|
|
11
|
+
signature: "image_loading"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments: []
|
|
15
|
+
options: []
|
|
16
|
+
special_behaviors: []
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: image_tag
|
|
3
|
+
source: "ActionView::Helpers::AssetTagHelper#image_tag"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: true
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns an HTML `<img>` tag for the source. The source can be a full path, a file, or an Active Storage attachment. Options include `:size` (as `"WxH"` or `"N"`), `:srcset` (hash or array of [source, descriptor] pairs), and standard HTML attributes.
|
|
11
|
+
signature: "image_tag(source, options = {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html#method-i-image_tag"
|
|
13
|
+
tag:
|
|
14
|
+
name: img
|
|
15
|
+
is_void: true
|
|
16
|
+
preferred: true
|
|
17
|
+
detect_style: call_name
|
|
18
|
+
implicit_attribute:
|
|
19
|
+
name: src
|
|
20
|
+
source: first_arg
|
|
21
|
+
wrapper: image_path
|
|
22
|
+
wrapper_quotes_arg: true
|
|
23
|
+
skip_wrapping_for:
|
|
24
|
+
- url
|
|
25
|
+
- path_helper
|
|
26
|
+
content: null
|
|
27
|
+
attributes_arg: 2
|
|
28
|
+
transform_style: generic
|
|
29
|
+
arguments:
|
|
30
|
+
- name: source
|
|
31
|
+
position: 1
|
|
32
|
+
type: string
|
|
33
|
+
optional: false
|
|
34
|
+
description: "Image source path, URL, or Active Storage blob."
|
|
35
|
+
- name: options
|
|
36
|
+
position: 2
|
|
37
|
+
type: hash
|
|
38
|
+
optional: true
|
|
39
|
+
default: "{}"
|
|
40
|
+
description: "HTML attributes hash."
|
|
41
|
+
options:
|
|
42
|
+
- name: alt
|
|
43
|
+
type: string
|
|
44
|
+
description: "Alt text for the image. Defaults to a humanized version of the filename."
|
|
45
|
+
- name: size
|
|
46
|
+
type: string
|
|
47
|
+
description: |-
|
|
48
|
+
Image dimensions as `"WxH"` (e.g. `"32x32"`). Sets both width and height.
|
|
49
|
+
- name: width
|
|
50
|
+
type: [string, integer]
|
|
51
|
+
description: "Image width in pixels."
|
|
52
|
+
- name: height
|
|
53
|
+
type: [string, integer]
|
|
54
|
+
description: "Image height in pixels."
|
|
55
|
+
- name: class
|
|
56
|
+
type: string
|
|
57
|
+
description: "CSS class name(s)."
|
|
58
|
+
- name: data
|
|
59
|
+
type: hash
|
|
60
|
+
maps_to: data-*
|
|
61
|
+
description: "Hash of `data-*` attributes."
|
|
62
|
+
special_behaviors:
|
|
63
|
+
- type: size_to_dimensions
|
|
64
|
+
attribute: size
|
|
65
|
+
width_attribute: width
|
|
66
|
+
height_attribute: height
|
|
67
|
+
- type: remove_non_html_options
|
|
68
|
+
options: [skip_pipeline]
|