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