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,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: collection_radio_buttons
|
|
3
|
+
source: "ActionView::Helpers::FormOptionsHelper#collection_radio_buttons"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: true
|
|
9
|
+
description: |-
|
|
10
|
+
Returns radio button tags for the collection of existing return values of `method` for `object`'s class. The value returned from calling `method` on the instance `object` will be selected. If calling `method` returns `nil`, no selection is made.
|
|
11
|
+
signature: "collection_radio_buttons(object, method, collection, value_method, text_method, options = {}, html_options = {}, &block)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#method-i-collection_radio_buttons"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: object
|
|
16
|
+
position: 1
|
|
17
|
+
type: [string, symbol]
|
|
18
|
+
optional: false
|
|
19
|
+
description: "The object name."
|
|
20
|
+
- name: method
|
|
21
|
+
position: 2
|
|
22
|
+
type: [string, symbol]
|
|
23
|
+
optional: false
|
|
24
|
+
description: "The attribute of the object."
|
|
25
|
+
- name: collection
|
|
26
|
+
position: 3
|
|
27
|
+
type: array
|
|
28
|
+
optional: false
|
|
29
|
+
description: "The collection of objects to build radio buttons from."
|
|
30
|
+
- name: value_method
|
|
31
|
+
position: 4
|
|
32
|
+
type: [symbol, string]
|
|
33
|
+
optional: false
|
|
34
|
+
description: "Method to call on each member of `collection` to get the radio button value."
|
|
35
|
+
- name: text_method
|
|
36
|
+
position: 5
|
|
37
|
+
type: [symbol, string]
|
|
38
|
+
optional: false
|
|
39
|
+
description: "Method to call on each member of `collection` to get the label text."
|
|
40
|
+
- name: options
|
|
41
|
+
position: 6
|
|
42
|
+
type: hash
|
|
43
|
+
optional: true
|
|
44
|
+
default: "{}"
|
|
45
|
+
description: "Options hash."
|
|
46
|
+
- name: html_options
|
|
47
|
+
position: 7
|
|
48
|
+
type: hash
|
|
49
|
+
optional: true
|
|
50
|
+
default: "{}"
|
|
51
|
+
description: "HTML attributes for each radio button tag."
|
|
52
|
+
options:
|
|
53
|
+
- name: include_hidden
|
|
54
|
+
type: boolean
|
|
55
|
+
description: "If `false`, prevents the hidden field from being generated."
|
|
56
|
+
special_behaviors: []
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: collection_select
|
|
3
|
+
source: "ActionView::Helpers::FormOptionsHelper#collection_select"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns `<select>` and `<option>` tags for the collection of existing return values of `method` for `object`'s class. The value returned from calling `method` on the instance `object` will be selected. If calling `method` returns `nil`, no selection is made without including `:prompt` or `:include_blank` in the options hash.
|
|
11
|
+
signature: "collection_select(object, method, collection, value_method, text_method, options = {}, html_options = {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#method-i-collection_select"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: object
|
|
16
|
+
position: 1
|
|
17
|
+
type: [string, symbol]
|
|
18
|
+
optional: false
|
|
19
|
+
description: "The object name for the select tag."
|
|
20
|
+
- name: method
|
|
21
|
+
position: 2
|
|
22
|
+
type: [string, symbol]
|
|
23
|
+
optional: false
|
|
24
|
+
description: "The attribute of the object corresponding to the select tag."
|
|
25
|
+
- name: collection
|
|
26
|
+
position: 3
|
|
27
|
+
type: array
|
|
28
|
+
optional: false
|
|
29
|
+
description: "The collection of objects to build options from."
|
|
30
|
+
- name: value_method
|
|
31
|
+
position: 4
|
|
32
|
+
type: [symbol, string]
|
|
33
|
+
optional: false
|
|
34
|
+
description: "Method to call on each member of `collection` to get the option value."
|
|
35
|
+
- name: text_method
|
|
36
|
+
position: 5
|
|
37
|
+
type: [symbol, string]
|
|
38
|
+
optional: false
|
|
39
|
+
description: "Method to call on each member of `collection` to get the option text."
|
|
40
|
+
- name: options
|
|
41
|
+
position: 6
|
|
42
|
+
type: hash
|
|
43
|
+
optional: true
|
|
44
|
+
default: "{}"
|
|
45
|
+
description: "Options hash for customizing the select behavior."
|
|
46
|
+
- name: html_options
|
|
47
|
+
position: 7
|
|
48
|
+
type: hash
|
|
49
|
+
optional: true
|
|
50
|
+
default: "{}"
|
|
51
|
+
description: "HTML attributes for the `<select>` tag."
|
|
52
|
+
options:
|
|
53
|
+
- name: include_blank
|
|
54
|
+
type: [boolean, string]
|
|
55
|
+
description: "Include a blank option at the top of the select."
|
|
56
|
+
- name: prompt
|
|
57
|
+
type: [boolean, string]
|
|
58
|
+
description: "Prepend an option with a generic prompt or the given prompt string."
|
|
59
|
+
- name: selected
|
|
60
|
+
type: [string, array]
|
|
61
|
+
description: "Value to use for the selected option."
|
|
62
|
+
- name: disabled
|
|
63
|
+
type: [string, array, proc]
|
|
64
|
+
description: "Value, values, or Proc to determine disabled options."
|
|
65
|
+
special_behaviors: []
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: grouped_collection_select
|
|
3
|
+
source: "ActionView::Helpers::FormOptionsHelper#grouped_collection_select"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns `<select>`, `<optgroup>`, and `<option>` tags for the collection of existing return values of `method` for `object`'s class. The value returned from calling `method` on the instance `object` will be selected. If calling `method` returns `nil`, no selection is made without including `:prompt` or `:include_blank` in the options hash.
|
|
11
|
+
signature: "grouped_collection_select(object, method, collection, group_method, group_label_method, option_key_method, option_value_method, options = {}, html_options = {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#method-i-grouped_collection_select"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: object
|
|
16
|
+
position: 1
|
|
17
|
+
type: [string, symbol]
|
|
18
|
+
optional: false
|
|
19
|
+
description: "The object name for the select tag."
|
|
20
|
+
- name: method
|
|
21
|
+
position: 2
|
|
22
|
+
type: [string, symbol]
|
|
23
|
+
optional: false
|
|
24
|
+
description: "The attribute of the object corresponding to the select tag."
|
|
25
|
+
- name: collection
|
|
26
|
+
position: 3
|
|
27
|
+
type: array
|
|
28
|
+
optional: false
|
|
29
|
+
description: "An array of objects representing the `<optgroup>` tags."
|
|
30
|
+
- name: group_method
|
|
31
|
+
position: 4
|
|
32
|
+
type: [symbol, string]
|
|
33
|
+
optional: false
|
|
34
|
+
description: "Method to call on a member of `collection` to return an array of child objects for the `<option>` tags."
|
|
35
|
+
- name: group_label_method
|
|
36
|
+
position: 5
|
|
37
|
+
type: [symbol, string]
|
|
38
|
+
optional: false
|
|
39
|
+
description: "Method to call on a member of `collection` to return the `label` attribute for its `<optgroup>` tag."
|
|
40
|
+
- name: option_key_method
|
|
41
|
+
position: 6
|
|
42
|
+
type: [symbol, string]
|
|
43
|
+
optional: false
|
|
44
|
+
description: "Method to call on a child object to return the `value` attribute for its `<option>` tag."
|
|
45
|
+
- name: option_value_method
|
|
46
|
+
position: 7
|
|
47
|
+
type: [symbol, string]
|
|
48
|
+
optional: false
|
|
49
|
+
description: "Method to call on a child object to return the contents of its `<option>` tag."
|
|
50
|
+
- name: options
|
|
51
|
+
position: 8
|
|
52
|
+
type: hash
|
|
53
|
+
optional: true
|
|
54
|
+
default: "{}"
|
|
55
|
+
description: "Options hash for customizing the select behavior."
|
|
56
|
+
- name: html_options
|
|
57
|
+
position: 9
|
|
58
|
+
type: hash
|
|
59
|
+
optional: true
|
|
60
|
+
default: "{}"
|
|
61
|
+
description: "HTML attributes for the `<select>` tag."
|
|
62
|
+
options:
|
|
63
|
+
- name: include_blank
|
|
64
|
+
type: [boolean, string]
|
|
65
|
+
description: "Include a blank option at the top of the select."
|
|
66
|
+
- name: prompt
|
|
67
|
+
type: [boolean, string]
|
|
68
|
+
description: "Prepend an option with a generic prompt or the given prompt string."
|
|
69
|
+
special_behaviors: []
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: grouped_options_for_select
|
|
3
|
+
source: "ActionView::Helpers::FormOptionsHelper#grouped_options_for_select"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns a string of `<option>` tags, like `options_for_select`, but wraps them with `<optgroup>` tags. Accepts a nested array or hash of strings where the first value serves as the `<optgroup>` label and the second value must be an array of options.
|
|
11
|
+
signature: "grouped_options_for_select(grouped_options, selected_key = nil, options = {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#method-i-grouped_options_for_select"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: grouped_options
|
|
16
|
+
position: 1
|
|
17
|
+
type: [array, hash]
|
|
18
|
+
optional: false
|
|
19
|
+
description: "A nested array or hash of strings for grouped option tags."
|
|
20
|
+
- name: selected_key
|
|
21
|
+
position: 2
|
|
22
|
+
type: [string, array]
|
|
23
|
+
optional: true
|
|
24
|
+
default: "nil"
|
|
25
|
+
description: "The value(s) to be selected."
|
|
26
|
+
- name: options
|
|
27
|
+
position: 3
|
|
28
|
+
type: hash
|
|
29
|
+
optional: true
|
|
30
|
+
default: "{}"
|
|
31
|
+
description: "Options hash."
|
|
32
|
+
options:
|
|
33
|
+
- name: prompt
|
|
34
|
+
type: [boolean, string]
|
|
35
|
+
description: "Prepend an option with a generic prompt or the given prompt string."
|
|
36
|
+
- name: divider
|
|
37
|
+
type: string
|
|
38
|
+
description: "The divider string for option groups."
|
|
39
|
+
special_behaviors: []
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: option_groups_from_collection_for_select
|
|
3
|
+
source: "ActionView::Helpers::FormOptionsHelper#option_groups_from_collection_for_select"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns a string of `<option>` tags, like `options_from_collection_for_select`, but groups them by `<optgroup>` tags based on the object relationships of the arguments.
|
|
11
|
+
signature: "option_groups_from_collection_for_select(collection, group_method, group_label_method, option_key_method, option_value_method, selected_key = nil)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#method-i-option_groups_from_collection_for_select"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: collection
|
|
16
|
+
position: 1
|
|
17
|
+
type: array
|
|
18
|
+
optional: false
|
|
19
|
+
description: "An array of objects representing the `<optgroup>` tags."
|
|
20
|
+
- name: group_method
|
|
21
|
+
position: 2
|
|
22
|
+
type: [symbol, string]
|
|
23
|
+
optional: false
|
|
24
|
+
description: "Method to call on a member of `collection` to return an array of child objects for the `<option>` tags."
|
|
25
|
+
- name: group_label_method
|
|
26
|
+
position: 3
|
|
27
|
+
type: [symbol, string]
|
|
28
|
+
optional: false
|
|
29
|
+
description: "Method to call on a member of `collection` to return the `label` attribute for its `<optgroup>` tag."
|
|
30
|
+
- name: option_key_method
|
|
31
|
+
position: 4
|
|
32
|
+
type: [symbol, string]
|
|
33
|
+
optional: false
|
|
34
|
+
description: "Method to call on a child object to return the `value` attribute for its `<option>` tag."
|
|
35
|
+
- name: option_value_method
|
|
36
|
+
position: 5
|
|
37
|
+
type: [symbol, string]
|
|
38
|
+
optional: false
|
|
39
|
+
description: "Method to call on a child object to return the contents of its `<option>` tag."
|
|
40
|
+
- name: selected_key
|
|
41
|
+
position: 6
|
|
42
|
+
type: [string, hash]
|
|
43
|
+
optional: true
|
|
44
|
+
default: "nil"
|
|
45
|
+
description: "The selected value, or a hash with `:selected` and `:disabled` keys."
|
|
46
|
+
options: []
|
|
47
|
+
special_behaviors: []
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: options_for_select
|
|
3
|
+
source: "ActionView::Helpers::FormOptionsHelper#options_for_select"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Accepts a container (hash, array, enumerable, your type) and returns a string of `<option>` tags. Given a container where the elements respond to `first` and `last` (such as a two-element array), the "lasts" serve as option values and the "firsts" as option text. Hashes are turned into this form automatically, so the keys become "firsts" and values become lasts.
|
|
11
|
+
signature: "options_for_select(container, selected = nil)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#method-i-options_for_select"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: container
|
|
16
|
+
position: 1
|
|
17
|
+
type: [array, hash]
|
|
18
|
+
optional: false
|
|
19
|
+
description: "The collection of options. Arrays, hashes, and enumerables are accepted."
|
|
20
|
+
- name: selected
|
|
21
|
+
position: 2
|
|
22
|
+
type: [string, array, hash]
|
|
23
|
+
optional: true
|
|
24
|
+
default: "nil"
|
|
25
|
+
description: "The value(s) to be selected, or a hash with `:selected` and `:disabled` keys."
|
|
26
|
+
options: []
|
|
27
|
+
special_behaviors: []
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: options_from_collection_for_select
|
|
3
|
+
source: "ActionView::Helpers::FormOptionsHelper#options_from_collection_for_select"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns a string of `<option>` tags that have been compiled by iterating over the `collection` and assigning the result of a call to the `value_method` as the option value and the `text_method` as the option text.
|
|
11
|
+
signature: "options_from_collection_for_select(collection, value_method, text_method, selected = nil)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#method-i-options_from_collection_for_select"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: collection
|
|
16
|
+
position: 1
|
|
17
|
+
type: array
|
|
18
|
+
optional: false
|
|
19
|
+
description: "The collection of objects to build options from."
|
|
20
|
+
- name: value_method
|
|
21
|
+
position: 2
|
|
22
|
+
type: [symbol, string]
|
|
23
|
+
optional: false
|
|
24
|
+
description: "Method to call on each member to get the option value."
|
|
25
|
+
- name: text_method
|
|
26
|
+
position: 3
|
|
27
|
+
type: [symbol, string]
|
|
28
|
+
optional: false
|
|
29
|
+
description: "Method to call on each member to get the option text."
|
|
30
|
+
- name: selected
|
|
31
|
+
position: 4
|
|
32
|
+
type: [string, array, hash, proc]
|
|
33
|
+
optional: true
|
|
34
|
+
default: "nil"
|
|
35
|
+
description: "The selected value(s), a Proc, or a hash with `:selected` and `:disabled` keys."
|
|
36
|
+
options: []
|
|
37
|
+
special_behaviors: []
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: select
|
|
3
|
+
source: "ActionView::Helpers::FormOptionsHelper#select"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: true
|
|
9
|
+
description: |-
|
|
10
|
+
Creates a `<select>` tag and a series of contained `<option>` tags for the provided object and method. The option currently held by the object will be selected, provided that the object is available.
|
|
11
|
+
signature: "select(object, method, choices = nil, options = {}, html_options = {}, &block)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#method-i-select"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: object
|
|
16
|
+
position: 1
|
|
17
|
+
type: [string, symbol]
|
|
18
|
+
optional: false
|
|
19
|
+
description: "The object name for the select tag."
|
|
20
|
+
- name: method
|
|
21
|
+
position: 2
|
|
22
|
+
type: [string, symbol]
|
|
23
|
+
optional: false
|
|
24
|
+
description: "The attribute of the object corresponding to the select tag."
|
|
25
|
+
- name: choices
|
|
26
|
+
position: 3
|
|
27
|
+
type: [array, hash]
|
|
28
|
+
optional: true
|
|
29
|
+
default: "nil"
|
|
30
|
+
description: "A flat collection or nested collection for the option tags."
|
|
31
|
+
- name: options
|
|
32
|
+
position: 4
|
|
33
|
+
type: hash
|
|
34
|
+
optional: true
|
|
35
|
+
default: "{}"
|
|
36
|
+
description: "Options hash for customizing the select behavior."
|
|
37
|
+
- name: html_options
|
|
38
|
+
position: 5
|
|
39
|
+
type: hash
|
|
40
|
+
optional: true
|
|
41
|
+
default: "{}"
|
|
42
|
+
description: "HTML attributes for the `<select>` tag."
|
|
43
|
+
options:
|
|
44
|
+
- name: include_blank
|
|
45
|
+
type: [boolean, string]
|
|
46
|
+
description: "Include a blank option at the top of the select."
|
|
47
|
+
- name: prompt
|
|
48
|
+
type: [boolean, string]
|
|
49
|
+
description: "Prepend an option with a generic prompt or the given prompt string."
|
|
50
|
+
- name: selected
|
|
51
|
+
type: [string, array]
|
|
52
|
+
description: "Value to use for the selected option."
|
|
53
|
+
- name: disabled
|
|
54
|
+
type: [string, array]
|
|
55
|
+
description: "Value or values to be disabled in the option tags."
|
|
56
|
+
- name: include_hidden
|
|
57
|
+
type: boolean
|
|
58
|
+
description: "If `false`, prevents the hidden field from being generated for multiple selects."
|
|
59
|
+
special_behaviors: []
|
data/config/action_view_helpers/actionview/form_options_helper/time_zone_options_for_select.yml
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: time_zone_options_for_select
|
|
3
|
+
source: "ActionView::Helpers::FormOptionsHelper#time_zone_options_for_select"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns a string of `<option>` tags for pretty much any time zone in the world. Supply an `ActiveSupport::TimeZone` name as `selected` to have it marked as the selected option tag. You can also supply an array of `ActiveSupport::TimeZone` objects as `priority_zones` so that they will be listed above the rest of the list.
|
|
11
|
+
signature: "time_zone_options_for_select(selected = nil, priority_zones = nil, model = ::ActiveSupport::TimeZone)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#method-i-time_zone_options_for_select"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: selected
|
|
16
|
+
position: 1
|
|
17
|
+
type: string
|
|
18
|
+
optional: true
|
|
19
|
+
default: "nil"
|
|
20
|
+
description: "The time zone name to be selected."
|
|
21
|
+
- name: priority_zones
|
|
22
|
+
position: 2
|
|
23
|
+
type: [array, regexp]
|
|
24
|
+
optional: true
|
|
25
|
+
default: "nil"
|
|
26
|
+
description: "An array of `ActiveSupport::TimeZone` objects or a Regexp to list above the rest."
|
|
27
|
+
- name: model
|
|
28
|
+
position: 3
|
|
29
|
+
type: class
|
|
30
|
+
optional: true
|
|
31
|
+
default: "::ActiveSupport::TimeZone"
|
|
32
|
+
description: "The time zone model object. Must respond to `all` and return objects that respond to `name`."
|
|
33
|
+
options: []
|
|
34
|
+
special_behaviors: []
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: time_zone_select
|
|
3
|
+
source: "ActionView::Helpers::FormOptionsHelper#time_zone_select"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns `<select>` and `<option>` tags for the given object and method, using `time_zone_options_for_select` to generate the list of option tags.
|
|
11
|
+
signature: "time_zone_select(object, method, priority_zones = nil, options = {}, html_options = {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#method-i-time_zone_select"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: object
|
|
16
|
+
position: 1
|
|
17
|
+
type: [string, symbol]
|
|
18
|
+
optional: false
|
|
19
|
+
description: "The object name for the select tag."
|
|
20
|
+
- name: method
|
|
21
|
+
position: 2
|
|
22
|
+
type: [string, symbol]
|
|
23
|
+
optional: false
|
|
24
|
+
description: "The attribute of the object corresponding to the select tag."
|
|
25
|
+
- name: priority_zones
|
|
26
|
+
position: 3
|
|
27
|
+
type: [array, regexp]
|
|
28
|
+
optional: true
|
|
29
|
+
default: "nil"
|
|
30
|
+
description: "An array of `ActiveSupport::TimeZone` objects or a Regexp to list above the rest."
|
|
31
|
+
- name: options
|
|
32
|
+
position: 4
|
|
33
|
+
type: hash
|
|
34
|
+
optional: true
|
|
35
|
+
default: "{}"
|
|
36
|
+
description: "Options hash for customizing the select behavior."
|
|
37
|
+
- name: html_options
|
|
38
|
+
position: 5
|
|
39
|
+
type: hash
|
|
40
|
+
optional: true
|
|
41
|
+
default: "{}"
|
|
42
|
+
description: "HTML attributes for the `<select>` tag."
|
|
43
|
+
options:
|
|
44
|
+
- name: include_blank
|
|
45
|
+
type: [boolean, string]
|
|
46
|
+
description: "Include a blank option at the top of the select."
|
|
47
|
+
- name: model
|
|
48
|
+
type: class
|
|
49
|
+
description: "Time zone model object, defaults to `ActiveSupport::TimeZone`."
|
|
50
|
+
- name: default
|
|
51
|
+
type: string
|
|
52
|
+
description: "Default `ActiveSupport::TimeZone` name if the object's time zone is `nil`."
|
|
53
|
+
special_behaviors: []
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: weekday_options_for_select
|
|
3
|
+
source: "ActionView::Helpers::FormOptionsHelper#weekday_options_for_select"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Returns a string of `<option>` tags for the days of the week.
|
|
11
|
+
signature: "weekday_options_for_select(selected = nil, index_as_value: false, day_format: :day_names, beginning_of_week: Date.beginning_of_week)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#method-i-weekday_options_for_select"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: selected
|
|
16
|
+
position: 1
|
|
17
|
+
type: string
|
|
18
|
+
optional: true
|
|
19
|
+
default: "nil"
|
|
20
|
+
description: "The weekday to be selected."
|
|
21
|
+
options:
|
|
22
|
+
- name: index_as_value
|
|
23
|
+
type: boolean
|
|
24
|
+
description: "If `true`, uses the indexes from `I18n.translate(\"date.day_names\")` as the values."
|
|
25
|
+
- name: day_format
|
|
26
|
+
type: symbol
|
|
27
|
+
description: "The I18n key of the array to use for the weekday options. Defaults to `:day_names`."
|
|
28
|
+
- name: beginning_of_week
|
|
29
|
+
type: symbol
|
|
30
|
+
description: "Defaults to `Date.beginning_of_week`."
|
|
31
|
+
special_behaviors: []
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: weekday_select
|
|
3
|
+
source: "ActionView::Helpers::FormOptionsHelper#weekday_select"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: true
|
|
9
|
+
description: |-
|
|
10
|
+
Returns `<select>` and `<option>` tags for the given object and method, using `weekday_options_for_select` to generate the list of option tags.
|
|
11
|
+
signature: "weekday_select(object, method, options = {}, html_options = {}, &block)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#method-i-weekday_select"
|
|
13
|
+
tag: null
|
|
14
|
+
arguments:
|
|
15
|
+
- name: object
|
|
16
|
+
position: 1
|
|
17
|
+
type: [string, symbol]
|
|
18
|
+
optional: false
|
|
19
|
+
description: "The object name for the select tag."
|
|
20
|
+
- name: method
|
|
21
|
+
position: 2
|
|
22
|
+
type: [string, symbol]
|
|
23
|
+
optional: false
|
|
24
|
+
description: "The attribute of the object corresponding to the select tag."
|
|
25
|
+
- name: options
|
|
26
|
+
position: 3
|
|
27
|
+
type: hash
|
|
28
|
+
optional: true
|
|
29
|
+
default: "{}"
|
|
30
|
+
description: "Options hash for customizing the select behavior."
|
|
31
|
+
- name: html_options
|
|
32
|
+
position: 4
|
|
33
|
+
type: hash
|
|
34
|
+
optional: true
|
|
35
|
+
default: "{}"
|
|
36
|
+
description: "HTML attributes for the `<select>` tag."
|
|
37
|
+
options: []
|
|
38
|
+
special_behaviors: []
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: button_tag
|
|
3
|
+
source: "ActionView::Helpers::FormTagHelper#button_tag"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: true
|
|
9
|
+
description: |-
|
|
10
|
+
Creates a button element that defines a submit button, reset button, or a generic button which can be used in JavaScript.
|
|
11
|
+
signature: "button_tag(content_or_options = nil, options = nil, &block)"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormTagHelper.html#method-i-button_tag"
|
|
13
|
+
tag:
|
|
14
|
+
name: button
|
|
15
|
+
is_void: false
|
|
16
|
+
preferred: false
|
|
17
|
+
detect_style: call_name
|
|
18
|
+
arguments:
|
|
19
|
+
- name: content_or_options
|
|
20
|
+
position: 1
|
|
21
|
+
type: [string, hash]
|
|
22
|
+
optional: true
|
|
23
|
+
default: "nil"
|
|
24
|
+
description: "Button text, or options hash when block is given."
|
|
25
|
+
- name: options
|
|
26
|
+
position: 2
|
|
27
|
+
type: hash
|
|
28
|
+
optional: true
|
|
29
|
+
default: "nil"
|
|
30
|
+
description: "HTML attributes hash."
|
|
31
|
+
options:
|
|
32
|
+
- name: disabled
|
|
33
|
+
type: boolean
|
|
34
|
+
description: "If `true`, the button is disabled."
|
|
35
|
+
- name: data
|
|
36
|
+
type: hash
|
|
37
|
+
maps_to: data-*
|
|
38
|
+
description: "Hash of `data-*` attributes."
|
|
39
|
+
special_behaviors: []
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: checkbox_tag
|
|
3
|
+
source: "ActionView::Helpers::FormTagHelper#checkbox_tag"
|
|
4
|
+
gem: actionview
|
|
5
|
+
output: html
|
|
6
|
+
visibility: public
|
|
7
|
+
supported: false
|
|
8
|
+
supports_block: false
|
|
9
|
+
description: |-
|
|
10
|
+
Creates a check box form input tag.
|
|
11
|
+
signature: "checkbox_tag(name, value = \"1\", checked = false, options = {})"
|
|
12
|
+
documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/FormTagHelper.html#method-i-checkbox_tag"
|
|
13
|
+
tag:
|
|
14
|
+
name: input
|
|
15
|
+
is_void: true
|
|
16
|
+
preferred: false
|
|
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 checkbox."
|
|
24
|
+
- name: value
|
|
25
|
+
position: 2
|
|
26
|
+
type: string
|
|
27
|
+
optional: true
|
|
28
|
+
default: "1"
|
|
29
|
+
description: "Value submitted when checked."
|
|
30
|
+
- name: checked
|
|
31
|
+
position: 3
|
|
32
|
+
type: boolean
|
|
33
|
+
optional: true
|
|
34
|
+
default: "false"
|
|
35
|
+
description: "Whether the checkbox is checked by default."
|
|
36
|
+
- name: options
|
|
37
|
+
position: 4
|
|
38
|
+
type: hash
|
|
39
|
+
optional: true
|
|
40
|
+
default: "{}"
|
|
41
|
+
description: "HTML attributes hash."
|
|
42
|
+
options: []
|
|
43
|
+
special_behaviors: []
|
|
44
|
+
aliases:
|
|
45
|
+
- check_box_tag
|