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.
Files changed (338) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -0
  3. data/config/action_view_helpers/actioncable/action_cable_helper/action_cable_meta_tag.yml +20 -0
  4. data/config/action_view_helpers/actionpack/content_security_policy/content_security_policy?.yml +16 -0
  5. data/config/action_view_helpers/actionpack/content_security_policy/content_security_policy_nonce.yml +16 -0
  6. data/config/action_view_helpers/actionpack/polymorphic_routes/polymorphic_path.yml +27 -0
  7. data/config/action_view_helpers/actionpack/polymorphic_routes/polymorphic_url.yml +33 -0
  8. data/config/action_view_helpers/actionpack/request_forgery_protection/form_authenticity_token.yml +19 -0
  9. data/config/action_view_helpers/actionpack/request_forgery_protection/protect_against_forgery?.yml +16 -0
  10. data/config/action_view_helpers/actiontext/content_helper/render_action_text_content.yml +21 -0
  11. data/config/action_view_helpers/actiontext/content_helper/sanitize_action_text_content.yml +21 -0
  12. data/config/action_view_helpers/actiontext/tag_helper/rich_textarea_tag.yml +46 -0
  13. data/config/action_view_helpers/actionview/active_model_helper/error_message.yml +16 -0
  14. data/config/action_view_helpers/actionview/active_model_helper/error_wrapping.yml +16 -0
  15. data/config/action_view_helpers/actionview/active_model_helper/object.yml +16 -0
  16. data/config/action_view_helpers/actionview/asset_tag_helper/apply_stylesheet_media_default.yml +16 -0
  17. data/config/action_view_helpers/actionview/asset_tag_helper/audio_tag.yml +45 -0
  18. data/config/action_view_helpers/actionview/asset_tag_helper/auto_discovery_link_tag.yml +44 -0
  19. data/config/action_view_helpers/actionview/asset_tag_helper/auto_include_nonce.yml +16 -0
  20. data/config/action_view_helpers/actionview/asset_tag_helper/auto_include_nonce_for_scripts.yml +16 -0
  21. data/config/action_view_helpers/actionview/asset_tag_helper/auto_include_nonce_for_styles.yml +16 -0
  22. data/config/action_view_helpers/actionview/asset_tag_helper/favicon_link_tag.yml +46 -0
  23. data/config/action_view_helpers/actionview/asset_tag_helper/image_decoding.yml +16 -0
  24. data/config/action_view_helpers/actionview/asset_tag_helper/image_loading.yml +16 -0
  25. data/config/action_view_helpers/actionview/asset_tag_helper/image_tag.yml +68 -0
  26. data/config/action_view_helpers/actionview/asset_tag_helper/javascript_include_tag.yml +59 -0
  27. data/config/action_view_helpers/actionview/asset_tag_helper/picture_tag.yml +29 -0
  28. data/config/action_view_helpers/actionview/asset_tag_helper/preload_link_tag.yml +50 -0
  29. data/config/action_view_helpers/actionview/asset_tag_helper/preload_links_header.yml +16 -0
  30. data/config/action_view_helpers/actionview/asset_tag_helper/stylesheet_link_tag.yml +50 -0
  31. data/config/action_view_helpers/actionview/asset_tag_helper/video_tag.yml +55 -0
  32. data/config/action_view_helpers/actionview/asset_url_helper/asset_path.yml +23 -0
  33. data/config/action_view_helpers/actionview/asset_url_helper/asset_url.yml +23 -0
  34. data/config/action_view_helpers/actionview/asset_url_helper/audio_path.yml +23 -0
  35. data/config/action_view_helpers/actionview/asset_url_helper/audio_url.yml +23 -0
  36. data/config/action_view_helpers/actionview/asset_url_helper/compute_asset_extname.yml +16 -0
  37. data/config/action_view_helpers/actionview/asset_url_helper/compute_asset_host.yml +16 -0
  38. data/config/action_view_helpers/actionview/asset_url_helper/compute_asset_path.yml +16 -0
  39. data/config/action_view_helpers/actionview/asset_url_helper/font_path.yml +23 -0
  40. data/config/action_view_helpers/actionview/asset_url_helper/font_url.yml +23 -0
  41. data/config/action_view_helpers/actionview/asset_url_helper/image_path.yml +23 -0
  42. data/config/action_view_helpers/actionview/asset_url_helper/image_url.yml +23 -0
  43. data/config/action_view_helpers/actionview/asset_url_helper/javascript_path.yml +23 -0
  44. data/config/action_view_helpers/actionview/asset_url_helper/javascript_url.yml +23 -0
  45. data/config/action_view_helpers/actionview/asset_url_helper/public_compute_asset_path.yml +16 -0
  46. data/config/action_view_helpers/actionview/asset_url_helper/stylesheet_path.yml +23 -0
  47. data/config/action_view_helpers/actionview/asset_url_helper/stylesheet_url.yml +23 -0
  48. data/config/action_view_helpers/actionview/asset_url_helper/video_path.yml +23 -0
  49. data/config/action_view_helpers/actionview/asset_url_helper/video_url.yml +23 -0
  50. data/config/action_view_helpers/actionview/atom_feed_helper/atom_feed.yml +40 -0
  51. data/config/action_view_helpers/actionview/cache_helper/cache.yml +28 -0
  52. data/config/action_view_helpers/actionview/cache_helper/cache_fragment_name.yml +16 -0
  53. data/config/action_view_helpers/actionview/cache_helper/cache_if.yml +27 -0
  54. data/config/action_view_helpers/actionview/cache_helper/cache_unless.yml +27 -0
  55. data/config/action_view_helpers/actionview/cache_helper/caching_predicate.yml +16 -0
  56. data/config/action_view_helpers/actionview/cache_helper/digest_path_from_template.yml +16 -0
  57. data/config/action_view_helpers/actionview/cache_helper/fragment_for.yml +16 -0
  58. data/config/action_view_helpers/actionview/cache_helper/fragment_name_with_digest.yml +16 -0
  59. data/config/action_view_helpers/actionview/cache_helper/read_fragment_for.yml +16 -0
  60. data/config/action_view_helpers/actionview/cache_helper/uncacheable.yml +16 -0
  61. data/config/action_view_helpers/actionview/cache_helper/write_fragment_for.yml +16 -0
  62. data/config/action_view_helpers/actionview/capture_helper/capture.yml +16 -0
  63. data/config/action_view_helpers/actionview/capture_helper/content_for.yml +24 -0
  64. data/config/action_view_helpers/actionview/capture_helper/content_for_predicate.yml +21 -0
  65. data/config/action_view_helpers/actionview/capture_helper/provide.yml +21 -0
  66. data/config/action_view_helpers/actionview/capture_helper/with_output_buffer.yml +16 -0
  67. data/config/action_view_helpers/actionview/content_exfiltration_prevention_helper/prepend_content_exfiltration_prevention.yml +16 -0
  68. data/config/action_view_helpers/actionview/content_exfiltration_prevention_helper/prevent_content_exfiltration.yml +16 -0
  69. data/config/action_view_helpers/actionview/controller_helper/action_name.yml +16 -0
  70. data/config/action_view_helpers/actionview/controller_helper/assign_controller.yml +16 -0
  71. data/config/action_view_helpers/actionview/controller_helper/controller.yml +16 -0
  72. data/config/action_view_helpers/actionview/controller_helper/controller_name.yml +16 -0
  73. data/config/action_view_helpers/actionview/controller_helper/controller_path.yml +16 -0
  74. data/config/action_view_helpers/actionview/controller_helper/cookies.yml +16 -0
  75. data/config/action_view_helpers/actionview/controller_helper/flash.yml +16 -0
  76. data/config/action_view_helpers/actionview/controller_helper/headers.yml +16 -0
  77. data/config/action_view_helpers/actionview/controller_helper/logger.yml +18 -0
  78. data/config/action_view_helpers/actionview/controller_helper/params.yml +16 -0
  79. data/config/action_view_helpers/actionview/controller_helper/request.yml +16 -0
  80. data/config/action_view_helpers/actionview/controller_helper/request_forgery_protection_token.yml +16 -0
  81. data/config/action_view_helpers/actionview/controller_helper/response.yml +16 -0
  82. data/config/action_view_helpers/actionview/controller_helper/session.yml +16 -0
  83. data/config/action_view_helpers/actionview/csp_helper/csp_meta_tag.yml +23 -0
  84. data/config/action_view_helpers/actionview/csrf_helper/csrf_meta_tags.yml +23 -0
  85. data/config/action_view_helpers/actionview/date_helper/date_select.yml +71 -0
  86. data/config/action_view_helpers/actionview/date_helper/datetime_select.yml +59 -0
  87. data/config/action_view_helpers/actionview/date_helper/distance_of_time_in_words.yml +33 -0
  88. data/config/action_view_helpers/actionview/date_helper/relative_time_in_words.yml +36 -0
  89. data/config/action_view_helpers/actionview/date_helper/select_date.yml +49 -0
  90. data/config/action_view_helpers/actionview/date_helper/select_datetime.yml +58 -0
  91. data/config/action_view_helpers/actionview/date_helper/select_day.yml +42 -0
  92. data/config/action_view_helpers/actionview/date_helper/select_hour.yml +48 -0
  93. data/config/action_view_helpers/actionview/date_helper/select_minute.yml +42 -0
  94. data/config/action_view_helpers/actionview/date_helper/select_month.yml +54 -0
  95. data/config/action_view_helpers/actionview/date_helper/select_second.yml +39 -0
  96. data/config/action_view_helpers/actionview/date_helper/select_time.yml +52 -0
  97. data/config/action_view_helpers/actionview/date_helper/select_year.yml +45 -0
  98. data/config/action_view_helpers/actionview/date_helper/time_ago_in_words.yml +26 -0
  99. data/config/action_view_helpers/actionview/date_helper/time_select.yml +56 -0
  100. data/config/action_view_helpers/actionview/date_helper/time_tag.yml +37 -0
  101. data/config/action_view_helpers/actionview/debug_helper/debug.yml +21 -0
  102. data/config/action_view_helpers/actionview/form_helper/apply_form_for_options.yml +16 -0
  103. data/config/action_view_helpers/actionview/form_helper/button.yml +38 -0
  104. data/config/action_view_helpers/actionview/form_helper/checkbox.yml +49 -0
  105. data/config/action_view_helpers/actionview/form_helper/color_field.yml +32 -0
  106. data/config/action_view_helpers/actionview/form_helper/date_field.yml +38 -0
  107. data/config/action_view_helpers/actionview/form_helper/datetime_field.yml +43 -0
  108. data/config/action_view_helpers/actionview/form_helper/email_field.yml +32 -0
  109. data/config/action_view_helpers/actionview/form_helper/emitted_hidden_id.yml +16 -0
  110. data/config/action_view_helpers/actionview/form_helper/fields.yml +31 -0
  111. data/config/action_view_helpers/actionview/form_helper/fields_for.yml +33 -0
  112. data/config/action_view_helpers/actionview/form_helper/file_field.yml +44 -0
  113. data/config/action_view_helpers/actionview/form_helper/form_for.yml +41 -0
  114. data/config/action_view_helpers/actionview/form_helper/form_with.yml +42 -0
  115. data/config/action_view_helpers/actionview/form_helper/form_with_generates_ids.yml +16 -0
  116. data/config/action_view_helpers/actionview/form_helper/form_with_generates_remote_forms.yml +16 -0
  117. data/config/action_view_helpers/actionview/form_helper/hidden_field.yml +32 -0
  118. data/config/action_view_helpers/actionview/form_helper/label.yml +47 -0
  119. data/config/action_view_helpers/actionview/form_helper/month_field.yml +32 -0
  120. data/config/action_view_helpers/actionview/form_helper/multipart.yml +16 -0
  121. data/config/action_view_helpers/actionview/form_helper/multiple_file_field_include_hidden.yml +16 -0
  122. data/config/action_view_helpers/actionview/form_helper/number_field.yml +44 -0
  123. data/config/action_view_helpers/actionview/form_helper/password_field.yml +32 -0
  124. data/config/action_view_helpers/actionview/form_helper/radio_button.yml +37 -0
  125. data/config/action_view_helpers/actionview/form_helper/range_field.yml +44 -0
  126. data/config/action_view_helpers/actionview/form_helper/search_field.yml +32 -0
  127. data/config/action_view_helpers/actionview/form_helper/submit.yml +35 -0
  128. data/config/action_view_helpers/actionview/form_helper/telephone_field.yml +34 -0
  129. data/config/action_view_helpers/actionview/form_helper/text_field.yml +32 -0
  130. data/config/action_view_helpers/actionview/form_helper/textarea.yml +37 -0
  131. data/config/action_view_helpers/actionview/form_helper/time_field.yml +41 -0
  132. data/config/action_view_helpers/actionview/form_helper/url_field.yml +32 -0
  133. data/config/action_view_helpers/actionview/form_helper/week_field.yml +32 -0
  134. data/config/action_view_helpers/actionview/form_options_helper/collection_checkboxes.yml +58 -0
  135. data/config/action_view_helpers/actionview/form_options_helper/collection_radio_buttons.yml +56 -0
  136. data/config/action_view_helpers/actionview/form_options_helper/collection_select.yml +65 -0
  137. data/config/action_view_helpers/actionview/form_options_helper/grouped_collection_select.yml +69 -0
  138. data/config/action_view_helpers/actionview/form_options_helper/grouped_options_for_select.yml +39 -0
  139. data/config/action_view_helpers/actionview/form_options_helper/option_groups_from_collection_for_select.yml +47 -0
  140. data/config/action_view_helpers/actionview/form_options_helper/options_for_select.yml +27 -0
  141. data/config/action_view_helpers/actionview/form_options_helper/options_from_collection_for_select.yml +37 -0
  142. data/config/action_view_helpers/actionview/form_options_helper/select.yml +59 -0
  143. data/config/action_view_helpers/actionview/form_options_helper/time_zone_options_for_select.yml +34 -0
  144. data/config/action_view_helpers/actionview/form_options_helper/time_zone_select.yml +53 -0
  145. data/config/action_view_helpers/actionview/form_options_helper/weekday_options_for_select.yml +31 -0
  146. data/config/action_view_helpers/actionview/form_options_helper/weekday_select.yml +38 -0
  147. data/config/action_view_helpers/actionview/form_tag_helper/button_tag.yml +39 -0
  148. data/config/action_view_helpers/actionview/form_tag_helper/checkbox_tag.yml +45 -0
  149. data/config/action_view_helpers/actionview/form_tag_helper/color_field_tag.yml +38 -0
  150. data/config/action_view_helpers/actionview/form_tag_helper/date_field_tag.yml +37 -0
  151. data/config/action_view_helpers/actionview/form_tag_helper/datetime_field_tag.yml +39 -0
  152. data/config/action_view_helpers/actionview/form_tag_helper/default_enforce_utf8.yml +16 -0
  153. data/config/action_view_helpers/actionview/form_tag_helper/email_field_tag.yml +37 -0
  154. data/config/action_view_helpers/actionview/form_tag_helper/embed_authenticity_token_in_remote_forms.yml +16 -0
  155. data/config/action_view_helpers/actionview/form_tag_helper/field_id.yml +32 -0
  156. data/config/action_view_helpers/actionview/form_tag_helper/field_name.yml +32 -0
  157. data/config/action_view_helpers/actionview/form_tag_helper/field_set_tag.yml +34 -0
  158. data/config/action_view_helpers/actionview/form_tag_helper/file_field_tag.yml +41 -0
  159. data/config/action_view_helpers/actionview/form_tag_helper/form_tag.yml +42 -0
  160. data/config/action_view_helpers/actionview/form_tag_helper/hidden_field_tag.yml +37 -0
  161. data/config/action_view_helpers/actionview/form_tag_helper/image_submit_tag.yml +40 -0
  162. data/config/action_view_helpers/actionview/form_tag_helper/label_tag.yml +38 -0
  163. data/config/action_view_helpers/actionview/form_tag_helper/month_field_tag.yml +37 -0
  164. data/config/action_view_helpers/actionview/form_tag_helper/number_field_tag.yml +49 -0
  165. data/config/action_view_helpers/actionview/form_tag_helper/password_field_tag.yml +38 -0
  166. data/config/action_view_helpers/actionview/form_tag_helper/radio_button_tag.yml +42 -0
  167. data/config/action_view_helpers/actionview/form_tag_helper/range_field_tag.yml +49 -0
  168. data/config/action_view_helpers/actionview/form_tag_helper/search_field_tag.yml +37 -0
  169. data/config/action_view_helpers/actionview/form_tag_helper/select_tag.yml +49 -0
  170. data/config/action_view_helpers/actionview/form_tag_helper/submit_tag.yml +39 -0
  171. data/config/action_view_helpers/actionview/form_tag_helper/telephone_field_tag.yml +39 -0
  172. data/config/action_view_helpers/actionview/form_tag_helper/text_field_tag.yml +37 -0
  173. data/config/action_view_helpers/actionview/form_tag_helper/textarea_tag.yml +43 -0
  174. data/config/action_view_helpers/actionview/form_tag_helper/time_field_tag.yml +37 -0
  175. data/config/action_view_helpers/actionview/form_tag_helper/url_field_tag.yml +37 -0
  176. data/config/action_view_helpers/actionview/form_tag_helper/utf8_enforcer_tag.yml +16 -0
  177. data/config/action_view_helpers/actionview/form_tag_helper/week_field_tag.yml +37 -0
  178. data/config/action_view_helpers/actionview/javascript_helper/escape_javascript.yml +23 -0
  179. data/config/action_view_helpers/actionview/javascript_helper/javascript_cdata_section.yml +16 -0
  180. data/config/action_view_helpers/actionview/javascript_helper/javascript_tag.yml +45 -0
  181. data/config/action_view_helpers/actionview/number_helper/number_to_currency.yml +36 -0
  182. data/config/action_view_helpers/actionview/number_helper/number_to_human.yml +27 -0
  183. data/config/action_view_helpers/actionview/number_helper/number_to_human_size.yml +24 -0
  184. data/config/action_view_helpers/actionview/number_helper/number_to_percentage.yml +24 -0
  185. data/config/action_view_helpers/actionview/number_helper/number_to_phone.yml +34 -0
  186. data/config/action_view_helpers/actionview/number_helper/number_with_delimiter.yml +29 -0
  187. data/config/action_view_helpers/actionview/number_helper/number_with_precision.yml +27 -0
  188. data/config/action_view_helpers/actionview/output_safety_helper/raw.yml +21 -0
  189. data/config/action_view_helpers/actionview/output_safety_helper/safe_join.yml +26 -0
  190. data/config/action_view_helpers/actionview/output_safety_helper/to_sentence.yml +33 -0
  191. data/config/action_view_helpers/actionview/record_identifier/dom_class.yml +27 -0
  192. data/config/action_view_helpers/actionview/record_identifier/dom_id.yml +27 -0
  193. data/config/action_view_helpers/actionview/record_identifier/dom_target.yml +22 -0
  194. data/config/action_view_helpers/actionview/record_identifier/model_name_from_record_or_class.yml +16 -0
  195. data/config/action_view_helpers/actionview/rendering_helper/render.yml +34 -0
  196. data/config/action_view_helpers/actionview/sanitize_helper/sanitize.yml +27 -0
  197. data/config/action_view_helpers/actionview/sanitize_helper/sanitize_css.yml +21 -0
  198. data/config/action_view_helpers/actionview/sanitize_helper/sanitizer_vendor.yml +16 -0
  199. data/config/action_view_helpers/actionview/sanitize_helper/strip_links.yml +21 -0
  200. data/config/action_view_helpers/actionview/sanitize_helper/strip_tags.yml +21 -0
  201. data/config/action_view_helpers/actionview/tag_helper/cdata_section.yml +21 -0
  202. data/config/action_view_helpers/actionview/tag_helper/content_tag.yml +64 -0
  203. data/config/action_view_helpers/actionview/tag_helper/escape_once.yml +21 -0
  204. data/config/action_view_helpers/actionview/tag_helper/tag.yml +47 -0
  205. data/config/action_view_helpers/actionview/tag_helper/token_list.yml +24 -0
  206. data/config/action_view_helpers/actionview/text_helper/concat.yml +21 -0
  207. data/config/action_view_helpers/actionview/text_helper/current_cycle.yml +22 -0
  208. data/config/action_view_helpers/actionview/text_helper/cycle.yml +31 -0
  209. data/config/action_view_helpers/actionview/text_helper/excerpt.yml +39 -0
  210. data/config/action_view_helpers/actionview/text_helper/highlight.yml +35 -0
  211. data/config/action_view_helpers/actionview/text_helper/pluralize.yml +32 -0
  212. data/config/action_view_helpers/actionview/text_helper/reset_cycle.yml +22 -0
  213. data/config/action_view_helpers/actionview/text_helper/safe_concat.yml +16 -0
  214. data/config/action_view_helpers/actionview/text_helper/simple_format.yml +40 -0
  215. data/config/action_view_helpers/actionview/text_helper/truncate.yml +40 -0
  216. data/config/action_view_helpers/actionview/text_helper/word_wrap.yml +27 -0
  217. data/config/action_view_helpers/actionview/translation_helper/debug_missing_translation.yml +16 -0
  218. data/config/action_view_helpers/actionview/translation_helper/localize.yml +29 -0
  219. data/config/action_view_helpers/actionview/translation_helper/translate.yml +32 -0
  220. data/config/action_view_helpers/actionview/url_helper/button_to.yml +55 -0
  221. data/config/action_view_helpers/actionview/url_helper/button_to_generates_button_tag.yml +16 -0
  222. data/config/action_view_helpers/actionview/url_helper/current_page?.yml +28 -0
  223. data/config/action_view_helpers/actionview/url_helper/link_to.yml +76 -0
  224. data/config/action_view_helpers/actionview/url_helper/link_to_if.yml +42 -0
  225. data/config/action_view_helpers/actionview/url_helper/link_to_unless.yml +42 -0
  226. data/config/action_view_helpers/actionview/url_helper/link_to_unless_current.yml +37 -0
  227. data/config/action_view_helpers/actionview/url_helper/mail_to.yml +56 -0
  228. data/config/action_view_helpers/actionview/url_helper/phone_to.yml +44 -0
  229. data/config/action_view_helpers/actionview/url_helper/sms_to.yml +47 -0
  230. data/config/action_view_helpers/actionview/url_helper/url_for.yml +22 -0
  231. data/config/action_view_helpers/turbo-rails/drive_helper/turbo_exempts_page_from_cache.yml +16 -0
  232. data/config/action_view_helpers/turbo-rails/drive_helper/turbo_exempts_page_from_cache_tag.yml +20 -0
  233. data/config/action_view_helpers/turbo-rails/drive_helper/turbo_exempts_page_from_preview.yml +16 -0
  234. data/config/action_view_helpers/turbo-rails/drive_helper/turbo_exempts_page_from_preview_tag.yml +20 -0
  235. data/config/action_view_helpers/turbo-rails/drive_helper/turbo_page_requires_reload.yml +16 -0
  236. data/config/action_view_helpers/turbo-rails/drive_helper/turbo_page_requires_reload_tag.yml +20 -0
  237. data/config/action_view_helpers/turbo-rails/drive_helper/turbo_refresh_method_tag.yml +26 -0
  238. data/config/action_view_helpers/turbo-rails/drive_helper/turbo_refresh_scroll_tag.yml +26 -0
  239. data/config/action_view_helpers/turbo-rails/drive_helper/turbo_refreshes_with.yml +22 -0
  240. data/config/action_view_helpers/turbo-rails/frames_helper/turbo_frame_tag.yml +50 -0
  241. data/config/action_view_helpers/turbo-rails/includes_helper/turbo_include_tags.yml +16 -0
  242. data/config/action_view_helpers/turbo-rails/streams_action_helper/turbo_stream_action_tag.yml +34 -0
  243. data/config/action_view_helpers/turbo-rails/streams_action_helper/turbo_stream_refresh_tag.yml +23 -0
  244. data/config/action_view_helpers/turbo-rails/streams_helper/turbo_stream.yml +16 -0
  245. data/config/action_view_helpers/turbo-rails/streams_helper/turbo_stream_from.yml +33 -0
  246. data/config/options.yml +14 -0
  247. data/config/view_context_methods/actionview/base/annotate_rendered_view_with_filenames.yml +8 -0
  248. data/config/view_context_methods/actionview/base/assign.yml +8 -0
  249. data/config/view_context_methods/actionview/base/assigns.yml +8 -0
  250. data/config/view_context_methods/actionview/base/automatically_disable_submit_tag.yml +8 -0
  251. data/config/view_context_methods/actionview/base/compiled_method_container.yml +8 -0
  252. data/config/view_context_methods/actionview/base/config.yml +8 -0
  253. data/config/view_context_methods/actionview/base/default_form_builder.yml +8 -0
  254. data/config/view_context_methods/actionview/base/default_formats.yml +8 -0
  255. data/config/view_context_methods/actionview/base/field_error_proc.yml +8 -0
  256. data/config/view_context_methods/actionview/base/formats.yml +8 -0
  257. data/config/view_context_methods/actionview/base/in_rendering_context.yml +8 -0
  258. data/config/view_context_methods/actionview/base/locale.yml +8 -0
  259. data/config/view_context_methods/actionview/base/lookup_context.yml +8 -0
  260. data/config/view_context_methods/actionview/base/output_buffer.yml +8 -0
  261. data/config/view_context_methods/actionview/base/prefix_partial_path_with_controller_namespace.yml +10 -0
  262. data/config/view_context_methods/actionview/base/remove_hidden_field_autocomplete.yml +8 -0
  263. data/config/view_context_methods/actionview/base/streaming_completion_on_exception.yml +8 -0
  264. data/config/view_context_methods/actionview/base/view_flow.yml +8 -0
  265. data/config/view_context_methods/actionview/base/view_paths.yml +8 -0
  266. data/config/view_context_methods/actionview/base/view_renderer.yml +8 -0
  267. data/config/view_context_methods/actionview/template/local_assigns.yml +8 -0
  268. data/config/view_context_methods/activemodel/conversion/convert_to_model.yml +8 -0
  269. data/config/view_context_methods/activesupport/benchmarkable/benchmark.yml +8 -0
  270. data/ext/herb/extconf.rb +1 -0
  271. data/ext/herb/extension.c +108 -0
  272. data/herb.gemspec +2 -1
  273. data/lib/herb/3.2/herb.so +0 -0
  274. data/lib/herb/3.3/herb.so +0 -0
  275. data/lib/herb/3.4/herb.so +0 -0
  276. data/lib/herb/4.0/herb.so +0 -0
  277. data/lib/herb/action_view/render_analyzer.rb +1057 -0
  278. data/lib/herb/ast/erb_render_node.rb +155 -0
  279. data/lib/herb/bootstrap.rb +0 -1
  280. data/lib/herb/cli.rb +253 -19
  281. data/lib/herb/colors.rb +18 -0
  282. data/lib/herb/configuration.rb +49 -13
  283. data/lib/herb/defaults.yml +3 -0
  284. data/lib/herb/dev/runner.rb +445 -0
  285. data/lib/herb/dev/server.rb +207 -0
  286. data/lib/herb/dev/server_entry.rb +128 -0
  287. data/lib/herb/diff_operation.rb +34 -0
  288. data/lib/herb/diff_result.rb +59 -0
  289. data/lib/herb/engine/compiler.rb +56 -3
  290. data/lib/herb/engine/validators/render_validator.rb +92 -0
  291. data/lib/herb/engine.rb +58 -4
  292. data/lib/herb/html/util.rb +16 -0
  293. data/lib/herb/project.rb +1 -6
  294. data/lib/herb/version.rb +1 -1
  295. data/lib/herb.rb +41 -5
  296. data/sig/herb/action_view/render_analyzer.rbs +122 -0
  297. data/sig/herb/ast/erb_render_node.rbs +29 -0
  298. data/sig/herb/colors.rbs +12 -0
  299. data/sig/herb/configuration.rbs +20 -1
  300. data/sig/herb/dev/runner.rbs +59 -0
  301. data/sig/herb/dev/server.rbs +50 -0
  302. data/sig/herb/dev/server_entry.rbs +51 -0
  303. data/sig/herb/diff_operation.rbs +34 -0
  304. data/sig/herb/diff_result.rbs +34 -0
  305. data/sig/herb/engine/compiler.rbs +6 -0
  306. data/sig/herb/engine/validators/render_validator.rbs +21 -0
  307. data/sig/herb/engine.rbs +15 -0
  308. data/sig/herb/html/util.rbs +13 -0
  309. data/sig/herb.rbs +12 -2
  310. data/sig/herb_c_extension.rbs +1 -1
  311. data/sig/vendor/did_you_mean.rbs +6 -0
  312. data/sig/vendor/parallel.rbs +4 -0
  313. data/src/analyze/action_view/attribute_extraction_helpers.c +3 -2
  314. data/src/diff/herb_diff.c +137 -0
  315. data/src/diff/herb_diff_attributes.c +207 -0
  316. data/src/diff/herb_diff_children.c +518 -0
  317. data/src/diff/herb_diff_helpers.c +114 -0
  318. data/src/diff/herb_diff_nodes.c +707 -0
  319. data/src/diff/herb_hash.c +42 -0
  320. data/src/diff/herb_hash_index_map.c +47 -0
  321. data/src/diff/herb_hash_map.c +104 -0
  322. data/src/diff/herb_hash_tree.c +680 -0
  323. data/src/include/diff/herb_diff.h +118 -0
  324. data/src/include/diff/herb_hash.h +25 -0
  325. data/src/include/diff/herb_hash_index_map.h +32 -0
  326. data/src/include/diff/herb_hash_map.h +30 -0
  327. data/src/include/herb.h +1 -0
  328. data/src/include/version.h +1 -1
  329. data/templates/javascript/packages/core/src/config.ts.erb +43 -0
  330. data/templates/rust/src/ast/nodes.rs.erb +1 -1
  331. data/templates/rust/src/config.rs.erb +50 -0
  332. data/templates/src/diff/herb_diff_helpers.c.erb +38 -0
  333. data/templates/src/diff/herb_diff_nodes.c.erb +224 -0
  334. data/templates/src/diff/herb_hash_tree.c.erb +147 -0
  335. data/templates/template.rb +4 -4
  336. metadata +307 -4
  337. data/lib/herb/3.0/herb.so +0 -0
  338. data/lib/herb/3.1/herb.so +0 -0
