sorbet-rails 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (431) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +5 -2
  3. data/.travis.yml +7 -1
  4. data/CONTRIBUTING.md +3 -1
  5. data/Gemfile +11 -0
  6. data/README.md +0 -2
  7. data/{rbi → lib/sorbet-rails/rbi}/activerecord.rbi +118 -86
  8. data/lib/sorbet-rails/tasks/rails_rbi.rake +15 -6
  9. data/lib/sorbet-rails/utils.rb +11 -0
  10. data/sorbet-rails.gemspec +1 -1
  11. data/spec/bin/run_all_specs.sh +3 -2
  12. data/spec/bin/run_spec.sh +33 -26
  13. data/spec/model_rbi_formatter_spec.rb +0 -15
  14. data/spec/rails_helper.rb +12 -7
  15. data/spec/rake_rails_rbi_models_spec.rb +22 -5
  16. data/spec/rake_rails_rbi_routes_spec.rb +0 -1
  17. data/spec/sorbet_spec.rb +80 -0
  18. data/spec/support/rails_shared/config/routes.rb +1 -0
  19. data/spec/support/rails_shared/sorbet_test_cases.rb +120 -0
  20. data/spec/support/rails_symlinks/sorbet_test_cases.rb +1 -0
  21. data/spec/support/v4.2/Gemfile +13 -0
  22. data/spec/support/v4.2/Gemfile.lock +138 -0
  23. data/spec/support/v4.2/app/controllers/application_controller.rb +1 -0
  24. data/spec/support/v4.2/app/helpers/application_helper.rb +1 -0
  25. data/spec/support/v4.2/config/application.rb +1 -0
  26. data/spec/support/v4.2/config/boot.rb +1 -0
  27. data/spec/support/v4.2/config/environment.rb +1 -0
  28. data/spec/support/v4.2/config/environments/development.rb +1 -0
  29. data/spec/support/v4.2/config/environments/production.rb +1 -0
  30. data/spec/support/v4.2/config/environments/test.rb +1 -0
  31. data/spec/support/v4.2/config/initializers/backtrace_silencers.rb +1 -0
  32. data/spec/support/v4.2/config/initializers/cookies_serializer.rb +1 -0
  33. data/spec/support/v4.2/config/initializers/filter_parameter_logging.rb +1 -0
  34. data/spec/support/v4.2/config/initializers/inflections.rb +1 -0
  35. data/spec/support/v4.2/config/initializers/mime_types.rb +1 -0
  36. data/spec/support/v4.2/config/initializers/session_store.rb +1 -0
  37. data/spec/support/v4.2/config/initializers/to_time_preserves_timezone.rb +1 -0
  38. data/spec/support/v4.2/config/initializers/wrap_parameters.rb +1 -0
  39. data/spec/support/v4.2/config/routes.rb +1 -0
  40. data/spec/support/v4.2/db/migrate/20190620001234_create_wizards.rb +1 -0
  41. data/spec/support/v4.2/db/migrate/20190620003037_create_wands.rb +1 -0
  42. data/spec/support/v4.2/db/migrate/20190620003739_create_spell_books.rb +1 -0
  43. data/spec/support/v4.2/db/migrate/20190622000000_add_more_column_types_to_wands.rb +1 -0
  44. data/spec/support/v4.2/db/schema.rb +1 -0
  45. data/spec/support/v4.2/db/seeds.rb +1 -0
  46. data/spec/support/v4.2/sorbet/config +2 -0
  47. data/spec/support/v4.2/sorbet/rbi/gems/actionmailer.rbi +267 -0
  48. data/spec/support/v4.2/sorbet/rbi/gems/actionpack.rbi +2885 -0
  49. data/spec/support/v4.2/sorbet/rbi/gems/actionview.rbi +978 -0
  50. data/spec/support/v4.2/sorbet/rbi/gems/activejob.rbi +19 -0
  51. data/spec/support/v4.2/sorbet/rbi/gems/activemodel.rbi +335 -0
  52. data/spec/support/v4.2/sorbet/rbi/gems/activerecord.rbi +3382 -0
  53. data/spec/support/v4.2/sorbet/rbi/gems/activesupport.rbi +1892 -0
  54. data/spec/support/v4.2/sorbet/rbi/gems/arel.rbi +1109 -0
  55. data/spec/support/v4.2/sorbet/rbi/gems/binding_of_caller.rbi +22 -0
  56. data/spec/support/v4.2/sorbet/rbi/gems/byebug.rbi +1039 -0
  57. data/spec/support/v4.2/sorbet/rbi/gems/concurrent-ruby.rbi +218 -0
  58. data/spec/support/v4.2/sorbet/rbi/gems/crass.rbi +92 -0
  59. data/spec/support/v4.2/sorbet/rbi/gems/debug_inspector.rbi +18 -0
  60. data/spec/support/v4.2/sorbet/rbi/gems/erubis.rbi +265 -0
  61. data/spec/support/v4.2/sorbet/rbi/gems/globalid.rbi +98 -0
  62. data/spec/support/v4.2/sorbet/rbi/gems/i18n.rbi +186 -0
  63. data/spec/support/v4.2/sorbet/rbi/gems/jbuilder.rbi +99 -0
  64. data/spec/support/v4.2/sorbet/rbi/gems/loofah.rbi +129 -0
  65. data/spec/support/v4.2/sorbet/rbi/gems/mail.rbi +1091 -0
  66. data/spec/support/v4.2/sorbet/rbi/gems/mini_mime.rbi +45 -0
  67. data/spec/support/v4.2/sorbet/rbi/gems/minitest.rbi +276 -0
  68. data/spec/support/v4.2/sorbet/rbi/gems/nokogiri.rbi +1010 -0
  69. data/spec/support/v4.2/sorbet/rbi/gems/rack-test.rbi +145 -0
  70. data/spec/support/v4.2/sorbet/rbi/gems/rack.rbi +490 -0
  71. data/spec/support/v4.2/sorbet/rbi/gems/rails-deprecated_sanitizer.rbi +13 -0
  72. data/spec/support/v4.2/sorbet/rbi/gems/rails-dom-testing.rbi +76 -0
  73. data/spec/support/v4.2/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
  74. data/spec/support/v4.2/sorbet/rbi/gems/railties.rbi +623 -0
  75. data/spec/support/v4.2/sorbet/rbi/gems/rdoc.rbi +1053 -0
  76. data/spec/support/v4.2/sorbet/rbi/gems/sdoc.rbi +73 -0
  77. data/spec/support/v4.2/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
  78. data/spec/support/v4.2/sorbet/rbi/gems/sqlite3.rbi +345 -0
  79. data/spec/support/v4.2/sorbet/rbi/gems/thor.rbi +401 -0
  80. data/spec/support/v4.2/sorbet/rbi/gems/thread_safe.rbi +81 -0
  81. data/spec/support/v4.2/sorbet/rbi/gems/tzinfo.rbi +407 -0
  82. data/spec/support/v4.2/sorbet/rbi/gems/web-console.rbi +136 -0
  83. data/spec/support/v4.2/sorbet/rbi/hidden-definitions/errors.txt +11998 -0
  84. data/spec/support/v4.2/sorbet/rbi/hidden-definitions/hidden.rbi +27774 -0
  85. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
  86. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
  87. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
  88. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
  89. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
  90. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
  91. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  92. data/spec/support/v4.2/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  93. data/spec/support/v4.2/sorbet/rbi/todo.rbi +8 -0
  94. data/spec/support/v4.2/sorbet_test_cases.rb +1 -0
  95. data/spec/support/v4.2/test/test_helper.rb +1 -0
  96. data/spec/support/v5.0/Gemfile +13 -0
  97. data/spec/support/v5.0/Gemfile.lock +130 -0
  98. data/spec/support/v5.0/app/channels/application_cable/channel.rb +1 -0
  99. data/spec/support/v5.0/app/channels/application_cable/connection.rb +1 -0
  100. data/spec/support/v5.0/app/jobs/application_job.rb +1 -0
  101. data/spec/support/v5.0/app/mailers/application_mailer.rb +1 -0
  102. data/spec/support/v5.0/config/application.rb +1 -0
  103. data/spec/support/v5.0/config/boot.rb +1 -0
  104. data/spec/support/v5.0/config/environment.rb +1 -0
  105. data/spec/support/v5.0/config/environments/development.rb +1 -0
  106. data/spec/support/v5.0/config/environments/production.rb +1 -0
  107. data/spec/support/v5.0/config/environments/test.rb +1 -0
  108. data/spec/support/v5.0/config/initializers/application_controller_renderer.rb +1 -0
  109. data/spec/support/v5.0/config/initializers/backtrace_silencers.rb +1 -0
  110. data/spec/support/v5.0/config/initializers/cors.rb +1 -0
  111. data/spec/support/v5.0/config/initializers/filter_parameter_logging.rb +1 -0
  112. data/spec/support/v5.0/config/initializers/inflections.rb +1 -0
  113. data/spec/support/v5.0/config/initializers/mime_types.rb +1 -0
  114. data/spec/support/v5.0/config/initializers/new_framework_defaults.rb +1 -0
  115. data/spec/support/v5.0/config/initializers/wrap_parameters.rb +1 -0
  116. data/spec/support/v5.0/config/puma.rb +1 -0
  117. data/spec/support/v5.0/config/routes.rb +1 -0
  118. data/spec/support/v5.0/db/schema.rb +1 -0
  119. data/spec/support/v5.0/db/seeds.rb +1 -0
  120. data/spec/support/v5.0/rails_symlinks/config/routes.rb +1 -0
  121. data/spec/support/v5.0/sorbet/config +2 -0
  122. data/spec/support/v5.0/sorbet/rbi/gems/actioncable.rbi +309 -0
  123. data/spec/support/v5.0/sorbet/rbi/gems/actionmailer.rbi +379 -0
  124. data/spec/support/v5.0/sorbet/rbi/gems/actionpack.rbi +3150 -0
  125. data/spec/support/v5.0/sorbet/rbi/gems/actionview.rbi +1093 -0
  126. data/spec/support/v5.0/sorbet/rbi/gems/activejob.rbi +252 -0
  127. data/spec/support/v5.0/sorbet/rbi/gems/activemodel.rbi +562 -0
  128. data/spec/support/v5.0/sorbet/rbi/gems/activerecord.rbi +4060 -0
  129. data/spec/support/v5.0/sorbet/rbi/gems/activesupport.rbi +2078 -0
  130. data/spec/support/v5.0/sorbet/rbi/gems/arel.rbi +1222 -0
  131. data/spec/support/v5.0/sorbet/rbi/gems/byebug.rbi +1039 -0
  132. data/spec/support/v5.0/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
  133. data/spec/support/v5.0/sorbet/rbi/gems/crass.rbi +92 -0
  134. data/spec/support/v5.0/sorbet/rbi/gems/erubis.rbi +265 -0
  135. data/spec/support/v5.0/sorbet/rbi/gems/globalid.rbi +98 -0
  136. data/spec/support/v5.0/sorbet/rbi/gems/i18n.rbi +191 -0
  137. data/spec/support/v5.0/sorbet/rbi/gems/loofah.rbi +129 -0
  138. data/spec/support/v5.0/sorbet/rbi/gems/mail.rbi +1091 -0
  139. data/spec/support/v5.0/sorbet/rbi/gems/method_source.rbi +63 -0
  140. data/spec/support/v5.0/sorbet/rbi/gems/mini_mime.rbi +45 -0
  141. data/spec/support/v5.0/sorbet/rbi/gems/minitest.rbi +276 -0
  142. data/spec/support/v5.0/sorbet/rbi/gems/nokogiri.rbi +1010 -0
  143. data/spec/support/v5.0/sorbet/rbi/gems/puma.rbi +570 -0
  144. data/spec/support/v5.0/sorbet/rbi/gems/rack-test.rbi +145 -0
  145. data/spec/support/v5.0/sorbet/rbi/gems/rack.rbi +534 -0
  146. data/spec/support/v5.0/sorbet/rbi/gems/rails-dom-testing.rbi +67 -0
  147. data/spec/support/v5.0/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
  148. data/spec/support/v5.0/sorbet/rbi/gems/railties.rbi +682 -0
  149. data/spec/support/v5.0/sorbet/rbi/gems/rake.rbi +255 -0
  150. data/spec/support/v5.0/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
  151. data/spec/support/v5.0/sorbet/rbi/gems/sqlite3.rbi +345 -0
  152. data/spec/support/v5.0/sorbet/rbi/gems/thor.rbi +401 -0
  153. data/spec/support/v5.0/sorbet/rbi/gems/thread_safe.rbi +81 -0
  154. data/spec/support/v5.0/sorbet/rbi/gems/tzinfo.rbi +407 -0
  155. data/spec/support/v5.0/sorbet/rbi/hidden-definitions/errors.txt +10523 -0
  156. data/spec/support/v5.0/sorbet/rbi/hidden-definitions/hidden.rbi +24969 -0
  157. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
  158. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
  159. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
  160. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
  161. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
  162. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
  163. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  164. data/spec/support/v5.0/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  165. data/spec/support/v5.0/sorbet/rbi/todo.rbi +10 -0
  166. data/spec/support/v5.0/sorbet_test_cases.rb +1 -0
  167. data/spec/support/v5.0/test/test_helper.rb +1 -0
  168. data/spec/support/v5.1/Gemfile +13 -0
  169. data/spec/support/v5.1/Gemfile.lock +15 -20
  170. data/spec/support/v5.1/app/channels/application_cable/channel.rb +1 -0
  171. data/spec/support/v5.1/app/channels/application_cable/connection.rb +1 -0
  172. data/spec/support/v5.1/app/jobs/application_job.rb +1 -0
  173. data/spec/support/v5.1/app/mailers/application_mailer.rb +1 -0
  174. data/spec/support/v5.1/bin/rails +0 -5
  175. data/spec/support/v5.1/bin/rake +0 -5
  176. data/spec/support/v5.1/config/application.rb +1 -0
  177. data/spec/support/v5.1/config/boot.rb +1 -0
  178. data/spec/support/v5.1/config/environment.rb +1 -0
  179. data/spec/support/v5.1/config/environments/development.rb +2 -1
  180. data/spec/support/v5.1/config/environments/production.rb +1 -0
  181. data/spec/support/v5.1/config/environments/test.rb +1 -0
  182. data/spec/support/v5.1/config/initializers/application_controller_renderer.rb +1 -0
  183. data/spec/support/v5.1/config/initializers/backtrace_silencers.rb +1 -0
  184. data/spec/support/v5.1/config/initializers/cors.rb +1 -0
  185. data/spec/support/v5.1/config/initializers/filter_parameter_logging.rb +1 -0
  186. data/spec/support/v5.1/config/initializers/inflections.rb +1 -0
  187. data/spec/support/v5.1/config/initializers/mime_types.rb +1 -0
  188. data/spec/support/v5.1/config/initializers/wrap_parameters.rb +1 -0
  189. data/spec/support/v5.1/config/puma.rb +1 -0
  190. data/spec/support/v5.1/config/spring.rb +1 -0
  191. data/spec/support/v5.1/db/schema.rb +1 -0
  192. data/spec/support/v5.1/db/seeds.rb +1 -0
  193. data/spec/support/v5.1/sorbet/config +2 -0
  194. data/spec/support/v5.1/sorbet/rbi/gems/actioncable.rbi +309 -0
  195. data/spec/support/v5.1/sorbet/rbi/gems/actionmailer.rbi +429 -0
  196. data/spec/support/v5.1/sorbet/rbi/gems/actionpack.rbi +3171 -0
  197. data/spec/support/v5.1/sorbet/rbi/gems/actionview.rbi +1115 -0
  198. data/spec/support/v5.1/sorbet/rbi/gems/activejob.rbi +273 -0
  199. data/spec/support/v5.1/sorbet/rbi/gems/activemodel.rbi +547 -0
  200. data/spec/support/v5.1/sorbet/rbi/gems/activerecord.rbi +4093 -0
  201. data/spec/support/v5.1/sorbet/rbi/gems/activesupport.rbi +2180 -0
  202. data/spec/support/v5.1/sorbet/rbi/gems/arel.rbi +1220 -0
  203. data/spec/support/v5.1/sorbet/rbi/gems/byebug.rbi +1039 -0
  204. data/spec/support/v5.1/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
  205. data/spec/support/v5.1/sorbet/rbi/gems/crass.rbi +92 -0
  206. data/spec/support/v5.1/sorbet/rbi/gems/erubi.rbi +26 -0
  207. data/spec/support/v5.1/sorbet/rbi/gems/globalid.rbi +98 -0
  208. data/spec/support/v5.1/sorbet/rbi/gems/i18n.rbi +191 -0
  209. data/spec/support/v5.1/sorbet/rbi/gems/loofah.rbi +129 -0
  210. data/spec/support/v5.1/sorbet/rbi/gems/mail.rbi +1091 -0
  211. data/spec/support/v5.1/sorbet/rbi/gems/method_source.rbi +63 -0
  212. data/spec/support/v5.1/sorbet/rbi/gems/mini_mime.rbi +45 -0
  213. data/spec/support/v5.1/sorbet/rbi/gems/minitest.rbi +276 -0
  214. data/spec/support/v5.1/sorbet/rbi/gems/nokogiri.rbi +1010 -0
  215. data/spec/support/v5.1/sorbet/rbi/gems/puma.rbi +570 -0
  216. data/spec/support/v5.1/sorbet/rbi/gems/rack-test.rbi +161 -0
  217. data/spec/support/v5.1/sorbet/rbi/gems/rack.rbi +534 -0
  218. data/spec/support/v5.1/sorbet/rbi/gems/rails-dom-testing.rbi +67 -0
  219. data/spec/support/v5.1/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
  220. data/spec/support/v5.1/sorbet/rbi/gems/railties.rbi +707 -0
  221. data/spec/support/v5.1/sorbet/rbi/gems/rake.rbi +255 -0
  222. data/spec/support/v5.1/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
  223. data/spec/support/v5.1/sorbet/rbi/gems/sqlite3.rbi +345 -0
  224. data/spec/support/v5.1/sorbet/rbi/gems/thor.rbi +450 -0
  225. data/spec/support/v5.1/sorbet/rbi/gems/thread_safe.rbi +81 -0
  226. data/spec/support/v5.1/sorbet/rbi/gems/tzinfo.rbi +407 -0
  227. data/spec/support/v5.1/sorbet/rbi/hidden-definitions/errors.txt +10226 -0
  228. data/spec/support/v5.1/sorbet/rbi/hidden-definitions/hidden.rbi +24635 -0
  229. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
  230. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
  231. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
  232. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
  233. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
  234. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
  235. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  236. data/spec/support/v5.1/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  237. data/spec/support/v5.1/sorbet/rbi/todo.rbi +11 -0
  238. data/spec/support/v5.1/sorbet_test_cases.rb +1 -0
  239. data/spec/support/v5.1/test/test_helper.rb +1 -0
  240. data/spec/support/v5.2/Gemfile +12 -0
  241. data/spec/support/v5.2/Gemfile.lock +12 -0
  242. data/spec/support/v5.2/app/channels/application_cable/channel.rb +1 -0
  243. data/spec/support/v5.2/app/channels/application_cable/connection.rb +1 -0
  244. data/spec/support/v5.2/app/jobs/application_job.rb +1 -0
  245. data/spec/support/v5.2/app/mailers/application_mailer.rb +1 -0
  246. data/spec/support/v5.2/bin/rails +0 -5
  247. data/spec/support/v5.2/bin/rake +0 -5
  248. data/spec/support/v5.2/config/application.rb +1 -0
  249. data/spec/support/v5.2/config/boot.rb +1 -0
  250. data/spec/support/v5.2/config/environment.rb +1 -0
  251. data/spec/support/v5.2/config/environments/development.rb +1 -0
  252. data/spec/support/v5.2/config/environments/production.rb +1 -0
  253. data/spec/support/v5.2/config/environments/test.rb +1 -0
  254. data/spec/support/v5.2/config/initializers/application_controller_renderer.rb +1 -0
  255. data/spec/support/v5.2/config/initializers/backtrace_silencers.rb +1 -0
  256. data/spec/support/v5.2/config/initializers/cors.rb +1 -0
  257. data/spec/support/v5.2/config/initializers/filter_parameter_logging.rb +1 -0
  258. data/spec/support/v5.2/config/initializers/inflections.rb +1 -0
  259. data/spec/support/v5.2/config/initializers/mime_types.rb +1 -0
  260. data/spec/support/v5.2/config/initializers/wrap_parameters.rb +1 -0
  261. data/spec/support/v5.2/config/puma.rb +1 -0
  262. data/spec/support/v5.2/config/spring.rb +1 -0
  263. data/spec/support/v5.2/db/schema.rb +1 -0
  264. data/spec/support/v5.2/db/seeds.rb +1 -0
  265. data/spec/support/v5.2/sorbet/rbi/gems/sorbet-runtime.rbi +644 -0
  266. data/spec/support/v5.2/sorbet/rbi/hidden-definitions/errors.txt +12 -6
  267. data/spec/support/v5.2/sorbet/rbi/hidden-definitions/hidden.rbi +57 -19
  268. data/spec/support/v5.2/sorbet_test_cases.rb +1 -0
  269. data/spec/support/v5.2/test/test_helper.rb +1 -0
  270. data/spec/support/v5.2-no-sorbet/Gemfile +57 -0
  271. data/spec/support/v5.2-no-sorbet/Gemfile.lock +140 -0
  272. data/spec/support/v5.2-no-sorbet/README.md +24 -0
  273. data/spec/support/v5.2-no-sorbet/Rakefile +6 -0
  274. data/spec/support/v5.2-no-sorbet/app/channels/application_cable/channel.rb +5 -0
  275. data/spec/support/v5.2-no-sorbet/app/channels/application_cable/connection.rb +5 -0
  276. data/spec/support/v5.2-no-sorbet/app/controllers +1 -0
  277. data/spec/support/v5.2-no-sorbet/app/jobs/application_job.rb +3 -0
  278. data/spec/support/v5.2-no-sorbet/app/mailers/application_mailer.rb +5 -0
  279. data/spec/support/v5.2-no-sorbet/app/models +1 -0
  280. data/spec/support/v5.2-no-sorbet/app/views/layouts/mailer.html.erb +13 -0
  281. data/spec/support/v5.2-no-sorbet/app/views/layouts/mailer.text.erb +1 -0
  282. data/spec/support/v5.2-no-sorbet/bin/bundle +3 -0
  283. data/spec/support/v5.2-no-sorbet/bin/rails +4 -0
  284. data/spec/support/v5.2-no-sorbet/bin/rake +4 -0
  285. data/spec/support/v5.2-no-sorbet/bin/setup +33 -0
  286. data/spec/support/v5.2-no-sorbet/bin/spring +17 -0
  287. data/spec/support/v5.2-no-sorbet/bin/update +28 -0
  288. data/spec/support/v5.2-no-sorbet/config/application.rb +36 -0
  289. data/spec/support/v5.2-no-sorbet/config/boot.rb +4 -0
  290. data/spec/support/v5.2-no-sorbet/config/cable.yml +10 -0
  291. data/spec/support/v5.2-no-sorbet/config/credentials.yml.enc +1 -0
  292. data/spec/support/v5.2-no-sorbet/config/database.yml +25 -0
  293. data/spec/support/v5.2-no-sorbet/config/environment.rb +6 -0
  294. data/spec/support/v5.2-no-sorbet/config/environments/development.rb +55 -0
  295. data/spec/support/v5.2-no-sorbet/config/environments/production.rb +86 -0
  296. data/spec/support/v5.2-no-sorbet/config/environments/test.rb +47 -0
  297. data/spec/support/v5.2-no-sorbet/config/initializers/application_controller_renderer.rb +9 -0
  298. data/spec/support/v5.2-no-sorbet/config/initializers/backtrace_silencers.rb +8 -0
  299. data/spec/support/v5.2-no-sorbet/config/initializers/cors.rb +17 -0
  300. data/spec/support/v5.2-no-sorbet/config/initializers/filter_parameter_logging.rb +5 -0
  301. data/spec/support/v5.2-no-sorbet/config/initializers/inflections.rb +17 -0
  302. data/spec/support/v5.2-no-sorbet/config/initializers/mime_types.rb +5 -0
  303. data/spec/support/v5.2-no-sorbet/config/initializers/wrap_parameters.rb +15 -0
  304. data/spec/support/v5.2-no-sorbet/config/locales/en.yml +33 -0
  305. data/spec/support/v5.2-no-sorbet/config/puma.rb +35 -0
  306. data/spec/support/v5.2-no-sorbet/config/routes.rb +1 -0
  307. data/spec/support/v5.2-no-sorbet/config/spring.rb +7 -0
  308. data/spec/support/v5.2-no-sorbet/config/storage.yml +34 -0
  309. data/spec/support/v5.2-no-sorbet/config.ru +5 -0
  310. data/spec/support/v5.2-no-sorbet/db/migrate +1 -0
  311. data/spec/support/v5.2-no-sorbet/db/schema.rb +48 -0
  312. data/spec/support/v5.2-no-sorbet/db/seeds.rb +8 -0
  313. data/spec/support/v5.2-no-sorbet/lib/tasks/.keep +0 -0
  314. data/spec/support/v5.2-no-sorbet/log/.keep +0 -0
  315. data/spec/support/v5.2-no-sorbet/public/robots.txt +1 -0
  316. data/spec/support/v5.2-no-sorbet/storage/.keep +0 -0
  317. data/spec/support/v5.2-no-sorbet/test/controllers/.keep +0 -0
  318. data/spec/support/v5.2-no-sorbet/test/fixtures/.keep +0 -0
  319. data/spec/support/v5.2-no-sorbet/test/fixtures/files/.keep +0 -0
  320. data/spec/support/v5.2-no-sorbet/test/integration/.keep +0 -0
  321. data/spec/support/v5.2-no-sorbet/test/mailers/.keep +0 -0
  322. data/spec/support/v5.2-no-sorbet/test/models/.keep +0 -0
  323. data/spec/support/v5.2-no-sorbet/test/test_helper.rb +11 -0
  324. data/spec/support/v5.2-no-sorbet/tmp/.keep +0 -0
  325. data/spec/support/v5.2-no-sorbet/vendor/.keep +0 -0
  326. data/spec/support/v6.0/Gemfile +12 -0
  327. data/spec/support/v6.0/Gemfile.lock +157 -0
  328. data/spec/support/v6.0/app/channels/application_cable/channel.rb +1 -0
  329. data/spec/support/v6.0/app/channels/application_cable/connection.rb +1 -0
  330. data/spec/support/v6.0/app/jobs/application_job.rb +1 -0
  331. data/spec/support/v6.0/app/mailers/application_mailer.rb +1 -0
  332. data/spec/support/v6.0/config/application.rb +1 -0
  333. data/spec/support/v6.0/config/boot.rb +1 -0
  334. data/spec/support/v6.0/config/environment.rb +1 -0
  335. data/spec/support/v6.0/config/environments/development.rb +1 -0
  336. data/spec/support/v6.0/config/environments/production.rb +1 -0
  337. data/spec/support/v6.0/config/environments/test.rb +1 -0
  338. data/spec/support/v6.0/config/initializers/application_controller_renderer.rb +1 -0
  339. data/spec/support/v6.0/config/initializers/backtrace_silencers.rb +1 -0
  340. data/spec/support/v6.0/config/initializers/cors.rb +1 -0
  341. data/spec/support/v6.0/config/initializers/filter_parameter_logging.rb +1 -0
  342. data/spec/support/v6.0/config/initializers/inflections.rb +1 -0
  343. data/spec/support/v6.0/config/initializers/mime_types.rb +1 -0
  344. data/spec/support/v6.0/config/initializers/wrap_parameters.rb +1 -0
  345. data/spec/support/v6.0/config/puma.rb +1 -0
  346. data/spec/support/v6.0/config/routes.rb +1 -0
  347. data/spec/support/v6.0/db/schema.rb +1 -0
  348. data/spec/support/v6.0/db/seeds.rb +1 -0
  349. data/spec/support/v6.0/sorbet/config +2 -0
  350. data/spec/support/v6.0/sorbet/rbi/gems/actioncable.rbi +245 -0
  351. data/spec/support/v6.0/sorbet/rbi/gems/actionmailbox.rbi +56 -0
  352. data/spec/support/v6.0/sorbet/rbi/gems/actionmailer.rbi +69 -0
  353. data/spec/support/v6.0/sorbet/rbi/gems/actionpack.rbi +2401 -0
  354. data/spec/support/v6.0/sorbet/rbi/gems/actiontext.rbi +32 -0
  355. data/spec/support/v6.0/sorbet/rbi/gems/actionview.rbi +1033 -0
  356. data/spec/support/v6.0/sorbet/rbi/gems/activejob.rbi +362 -0
  357. data/spec/support/v6.0/sorbet/rbi/gems/activemodel.rbi +750 -0
  358. data/spec/support/v6.0/sorbet/rbi/gems/activerecord.rbi +5552 -0
  359. data/spec/support/v6.0/sorbet/rbi/gems/activestorage.rbi +217 -0
  360. data/spec/support/v6.0/sorbet/rbi/gems/activesupport.rbi +2430 -0
  361. data/spec/support/v6.0/sorbet/rbi/gems/byebug.rbi +1039 -0
  362. data/spec/support/v6.0/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
  363. data/spec/support/v6.0/sorbet/rbi/gems/crass.rbi +92 -0
  364. data/spec/support/v6.0/sorbet/rbi/gems/erubi.rbi +26 -0
  365. data/spec/support/v6.0/sorbet/rbi/gems/globalid.rbi +98 -0
  366. data/spec/support/v6.0/sorbet/rbi/gems/i18n.rbi +191 -0
  367. data/spec/support/v6.0/sorbet/rbi/gems/loofah.rbi +129 -0
  368. data/spec/support/v6.0/sorbet/rbi/gems/mail.rbi +1542 -0
  369. data/spec/support/v6.0/sorbet/rbi/gems/marcel.rbi +12 -0
  370. data/spec/support/v6.0/sorbet/rbi/gems/method_source.rbi +63 -0
  371. data/spec/support/v6.0/sorbet/rbi/gems/mini_mime.rbi +45 -0
  372. data/spec/support/v6.0/sorbet/rbi/gems/minitest.rbi +276 -0
  373. data/spec/support/v6.0/sorbet/rbi/gems/nokogiri.rbi +1010 -0
  374. data/spec/support/v6.0/sorbet/rbi/gems/puma.rbi +570 -0
  375. data/spec/support/v6.0/sorbet/rbi/gems/rack-test.rbi +161 -0
  376. data/spec/support/v6.0/sorbet/rbi/gems/rack.rbi +522 -0
  377. data/spec/support/v6.0/sorbet/rbi/gems/rails-dom-testing.rbi +67 -0
  378. data/spec/support/v6.0/sorbet/rbi/gems/rails-html-sanitizer.rbi +90 -0
  379. data/spec/support/v6.0/sorbet/rbi/gems/railties.rbi +760 -0
  380. data/spec/support/v6.0/sorbet/rbi/gems/rake.rbi +254 -0
  381. data/spec/support/v6.0/sorbet/rbi/gems/sorbet-runtime.rbi +647 -0
  382. data/spec/support/v6.0/sorbet/rbi/gems/sqlite3.rbi +353 -0
  383. data/spec/support/v6.0/sorbet/rbi/gems/thor.rbi +450 -0
  384. data/spec/support/v6.0/sorbet/rbi/gems/thread_safe.rbi +81 -0
  385. data/spec/support/v6.0/sorbet/rbi/gems/tzinfo.rbi +407 -0
  386. data/spec/support/v6.0/sorbet/rbi/gems/zeitwerk.rbi +119 -0
  387. data/spec/support/v6.0/sorbet/rbi/hidden-definitions/errors.txt +12074 -0
  388. data/spec/support/v6.0/sorbet/rbi/hidden-definitions/hidden.rbi +28231 -0
  389. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
  390. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +13 -0
  391. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +51 -0
  392. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +107 -0
  393. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8547 -0
  394. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +22 -0
  395. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  396. data/spec/support/v6.0/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  397. data/spec/support/v6.0/sorbet/rbi/todo.rbi +11 -0
  398. data/spec/support/v6.0/sorbet_test_cases.rb +1 -0
  399. data/spec/support/v6.0/test/channels/application_cable/connection_test.rb +1 -0
  400. data/spec/support/v6.0/test/test_helper.rb +1 -0
  401. data/spec/test_data/v4.2/expected_srb_tc_output.txt +178 -0
  402. data/spec/test_data/v5.0/expected_internal_metadata.rbi +155 -0
  403. data/spec/test_data/v5.0/expected_schema_migration.rbi +128 -0
  404. data/spec/test_data/v5.0/expected_srb_tc_output.txt +178 -0
  405. data/spec/test_data/v5.1/expected_internal_metadata.rbi +161 -0
  406. data/spec/test_data/v5.1/expected_schema_migration.rbi +134 -0
  407. data/spec/test_data/v5.1/expected_srb_tc_output.txt +160 -0
  408. data/spec/test_data/v5.2/expected_attachment.rbi +137 -0
  409. data/spec/test_data/v5.2/expected_blob.rbi +149 -0
  410. data/spec/test_data/v5.2/expected_internal_metadata.rbi +161 -0
  411. data/spec/test_data/v5.2/expected_schema_migration.rbi +134 -0
  412. data/spec/test_data/v5.2/expected_srb_tc_output.txt +160 -0
  413. data/spec/test_data/v5.2-no-sorbet/expected_attachment.rbi +137 -0
  414. data/spec/test_data/v5.2-no-sorbet/expected_blob.rbi +149 -0
  415. data/spec/test_data/v5.2-no-sorbet/expected_internal_metadata.rbi +161 -0
  416. data/spec/test_data/v5.2-no-sorbet/expected_no_routes.rbi +11 -0
  417. data/spec/test_data/v5.2-no-sorbet/expected_potion.rbi +128 -0
  418. data/spec/test_data/v5.2-no-sorbet/expected_routes.rbi +43 -0
  419. data/spec/test_data/v5.2-no-sorbet/expected_schema_migration.rbi +134 -0
  420. data/spec/test_data/v5.2-no-sorbet/expected_spell_book.rbi +161 -0
  421. data/spec/test_data/v5.2-no-sorbet/expected_srb_tc_output.txt +160 -0
  422. data/spec/test_data/v5.2-no-sorbet/expected_wand.rbi +311 -0
  423. data/spec/test_data/v5.2-no-sorbet/expected_wizard.rbi +254 -0
  424. data/spec/test_data/v5.2-no-sorbet/expected_wizard_wo_spellbook.rbi +254 -0
  425. data/spec/test_data/v6.0/expected_attachment.rbi +149 -0
  426. data/spec/test_data/v6.0/expected_blob.rbi +161 -0
  427. data/spec/test_data/v6.0/expected_internal_metadata.rbi +173 -0
  428. data/spec/test_data/v6.0/expected_schema_migration.rbi +146 -0
  429. data/spec/test_data/v6.0/expected_srb_tc_output.txt +160 -0
  430. data/spec/utils_spec.rb +24 -0
  431. metadata +573 -2
