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,1115 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: true
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-5.1.7
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); end
23
+ def callable_cache_key?; end
24
+ def collection_by_cache_keys; end
25
+ def expanded_cache_key(key); end
26
+ def fetch_or_cache_partial(cached_partials, order_by:); end
27
+ extend ActiveSupport::Concern
28
+ end
29
+ class ActionView::AbstractRenderer
30
+ def any_templates?(*args, &block); end
31
+ def extract_details(options); end
32
+ def find_file(*args, &block); end
33
+ def find_template(*args, &block); 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
+ def with_fallbacks(*args, &block); end
41
+ def with_layout_format(*args, &block); end
42
+ end
43
+ class ActionView::PartialIteration
44
+ def first?; end
45
+ def index; end
46
+ def initialize(size); end
47
+ def iterate!; end
48
+ def last?; end
49
+ def size; end
50
+ end
51
+ class ActionView::PartialRenderer < ActionView::AbstractRenderer
52
+ def collection_cache; end
53
+ def collection_cache=(obj); end
54
+ def collection_from_object; end
55
+ def collection_from_options; end
56
+ def collection_with_template; end
57
+ def collection_without_template; end
58
+ def find_partial; end
59
+ def find_template(path, locals); end
60
+ def initialize(*arg0); end
61
+ def merge_prefix_into_object_path(prefix, object_path); end
62
+ def partial_path(object = nil); end
63
+ def prefixed_partial_names; end
64
+ def raise_invalid_identifier(path); end
65
+ def raise_invalid_option_as(as); end
66
+ def render(context, options, block); end
67
+ def render_collection; end
68
+ def render_partial; end
69
+ def retrieve_template_keys; end
70
+ def retrieve_variable(path, as); end
71
+ def self.collection_cache; end
72
+ def self.collection_cache=(obj); end
73
+ def setup(context, options, block); end
74
+ include ActionView::CollectionCaching
75
+ end
76
+ class ActionView::LogSubscriber < ActiveSupport::LogSubscriber
77
+ end
78
+ module ActionView::Helpers
79
+ def self.eager_load!; end
80
+ extend ActiveSupport::Autoload
81
+ extend ActiveSupport::Concern
82
+ include ActionView::Helpers::ActiveModelHelper
83
+ include ActionView::Helpers::AssetTagHelper
84
+ include ActionView::Helpers::AssetUrlHelper
85
+ include ActionView::Helpers::AtomFeedHelper
86
+ include ActionView::Helpers::CacheHelper
87
+ include ActionView::Helpers::CaptureHelper
88
+ include ActionView::Helpers::ControllerHelper
89
+ include ActionView::Helpers::CsrfHelper
90
+ include ActionView::Helpers::DateHelper
91
+ include ActionView::Helpers::DebugHelper
92
+ include ActionView::Helpers::FormHelper
93
+ include ActionView::Helpers::FormOptionsHelper
94
+ include ActionView::Helpers::FormTagHelper
95
+ include ActionView::Helpers::JavaScriptHelper
96
+ include ActionView::Helpers::NumberHelper
97
+ include ActionView::Helpers::OutputSafetyHelper
98
+ include ActionView::Helpers::RecordTagHelper
99
+ include ActionView::Helpers::RenderingHelper
100
+ include ActionView::Helpers::SanitizeHelper
101
+ include ActionView::Helpers::TagHelper
102
+ include ActionView::Helpers::TextHelper
103
+ include ActionView::Helpers::TranslationHelper
104
+ include ActionView::Helpers::UrlHelper
105
+ include ActiveSupport::Benchmarkable
106
+ end
107
+ module ActionView::Helpers::ActiveModelHelper
108
+ end
109
+ module ActionView::Helpers::ActiveModelInstanceTag
110
+ def content_tag(*arg0); end
111
+ def error_message; end
112
+ def error_wrapping(html_tag); end
113
+ def object; end
114
+ def object_has_errors?; end
115
+ def tag(type, options, *arg2); end
116
+ def tag_generate_errors?(options); end
117
+ end
118
+ module ActionView::Helpers::AssetUrlHelper
119
+ def asset_path(source, options = nil); end
120
+ def asset_url(source, options = nil); end
121
+ def audio_path(source, options = nil); end
122
+ def audio_url(source, options = nil); end
123
+ def compute_asset_extname(source, options = nil); end
124
+ def compute_asset_host(source = nil, options = nil); end
125
+ def compute_asset_path(source, options = nil); end
126
+ def font_path(source, options = nil); end
127
+ def font_url(source, options = nil); end
128
+ def image_path(source, options = nil); end
129
+ def image_url(source, options = nil); end
130
+ def javascript_path(source, options = nil); end
131
+ def javascript_url(source, options = nil); end
132
+ def path_to_asset(source, options = nil); end
133
+ def path_to_audio(source, options = nil); end
134
+ def path_to_font(source, options = nil); end
135
+ def path_to_image(source, options = nil); end
136
+ def path_to_javascript(source, options = nil); end
137
+ def path_to_stylesheet(source, options = nil); end
138
+ def path_to_video(source, options = nil); end
139
+ def public_compute_asset_path(source, options = nil); end
140
+ def stylesheet_path(source, options = nil); end
141
+ def stylesheet_url(source, options = nil); end
142
+ def url_to_asset(source, options = nil); end
143
+ def url_to_audio(source, options = nil); end
144
+ def url_to_font(source, options = nil); end
145
+ def url_to_image(source, options = nil); end
146
+ def url_to_javascript(source, options = nil); end
147
+ def url_to_stylesheet(source, options = nil); end
148
+ def url_to_video(source, options = nil); end
149
+ def video_path(source, options = nil); end
150
+ def video_url(source, options = nil); end
151
+ end
152
+ module ActionView::Helpers::CaptureHelper
153
+ def capture(*args); end
154
+ def content_for(name, content = nil, options = nil, &block); end
155
+ def content_for?(name); end
156
+ def provide(name, content = nil, &block); end
157
+ def with_output_buffer(buf = nil); end
158
+ end
159
+ module ActionView::Helpers::OutputSafetyHelper
160
+ def raw(stringish); end
161
+ def safe_join(array, sep = nil); end
162
+ def to_sentence(array, options = nil); end
163
+ end
164
+ module ActionView::Helpers::TagHelper
165
+ def cdata_section(content); end
166
+ def content_tag(name, content_or_options_with_block = nil, options = nil, escape = nil, &block); end
167
+ def escape_once(html); end
168
+ def tag(name = nil, options = nil, open = nil, escape = nil); end
169
+ def tag_builder; end
170
+ extend ActiveSupport::Concern
171
+ include ActionView::Helpers::CaptureHelper
172
+ include ActionView::Helpers::OutputSafetyHelper
173
+ end
174
+ class ActionView::Helpers::TagHelper::TagBuilder
175
+ def boolean_tag_option(key); end
176
+ def content_tag_string(name, content, options, escape = nil); end
177
+ def initialize(view_context); end
178
+ def method_missing(called, *args, &block); end
179
+ def prefix_tag_option(prefix, key, value, escape); end
180
+ def respond_to_missing?(*args); end
181
+ def tag_option(key, value, escape); end
182
+ def tag_options(options, escape = nil); end
183
+ def tag_string(name, content = nil, escape_attributes: nil, **options, &block); end
184
+ include ActionView::Helpers::CaptureHelper
185
+ include ActionView::Helpers::OutputSafetyHelper
186
+ end
187
+ module ActionView::Helpers::AssetTagHelper
188
+ def audio_tag(*sources); end
189
+ def auto_discovery_link_tag(type = nil, url_options = nil, tag_options = nil); end
190
+ def check_for_image_tag_errors(options); end
191
+ def extract_dimensions(size); end
192
+ def favicon_link_tag(source = nil, options = nil); end
193
+ def image_alt(src); end
194
+ def image_tag(source, options = nil); end
195
+ def javascript_include_tag(*sources); end
196
+ def multiple_sources_tag_builder(type, sources); end
197
+ def stylesheet_link_tag(*sources); end
198
+ def video_tag(*sources); end
199
+ extend ActiveSupport::Concern
200
+ include ActionView::Helpers::AssetUrlHelper
201
+ include ActionView::Helpers::TagHelper
202
+ end
203
+ module ActionView::Helpers::AtomFeedHelper
204
+ def atom_feed(options = nil, &block); end
205
+ end
206
+ class ActionView::Helpers::AtomFeedHelper::AtomBuilder
207
+ def initialize(xml); end
208
+ def method_missing(method, *arguments, &block); end
209
+ def xhtml_block?(method, arguments); end
210
+ end
211
+ class ActionView::Helpers::AtomFeedHelper::AtomFeedBuilder < ActionView::Helpers::AtomFeedHelper::AtomBuilder
212
+ def entry(record, options = nil); end
213
+ def initialize(xml, view, feed_options = nil); end
214
+ def updated(date_or_time = nil); end
215
+ end
216
+ module ActionView::Helpers::CacheHelper
217
+ def cache(name = nil, options = nil, &block); end
218
+ def cache_fragment_name(name = nil, skip_digest: nil, virtual_path: nil); end
219
+ def cache_if(condition, name = nil, options = nil, &block); end
220
+ def cache_unless(condition, name = nil, options = nil, &block); end
221
+ def fragment_for(name = nil, options = nil, &block); end
222
+ def fragment_name_with_digest(name, virtual_path); end
223
+ def read_fragment_for(name, options); end
224
+ def write_fragment_for(name, options); end
225
+ end
226
+ module ActionView::Helpers::ControllerHelper
227
+ def action_name(*args, &block); end
228
+ def assign_controller(controller); end
229
+ def controller; end
230
+ def controller=(arg0); end
231
+ def controller_name(*args, &block); end
232
+ def controller_path(*args, &block); end
233
+ def cookies(*args, &block); end
234
+ def flash(*args, &block); end
235
+ def headers(*args, &block); end
236
+ def logger; end
237
+ def params(*args, &block); end
238
+ def request; end
239
+ def request=(arg0); end
240
+ def request_forgery_protection_token(*args, &block); end
241
+ def respond_to?(method_name, include_private = nil); end
242
+ def response(*args, &block); end
243
+ def session(*args, &block); end
244
+ end
245
+ module ActionView::Helpers::CsrfHelper
246
+ def csrf_meta_tag; end
247
+ def csrf_meta_tags; end
248
+ end
249
+ module ActionView::Helpers::DateHelper
250
+ def date_select(object_name, method, options = nil, html_options = nil); end
251
+ def datetime_select(object_name, method, options = nil, html_options = nil); end
252
+ def distance_of_time_in_words(from_time, to_time = nil, options = nil); end
253
+ def distance_of_time_in_words_to_now(from_time, options = nil); end
254
+ def normalize_distance_of_time_argument_to_time(value); end
255
+ def select_date(date = nil, options = nil, html_options = nil); end
256
+ def select_datetime(datetime = nil, options = nil, html_options = nil); end
257
+ def select_day(date, options = nil, html_options = nil); end
258
+ def select_hour(datetime, options = nil, html_options = nil); end
259
+ def select_minute(datetime, options = nil, html_options = nil); end
260
+ def select_month(date, options = nil, html_options = nil); end
261
+ def select_second(datetime, options = nil, html_options = nil); end
262
+ def select_time(datetime = nil, options = nil, html_options = nil); end
263
+ def select_year(date, options = nil, html_options = nil); end
264
+ def time_ago_in_words(from_time, options = nil); end
265
+ def time_select(object_name, method, options = nil, html_options = nil); end
266
+ def time_tag(date_or_time, *args, &block); end
267
+ end
268
+ class ActionView::Helpers::DateTimeSelector
269
+ def build_hidden(type, value); end
270
+ def build_options(selected, options = nil); end
271
+ def build_options_and_select(type, selected, options = nil); end
272
+ def build_select(type, select_options_as_html); end
273
+ def build_selects_from_types(order); end
274
+ def css_class_attribute(type, html_options_class, options); end
275
+ def date_order; end
276
+ def day; end
277
+ def hour; end
278
+ def initialize(datetime, options = nil, html_options = nil); end
279
+ def input_id_from_type(type); end
280
+ def input_name_from_type(type); end
281
+ def min; end
282
+ def month; end
283
+ def month_name(number); end
284
+ def month_names; end
285
+ def prompt_option_tag(type, options); end
286
+ def sec; end
287
+ def select_date; end
288
+ def select_datetime; end
289
+ def select_day; end
290
+ def select_hour; end
291
+ def select_minute; end
292
+ def select_month; end
293
+ def select_second; end
294
+ def select_time; end
295
+ def select_year; end
296
+ def separator(type); end
297
+ def set_day_if_discarded; end
298
+ def translated_date_order; end
299
+ def translated_month_names; end
300
+ def year; end
301
+ include ActionView::Helpers::TagHelper
302
+ end
303
+ class ActionView::Helpers::FormBuilder
304
+ def button(value = nil, options = nil, &block); end
305
+ def check_box(method, options = nil, checked_value = nil, unchecked_value = nil); end
306
+ def collection_check_boxes(method, collection, value_method, text_method, options = nil, html_options = nil, &block); end
307
+ def collection_radio_buttons(method, collection, value_method, text_method, options = nil, html_options = nil, &block); end
308
+ def collection_select(method, collection, value_method, text_method, options = nil, html_options = nil); end
309
+ def color_field(method, options = nil); end
310
+ def convert_to_legacy_options(options); end
311
+ def date_field(method, options = nil); end
312
+ def date_select(method, options = nil, html_options = nil); end
313
+ def datetime_field(method, options = nil); end
314
+ def datetime_local_field(method, options = nil); end
315
+ def datetime_select(method, options = nil, html_options = nil); end
316
+ def email_field(method, options = nil); end
317
+ def emitted_hidden_id?; end
318
+ def field_helpers; end
319
+ def field_helpers=(arg0); end
320
+ def field_helpers?; end
321
+ def fields(scope = nil, model: nil, **options, &block); end
322
+ def fields_for(record_name, record_object = nil, fields_options = nil, &block); end
323
+ def fields_for_nested_model(name, object, fields_options, block); end
324
+ def fields_for_with_nested_attributes(association_name, association, options, block); end
325
+ def file_field(method, options = nil); end
326
+ def grouped_collection_select(method, collection, group_method, group_label_method, option_key_method, option_value_method, options = nil, html_options = nil); end
327
+ def hidden_field(method, options = nil); end
328
+ def index; end
329
+ def initialize(object_name, object, template, options); end
330
+ def label(method, text = nil, options = nil, &block); end
331
+ def month_field(method, options = nil); end
332
+ def multipart; end
333
+ def multipart=(multipart); end
334
+ def multipart?; end
335
+ def nested_attributes_association?(association_name); end
336
+ def nested_child_index(name); end
337
+ def number_field(method, options = nil); end
338
+ def object; end
339
+ def object=(arg0); end
340
+ def object_name; end
341
+ def object_name=(arg0); end
342
+ def objectify_options(options); end
343
+ def options; end
344
+ def options=(arg0); end
345
+ def password_field(method, options = nil); end
346
+ def phone_field(method, options = nil); end
347
+ def radio_button(method, tag_value, options = nil); end
348
+ def range_field(method, options = nil); end
349
+ def search_field(method, options = nil); end
350
+ def select(method, choices = nil, options = nil, html_options = nil, &block); end
351
+ def self._to_partial_path; end
352
+ def self.field_helpers; end
353
+ def self.field_helpers=(val); end
354
+ def self.field_helpers?; end
355
+ def submit(value = nil, options = nil); end
356
+ def submit_default_value; end
357
+ def telephone_field(method, options = nil); end
358
+ def text_area(method, options = nil); end
359
+ def text_field(method, options = nil); end
360
+ def time_field(method, options = nil); end
361
+ def time_select(method, options = nil, html_options = nil); end
362
+ def time_zone_select(method, priority_zones = nil, options = nil, html_options = nil); end
363
+ def to_model; end
364
+ def to_partial_path; end
365
+ def url_field(method, options = nil); end
366
+ def week_field(method, options = nil); end
367
+ include ActionView::ModelNaming
368
+ end
369
+ module ActionView::Helpers::DebugHelper
370
+ def debug(object); end
371
+ include ActionView::Helpers::TagHelper
372
+ end
373
+ module ActionView::Helpers::JavaScriptHelper
374
+ def escape_javascript(javascript); end
375
+ def j(javascript); end
376
+ def javascript_cdata_section(content); end
377
+ def javascript_tag(content_or_options_with_block = nil, html_options = nil, &block); end
378
+ end
379
+ module ActionView::Helpers::UrlHelper
380
+ def _back_url; end
381
+ def _filtered_referrer; end
382
+ def add_method_to_attributes!(html_options, method); end
383
+ def button_to(name = nil, options = nil, html_options = nil, &block); end
384
+ def convert_options_to_data_attributes(options, html_options); end
385
+ def current_page?(options, check_parameters: nil); end
386
+ def link_to(name = nil, options = nil, html_options = nil, &block); end
387
+ def link_to_if(condition, name, options = nil, html_options = nil, &block); end
388
+ def link_to_remote_options?(options); end
389
+ def link_to_unless(condition, name, options = nil, html_options = nil, &block); end
390
+ def link_to_unless_current(name, options = nil, html_options = nil, &block); end
391
+ def mail_to(email_address, name = nil, html_options = nil, &block); end
392
+ def method_tag(method); end
393
+ def to_form_params(attribute, namespace = nil); end
394
+ def token_tag(token = nil, form_options: nil); end
395
+ def url_for(options = nil); end
396
+ extend ActiveSupport::Concern
397
+ include ActionView::Helpers::TagHelper
398
+ end
399
+ module ActionView::Helpers::UrlHelper::ClassMethods
400
+ def _url_for_modules; end
401
+ end
402
+ module ActionView::Helpers::SanitizeHelper
403
+ def sanitize(html, options = nil); end
404
+ def sanitize_css(style); end
405
+ def strip_links(html); end
406
+ def strip_tags(html); end
407
+ extend ActiveSupport::Concern
408
+ end
409
+ module ActionView::Helpers::SanitizeHelper::ClassMethods
410
+ def full_sanitizer; end
411
+ def full_sanitizer=(arg0); end
412
+ def link_sanitizer; end
413
+ def link_sanitizer=(arg0); end
414
+ def sanitized_allowed_attributes; end
415
+ def sanitized_allowed_tags; end
416
+ def sanitizer_vendor; end
417
+ def white_list_sanitizer; end
418
+ def white_list_sanitizer=(arg0); end
419
+ end
420
+ module ActionView::Helpers::TextHelper
421
+ def concat(string); end
422
+ def current_cycle(name = nil); end
423
+ def cut_excerpt_part(part_position, part, separator, options); end
424
+ def cycle(first_value, *values); end
425
+ def excerpt(text, phrase, options = nil); end
426
+ def get_cycle(name); end
427
+ def highlight(text, phrases, options = nil); end
428
+ def pluralize(count, singular, plural_arg = nil, plural: nil, locale: nil); end
429
+ def reset_cycle(name = nil); end
430
+ def safe_concat(string); end
431
+ def set_cycle(name, cycle_object); end
432
+ def simple_format(text, html_options = nil, options = nil); end
433
+ def split_paragraphs(text); end
434
+ def truncate(text, options = nil, &block); end
435
+ def word_wrap(text, line_width: nil, break_sequence: nil); end
436
+ extend ActiveSupport::Concern
437
+ include ActionView::Helpers::OutputSafetyHelper
438
+ include ActionView::Helpers::SanitizeHelper
439
+ include ActionView::Helpers::TagHelper
440
+ end
441
+ class ActionView::Helpers::TextHelper::Cycle
442
+ def current_value; end
443
+ def initialize(first_value, *values); end
444
+ def next_index; end
445
+ def previous_index; end
446
+ def reset; end
447
+ def step_index(n); end
448
+ def to_s; end
449
+ def values; end
450
+ end
451
+ module ActionView::Helpers::FormTagHelper
452
+ def button_tag(content_or_options = nil, options = nil, &block); end
453
+ def check_box_tag(name, value = nil, checked = nil, options = nil); end
454
+ def color_field_tag(name, value = nil, options = nil); end
455
+ def date_field_tag(name, value = nil, options = nil); end
456
+ def datetime_field_tag(name, value = nil, options = nil); end
457
+ def datetime_local_field_tag(name, value = nil, options = nil); end
458
+ def email_field_tag(name, value = nil, options = nil); end
459
+ def embed_authenticity_token_in_remote_forms; end
460
+ def embed_authenticity_token_in_remote_forms=(obj); end
461
+ def extra_tags_for_form(html_options); end
462
+ def field_set_tag(legend = nil, options = nil, &block); end
463
+ def file_field_tag(name, options = nil); end
464
+ def form_tag(url_for_options = nil, options = nil, &block); end
465
+ def form_tag_html(html_options); end
466
+ def form_tag_with_body(html_options, content); end
467
+ def hidden_field_tag(name, value = nil, options = nil); end
468
+ def html_options_for_form(url_for_options, options); end
469
+ def image_submit_tag(source, options = nil); end
470
+ def label_tag(name = nil, content_or_options = nil, options = nil, &block); end
471
+ def month_field_tag(name, value = nil, options = nil); end
472
+ def number_field_tag(name, value = nil, options = nil); end
473
+ def password_field_tag(name = nil, value = nil, options = nil); end
474
+ def phone_field_tag(name, value = nil, options = nil); end
475
+ def radio_button_tag(name, value, checked = nil, options = nil); end
476
+ def range_field_tag(name, value = nil, options = nil); end
477
+ def sanitize_to_id(name); end
478
+ def search_field_tag(name, value = nil, options = nil); end
479
+ def select_tag(name, option_tags = nil, options = nil); end
480
+ def self.embed_authenticity_token_in_remote_forms; end
481
+ def self.embed_authenticity_token_in_remote_forms=(obj); end
482
+ def set_default_disable_with(value, tag_options); end
483
+ def submit_tag(value = nil, options = nil); end
484
+ def telephone_field_tag(name, value = nil, options = nil); end
485
+ def text_area_tag(name, content = nil, options = nil); end
486
+ def text_field_tag(name, value = nil, options = nil); end
487
+ def time_field_tag(name, value = nil, options = nil); end
488
+ def url_field_tag(name, value = nil, options = nil); end
489
+ def utf8_enforcer_tag; end
490
+ def week_field_tag(name, value = nil, options = nil); end
491
+ extend ActiveSupport::Concern
492
+ include ActionView::Helpers::TextHelper
493
+ include ActionView::Helpers::UrlHelper
494
+ end
495
+ module ActionView::ModelNaming
496
+ def convert_to_model(object); end
497
+ def model_name_from_record_or_class(record_or_class); end
498
+ end
499
+ module ActionView::RecordIdentifier
500
+ def dom_class(record_or_class, prefix = nil); end
501
+ def dom_id(record, prefix = nil); end
502
+ def record_key_for_dom_id(record); end
503
+ extend ActionView::ModelNaming
504
+ extend ActionView::RecordIdentifier
505
+ include ActionView::ModelNaming
506
+ end
507
+ module ActionView::Helpers::FormHelper
508
+ def apply_form_for_options!(record, object, options); end
509
+ def check_box(object_name, method, options = nil, checked_value = nil, unchecked_value = nil); end
510
+ def color_field(object_name, method, options = nil); end
511
+ def date_field(object_name, method, options = nil); end
512
+ def datetime_field(object_name, method, options = nil); end
513
+ def datetime_local_field(object_name, method, options = nil); end
514
+ def default_form_builder; end
515
+ def default_form_builder=(arg0); end
516
+ def default_form_builder_class; end
517
+ def email_field(object_name, method, options = nil); end
518
+ def fields(scope = nil, model: nil, **options, &block); end
519
+ def fields_for(record_name, record_object = nil, options = nil, &block); end
520
+ def file_field(object_name, method, options = nil); end
521
+ def form_for(record, options = nil, &block); end
522
+ def form_with(model: nil, scope: nil, url: nil, format: nil, **options); end
523
+ def form_with_generates_remote_forms; end
524
+ def form_with_generates_remote_forms=(obj); end
525
+ def hidden_field(object_name, method, options = nil); end
526
+ def html_options_for_form_with(url_for_options = nil, model = nil, html: nil, local: nil, skip_enforcing_utf8: nil, **options); end
527
+ def instantiate_builder(record_name, record_object, options); end
528
+ def label(object_name, method, content_or_options = nil, options = nil, &block); end
529
+ def month_field(object_name, method, options = nil); end
530
+ def number_field(object_name, method, options = nil); end
531
+ def password_field(object_name, method, options = nil); end
532
+ def phone_field(object_name, method, options = nil); end
533
+ def radio_button(object_name, method, tag_value, options = nil); end
534
+ def range_field(object_name, method, options = nil); end
535
+ def search_field(object_name, method, options = nil); end
536
+ def self.form_with_generates_remote_forms; end
537
+ def self.form_with_generates_remote_forms=(obj); end
538
+ def telephone_field(object_name, method, options = nil); end
539
+ def text_area(object_name, method, options = nil); end
540
+ def text_field(object_name, method, options = nil); end
541
+ def time_field(object_name, method, options = nil); end
542
+ def url_field(object_name, method, options = nil); end
543
+ def week_field(object_name, method, options = nil); end
544
+ extend ActiveSupport::Concern
545
+ include ActionView::Helpers::FormTagHelper
546
+ include ActionView::Helpers::UrlHelper
547
+ include ActionView::ModelNaming
548
+ include ActionView::RecordIdentifier
549
+ end
550
+ module ActionView::Helpers::FormOptionsHelper
551
+ def collection_check_boxes(object, method, collection, value_method, text_method, options = nil, html_options = nil, &block); end
552
+ def collection_radio_buttons(object, method, collection, value_method, text_method, options = nil, html_options = nil, &block); end
553
+ def collection_select(object, method, collection, value_method, text_method, options = nil, html_options = nil); end
554
+ def extract_selected_and_disabled(selected); end
555
+ def extract_values_from_collection(collection, value_method, selected); end
556
+ def grouped_collection_select(object, method, collection, group_method, group_label_method, option_key_method, option_value_method, options = nil, html_options = nil); end
557
+ def grouped_options_for_select(grouped_options, selected_key = nil, options = nil); end
558
+ def option_groups_from_collection_for_select(collection, group_method, group_label_method, option_key_method, option_value_method, selected_key = nil); end
559
+ def option_html_attributes(element); end
560
+ def option_text_and_value(option); end
561
+ def option_value_selected?(value, selected); end
562
+ def options_for_select(container, selected = nil); end
563
+ def options_from_collection_for_select(collection, value_method, text_method, selected = nil); end
564
+ def prompt_text(prompt); end
565
+ def select(object, method, choices = nil, options = nil, html_options = nil, &block); end
566
+ def time_zone_options_for_select(selected = nil, priority_zones = nil, model = nil); end
567
+ def time_zone_select(object, method, priority_zones = nil, options = nil, html_options = nil); end
568
+ def value_for_collection(item, value); end
569
+ extend ActionView::Helpers::SanitizeHelper::ClassMethods
570
+ include ActionView::Helpers::SanitizeHelper
571
+ include ActionView::Helpers::TagHelper
572
+ include ActionView::Helpers::TextHelper
573
+ end
574
+ module ActionView::Helpers::NumberHelper
575
+ def delegate_number_helper_method(method, number, options); end
576
+ def escape_units(units); end
577
+ def escape_unsafe_options(options); end
578
+ def number_to_currency(number, options = nil); end
579
+ def number_to_human(number, options = nil); end
580
+ def number_to_human_size(number, options = nil); end
581
+ def number_to_percentage(number, options = nil); end
582
+ def number_to_phone(number, options = nil); end
583
+ def number_with_delimiter(number, options = nil); end
584
+ def number_with_precision(number, options = nil); end
585
+ def parse_float(number, raise_error); end
586
+ def valid_float?(number); end
587
+ def wrap_with_output_safety_handling(number, raise_on_invalid, &block); end
588
+ end
589
+ class ActionView::Helpers::NumberHelper::InvalidNumberError < StandardError
590
+ def initialize(number); end
591
+ def number; end
592
+ def number=(arg0); end
593
+ end
594
+ module ActionView::Helpers::RecordTagHelper
595
+ def content_tag_for(*arg0); end
596
+ def div_for(*arg0); end
597
+ end
598
+ module ActionView::Helpers::RenderingHelper
599
+ def _layout_for(*args, &block); end
600
+ def render(options = nil, locals = nil, &block); end
601
+ end
602
+ module ActionView::Helpers::TranslationHelper
603
+ def html_safe_translation_key?(key); end
604
+ def l(*args); end
605
+ def localize(*args); end
606
+ def scope_key_by_partial(key); end
607
+ def t(key, options = nil); end
608
+ def translate(key, options = nil); end
609
+ extend ActiveSupport::Concern
610
+ include ActionView::Helpers::TagHelper
611
+ end
612
+ module ActionView::CompiledTemplates
613
+ end
614
+ module ActionView::Context
615
+ def _layout_for(name = nil); end
616
+ def _prepare_context; end
617
+ def output_buffer; end
618
+ def output_buffer=(arg0); end
619
+ def view_flow; end
620
+ def view_flow=(arg0); end
621
+ include ActionView::CompiledTemplates
622
+ end
623
+ class ActionView::Template
624
+ def compile!(view); end
625
+ def compile(mod); end
626
+ def encode!; end
627
+ def formats; end
628
+ def formats=(arg0); end
629
+ def handle_render_error(view, e); end
630
+ def handler; end
631
+ def identifier; end
632
+ def identifier_method_name; end
633
+ def initialize(source, identifier, handler, details); end
634
+ def inspect; end
635
+ def instrument(action, &block); end
636
+ def instrument_payload; end
637
+ def instrument_render_template(&block); end
638
+ def locals; end
639
+ def locals=(arg0); end
640
+ def locals_code; end
641
+ def method_name; end
642
+ def original_encoding; end
643
+ def refresh(view); end
644
+ def render(view, locals, buffer = nil, &block); end
645
+ def source; end
646
+ def supports_streaming?; end
647
+ def type; end
648
+ def updated_at; end
649
+ def variants; end
650
+ def variants=(arg0); end
651
+ def virtual_path; end
652
+ def virtual_path=(arg0); end
653
+ extend ActionView::Template::Handlers
654
+ extend ActiveSupport::Autoload
655
+ end
656
+ module ActionView::Template::Handlers
657
+ def handler_for_extension(extension); end
658
+ def register_default_template_handler(extension, klass); end
659
+ def register_template_handler(*extensions, handler); end
660
+ def registered_template_handler(extension); end
661
+ def self.extended(base); end
662
+ def self.extensions; end
663
+ def template_handler_extensions; end
664
+ def unregister_template_handler(*extensions); end
665
+ end
666
+ class ActionView::Template::Handlers::Raw
667
+ def call(template); end
668
+ end
669
+ class ActionView::Template::Handlers::ERB
670
+ def call(template); end
671
+ def erb_implementation; end
672
+ def erb_implementation=(arg0); end
673
+ def erb_implementation?; end
674
+ def erb_trim_mode; end
675
+ def erb_trim_mode=(arg0); end
676
+ def erb_trim_mode?; end
677
+ def escape_whitelist; end
678
+ def escape_whitelist=(arg0); end
679
+ def escape_whitelist?; end
680
+ def handles_encoding?; end
681
+ def self.call(template); end
682
+ def self.erb_implementation; end
683
+ def self.erb_implementation=(val); end
684
+ def self.erb_implementation?; end
685
+ def self.erb_trim_mode; end
686
+ def self.erb_trim_mode=(val); end
687
+ def self.erb_trim_mode?; end
688
+ def self.escape_whitelist; end
689
+ def self.escape_whitelist=(val); end
690
+ def self.escape_whitelist?; end
691
+ def supports_streaming?; end
692
+ def valid_encoding(string, encoding); end
693
+ end
694
+ class ActionView::Template::Handlers::ERB::Erubi < Erubi::Engine
695
+ def add_code(code); end
696
+ def add_expression(indicator, code); end
697
+ def add_postamble(_); end
698
+ def add_text(text); end
699
+ def evaluate(action_view_erb_handler_context); end
700
+ def flush_newline_if_pending(src); end
701
+ def initialize(input, properties = nil); end
702
+ end
703
+ class ActionView::Template::Handlers::Html < ActionView::Template::Handlers::Raw
704
+ def call(template); end
705
+ end
706
+ class ActionView::Template::Handlers::Builder
707
+ def call(template); end
708
+ def default_format; end
709
+ def default_format=(arg0); end
710
+ def default_format?; end
711
+ def require_engine; end
712
+ def self.default_format; end
713
+ def self.default_format=(val); end
714
+ def self.default_format?; end
715
+ end
716
+ class ActionView::Resolver
717
+ def build_path(name, prefix, partial); end
718
+ def cached(key, path_info, details, locals); end
719
+ def caching; end
720
+ def caching=(obj); end
721
+ def caching?(*args, &block); end
722
+ def clear_cache; end
723
+ def decorate(templates, path_info, details, locals); end
724
+ def find_all(name, prefix = nil, partial = nil, details = nil, key = nil, locals = nil); end
725
+ def find_all_anywhere(name, prefix, partial = nil, details = nil, key = nil, locals = nil); end
726
+ def find_all_with_query(query); end
727
+ def find_templates(name, prefix, partial, details, outside_app_allowed = nil); end
728
+ def initialize; end
729
+ def self.caching; end
730
+ def self.caching=(obj); end
731
+ def self.caching?; end
732
+ end
733
+ class ActionView::Resolver::Path
734
+ def initialize(name, prefix, partial, virtual); end
735
+ def name; end
736
+ def partial; end
737
+ def partial?; end
738
+ def prefix; end
739
+ def self.build(name, prefix, partial); end
740
+ def to_s; end
741
+ def to_str; end
742
+ def virtual; end
743
+ end
744
+ class ActionView::Resolver::Cache
745
+ def cache(key, name, prefix, partial, locals); end
746
+ def cache_query(query); end
747
+ def canonical_no_templates(templates); end
748
+ def clear; end
749
+ def initialize; end
750
+ def inspect; end
751
+ def size; end
752
+ def templates_have_changed?(cached_templates, fresh_templates); end
753
+ end
754
+ class ActionView::Resolver::Cache::SmallCache < Concurrent::Map
755
+ def initialize(options = nil); end
756
+ end
757
+ class ActionView::PathResolver < ActionView::Resolver
758
+ def build_query(path, details); end
759
+ def escape_entry(entry); end
760
+ def extract_handler_and_format_and_variant(path); end
761
+ def find_template_paths(query); end
762
+ def find_templates(name, prefix, partial, details, outside_app_allowed = nil); end
763
+ def initialize(pattern = nil); end
764
+ def inside_path?(path, filename); end
765
+ def mtime(p); end
766
+ def query(path, details, formats, outside_app_allowed); end
767
+ def reject_files_external_to_app(files); end
768
+ end
769
+ class ActionView::FileSystemResolver < ActionView::PathResolver
770
+ def ==(resolver); end
771
+ def eql?(resolver); end
772
+ def initialize(path, pattern = nil); end
773
+ def to_path; end
774
+ def to_s; end
775
+ end
776
+ class ActionView::OptimizedFileSystemResolver < ActionView::FileSystemResolver
777
+ def build_query(path, details); end
778
+ end
779
+ class ActionView::FallbackFileSystemResolver < ActionView::FileSystemResolver
780
+ def decorate(*arg0); end
781
+ def self.instances; end
782
+ end
783
+ class ActionView::LookupContext
784
+ def digest_cache; end
785
+ def fallbacks; end
786
+ def fallbacks=(obj); end
787
+ def formats=(values); end
788
+ def initialize(view_paths, details = nil, prefixes = nil); end
789
+ def initialize_details(target, details); end
790
+ def locale; end
791
+ def locale=(value); end
792
+ def prefixes; end
793
+ def prefixes=(arg0); end
794
+ def registered_details; end
795
+ def registered_details=(obj); end
796
+ def rendered_format; end
797
+ def rendered_format=(arg0); end
798
+ def self.fallbacks; end
799
+ def self.fallbacks=(obj); end
800
+ def self.register_detail(name, &block); end
801
+ def self.registered_details; end
802
+ def self.registered_details=(obj); end
803
+ include ActionView::LookupContext::Accessors
804
+ include ActionView::LookupContext::DetailsCache
805
+ include ActionView::LookupContext::ViewPaths
806
+ end
807
+ module ActionView::LookupContext::Accessors
808
+ def default_formats; end
809
+ def default_handlers; end
810
+ def default_locale; end
811
+ def default_variants; end
812
+ def formats; end
813
+ def formats=(value); end
814
+ def handlers; end
815
+ def handlers=(value); end
816
+ def locale; end
817
+ def locale=(value); end
818
+ def variants; end
819
+ def variants=(value); end
820
+ end
821
+ class ActionView::LookupContext::DetailsKey
822
+ def eql?(arg0); end
823
+ def self.clear; end
824
+ def self.digest_caches; end
825
+ def self.get(details); end
826
+ end
827
+ module ActionView::LookupContext::DetailsCache
828
+ def _set_detail(key, value); end
829
+ def cache; end
830
+ def cache=(arg0); end
831
+ def details_key; end
832
+ def disable_cache; end
833
+ end
834
+ module ActionView::LookupContext::ViewPaths
835
+ def any?(name, prefixes = nil, partial = nil); end
836
+ def any_templates?(name, prefixes = nil, partial = nil); end
837
+ def args_for_any(name, prefixes, partial); end
838
+ def args_for_lookup(name, prefixes, partial, keys, details_options); end
839
+ def detail_args_for(options); end
840
+ def detail_args_for_any; end
841
+ def exists?(name, prefixes = nil, partial = nil, keys = nil, **options); end
842
+ def find(name, prefixes = nil, partial = nil, keys = nil, options = nil); end
843
+ def find_all(name, prefixes = nil, partial = nil, keys = nil, options = nil); end
844
+ def find_file(name, prefixes = nil, partial = nil, keys = nil, options = nil); end
845
+ def find_template(name, prefixes = nil, partial = nil, keys = nil, options = nil); end
846
+ def html_fallback_for_js; end
847
+ def normalize_name(name, prefixes); end
848
+ def template_exists?(name, prefixes = nil, partial = nil, keys = nil, **options); end
849
+ def view_paths; end
850
+ def view_paths=(paths); end
851
+ def with_fallbacks; end
852
+ end
853
+ class ActionView::Template::Types
854
+ def self.[](type); end
855
+ def self.delegate_to(klass); end
856
+ def self.symbols; end
857
+ def self.type_klass; end
858
+ def self.type_klass=(obj); end
859
+ def type_klass; end
860
+ def type_klass=(obj); end
861
+ end
862
+ class ActionView::Template::Types::Type
863
+ def ==(type); end
864
+ def initialize(symbol); end
865
+ def ref; end
866
+ def self.[](type); end
867
+ def symbol; end
868
+ def to_s; end
869
+ def to_str; end
870
+ def to_sym; end
871
+ end
872
+ class ActionView::PathSet
873
+ def +(array); end
874
+ def <<(*args); end
875
+ def [](*args, &block); end
876
+ def _find_all(path, prefixes, args, outside_app); end
877
+ def compact; end
878
+ def concat(*args); end
879
+ def each(*args, &block); end
880
+ def exists?(path, prefixes, *args); end
881
+ def find(*args); end
882
+ def find_all(path, prefixes = nil, *args); end
883
+ def find_all_with_query(query); end
884
+ def find_file(path, prefixes = nil, *args); end
885
+ def include?(*args, &block); end
886
+ def initialize(paths = nil); end
887
+ def initialize_copy(other); end
888
+ def insert(*args); end
889
+ def paths; end
890
+ def pop(*args, &block); end
891
+ def push(*args); end
892
+ def size(*args, &block); end
893
+ def to_ary; end
894
+ def typecast(paths); end
895
+ def unshift(*args); end
896
+ include Enumerable
897
+ end
898
+ class ActionView::DependencyTracker
899
+ def self.find_dependencies(name, template, view_paths = nil); end
900
+ def self.register_tracker(extension, tracker); end
901
+ def self.remove_tracker(handler); end
902
+ end
903
+ class ActionView::DependencyTracker::ERBTracker
904
+ def add_dependencies(render_dependencies, arguments, pattern); end
905
+ def add_dynamic_dependency(dependencies, dependency); end
906
+ def add_static_dependency(dependencies, dependency); end
907
+ def dependencies; end
908
+ def directory; end
909
+ def explicit_dependencies; end
910
+ def initialize(name, template, view_paths = nil); end
911
+ def name; end
912
+ def render_dependencies; end
913
+ def resolve_directories(wildcard_dependencies); end
914
+ def self.call(name, template, view_paths = nil); end
915
+ def self.supports_view_paths?; end
916
+ def source; end
917
+ def template; end
918
+ end
919
+ class ActionView::Digestor
920
+ def self.digest(name:, finder:, dependencies: nil); end
921
+ def self.find_template(finder, *args); end
922
+ def self.logger; end
923
+ def self.tree(name, finder, partial = nil, seen = nil); end
924
+ end
925
+ module ActionView::Digestor::PerExecutionDigestCacheExpiry
926
+ def self.before(target); end
927
+ end
928
+ class ActionView::Digestor::Node
929
+ def children; end
930
+ def dependency_digest(finder, stack); end
931
+ def digest(finder, stack = nil); end
932
+ def initialize(name, logical_name, template, children = nil); end
933
+ def logical_name; end
934
+ def name; end
935
+ def self.create(name, logical_name, template, partial); end
936
+ def template; end
937
+ def to_dep_map; end
938
+ end
939
+ class ActionView::Digestor::Partial < ActionView::Digestor::Node
940
+ end
941
+ class ActionView::Digestor::Missing < ActionView::Digestor::Node
942
+ def digest(finder, _ = nil); end
943
+ end
944
+ class ActionView::Digestor::Injected < ActionView::Digestor::Node
945
+ def digest(finder, _ = nil); end
946
+ end
947
+ class ActionView::Digestor::NullLogger
948
+ def self.debug(_); end
949
+ def self.error(_); end
950
+ end
951
+ class ActionView::Base
952
+ def _routes; end
953
+ def _routes=(arg0); end
954
+ def _routes?; end
955
+ def assign(new_assigns); end
956
+ def assigns; end
957
+ def assigns=(arg0); end
958
+ def automatically_disable_submit_tag; end
959
+ def automatically_disable_submit_tag=(obj); end
960
+ def config; end
961
+ def config=(arg0); end
962
+ def debug_missing_translation; end
963
+ def debug_missing_translation=(obj); end
964
+ def default_formats; end
965
+ def default_formats=(obj); end
966
+ def field_error_proc; end
967
+ def field_error_proc=(obj); end
968
+ def formats(*args, &block); end
969
+ def formats=(arg); end
970
+ def initialize(context = nil, assigns = nil, controller = nil, formats = nil); end
971
+ def locale(*args, &block); end
972
+ def locale=(arg); end
973
+ def logger; end
974
+ def logger=(arg0); end
975
+ def logger?; end
976
+ def lookup_context(*args, &block); end
977
+ def prefix_partial_path_with_controller_namespace; end
978
+ def prefix_partial_path_with_controller_namespace=(obj); end
979
+ def raise_on_missing_translations; end
980
+ def raise_on_missing_translations=(obj); end
981
+ def self._routes; end
982
+ def self._routes=(val); end
983
+ def self._routes?; end
984
+ def self.automatically_disable_submit_tag; end
985
+ def self.automatically_disable_submit_tag=(obj); end
986
+ def self.cache_template_loading; end
987
+ def self.cache_template_loading=(value); end
988
+ def self.debug_missing_translation; end
989
+ def self.debug_missing_translation=(obj); end
990
+ def self.default_form_builder; end
991
+ def self.default_form_builder=(obj); end
992
+ def self.default_formats; end
993
+ def self.default_formats=(obj); end
994
+ def self.erb_trim_mode=(arg); end
995
+ def self.field_error_proc; end
996
+ def self.field_error_proc=(obj); end
997
+ def self.logger; end
998
+ def self.logger=(val); end
999
+ def self.logger?; end
1000
+ def self.prefix_partial_path_with_controller_namespace; end
1001
+ def self.prefix_partial_path_with_controller_namespace=(obj); end
1002
+ def self.raise_on_missing_translations; end
1003
+ def self.raise_on_missing_translations=(obj); end
1004
+ def self.streaming_completion_on_exception; end
1005
+ def self.streaming_completion_on_exception=(obj); end
1006
+ def self.xss_safe?; end
1007
+ def streaming_completion_on_exception; end
1008
+ def streaming_completion_on_exception=(obj); end
1009
+ def view_paths(*args, &block); end
1010
+ def view_paths=(arg); end
1011
+ def view_renderer; end
1012
+ def view_renderer=(arg0); end
1013
+ extend ActionView::Helpers::SanitizeHelper::ClassMethods
1014
+ extend ActionView::Helpers::SanitizeHelper::ClassMethods
1015
+ extend ActionView::Helpers::UrlHelper::ClassMethods
1016
+ include ActionCable::Helpers::ActionCableHelper
1017
+ include ActionView::Helpers
1018
+ include ActionView::Helpers::AssetTagHelper
1019
+ include ActionView::Helpers::FormHelper
1020
+ include ActionView::Helpers::FormTagHelper
1021
+ include ActionView::Helpers::FormTagHelper
1022
+ include ActionView::Helpers::SanitizeHelper
1023
+ include ActionView::Helpers::SanitizeHelper
1024
+ include ActionView::Helpers::TagHelper
1025
+ include ActionView::Helpers::TagHelper
1026
+ include ActionView::Helpers::TagHelper
1027
+ include ActionView::Helpers::TagHelper
1028
+ include ActionView::Helpers::TagHelper
1029
+ include ActionView::Helpers::TextHelper
1030
+ include ActionView::Helpers::TextHelper
1031
+ include ActionView::Helpers::TranslationHelper
1032
+ include ActionView::Helpers::UrlHelper
1033
+ include ActionView::Helpers::UrlHelper
1034
+ include ActionView::Helpers::UrlHelper
1035
+ end
1036
+ module ActionView::ViewPaths
1037
+ def _prefixes; end
1038
+ def any_templates?(*args, &block); end
1039
+ def append_view_path(path); end
1040
+ def details_for_lookup; end
1041
+ def formats(*args, &block); end
1042
+ def formats=(arg); end
1043
+ def locale(*args, &block); end
1044
+ def locale=(arg); end
1045
+ def lookup_context; end
1046
+ def prepend_view_path(path); end
1047
+ def template_exists?(*args, &block); end
1048
+ def view_paths(*args, &block); end
1049
+ extend ActiveSupport::Concern
1050
+ end
1051
+ module ActionView::ViewPaths::ClassMethods
1052
+ def _prefixes; end
1053
+ def append_view_path(path); end
1054
+ def local_prefixes; end
1055
+ def prepend_view_path(path); end
1056
+ def view_paths; end
1057
+ def view_paths=(paths); end
1058
+ end
1059
+ class ActionView::I18nProxy < I18n::Config
1060
+ def initialize(original_config, lookup_context); end
1061
+ def locale; end
1062
+ def locale=(value); end
1063
+ def lookup_context; end
1064
+ def original_config; end
1065
+ end
1066
+ module ActionView::Rendering
1067
+ def _normalize_args(action = nil, options = nil); end
1068
+ def _normalize_options(options); end
1069
+ def _process_format(format); end
1070
+ def _render_template(options); end
1071
+ def process(*arg0); end
1072
+ def render_to_body(options = nil); end
1073
+ def rendered_format; end
1074
+ def view_context; end
1075
+ def view_context_class; end
1076
+ def view_context_class=(arg0); end
1077
+ def view_renderer; end
1078
+ extend ActiveSupport::Concern
1079
+ include ActionView::ViewPaths
1080
+ end
1081
+ module ActionView::Rendering::ClassMethods
1082
+ def view_context_class; end
1083
+ end
1084
+ module ActionView::Layouts
1085
+ def _conditional_layout?; end
1086
+ def _default_layout(formats, require_layout = nil); end
1087
+ def _include_layout?(options); end
1088
+ def _layout(*arg0); end
1089
+ def _layout_conditions(*args, &block); end
1090
+ def _layout_for_option(name); end
1091
+ def _normalize_layout(value); end
1092
+ def _normalize_options(options); end
1093
+ def action_has_layout=(arg0); end
1094
+ def action_has_layout?; end
1095
+ def initialize(*arg0); end
1096
+ extend ActiveSupport::Concern
1097
+ include ActionView::Rendering
1098
+ end
1099
+ module ActionView::Layouts::ClassMethods
1100
+ def _implied_layout_name; end
1101
+ def _write_layout_method; end
1102
+ def inherited(klass); end
1103
+ def layout(layout, conditions = nil); end
1104
+ end
1105
+ module ActionView::Layouts::ClassMethods::LayoutConditions
1106
+ def _conditional_layout?; end
1107
+ end
1108
+ module ActionView::RoutingUrlFor
1109
+ def _generate_paths_by_default; end
1110
+ def _routes_context; end
1111
+ def only_path?(host); end
1112
+ def optimize_routes_generation?; end
1113
+ def url_for(options = nil); end
1114
+ def url_options; end
1115
+ end