@@ -0,0 +1,23 @@
1
+ ---
2
+ name: csp_meta_tag
3
+ source: "ActionView::Helpers::CspHelper#csp_meta_tag"
4
+ gem: actionview
5
+ output: html
6
+ visibility: public
7
+ supported: false
8
+ supports_block: false
9
+ description: |-
10
+ Returns a `<meta>` tag `"csp-nonce"` with the per-session nonce value for allowing inline `<script>` tags. Used by the Rails UJS helper to create dynamically loaded inline `<script>` elements.
11
+ signature: "csp_meta_tag(**options)"
12
+ documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/CspHelper.html#method-i-csp_meta_tag"
13
+ tag:
14
+ name: meta
15
+ is_void: true
16
+ preferred: false
17
+ detect_style: call_name
18
+ arguments: []
19
+ options:
20
+ - name: nonce
21
+ type: string
22
+ description: "CSP nonce value."
23
+ special_behaviors: []
@@ -0,0 +1,23 @@
1
+ ---
2
+ name: csrf_meta_tags
3
+ source: "ActionView::Helpers::CsrfHelper#csrf_meta_tags"
4
+ gem: actionview
5
+ output: html
6
+ visibility: public
7
+ supported: false
8
+ supports_block: false
9
+ description: |-
10
+ Returns `<meta>` tags `"csrf-param"` and `"csrf-token"` with the name of the cross-site request forgery protection parameter and token, respectively. These are used to generate dynamic forms that implement non-remote links with `:method`. Not needed for regular forms as they generate their own hidden fields.
11
+ signature: "csrf_meta_tags"
12
+ documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/CsrfHelper.html#method-i-csrf_meta_tags"
13
+ tag:
14
+ name: meta
15
+ is_void: true
16
+ preferred: false
17
+ detect_style: call_name
18
+ arguments: []
19
+ options: []
20
+ special_behaviors:
21
+ - produces_multiple_elements
22
+ aliases:
23
+ - csrf_meta_tag
@@ -0,0 +1,71 @@
1
+ ---
2
+ name: date_select
3
+ source: "ActionView::Helpers::DateHelper#date_select"
4
+ gem: actionview
5
+ output: html
6
+ visibility: public
7
+ supported: false
8
+ supports_block: false
9
+ description: |-
10
+ Returns a set of `<select>` tags (one for year, month, and day) pre-selected for accessing a specified date-based attribute (identified by `method`) on an object assigned to the template (identified by `object`).
11
+ signature: "date_select(object_name, method, options = {}, html_options = {})"
12
+ documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-date_select"
13
+ tag: null
14
+ arguments:
15
+ - name: object_name
16
+ position: 1
17
+ type: string
18
+ optional: false
19
+ description: "The name of the object."
20
+ - name: method
21
+ position: 2
22
+ type: string
23
+ optional: false
24
+ description: "The attribute name on the object."
25
+ - name: options
26
+ position: 3
27
+ type: hash
28
+ optional: true
29
+ default: "{}"
30
+ description: "Options for customizing the date select behavior."
31
+ - name: html_options
32
+ position: 4
33
+ type: hash
34
+ optional: true
35
+ default: "{}"
36
+ description: "HTML attributes applied to every `<select>` tag in the set."
37
+ options:
38
+ - name: order
39
+ type: array
40
+ description: "Array containing `:day`, `:month`, and `:year` to customize the order of select fields."
41
+ - name: include_blank
42
+ type: boolean
43
+ description: "Include a blank option in every select field."
44
+ - name: discard_day
45
+ type: boolean
46
+ description: "If `true`, the day select is replaced with a hidden field."
47
+ - name: discard_month
48
+ type: boolean
49
+ description: "If `true`, the month select is replaced with a hidden field."
50
+ - name: discard_year
51
+ type: boolean
52
+ description: "If `true`, the year select is replaced with a hidden field."
53
+ - name: start_year
54
+ type: integer
55
+ description: "The start year for the year select."
56
+ - name: end_year
57
+ type: integer
58
+ description: "The end year for the year select."
59
+ - name: prompt
60
+ type: [boolean, string, hash]
61
+ description: "Set to `true` for generic prompts, a string for a custom prompt, or a hash for per-field prompts."
62
+ - name: selected
63
+ type: date
64
+ description: "A date that overrides the actual value."
65
+ - name: default
66
+ type: [date, hash]
67
+ description: "Set a default date if the affected date is not set or is `nil`."
68
+ - name: disabled
69
+ type: boolean
70
+ description: "If `true`, the select fields are disabled."
71
+ special_behaviors: []
@@ -0,0 +1,59 @@
1
+ ---
2
+ name: datetime_select
3
+ source: "ActionView::Helpers::DateHelper#datetime_select"
4
+ gem: actionview
5
+ output: html
6
+ visibility: public
7
+ supported: false
8
+ supports_block: false
9
+ description: |-
10
+ Returns a set of `<select>` tags (one for year, month, day, hour, and minute) pre-selected for accessing a specified datetime-based attribute (identified by `method`) on an object assigned to the template (identified by `object`).
11
+ signature: "datetime_select(object_name, method, options = {}, html_options = {})"
12
+ documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-datetime_select"
13
+ tag: null
14
+ arguments:
15
+ - name: object_name
16
+ position: 1
17
+ type: string
18
+ optional: false
19
+ description: "The name of the object."
20
+ - name: method
21
+ position: 2
22
+ type: string
23
+ optional: false
24
+ description: "The attribute name on the object."
25
+ - name: options
26
+ position: 3
27
+ type: hash
28
+ optional: true
29
+ default: "{}"
30
+ description: "Options for customizing the datetime select behavior."
31
+ - name: html_options
32
+ position: 4
33
+ type: hash
34
+ optional: true
35
+ default: "{}"
36
+ description: "HTML attributes applied to every `<select>` tag in the set."
37
+ options:
38
+ - name: start_year
39
+ type: integer
40
+ description: "The start year for the year select."
41
+ - name: end_year
42
+ type: integer
43
+ description: "The end year for the year select."
44
+ - name: ampm
45
+ type: boolean
46
+ description: "If `true`, shows hours in AM/PM format."
47
+ - name: discard_type
48
+ type: boolean
49
+ description: "If `true`, discards the type part of the select name."
50
+ - name: prompt
51
+ type: [boolean, string, hash]
52
+ description: "Set to `true` for generic prompts, a string for a custom prompt, or a hash for per-field prompts."
53
+ - name: default
54
+ type: [datetime, hash]
55
+ description: "Set a default datetime if the affected datetime is not set or is `nil`."
56
+ - name: disabled
57
+ type: boolean
58
+ description: "If `true`, the select fields are disabled."
59
+ special_behaviors: []
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: distance_of_time_in_words
3
+ source: "ActionView::Helpers::DateHelper#distance_of_time_in_words"
4
+ gem: actionview
5
+ output: text
6
+ visibility: public
7
+ supported: false
8
+ supports_block: false
9
+ description: |-
10
+ Reports the approximate distance in time between two Time, Date, or DateTime objects or integers as seconds.
11
+ signature: "distance_of_time_in_words(from_time, to_time = 0, options = {})"
12
+ documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-distance_of_time_in_words"
13
+ tag: null
14
+ arguments:
15
+ - name: from_time
16
+ position: 1
17
+ type: object
18
+ optional: false
19
+ description: "Starting time."
20
+ - name: to_time
21
+ position: 2
22
+ type: object
23
+ optional: true
24
+ default: "0"
25
+ description: "Ending time. Defaults to now."
26
+ options:
27
+ - name: include_seconds
28
+ type: boolean
29
+ description: "Include more detail for distances under 1 minute."
30
+ - name: scope
31
+ type: string
32
+ description: "I18n scope for translations."
33
+ special_behaviors: []
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: relative_time_in_words
3
+ source: "ActionView::Helpers::DateHelper#relative_time_in_words"
4
+ gem: actionview
5
+ output: text
6
+ visibility: public
7
+ supported: false
8
+ supports_block: false
9
+ description: |-
10
+ Like `time_ago_in_words`, but adds a prefix or suffix depending on whether the time is in the past or future. You can use the `:scope` option to customize the translation scope. All other options are forwarded to `time_ago_in_words`.
11
+ signature: "relative_time_in_words(from_time, options = {})"
12
+ documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-relative_time_in_words"
13
+ tag: null
14
+ arguments:
15
+ - name: from_time
16
+ position: 1
17
+ type: [time, date, datetime]
18
+ optional: false
19
+ description: "The time to compare against the current time."
20
+ - name: options
21
+ position: 2
22
+ type: hash
23
+ optional: true
24
+ default: "{}"
25
+ description: "Options forwarded to `time_ago_in_words`."
26
+ options:
27
+ - name: scope
28
+ type: string
29
+ description: "Custom I18n translation scope."
30
+ - name: include_seconds
31
+ type: boolean
32
+ description: "If `true`, provides more detailed approximations when the distance is less than 1 minute 29 seconds."
33
+ - name: locale
34
+ type: symbol
35
+ description: "Locale for the translation."
36
+ special_behaviors: []
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: select_date
3
+ source: "ActionView::Helpers::DateHelper#select_date"
4
+ gem: actionview
5
+ output: html
6
+ visibility: public
7
+ supported: false
8
+ supports_block: false
9
+ description: |-
10
+ Returns a set of HTML `<select>` tags (one for year, month, and day) pre-selected with the `date`. It is possible to explicitly set the order of the tags using the `:order` option with an array of symbols `:year`, `:month`, and `:day` in the desired order.
11
+ signature: "select_date(date = Date.current, options = {}, html_options = {})"
12
+ documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-select_date"
13
+ tag: null
14
+ arguments:
15
+ - name: date
16
+ position: 1
17
+ type: [date, time]
18
+ optional: true
19
+ default: "Date.current"
20
+ description: "The date to pre-select."
21
+ - name: options
22
+ position: 2
23
+ type: hash
24
+ optional: true
25
+ default: "{}"
26
+ description: "Options for customizing the date select behavior."
27
+ - name: html_options
28
+ position: 3
29
+ type: hash
30
+ optional: true
31
+ default: "{}"
32
+ description: "HTML attributes applied to every `<select>` tag in the set."
33
+ options:
34
+ - name: order
35
+ type: array
36
+ description: "Array containing `:year`, `:month`, and `:day` to customize the order of select fields."
37
+ - name: date_separator
38
+ type: string
39
+ description: "String to separate the date fields."
40
+ - name: discard_type
41
+ type: boolean
42
+ description: "If `true`, discards the type part of the select name."
43
+ - name: prefix
44
+ type: string
45
+ description: "Overwrites the default prefix of `\"date\"` used for the select names."
46
+ - name: prompt
47
+ type: [boolean, string, hash]
48
+ description: "Set to `true` for generic prompts, a string for a custom prompt, or a hash for per-field prompts."
49
+ special_behaviors: []
@@ -0,0 +1,58 @@
1
+ ---
2
+ name: select_datetime
3
+ source: "ActionView::Helpers::DateHelper#select_datetime"
4
+ gem: actionview
5
+ output: html
6
+ visibility: public
7
+ supported: false
8
+ supports_block: false
9
+ description: |-
10
+ Returns a set of HTML `<select>` tags (one for year, month, day, hour, minute, and second) pre-selected with the `datetime`. It is possible to explicitly set the order of the tags using the `:order` option with an array of symbols `:year`, `:month`, and `:day` in the desired order.
11
+ signature: "select_datetime(datetime = Time.current, options = {}, html_options = {})"
12
+ documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-select_datetime"
13
+ tag: null
14
+ arguments:
15
+ - name: datetime
16
+ position: 1
17
+ type: [time, datetime]
18
+ optional: true
19
+ default: "Time.current"
20
+ description: "The datetime to pre-select."
21
+ - name: options
22
+ position: 2
23
+ type: hash
24
+ optional: true
25
+ default: "{}"
26
+ description: "Options for customizing the datetime select behavior."
27
+ - name: html_options
28
+ position: 3
29
+ type: hash
30
+ optional: true
31
+ default: "{}"
32
+ description: "HTML attributes applied to every `<select>` tag in the set."
33
+ options:
34
+ - name: order
35
+ type: array
36
+ description: "Array containing `:year`, `:month`, and `:day` to customize the order of select fields."
37
+ - name: date_separator
38
+ type: string
39
+ description: "String to separate the date fields."
40
+ - name: time_separator
41
+ type: string
42
+ description: "String to separate the time fields."
43
+ - name: datetime_separator
44
+ type: string
45
+ description: "String to separate the date and time fields."
46
+ - name: discard_type
47
+ type: boolean
48
+ description: "If `true`, discards the type part of the select name."
49
+ - name: ampm
50
+ type: boolean
51
+ description: "If `true`, shows hours in AM/PM format."
52
+ - name: prefix
53
+ type: string
54
+ description: "Overwrites the default prefix of `\"date\"` used for the select names."
55
+ - name: prompt
56
+ type: [boolean, string, hash]
57
+ description: "Set to `true` for generic prompts, a string for a custom prompt, or a hash for per-field prompts."
58
+ special_behaviors: []
@@ -0,0 +1,42 @@
1
+ ---
2
+ name: select_day
3
+ source: "ActionView::Helpers::DateHelper#select_day"
4
+ gem: actionview
5
+ output: html
6
+ visibility: public
7
+ supported: false
8
+ supports_block: false
9
+ description: |-
10
+ Returns a `<select>` tag with options for each of the days 1 through 31 with the current day selected. The `date` can also be substituted for a day number. If you want to display days with a leading zero set the `:use_two_digit_numbers` key in options to `true`. Override the field name using the `:field_name` option, `"day"` by default.
11
+ signature: "select_day(date, options = {}, html_options = {})"
12
+ documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-select_day"
13
+ tag: null
14
+ arguments:
15
+ - name: date
16
+ position: 1
17
+ type: [date, time, integer]
18
+ optional: false
19
+ description: "The date, time, or day number to pre-select."
20
+ - name: options
21
+ position: 2
22
+ type: hash
23
+ optional: true
24
+ default: "{}"
25
+ description: "Options for customizing the day select behavior."
26
+ - name: html_options
27
+ position: 3
28
+ type: hash
29
+ optional: true
30
+ default: "{}"
31
+ description: "HTML attributes for the `<select>` tag."
32
+ options:
33
+ - name: field_name
34
+ type: string
35
+ description: "Override the field name, defaults to `\"day\"`."
36
+ - name: use_two_digit_numbers
37
+ type: boolean
38
+ description: "If `true`, displays days with a leading zero."
39
+ - name: prompt
40
+ type: [boolean, string]
41
+ description: "Set to `true` for a generic prompt or a string for a custom prompt."
42
+ special_behaviors: []
@@ -0,0 +1,48 @@
1
+ ---
2
+ name: select_hour
3
+ source: "ActionView::Helpers::DateHelper#select_hour"
4
+ gem: actionview
5
+ output: html
6
+ visibility: public
7
+ supported: false
8
+ supports_block: false
9
+ description: |-
10
+ Returns a `<select>` tag with options for each of the hours 0 through 23 with the current hour selected. The `datetime` can be either a `Time` or `DateTime` object or an integer. Override the field name using the `:field_name` option, `"hour"` by default.
11
+ signature: "select_hour(datetime, options = {}, html_options = {})"
12
+ documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-select_hour"
13
+ tag: null
14
+ arguments:
15
+ - name: datetime
16
+ position: 1
17
+ type: [time, datetime, integer]
18
+ optional: false
19
+ description: "The time, datetime, or integer to pre-select."
20
+ - name: options
21
+ position: 2
22
+ type: hash
23
+ optional: true
24
+ default: "{}"
25
+ description: "Options for customizing the hour select behavior."
26
+ - name: html_options
27
+ position: 3
28
+ type: hash
29
+ optional: true
30
+ default: "{}"
31
+ description: "HTML attributes for the `<select>` tag."
32
+ options:
33
+ - name: field_name
34
+ type: string
35
+ description: "Override the field name, defaults to `\"hour\"`."
36
+ - name: ampm
37
+ type: boolean
38
+ description: "If `true`, shows hours in AM/PM format."
39
+ - name: start_hour
40
+ type: integer
41
+ description: "The starting hour for the hour select."
42
+ - name: end_hour
43
+ type: integer
44
+ description: "The ending hour for the hour select."
45
+ - name: prompt
46
+ type: [boolean, string]
47
+ description: "Set to `true` for a generic prompt or a string for a custom prompt."
48
+ special_behaviors: []
@@ -0,0 +1,42 @@
1
+ ---
2
+ name: select_minute
3
+ source: "ActionView::Helpers::DateHelper#select_minute"
4
+ gem: actionview
5
+ output: html
6
+ visibility: public
7
+ supported: false
8
+ supports_block: false
9
+ description: |-
10
+ Returns a `<select>` tag with options for each of the minutes 0 through 59 with the current minute selected. Also can return a select tag with options by `minute_step` from 0 through 59 with the 00 minute selected. The `datetime` can be either a `Time` or `DateTime` object or an integer. Override the field name using the `:field_name` option, `"minute"` by default.
11
+ signature: "select_minute(datetime, options = {}, html_options = {})"
12
+ documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-select_minute"
13
+ tag: null
14
+ arguments:
15
+ - name: datetime
16
+ position: 1
17
+ type: [time, datetime, integer]
18
+ optional: false
19
+ description: "The time, datetime, or integer to pre-select."
20
+ - name: options
21
+ position: 2
22
+ type: hash
23
+ optional: true
24
+ default: "{}"
25
+ description: "Options for customizing the minute select behavior."
26
+ - name: html_options
27
+ position: 3
28
+ type: hash
29
+ optional: true
30
+ default: "{}"
31
+ description: "HTML attributes for the `<select>` tag."
32
+ options:
33
+ - name: field_name
34
+ type: string
35
+ description: "Override the field name, defaults to `\"minute\"`."
36
+ - name: minute_step
37
+ type: integer
38
+ description: "Step value for the minute select."
39
+ - name: prompt
40
+ type: [boolean, string]
41
+ description: "Set to `true` for a generic prompt or a string for a custom prompt."
42
+ special_behaviors: []
@@ -0,0 +1,54 @@
1
+ ---
2
+ name: select_month
3
+ source: "ActionView::Helpers::DateHelper#select_month"
4
+ gem: actionview
5
+ output: html
6
+ visibility: public
7
+ supported: false
8
+ supports_block: false
9
+ description: |-
10
+ Returns a `<select>` tag with options for each of the months January through December with the current month selected. The month names are presented as keys and the month numbers (1-12) are used as values. Override the field name using the `:field_name` option, `"month"` by default.
11
+ signature: "select_month(date, options = {}, html_options = {})"
12
+ documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-select_month"
13
+ tag: null
14
+ arguments:
15
+ - name: date
16
+ position: 1
17
+ type: [date, time, integer]
18
+ optional: false
19
+ description: "The date, time, or month number to pre-select."
20
+ - name: options
21
+ position: 2
22
+ type: hash
23
+ optional: true
24
+ default: "{}"
25
+ description: "Options for customizing the month select behavior."
26
+ - name: html_options
27
+ position: 3
28
+ type: hash
29
+ optional: true
30
+ default: "{}"
31
+ description: "HTML attributes for the `<select>` tag."
32
+ options:
33
+ - name: field_name
34
+ type: string
35
+ description: "Override the field name, defaults to `\"month\"`."
36
+ - name: use_month_numbers
37
+ type: boolean
38
+ description: "If `true`, uses month numbers rather than month names."
39
+ - name: use_two_digit_numbers
40
+ type: boolean
41
+ description: "If `true`, displays months with a leading zero."
42
+ - name: add_month_numbers
43
+ type: boolean
44
+ description: "If `true`, uses both month numbers and month names."
45
+ - name: use_short_month
46
+ type: boolean
47
+ description: "If `true`, uses abbreviated month names."
48
+ - name: use_month_names
49
+ type: array
50
+ description: "An array of 12 custom month names."
51
+ - name: prompt
52
+ type: [boolean, string]
53
+ description: "Set to `true` for a generic prompt or a string for a custom prompt."
54
+ special_behaviors: []
@@ -0,0 +1,39 @@
1
+ ---
2
+ name: select_second
3
+ source: "ActionView::Helpers::DateHelper#select_second"
4
+ gem: actionview
5
+ output: html
6
+ visibility: public
7
+ supported: false
8
+ supports_block: false
9
+ description: |-
10
+ Returns a `<select>` tag with options for each of the seconds 0 through 59 with the current second selected. The `datetime` can be either a `Time` or `DateTime` object or an integer. Override the field name using the `:field_name` option, `"second"` by default.
11
+ signature: "select_second(datetime, options = {}, html_options = {})"
12
+ documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-select_second"
13
+ tag: null
14
+ arguments:
15
+ - name: datetime
16
+ position: 1
17
+ type: [time, datetime, integer]
18
+ optional: false
19
+ description: "The time, datetime, or integer to pre-select."
20
+ - name: options
21
+ position: 2
22
+ type: hash
23
+ optional: true
24
+ default: "{}"
25
+ description: "Options for customizing the second select behavior."
26
+ - name: html_options
27
+ position: 3
28
+ type: hash
29
+ optional: true
30
+ default: "{}"
31
+ description: "HTML attributes for the `<select>` tag."
32
+ options:
33
+ - name: field_name
34
+ type: string
35
+ description: "Override the field name, defaults to `\"second\"`."
36
+ - name: prompt
37
+ type: [boolean, string]
38
+ description: "Set to `true` for a generic prompt or a string for a custom prompt."
39
+ special_behaviors: []
@@ -0,0 +1,52 @@
1
+ ---
2
+ name: select_time
3
+ source: "ActionView::Helpers::DateHelper#select_time"
4
+ gem: actionview
5
+ output: html
6
+ visibility: public
7
+ supported: false
8
+ supports_block: false
9
+ description: |-
10
+ Returns a set of HTML `<select>` tags (one for hour and minute). You can set `:time_separator` to format the output, and the `:include_seconds` option to include an input for seconds.
11
+ signature: "select_time(datetime = Time.current, options = {}, html_options = {})"
12
+ documentation_url: "https://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-select_time"
13
+ tag: null
14
+ arguments:
15
+ - name: datetime
16
+ position: 1
17
+ type: [time, datetime]
18
+ optional: true
19
+ default: "Time.current"
20
+ description: "The time to pre-select."
21
+ - name: options
22
+ position: 2
23
+ type: hash
24
+ optional: true
25
+ default: "{}"
26
+ description: "Options for customizing the time select behavior."
27
+ - name: html_options
28
+ position: 3
29
+ type: hash
30
+ optional: true
31
+ default: "{}"
32
+ description: "HTML attributes applied to every `<select>` tag in the set."
33
+ options:
34
+ - name: time_separator
35
+ type: string
36
+ description: "String to separate the time fields."
37
+ - name: include_seconds
38
+ type: boolean
39
+ description: "If `true`, includes a select for seconds."
40
+ - name: ampm
41
+ type: boolean
42
+ description: "If `true`, shows hours in AM/PM format."
43
+ - name: start_hour
44
+ type: integer
45
+ description: "The starting hour for the hour select."
46
+ - name: end_hour
47
+ type: integer
48
+ description: "The ending hour for the hour select."
49
+ - name: prompt
50
+ type: [boolean, string, hash]
51
+ description: "Set to `true` for generic prompts, a string for a custom prompt, or a hash for per-field prompts."
52
+ special_behaviors: []