@@ -0,0 +1,1033 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strong
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/actionview/all/actionview.rbi
9
+ #
10
+ # actionview-6.0.0.rc1
11
+ module ActionView
12
+ def self.eager_load!; end
13
+ def self.gem_version; end
14
+ def self.version; end
15
+ extend ActiveSupport::Autoload
16
+ end
17
+ module ActionView::VERSION
18
+ end
19
+ class ActionView::Railtie < Rails::Engine
20
+ end
21
+ module ActionView::CollectionCaching
22
+ def cache_collection_render(instrumentation_payload, view, template); end
23
+ def callable_cache_key?; end
24
+ def collection_by_cache_keys(view, template); end
25
+ def expanded_cache_key(key, view, template, digest_path); end
26
+ def fetch_or_cache_partial(cached_partials, template, order_by:); end
27
+ extend ActiveSupport::Concern
28
+ end
29
+ class ActionView::AbstractRenderer
30
+ def any_templates?(*args, &block); end
31
+ def build_rendered_collection(templates, spacer); end
32
+ def build_rendered_template(content, template, layout = nil); end
33
+ def extract_details(options); end
34
+ def formats(*args, &block); end
35
+ def initialize(lookup_context); end
36
+ def instrument(name, **options); end
37
+ def prepend_formats(formats); end
38
+ def render; end
39
+ def template_exists?(*args, &block); end
40
+ end
41
+ class ActionView::AbstractRenderer::RenderedCollection
42
+ def body; end
43
+ def format; end
44
+ def initialize(rendered_templates, spacer); end
45
+ def rendered_templates; end
46
+ def self.empty(format); end
47
+ end
48
+ class ActionView::AbstractRenderer::RenderedCollection::EmptyCollection
49
+ def body; end
50
+ def format; end
51
+ def initialize(format); end
52
+ end
53
+ class ActionView::AbstractRenderer::RenderedTemplate
54
+ def body; end
55
+ def format; end
56
+ def initialize(body, layout, template); end
57
+ def layout; end
58
+ def template; end
59
+ end
60
+ class ActionView::PartialIteration
61
+ def first?; end
62
+ def index; end
63
+ def initialize(size); end
64
+ def iterate!; end
65
+ def last?; end
66
+ def size; end
67
+ end
68
+ class ActionView::PartialRenderer < ActionView::AbstractRenderer
69
+ def as_variable(options); end
70
+ def collection_cache; end
71
+ def collection_cache=(obj); end
72
+ def collection_from_object; end
73
+ def collection_from_options; end
74
+ def collection_with_template(*arg0); end
75
+ def collection_without_template(*arg0); end
76
+ def find_partial(path, template_keys); end
77
+ def find_template(path, locals); end
78
+ def initialize(*arg0); end
79
+ def merge_prefix_into_object_path(prefix, object_path); end
80
+ def partial_path(object, view); end
81
+ def prefixed_partial_names; end
82
+ def raise_invalid_identifier(path); end
83
+ def raise_invalid_option_as(as); end
84
+ def render(context, options, block); end
85
+ def render_collection(view, template); end
86
+ def render_partial(view, template); end
87
+ def retrieve_template_keys(variable); end
88
+ def retrieve_variable(path, as); end
89
+ def self.collection_cache; end
90
+ def self.collection_cache=(obj); end
91
+ def setup(context, options, as, block); end
92
+ include ActionView::CollectionCaching
93
+ end
94
+ class ActionView::LogSubscriber < ActiveSupport::LogSubscriber
95
+ end
96
+ module ActionView::Helpers
97
+ def self.eager_load!; end
98
+ extend ActiveSupport::Autoload
99
+ extend ActiveSupport::Concern
100
+ include ActionView::Helpers::ActiveModelHelper
101
+ include ActionView::Helpers::AssetTagHelper
102
+ include ActionView::Helpers::AssetUrlHelper
103
+ include ActionView::Helpers::AtomFeedHelper
104
+ include ActionView::Helpers::CacheHelper
105
+ include ActionView::Helpers::CaptureHelper
106
+ include ActionView::Helpers::ControllerHelper
107
+ include ActionView::Helpers::CspHelper
108
+ include ActionView::Helpers::CsrfHelper
109
+ include ActionView::Helpers::DateHelper
110
+ include ActionView::Helpers::DebugHelper
111
+ include ActionView::Helpers::FormHelper
112
+ include ActionView::Helpers::FormOptionsHelper
113
+ include ActionView::Helpers::FormTagHelper
114
+ include ActionView::Helpers::JavaScriptHelper
115
+ include ActionView::Helpers::NumberHelper
116
+ include ActionView::Helpers::OutputSafetyHelper
117
+ include ActionView::Helpers::RenderingHelper
118
+ include ActionView::Helpers::SanitizeHelper
119
+ include ActionView::Helpers::TagHelper
120
+ include ActionView::Helpers::TextHelper
121
+ include ActionView::Helpers::TranslationHelper
122
+ include ActionView::Helpers::UrlHelper
123
+ include ActiveSupport::Benchmarkable
124
+ end
125
+ module ActionView::Helpers::ActiveModelHelper
126
+ end
127
+ module ActionView::Helpers::ActiveModelInstanceTag
128
+ def content_tag(type, options, *arg2); end
129
+ def error_message; end
130
+ def error_wrapping(html_tag); end
131
+ def object; end
132
+ def object_has_errors?; end
133
+ def select_markup_helper?(type); end
134
+ def tag(type, options, *arg2); end
135
+ def tag_generate_errors?(options); end
136
+ end
137
+ module ActionView::Helpers::AssetUrlHelper
138
+ def asset_path(source, options = nil); end
139
+ def asset_url(source, options = nil); end
140
+ def audio_path(source, options = nil); end
141
+ def audio_url(source, options = nil); end
142
+ def compute_asset_extname(source, options = nil); end
143
+ def compute_asset_host(source = nil, options = nil); end
144
+ def compute_asset_path(source, options = nil); end
145
+ def font_path(source, options = nil); end
146
+ def font_url(source, options = nil); end
147
+ def image_path(source, options = nil); end
148
+ def image_url(source, options = nil); end
149
+ def javascript_path(source, options = nil); end
150
+ def javascript_url(source, options = nil); end
151
+ def path_to_asset(source, options = nil); end
152
+ def path_to_audio(source, options = nil); end
153
+ def path_to_font(source, options = nil); end
154
+ def path_to_image(source, options = nil); end
155
+ def path_to_javascript(source, options = nil); end
156
+ def path_to_stylesheet(source, options = nil); end
157
+ def path_to_video(source, options = nil); end
158
+ def public_compute_asset_path(source, options = nil); end
159
+ def stylesheet_path(source, options = nil); end
160
+ def stylesheet_url(source, options = nil); end
161
+ def url_to_asset(source, options = nil); end
162
+ def url_to_audio(source, options = nil); end
163
+ def url_to_font(source, options = nil); end
164
+ def url_to_image(source, options = nil); end
165
+ def url_to_javascript(source, options = nil); end
166
+ def url_to_stylesheet(source, options = nil); end
167
+ def url_to_video(source, options = nil); end
168
+ def video_path(source, options = nil); end
169
+ def video_url(source, options = nil); end
170
+ end
171
+ module ActionView::Helpers::CaptureHelper
172
+ def capture(*args); end
173
+ def content_for(name, content = nil, options = nil, &block); end
174
+ def content_for?(name); end
175
+ def provide(name, content = nil, &block); end
176
+ def with_output_buffer(buf = nil); end
177
+ end
178
+ module ActionView::Helpers::OutputSafetyHelper
179
+ def raw(stringish); end
180
+ def safe_join(array, sep = nil); end
181
+ def to_sentence(array, options = nil); end
182
+ end
183
+ module ActionView::Helpers::TagHelper
184
+ def cdata_section(content); end
185
+ def content_tag(name, content_or_options_with_block = nil, options = nil, escape = nil, &block); end
186
+ def escape_once(html); end
187
+ def tag(name = nil, options = nil, open = nil, escape = nil); end
188
+ def tag_builder; end
189
+ extend ActiveSupport::Concern
190
+ include ActionView::Helpers::CaptureHelper
191
+ include ActionView::Helpers::OutputSafetyHelper
192
+ end
193
+ class ActionView::Helpers::TagHelper::TagBuilder
194
+ def boolean_tag_option(key); end
195
+ def content_tag_string(name, content, options, escape = nil); end
196
+ def initialize(view_context); end
197
+ def method_missing(called, *args, &block); end
198
+ def prefix_tag_option(prefix, key, value, escape); end
199
+ def respond_to_missing?(*args); end
200
+ def tag_option(key, value, escape); end
201
+ def tag_options(options, escape = nil); end
202
+ def tag_string(name, content = nil, escape_attributes: nil, **options, &block); end
203
+ include ActionView::Helpers::CaptureHelper
204
+ include ActionView::Helpers::OutputSafetyHelper
205
+ end
206
+ module ActionView::Helpers::AssetTagHelper
207
+ def audio_tag(*sources); end
208
+ def auto_discovery_link_tag(type = nil, url_options = nil, tag_options = nil); end
209
+ def check_for_image_tag_errors(options); end
210
+ def extract_dimensions(size); end
211
+ def favicon_link_tag(source = nil, options = nil); end
212
+ def image_tag(source, options = nil); end
213
+ def javascript_include_tag(*sources); end
214
+ def multiple_sources_tag_builder(type, sources); end
215
+ def preload_link_tag(source, options = nil); end
216
+ def resolve_image_source(source, skip_pipeline); end
217
+ def resolve_link_as(extname, mime_type); end
218
+ def stylesheet_link_tag(*sources); end
219
+ def video_tag(*sources); end
220
+ extend ActiveSupport::Concern
221
+ include ActionView::Helpers::AssetUrlHelper
222
+ include ActionView::Helpers::TagHelper
223
+ end
224
+ module ActionView::Helpers::AtomFeedHelper
225
+ def atom_feed(options = nil, &block); end
226
+ end
227
+ class ActionView::Helpers::AtomFeedHelper::AtomBuilder
228
+ def initialize(xml); end
229
+ def method_missing(method, *arguments, &block); end
230
+ def xhtml_block?(method, arguments); end
231
+ end
232
+ class ActionView::Helpers::AtomFeedHelper::AtomFeedBuilder < ActionView::Helpers::AtomFeedHelper::AtomBuilder
233
+ def entry(record, options = nil); end
234
+ def initialize(xml, view, feed_options = nil); end
235
+ def updated(date_or_time = nil); end
236
+ end
237
+ module ActionView::Helpers::CacheHelper
238
+ def cache(name = nil, options = nil, &block); end
239
+ def cache_fragment_name(name = nil, skip_digest: nil, virtual_path: nil, digest_path: nil); end
240
+ def cache_if(condition, name = nil, options = nil, &block); end
241
+ def cache_unless(condition, name = nil, options = nil, &block); end
242
+ def digest_path_from_template(template); end
243
+ def fragment_for(name = nil, options = nil, &block); end
244
+ def fragment_name_with_digest(name, virtual_path, digest_path); end
245
+ def read_fragment_for(name, options); end
246
+ def write_fragment_for(name, options); end
247
+ end
248
+ module ActionView::Helpers::ControllerHelper
249
+ def action_name(*args, &block); end
250
+ def assign_controller(controller); end
251
+ def controller; end
252
+ def controller=(arg0); end
253
+ def controller_name(*args, &block); end
254
+ def controller_path(*args, &block); end
255
+ def cookies(*args, &block); end
256
+ def flash(*args, &block); end
257
+ def headers(*args, &block); end
258
+ def logger; end
259
+ def params(*args, &block); end
260
+ def request; end
261
+ def request=(arg0); end
262
+ def request_forgery_protection_token(*args, &block); end
263
+ def respond_to?(method_name, include_private = nil); end
264
+ def response(*args, &block); end
265
+ def session(*args, &block); end
266
+ end
267
+ module ActionView::Helpers::CspHelper
268
+ def csp_meta_tag(**options); end
269
+ end
270
+ module ActionView::Helpers::CsrfHelper
271
+ def csrf_meta_tag; end
272
+ def csrf_meta_tags; end
273
+ end
274
+ module ActionView::Helpers::DateHelper
275
+ def date_select(object_name, method, options = nil, html_options = nil); end
276
+ def datetime_select(object_name, method, options = nil, html_options = nil); end
277
+ def distance_of_time_in_words(from_time, to_time = nil, options = nil); end
278
+ def distance_of_time_in_words_to_now(from_time, options = nil); end
279
+ def normalize_distance_of_time_argument_to_time(value); end
280
+ def select_date(date = nil, options = nil, html_options = nil); end
281
+ def select_datetime(datetime = nil, options = nil, html_options = nil); end
282
+ def select_day(date, options = nil, html_options = nil); end
283
+ def select_hour(datetime, options = nil, html_options = nil); end
284
+ def select_minute(datetime, options = nil, html_options = nil); end
285
+ def select_month(date, options = nil, html_options = nil); end
286
+ def select_second(datetime, options = nil, html_options = nil); end
287
+ def select_time(datetime = nil, options = nil, html_options = nil); end
288
+ def select_year(date, options = nil, html_options = nil); end
289
+ def time_ago_in_words(from_time, options = nil); end
290
+ def time_select(object_name, method, options = nil, html_options = nil); end
291
+ def time_tag(date_or_time, *args, &block); end
292
+ end
293
+ class ActionView::Helpers::DateTimeSelector
294
+ def build_hidden(type, value); end
295
+ def build_options(selected, options = nil); end
296
+ def build_options_and_select(type, selected, options = nil); end
297
+ def build_select(type, select_options_as_html); end
298
+ def build_selects_from_types(order); end
299
+ def build_year_options(selected, options = nil); end
300
+ def css_class_attribute(type, html_options_class, options); end
301
+ def date_order; end
302
+ def day; end
303
+ def hour; end
304
+ def initialize(datetime, options = nil, html_options = nil); end
305
+ def input_id_from_type(type); end
306
+ def input_name_from_type(type); end
307
+ def min; end
308
+ def month; end
309
+ def month_name(number); end
310
+ def month_names; end
311
+ def prompt_option_tag(type, options); end
312
+ def sec; end
313
+ def select_date; end
314
+ def select_datetime; end
315
+ def select_day; end
316
+ def select_hour; end
317
+ def select_minute; end
318
+ def select_month; end
319
+ def select_second; end
320
+ def select_time; end
321
+ def select_year; end
322
+ def separator(type); end
323
+ def set_day_if_discarded; end
324
+ def translated_date_order; end
325
+ def translated_month_names; end
326
+ def year; end
327
+ def year_name(number); end
328
+ include ActionView::Helpers::TagHelper
329
+ end
330
+ class ActionView::Helpers::FormBuilder
331
+ def button(value = nil, options = nil, &block); end
332
+ def check_box(method, options = nil, checked_value = nil, unchecked_value = nil); end
333
+ def collection_check_boxes(method, collection, value_method, text_method, options = nil, html_options = nil, &block); end
334
+ def collection_radio_buttons(method, collection, value_method, text_method, options = nil, html_options = nil, &block); end
335
+ def collection_select(method, collection, value_method, text_method, options = nil, html_options = nil); end
336
+ def color_field(method, options = nil); end
337
+ def convert_to_legacy_options(options); end
338
+ def date_field(method, options = nil); end
339
+ def date_select(method, options = nil, html_options = nil); end
340
+ def datetime_field(method, options = nil); end
341
+ def datetime_local_field(method, options = nil); end
342
+ def datetime_select(method, options = nil, html_options = nil); end
343
+ def email_field(method, options = nil); end
344
+ def emitted_hidden_id?; end
345
+ def field_helpers; end
346
+ def field_helpers=(val); end
347
+ def field_helpers?; end
348
+ def fields(scope = nil, model: nil, **options, &block); end
349
+ def fields_for(record_name, record_object = nil, fields_options = nil, &block); end
350
+ def fields_for_nested_model(name, object, fields_options, block); end
351
+ def fields_for_with_nested_attributes(association_name, association, options, block); end
352
+ def file_field(method, options = nil); end
353
+ def grouped_collection_select(method, collection, group_method, group_label_method, option_key_method, option_value_method, options = nil, html_options = nil); end
354
+ def hidden_field(method, options = nil); end
355
+ def index; end
356
+ def initialize(object_name, object, template, options); end
357
+ def label(method, text = nil, options = nil, &block); end
358
+ def month_field(method, options = nil); end
359
+ def multipart; end
360
+ def multipart=(multipart); end
361
+ def multipart?; end
362
+ def nested_attributes_association?(association_name); end
363
+ def nested_child_index(name); end
364
+ def number_field(method, options = nil); end
365
+ def object; end
366
+ def object=(arg0); end
367
+ def object_name; end
368
+ def object_name=(arg0); end
369
+ def objectify_options(options); end
370
+ def options; end
371
+ def options=(arg0); end
372
+ def password_field(method, options = nil); end
373
+ def phone_field(method, options = nil); end
374
+ def radio_button(method, tag_value, options = nil); end
375
+ def range_field(method, options = nil); end
376
+ def search_field(method, options = nil); end
377
+ def select(method, choices = nil, options = nil, html_options = nil, &block); end
378
+ def self._to_partial_path; end
379
+ def self.field_helpers; end
380
+ def self.field_helpers=(val); end
381
+ def self.field_helpers?; end
382
+ def submit(value = nil, options = nil); end
383
+ def submit_default_value; end
384
+ def telephone_field(method, options = nil); end
385
+ def text_area(method, options = nil); end
386
+ def text_field(method, options = nil); end
387
+ def time_field(method, options = nil); end
388
+ def time_select(method, options = nil, html_options = nil); end
389
+ def time_zone_select(method, priority_zones = nil, options = nil, html_options = nil); end
390
+ def to_model; end
391
+ def to_partial_path; end
392
+ def url_field(method, options = nil); end
393
+ def week_field(method, options = nil); end
394
+ include ActionView::ModelNaming
395
+ end
396
+ module ActionView::Helpers::DebugHelper
397
+ def debug(object); end
398
+ include ActionView::Helpers::TagHelper
399
+ end
400
+ module ActionView::Helpers::JavaScriptHelper
401
+ def escape_javascript(javascript); end
402
+ def j(javascript); end
403
+ def javascript_cdata_section(content); end
404
+ def javascript_tag(content_or_options_with_block = nil, html_options = nil, &block); end
405
+ end
406
+ module ActionView::Helpers::UrlHelper
407
+ def _back_url; end
408
+ def _filtered_referrer; end
409
+ def add_method_to_attributes!(html_options, method); end
410
+ def button_to(name = nil, options = nil, html_options = nil, &block); end
411
+ def convert_options_to_data_attributes(options, html_options); end
412
+ def current_page?(options, check_parameters: nil); end
413
+ def link_to(name = nil, options = nil, html_options = nil, &block); end
414
+ def link_to_if(condition, name, options = nil, html_options = nil, &block); end
415
+ def link_to_remote_options?(options); end
416
+ def link_to_unless(condition, name, options = nil, html_options = nil, &block); end
417
+ def link_to_unless_current(name, options = nil, html_options = nil, &block); end
418
+ def mail_to(email_address, name = nil, html_options = nil, &block); end
419
+ def method_not_get_method?(method); end
420
+ def method_tag(method); end
421
+ def to_form_params(attribute, namespace = nil); end
422
+ def token_tag(token = nil, form_options: nil); end
423
+ def url_for(options = nil); end
424
+ extend ActiveSupport::Concern
425
+ include ActionView::Helpers::TagHelper
426
+ end
427
+ module ActionView::Helpers::UrlHelper::ClassMethods
428
+ def _url_for_modules; end
429
+ end
430
+ module ActionView::Helpers::SanitizeHelper
431
+ def sanitize(html, options = nil); end
432
+ def sanitize_css(style); end
433
+ def strip_links(html); end
434
+ def strip_tags(html); end
435
+ extend ActiveSupport::Concern
436
+ end
437
+ module ActionView::Helpers::SanitizeHelper::ClassMethods
438
+ def full_sanitizer; end
439
+ def full_sanitizer=(arg0); end
440
+ def link_sanitizer; end
441
+ def link_sanitizer=(arg0); end
442
+ def sanitized_allowed_attributes; end
443
+ def sanitized_allowed_tags; end
444
+ def sanitizer_vendor; end
445
+ def white_list_sanitizer; end
446
+ def white_list_sanitizer=(arg0); end
447
+ end
448
+ module ActionView::Helpers::TextHelper
449
+ def concat(string); end
450
+ def current_cycle(name = nil); end
451
+ def cut_excerpt_part(part_position, part, separator, options); end
452
+ def cycle(first_value, *values); end
453
+ def excerpt(text, phrase, options = nil); end
454
+ def get_cycle(name); end
455
+ def highlight(text, phrases, options = nil); end
456
+ def pluralize(count, singular, plural_arg = nil, plural: nil, locale: nil); end
457
+ def reset_cycle(name = nil); end
458
+ def safe_concat(string); end
459
+ def set_cycle(name, cycle_object); end
460
+ def simple_format(text, html_options = nil, options = nil); end
461
+ def split_paragraphs(text); end
462
+ def truncate(text, options = nil, &block); end
463
+ def word_wrap(text, line_width: nil, break_sequence: nil); end
464
+ extend ActiveSupport::Concern
465
+ include ActionView::Helpers::OutputSafetyHelper
466
+ include ActionView::Helpers::SanitizeHelper
467
+ include ActionView::Helpers::TagHelper
468
+ end
469
+ class ActionView::Helpers::TextHelper::Cycle
470
+ def current_value; end
471
+ def initialize(first_value, *values); end
472
+ def next_index; end
473
+ def previous_index; end
474
+ def reset; end
475
+ def step_index(n); end
476
+ def to_s; end
477
+ def values; end
478
+ end
479
+ module ActionView::Helpers::FormTagHelper
480
+ def button_tag(content_or_options = nil, options = nil, &block); end
481
+ def check_box_tag(name, value = nil, checked = nil, options = nil); end
482
+ def color_field_tag(name, value = nil, options = nil); end
483
+ def convert_direct_upload_option_to_url(options); end
484
+ def date_field_tag(name, value = nil, options = nil); end
485
+ def datetime_field_tag(name, value = nil, options = nil); end
486
+ def datetime_local_field_tag(name, value = nil, options = nil); end
487
+ def default_enforce_utf8; end
488
+ def default_enforce_utf8=(obj); end
489
+ def email_field_tag(name, value = nil, options = nil); end
490
+ def embed_authenticity_token_in_remote_forms; end
491
+ def embed_authenticity_token_in_remote_forms=(obj); end
492
+ def extra_tags_for_form(html_options); end
493
+ def field_set_tag(legend = nil, options = nil, &block); end
494
+ def file_field_tag(name, options = nil); end
495
+ def form_tag(url_for_options = nil, options = nil, &block); end
496
+ def form_tag_html(html_options); end
497
+ def form_tag_with_body(html_options, content); end
498
+ def hidden_field_tag(name, value = nil, options = nil); end
499
+ def html_options_for_form(url_for_options, options); end
500
+ def image_submit_tag(source, options = nil); end
501
+ def label_tag(name = nil, content_or_options = nil, options = nil, &block); end
502
+ def month_field_tag(name, value = nil, options = nil); end
503
+ def number_field_tag(name, value = nil, options = nil); end
504
+ def password_field_tag(name = nil, value = nil, options = nil); end
505
+ def phone_field_tag(name, value = nil, options = nil); end
506
+ def radio_button_tag(name, value, checked = nil, options = nil); end
507
+ def range_field_tag(name, value = nil, options = nil); end
508
+ def sanitize_to_id(name); end
509
+ def search_field_tag(name, value = nil, options = nil); end
510
+ def select_tag(name, option_tags = nil, options = nil); end
511
+ def self.default_enforce_utf8; end
512
+ def self.default_enforce_utf8=(obj); end
513
+ def self.embed_authenticity_token_in_remote_forms; end
514
+ def self.embed_authenticity_token_in_remote_forms=(obj); end
515
+ def set_default_disable_with(value, tag_options); end
516
+ def submit_tag(value = nil, options = nil); end
517
+ def telephone_field_tag(name, value = nil, options = nil); end
518
+ def text_area_tag(name, content = nil, options = nil); end
519
+ def text_field_tag(name, value = nil, options = nil); end
520
+ def time_field_tag(name, value = nil, options = nil); end
521
+ def url_field_tag(name, value = nil, options = nil); end
522
+ def utf8_enforcer_tag; end
523
+ def week_field_tag(name, value = nil, options = nil); end
524
+ extend ActiveSupport::Concern
525
+ include ActionView::Helpers::TextHelper
526
+ include ActionView::Helpers::UrlHelper
527
+ end
528
+ module ActionView::ModelNaming
529
+ def convert_to_model(object); end
530
+ def model_name_from_record_or_class(record_or_class); end
531
+ end
532
+ module ActionView::RecordIdentifier
533
+ def dom_class(record_or_class, prefix = nil); end
534
+ def dom_id(record, prefix = nil); end
535
+ def record_key_for_dom_id(record); end
536
+ extend ActionView::ModelNaming
537
+ extend ActionView::RecordIdentifier
538
+ include ActionView::ModelNaming
539
+ end
540
+ module ActionView::Helpers::FormHelper
541
+ def apply_form_for_options!(record, object, options); end
542
+ def check_box(object_name, method, options = nil, checked_value = nil, unchecked_value = nil); end
543
+ def color_field(object_name, method, options = nil); end
544
+ def date_field(object_name, method, options = nil); end
545
+ def datetime_field(object_name, method, options = nil); end
546
+ def datetime_local_field(object_name, method, options = nil); end
547
+ def default_form_builder; end
548
+ def default_form_builder=(arg0); end
549
+ def default_form_builder_class; end
550
+ def email_field(object_name, method, options = nil); end
551
+ def fields(scope = nil, model: nil, **options, &block); end
552
+ def fields_for(record_name, record_object = nil, options = nil, &block); end
553
+ def file_field(object_name, method, options = nil); end
554
+ def form_for(record, options = nil, &block); end
555
+ def form_with(model: nil, scope: nil, url: nil, format: nil, **options, &block); end
556
+ def form_with_generates_ids; end
557
+ def form_with_generates_ids=(obj); end
558
+ def form_with_generates_remote_forms; end
559
+ def form_with_generates_remote_forms=(obj); end
560
+ def hidden_field(object_name, method, options = nil); end
561
+ def html_options_for_form_with(url_for_options = nil, model = nil, html: nil, local: nil, skip_enforcing_utf8: nil, **options); end
562
+ def instantiate_builder(record_name, record_object, options); end
563
+ def label(object_name, method, content_or_options = nil, options = nil, &block); end
564
+ def month_field(object_name, method, options = nil); end
565
+ def number_field(object_name, method, options = nil); end
566
+ def password_field(object_name, method, options = nil); end
567
+ def phone_field(object_name, method, options = nil); end
568
+ def radio_button(object_name, method, tag_value, options = nil); end
569
+ def range_field(object_name, method, options = nil); end
570
+ def search_field(object_name, method, options = nil); end
571
+ def self.form_with_generates_ids; end
572
+ def self.form_with_generates_ids=(obj); end
573
+ def self.form_with_generates_remote_forms; end
574
+ def self.form_with_generates_remote_forms=(obj); end
575
+ def telephone_field(object_name, method, options = nil); end
576
+ def text_area(object_name, method, options = nil); end
577
+ def text_field(object_name, method, options = nil); end
578
+ def time_field(object_name, method, options = nil); end
579
+ def url_field(object_name, method, options = nil); end
580
+ def week_field(object_name, method, options = nil); end
581
+ extend ActiveSupport::Concern
582
+ include ActionView::Helpers::FormTagHelper
583
+ include ActionView::Helpers::UrlHelper
584
+ include ActionView::ModelNaming
585
+ include ActionView::RecordIdentifier
586
+ end
587
+ module ActionView::Helpers::FormOptionsHelper
588
+ def collection_check_boxes(object, method, collection, value_method, text_method, options = nil, html_options = nil, &block); end
589
+ def collection_radio_buttons(object, method, collection, value_method, text_method, options = nil, html_options = nil, &block); end
590
+ def collection_select(object, method, collection, value_method, text_method, options = nil, html_options = nil); end
591
+ def extract_selected_and_disabled(selected); end
592
+ def extract_values_from_collection(collection, value_method, selected); end
593
+ def grouped_collection_select(object, method, collection, group_method, group_label_method, option_key_method, option_value_method, options = nil, html_options = nil); end
594
+ def grouped_options_for_select(grouped_options, selected_key = nil, options = nil); end
595
+ def option_groups_from_collection_for_select(collection, group_method, group_label_method, option_key_method, option_value_method, selected_key = nil); end
596
+ def option_html_attributes(element); end
597
+ def option_text_and_value(option); end
598
+ def option_value_selected?(value, selected); end
599
+ def options_for_select(container, selected = nil); end
600
+ def options_from_collection_for_select(collection, value_method, text_method, selected = nil); end
601
+ def prompt_text(prompt); end
602
+ def public_or_deprecated_send(item, value); end
603
+ def select(object, method, choices = nil, options = nil, html_options = nil, &block); end
604
+ def time_zone_options_for_select(selected = nil, priority_zones = nil, model = nil); end
605
+ def time_zone_select(object, method, priority_zones = nil, options = nil, html_options = nil); end
606
+ def value_for_collection(item, value); end
607
+ extend ActionView::Helpers::SanitizeHelper::ClassMethods
608
+ include ActionView::Helpers::SanitizeHelper
609
+ include ActionView::Helpers::TagHelper
610
+ include ActionView::Helpers::TextHelper
611
+ end
612
+ module ActionView::Helpers::NumberHelper
613
+ def delegate_number_helper_method(method, number, options); end
614
+ def escape_units(units); end
615
+ def escape_unsafe_options(options); end
616
+ def number_to_currency(number, options = nil); end
617
+ def number_to_human(number, options = nil); end
618
+ def number_to_human_size(number, options = nil); end
619
+ def number_to_percentage(number, options = nil); end
620
+ def number_to_phone(number, options = nil); end
621
+ def number_with_delimiter(number, options = nil); end
622
+ def number_with_precision(number, options = nil); end
623
+ def parse_float(number, raise_error); end
624
+ def valid_float?(number); end
625
+ def wrap_with_output_safety_handling(number, raise_on_invalid, &block); end
626
+ end
627
+ class ActionView::Helpers::NumberHelper::InvalidNumberError < StandardError
628
+ def initialize(number); end
629
+ def number; end
630
+ def number=(arg0); end
631
+ end
632
+ module ActionView::Helpers::RenderingHelper
633
+ def _layout_for(*args, &block); end
634
+ def render(options = nil, locals = nil, &block); end
635
+ end
636
+ module ActionView::Helpers::TranslationHelper
637
+ def html_safe_translation_key?(key); end
638
+ def l(*args); end
639
+ def localize(*args); end
640
+ def scope_key_by_partial(key); end
641
+ def t(key, options = nil); end
642
+ def translate(key, options = nil); end
643
+ extend ActiveSupport::Concern
644
+ include ActionView::Helpers::TagHelper
645
+ end
646
+ module ActionView::Context
647
+ def _layout_for(name = nil); end
648
+ def _prepare_context; end
649
+ def output_buffer; end
650
+ def output_buffer=(arg0); end
651
+ def view_flow; end
652
+ def view_flow=(arg0); end
653
+ end
654
+ class ActionView::Template
655
+ def compile!(view); end
656
+ def compile(mod); end
657
+ def encode!; end
658
+ def format; end
659
+ def formats(*args, &block); end
660
+ def formats=(*args, &block); end
661
+ def handle_render_error(view, e); end
662
+ def handler; end
663
+ def identifier; end
664
+ def identifier_method_name; end
665
+ def initialize(source, identifier, handler, format: nil, variant: nil, locals: nil, virtual_path: nil, updated_at: nil); end
666
+ def inspect; end
667
+ def instrument(action, &block); end
668
+ def instrument_payload; end
669
+ def instrument_render_template(&block); end
670
+ def locals; end
671
+ def locals=(*args, &block); end
672
+ def locals_code; end
673
+ def marshal_dump; end
674
+ def marshal_load(array); end
675
+ def method_name; end
676
+ def original_encoding(*args, &block); end
677
+ def refresh(*args, &block); end
678
+ def render(view, locals, buffer = nil, &block); end
679
+ def self.finalize_compiled_template_methods; end
680
+ def self.finalize_compiled_template_methods=(_); end
681
+ def short_identifier; end
682
+ def source; end
683
+ def supports_streaming?; end
684
+ def type; end
685
+ def updated_at(*args, &block); end
686
+ def variable; end
687
+ def variant; end
688
+ def variants(*args, &block); end
689
+ def variants=(*args, &block); end
690
+ def virtual_path; end
691
+ def virtual_path=(*args, &block); end
692
+ extend ActionView::Template::Handlers
693
+ extend ActiveSupport::Autoload
694
+ end
695
+ module ActionView::Template::Handlers
696
+ def handler_for_extension(extension); end
697
+ def register_default_template_handler(extension, klass); end
698
+ def register_template_handler(*extensions, handler); end
699
+ def registered_template_handler(extension); end
700
+ def self.extended(base); end
701
+ def self.extensions; end
702
+ def template_handler_extensions; end
703
+ def unregister_template_handler(*extensions); end
704
+ end
705
+ class ActionView::Template::Handlers::LegacyHandlerWrapper < SimpleDelegator
706
+ def call(view, source); end
707
+ end
708
+ class ActionView::Template::Handlers::Raw
709
+ def call(template, source); end
710
+ end
711
+ class ActionView::Template::Handlers::ERB
712
+ def call(template, source); end
713
+ def erb_implementation; end
714
+ def erb_implementation=(val); end
715
+ def erb_implementation?; end
716
+ def erb_trim_mode; end
717
+ def erb_trim_mode=(val); end
718
+ def erb_trim_mode?; end
719
+ def escape_ignore_list; end
720
+ def escape_ignore_list=(val); end
721
+ def escape_ignore_list?; end
722
+ def escape_whitelist(*args, &block); end
723
+ def escape_whitelist=(*args, &block); end
724
+ def handles_encoding?; end
725
+ def self.call(template, source); end
726
+ def self.erb_implementation; end
727
+ def self.erb_implementation=(val); end
728
+ def self.erb_implementation?; end
729
+ def self.erb_trim_mode; end
730
+ def self.erb_trim_mode=(val); end
731
+ def self.erb_trim_mode?; end
732
+ def self.escape_ignore_list; end
733
+ def self.escape_ignore_list=(val); end
734
+ def self.escape_ignore_list?; end
735
+ def self.escape_whitelist(*args, &block); end
736
+ def self.escape_whitelist=(*args, &block); end
737
+ def supports_streaming?; end
738
+ def valid_encoding(string, encoding); end
739
+ end
740
+ class ActionView::Template::Handlers::ERB::Erubi < Erubi::Engine
741
+ def add_code(code); end
742
+ def add_expression(indicator, code); end
743
+ def add_postamble(_); end
744
+ def add_text(text); end
745
+ def evaluate(action_view_erb_handler_context); end
746
+ def flush_newline_if_pending(src); end
747
+ def initialize(input, properties = nil); end
748
+ end
749
+ class ActionView::Template::Handlers::Html < ActionView::Template::Handlers::Raw
750
+ def call(template, source); end
751
+ end
752
+ class ActionView::Template::Handlers::Builder
753
+ def call(template, source); end
754
+ def default_format; end
755
+ def default_format=(val); end
756
+ def default_format?; end
757
+ def require_engine; end
758
+ def self.default_format; end
759
+ def self.default_format=(val); end
760
+ def self.default_format?; end
761
+ end
762
+ class ActionView::Template::LegacyTemplate < Anonymous_Delegator_12
763
+ def initialize(template, source); end
764
+ def source; end
765
+ end
766
+ class ActionView::Resolver
767
+ def _find_all(name, prefix, partial, details, key, locals); end
768
+ def cached(key, path_info, details, locals); end
769
+ def caching; end
770
+ def caching=(obj); end
771
+ def caching?(*args, &block); end
772
+ def clear_cache; end
773
+ def find_all(name, prefix = nil, partial = nil, details = nil, key = nil, locals = nil); end
774
+ def find_all_anywhere(*args, &block); end
775
+ def find_all_with_query(query); end
776
+ def find_templates(name, prefix, partial, details, locals = nil); end
777
+ def initialize; end
778
+ def self.caching; end
779
+ def self.caching=(obj); end
780
+ def self.caching?; end
781
+ end
782
+ class ActionView::Resolver::Path
783
+ def initialize(name, prefix, partial, virtual); end
784
+ def name; end
785
+ def partial; end
786
+ def partial?; end
787
+ def prefix; end
788
+ def self.build(name, prefix, partial); end
789
+ def to_s; end
790
+ def to_str; end
791
+ def virtual; end
792
+ end
793
+ class ActionView::Resolver::Cache
794
+ def cache(key, name, prefix, partial, locals); end
795
+ def cache_query(query); end
796
+ def canonical_no_templates(templates); end
797
+ def clear; end
798
+ def initialize; end
799
+ def inspect; end
800
+ def size; end
801
+ end
802
+ class ActionView::Resolver::Cache::SmallCache < Concurrent::Map
803
+ def initialize(options = nil); end
804
+ end
805
+ class ActionView::PathResolver < ActionView::Resolver
806
+ def _find_all(name, prefix, partial, details, key, locals); end
807
+ def build_query(path, details); end
808
+ def build_unbound_template(template, virtual_path); end
809
+ def clear_cache; end
810
+ def escape_entry(entry); end
811
+ def extract_handler_and_format_and_variant(path); end
812
+ def find_template_paths(query); end
813
+ def find_template_paths_from_details(path, details); end
814
+ def initialize(pattern = nil); end
815
+ def inside_path?(path, filename); end
816
+ def query(path, details, formats, locals, cache:); end
817
+ def reject_files_external_to_app(files); end
818
+ end
819
+ class ActionView::FileSystemResolver < ActionView::PathResolver
820
+ def ==(resolver); end
821
+ def eql?(resolver); end
822
+ def initialize(path, pattern = nil); end
823
+ def path; end
824
+ def to_path; end
825
+ def to_s; end
826
+ end
827
+ class ActionView::OptimizedFileSystemResolver < ActionView::FileSystemResolver
828
+ def build_regex(path, details); end
829
+ def find_template_paths_from_details(path, details); end
830
+ def initialize(path); end
831
+ end
832
+ class ActionView::FallbackFileSystemResolver < ActionView::FileSystemResolver
833
+ def build_unbound_template(template, _); end
834
+ def reject_files_external_to_app(files); end
835
+ def self.instances; end
836
+ def self.new(*arg0); end
837
+ end
838
+ class ActionView::LookupContext
839
+ def digest_cache; end
840
+ def fallbacks; end
841
+ def fallbacks=(obj); end
842
+ def formats=(values); end
843
+ def initialize(view_paths, details = nil, prefixes = nil); end
844
+ def initialize_details(target, details); end
845
+ def locale; end
846
+ def locale=(value); end
847
+ def prefixes; end
848
+ def prefixes=(arg0); end
849
+ def registered_details; end
850
+ def registered_details=(obj); end
851
+ def rendered_format(*args, &block); end
852
+ def rendered_format=(*args, &block); end
853
+ def self.fallbacks; end
854
+ def self.fallbacks=(obj); end
855
+ def self.register_detail(name, &block); end
856
+ def self.registered_details; end
857
+ def self.registered_details=(obj); end
858
+ def with_prepended_formats(formats); end
859
+ include ActionView::LookupContext::Accessors
860
+ include ActionView::LookupContext::DetailsCache
861
+ include ActionView::LookupContext::ViewPaths
862
+ end
863
+ module ActionView::LookupContext::Accessors
864
+ def default_formats; end
865
+ def default_handlers; end
866
+ def default_locale; end
867
+ def default_variants; end
868
+ def formats; end
869
+ def formats=(value); end
870
+ def handlers; end
871
+ def handlers=(value); end
872
+ def locale; end
873
+ def locale=(value); end
874
+ def variants; end
875
+ def variants=(value); end
876
+ end
877
+ class ActionView::LookupContext::DetailsKey
878
+ def eql?(arg0); end
879
+ def self.clear; end
880
+ def self.details_cache_key(details); end
881
+ def self.digest_cache(details); end
882
+ def self.digest_caches; end
883
+ def self.view_context_class(klass); end
884
+ end
885
+ module ActionView::LookupContext::DetailsCache
886
+ def _set_detail(key, value); end
887
+ def cache; end
888
+ def cache=(arg0); end
889
+ def details_key; end
890
+ def disable_cache; end
891
+ end
892
+ module ActionView::LookupContext::ViewPaths
893
+ def any?(name, prefixes = nil, partial = nil); end
894
+ def any_templates?(name, prefixes = nil, partial = nil); end
895
+ def args_for_any(name, prefixes, partial); end
896
+ def args_for_lookup(name, prefixes, partial, keys, details_options); end
897
+ def build_view_paths(paths); end
898
+ def detail_args_for(options); end
899
+ def detail_args_for_any; end
900
+ def exists?(name, prefixes = nil, partial = nil, keys = nil, **options); end
901
+ def find(name, prefixes = nil, partial = nil, keys = nil, options = nil); end
902
+ def find_all(name, prefixes = nil, partial = nil, keys = nil, options = nil); end
903
+ def find_file(*args, &block); end
904
+ def find_template(name, prefixes = nil, partial = nil, keys = nil, options = nil); end
905
+ def html_fallback_for_js; end
906
+ def normalize_name(name, prefixes); end
907
+ def template_exists?(name, prefixes = nil, partial = nil, keys = nil, **options); end
908
+ def view_paths; end
909
+ def with_fallbacks; end
910
+ end
911
+ class ActionView::Template::Types
912
+ def self.[](type); end
913
+ def self.delegate_to(klass); end
914
+ def self.symbols; end
915
+ def self.type_klass; end
916
+ def self.type_klass=(obj); end
917
+ def type_klass; end
918
+ def type_klass=(obj); end
919
+ end
920
+ class ActionView::Template::Types::Type
921
+ def ==(type); end
922
+ def initialize(symbol); end
923
+ def ref; end
924
+ def self.[](type); end
925
+ def symbol; end
926
+ def to_s; end
927
+ def to_str; end
928
+ def to_sym; end
929
+ end
930
+ class ActionView::CacheExpiry
931
+ def all_view_paths; end
932
+ def clear_cache; end
933
+ def clear_cache_if_necessary; end
934
+ def dirs_to_watch; end
935
+ def initialize(watcher:); end
936
+ end
937
+ class ActionView::CacheExpiry::Executor
938
+ def before(target); end
939
+ def initialize(watcher:); end
940
+ end
941
+ class ActionView::Base
942
+ def _routes; end
943
+ def _routes=(val); end
944
+ def _routes?; end
945
+ def _run(method, template, locals, buffer, &block); end
946
+ def assign(new_assigns); end
947
+ def assigns; end
948
+ def assigns=(arg0); end
949
+ def automatically_disable_submit_tag; end
950
+ def automatically_disable_submit_tag=(obj); end
951
+ def compiled_method_container; end
952
+ def config; end
953
+ def config=(arg0); end
954
+ def debug_missing_translation; end
955
+ def debug_missing_translation=(obj); end
956
+ def default_formats; end
957
+ def default_formats=(obj); end
958
+ def field_error_proc; end
959
+ def field_error_proc=(obj); end
960
+ def formats(*args, &block); end
961
+ def formats=(arg); end
962
+ def in_rendering_context(options); end
963
+ def initialize(lookup_context = nil, assigns = nil, controller = nil, formats = nil); end
964
+ def locale(*args, &block); end
965
+ def locale=(arg); end
966
+ def logger; end
967
+ def logger=(val); end
968
+ def logger?; end
969
+ def lookup_context; end
970
+ def prefix_partial_path_with_controller_namespace; end
971
+ def prefix_partial_path_with_controller_namespace=(obj); end
972
+ def raise_on_missing_translations; end
973
+ def raise_on_missing_translations=(obj); end
974
+ def self._routes; end
975
+ def self._routes=(val); end
976
+ def self._routes?; end
977
+ def self.automatically_disable_submit_tag; end
978
+ def self.automatically_disable_submit_tag=(obj); end
979
+ def self.build_lookup_context(context); end
980
+ def self.cache_template_loading; end
981
+ def self.cache_template_loading=(value); end
982
+ def self.changed?(other); end
983
+ def self.debug_missing_translation; end
984
+ def self.debug_missing_translation=(obj); end
985
+ def self.default_form_builder; end
986
+ def self.default_form_builder=(obj); end
987
+ def self.default_formats; end
988
+ def self.default_formats=(obj); end
989
+ def self.empty; end
990
+ def self.erb_trim_mode=(arg); end
991
+ def self.field_error_proc; end
992
+ def self.field_error_proc=(obj); end
993
+ def self.logger; end
994
+ def self.logger=(val); end
995
+ def self.logger?; end
996
+ def self.prefix_partial_path_with_controller_namespace; end
997
+ def self.prefix_partial_path_with_controller_namespace=(obj); end
998
+ def self.raise_on_missing_translations; end
999
+ def self.raise_on_missing_translations=(obj); end
1000
+ def self.streaming_completion_on_exception; end
1001
+ def self.streaming_completion_on_exception=(obj); end
1002
+ def self.with_context(context, assigns = nil, controller = nil); end
1003
+ def self.with_empty_template_cache; end
1004
+ def self.with_view_paths(view_paths, assigns = nil, controller = nil); end
1005
+ def self.xss_safe?; end
1006
+ def streaming_completion_on_exception; end
1007
+ def streaming_completion_on_exception=(obj); end
1008
+ def view_paths(*args, &block); end
1009
+ def view_paths=(arg); end
1010
+ def view_renderer; end
1011
+ extend ActionView::Helpers::SanitizeHelper::ClassMethods
1012
+ extend ActionView::Helpers::SanitizeHelper::ClassMethods
1013
+ extend ActionView::Helpers::UrlHelper::ClassMethods
1014
+ include ActionCable::Helpers::ActionCableHelper
1015
+ include ActionView::Helpers
1016
+ include ActionView::Helpers::AssetTagHelper
1017
+ include ActionView::Helpers::FormHelper
1018
+ include ActionView::Helpers::FormTagHelper
1019
+ include ActionView::Helpers::FormTagHelper
1020
+ include ActionView::Helpers::SanitizeHelper
1021
+ include ActionView::Helpers::SanitizeHelper
1022
+ include ActionView::Helpers::TagHelper
1023
+ include ActionView::Helpers::TagHelper
1024
+ include ActionView::Helpers::TagHelper
1025
+ include ActionView::Helpers::TagHelper
1026
+ include ActionView::Helpers::TagHelper
1027
+ include ActionView::Helpers::TextHelper
1028
+ include ActionView::Helpers::TextHelper
1029
+ include ActionView::Helpers::TranslationHelper
1030
+ include ActionView::Helpers::UrlHelper
1031
+ include ActionView::Helpers::UrlHelper
1032
+ include ActionView::Helpers::UrlHelper
1033
+ end