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,1220 @@
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/arel/all/arel.rbi
9
+ #
10
+ # arel-8.0.0
11
+ module Arel
12
+ def self.sql(raw_sql); end
13
+ def self.star; end
14
+ end
15
+ class Arel::ArelError < StandardError
16
+ end
17
+ class Arel::EmptyJoinError < Arel::ArelError
18
+ end
19
+ module Arel::Crud
20
+ def compile_delete; end
21
+ def compile_insert(values); end
22
+ def compile_update(values, pk); end
23
+ def create_insert; end
24
+ end
25
+ module Arel::FactoryMethods
26
+ def create_and(clauses); end
27
+ def create_false; end
28
+ def create_join(to, constraint = nil, klass = nil); end
29
+ def create_on(expr); end
30
+ def create_string_join(to); end
31
+ def create_table_alias(relation, name); end
32
+ def create_true; end
33
+ def grouping(expr); end
34
+ def lower(column); end
35
+ end
36
+ module Arel::Expressions
37
+ def average; end
38
+ def count(distinct = nil); end
39
+ def extract(field); end
40
+ def maximum; end
41
+ def minimum; end
42
+ def sum; end
43
+ end
44
+ module Arel::Predications
45
+ def between(other); end
46
+ def concat(other); end
47
+ def does_not_match(other, escape = nil, case_sensitive = nil); end
48
+ def does_not_match_all(others, escape = nil); end
49
+ def does_not_match_any(others, escape = nil); end
50
+ def does_not_match_regexp(other, case_sensitive = nil); end
51
+ def eq(other); end
52
+ def eq_all(others); end
53
+ def eq_any(others); end
54
+ def equals_quoted?(maybe_quoted, value); end
55
+ def grouping_all(method_id, others, *extras); end
56
+ def grouping_any(method_id, others, *extras); end
57
+ def gt(right); end
58
+ def gt_all(others); end
59
+ def gt_any(others); end
60
+ def gteq(right); end
61
+ def gteq_all(others); end
62
+ def gteq_any(others); end
63
+ def in(other); end
64
+ def in_all(others); end
65
+ def in_any(others); end
66
+ def lt(right); end
67
+ def lt_all(others); end
68
+ def lt_any(others); end
69
+ def lteq(right); end
70
+ def lteq_all(others); end
71
+ def lteq_any(others); end
72
+ def matches(other, escape = nil, case_sensitive = nil); end
73
+ def matches_all(others, escape = nil, case_sensitive = nil); end
74
+ def matches_any(others, escape = nil, case_sensitive = nil); end
75
+ def matches_regexp(other, case_sensitive = nil); end
76
+ def not_between(other); end
77
+ def not_eq(other); end
78
+ def not_eq_all(others); end
79
+ def not_eq_any(others); end
80
+ def not_in(other); end
81
+ def not_in_all(others); end
82
+ def not_in_any(others); end
83
+ def quoted_array(others); end
84
+ def quoted_node(other); end
85
+ def when(right); end
86
+ end
87
+ module Arel::WindowPredications
88
+ def over(expr = nil); end
89
+ end
90
+ module Arel::Math
91
+ def &(other); end
92
+ def *(other); end
93
+ def +(other); end
94
+ def -(other); end
95
+ def /(other); end
96
+ def <<(other); end
97
+ def >>(other); end
98
+ def ^(other); end
99
+ def |(other); end
100
+ def ~; end
101
+ end
102
+ module Arel::AliasPredication
103
+ def as(other); end
104
+ end
105
+ module Arel::OrderPredications
106
+ def asc; end
107
+ def desc; end
108
+ end
109
+ class Arel::Table
110
+ def ==(other); end
111
+ def [](name); end
112
+ def able_to_type_cast?; end
113
+ def alias(name = nil); end
114
+ def eql?(other); end
115
+ def from; end
116
+ def group(*columns); end
117
+ def hash; end
118
+ def having(expr); end
119
+ def initialize(name, as: nil, type_caster: nil); end
120
+ def join(relation, klass = nil); end
121
+ def name; end
122
+ def name=(arg0); end
123
+ def order(*expr); end
124
+ def outer_join(relation); end
125
+ def project(*things); end
126
+ def self.engine; end
127
+ def self.engine=(arg0); end
128
+ def skip(amount); end
129
+ def table_alias; end
130
+ def table_alias=(arg0); end
131
+ def table_name; end
132
+ def take(amount); end
133
+ def type_cast_for_database(attribute_name, value); end
134
+ def type_caster; end
135
+ def where(condition); end
136
+ include Arel::Crud
137
+ include Arel::FactoryMethods
138
+ end
139
+ module Arel::Attributes
140
+ def self.for(column); end
141
+ end
142
+ class Anonymous_Struct_8 < Struct
143
+ def name; end
144
+ def name=(_); end
145
+ def relation; end
146
+ def relation=(_); end
147
+ def self.[](*arg0); end
148
+ def self.inspect; end
149
+ def self.members; end
150
+ def self.new(*arg0); end
151
+ end
152
+ class Arel::Attributes::Attribute < Anonymous_Struct_8
153
+ def able_to_type_cast?; end
154
+ def lower; end
155
+ def type_cast_for_database(value); end
156
+ include Arel::AliasPredication
157
+ include Arel::Expressions
158
+ include Arel::Math
159
+ include Arel::OrderPredications
160
+ include Arel::Predications
161
+ end
162
+ class Arel::Attributes::String < Arel::Attributes::Attribute
163
+ end
164
+ class Arel::Attributes::Time < Arel::Attributes::Attribute
165
+ end
166
+ class Arel::Attributes::Boolean < Arel::Attributes::Attribute
167
+ end
168
+ class Arel::Attributes::Decimal < Arel::Attributes::Attribute
169
+ end
170
+ class Arel::Attributes::Float < Arel::Attributes::Attribute
171
+ end
172
+ class Arel::Attributes::Integer < Arel::Attributes::Attribute
173
+ end
174
+ class Arel::Attributes::Undefined < Arel::Attributes::Attribute
175
+ end
176
+ module Arel::Compatibility
177
+ end
178
+ class Arel::Compatibility::Wheres
179
+ def each; end
180
+ def initialize(engine, collection); end
181
+ include Enumerable
182
+ end
183
+ module Arel::Compatibility::Wheres::Value
184
+ def name; end
185
+ def value; end
186
+ def visitor; end
187
+ def visitor=(arg0); end
188
+ end
189
+ module Arel::Visitors
190
+ end
191
+ class Arel::Visitors::Visitor
192
+ def accept(object); end
193
+ def dispatch; end
194
+ def get_dispatch_cache; end
195
+ def initialize; end
196
+ def self.dispatch_cache; end
197
+ def visit(object); end
198
+ end
199
+ class Arel::Visitors::DepthFirst < Arel::Visitors::Visitor
200
+ def binary(o); end
201
+ def function(o); end
202
+ def get_dispatch_cache; end
203
+ def initialize(block = nil); end
204
+ def nary(o); end
205
+ def terminal(o); end
206
+ def unary(o); end
207
+ def visit(o); end
208
+ def visit_ActiveSupport_Multibyte_Chars(o); end
209
+ def visit_ActiveSupport_StringInquirer(o); end
210
+ def visit_Arel_Attribute(o); end
211
+ def visit_Arel_Attributes_Attribute(o); end
212
+ def visit_Arel_Attributes_Boolean(o); end
213
+ def visit_Arel_Attributes_Decimal(o); end
214
+ def visit_Arel_Attributes_Float(o); end
215
+ def visit_Arel_Attributes_Integer(o); end
216
+ def visit_Arel_Attributes_String(o); end
217
+ def visit_Arel_Attributes_Time(o); end
218
+ def visit_Arel_Nodes_And(o); end
219
+ def visit_Arel_Nodes_As(o); end
220
+ def visit_Arel_Nodes_Ascending(o); end
221
+ def visit_Arel_Nodes_Assignment(o); end
222
+ def visit_Arel_Nodes_Avg(o); end
223
+ def visit_Arel_Nodes_Between(o); end
224
+ def visit_Arel_Nodes_BindParam(o); end
225
+ def visit_Arel_Nodes_Case(o); end
226
+ def visit_Arel_Nodes_Concat(o); end
227
+ def visit_Arel_Nodes_Count(o); end
228
+ def visit_Arel_Nodes_Cube(o); end
229
+ def visit_Arel_Nodes_DeleteStatement(o); end
230
+ def visit_Arel_Nodes_Descending(o); end
231
+ def visit_Arel_Nodes_DoesNotMatch(o); end
232
+ def visit_Arel_Nodes_Else(o); end
233
+ def visit_Arel_Nodes_Equality(o); end
234
+ def visit_Arel_Nodes_Exists(o); end
235
+ def visit_Arel_Nodes_False(o); end
236
+ def visit_Arel_Nodes_FullOuterJoin(o); end
237
+ def visit_Arel_Nodes_GreaterThan(o); end
238
+ def visit_Arel_Nodes_GreaterThanOrEqual(o); end
239
+ def visit_Arel_Nodes_Group(o); end
240
+ def visit_Arel_Nodes_Grouping(o); end
241
+ def visit_Arel_Nodes_GroupingElement(o); end
242
+ def visit_Arel_Nodes_GroupingSet(o); end
243
+ def visit_Arel_Nodes_Having(o); end
244
+ def visit_Arel_Nodes_In(o); end
245
+ def visit_Arel_Nodes_InfixOperation(o); end
246
+ def visit_Arel_Nodes_InnerJoin(o); end
247
+ def visit_Arel_Nodes_InsertStatement(o); end
248
+ def visit_Arel_Nodes_JoinSource(o); end
249
+ def visit_Arel_Nodes_LessThan(o); end
250
+ def visit_Arel_Nodes_LessThanOrEqual(o); end
251
+ def visit_Arel_Nodes_Limit(o); end
252
+ def visit_Arel_Nodes_Lock(o); end
253
+ def visit_Arel_Nodes_Matches(o); end
254
+ def visit_Arel_Nodes_Max(o); end
255
+ def visit_Arel_Nodes_Min(o); end
256
+ def visit_Arel_Nodes_NamedFunction(o); end
257
+ def visit_Arel_Nodes_Node(o); end
258
+ def visit_Arel_Nodes_Not(o); end
259
+ def visit_Arel_Nodes_NotEqual(o); end
260
+ def visit_Arel_Nodes_NotIn(o); end
261
+ def visit_Arel_Nodes_NotRegexp(o); end
262
+ def visit_Arel_Nodes_Offset(o); end
263
+ def visit_Arel_Nodes_On(o); end
264
+ def visit_Arel_Nodes_Or(o); end
265
+ def visit_Arel_Nodes_Ordering(o); end
266
+ def visit_Arel_Nodes_OuterJoin(o); end
267
+ def visit_Arel_Nodes_Regexp(o); end
268
+ def visit_Arel_Nodes_RightOuterJoin(o); end
269
+ def visit_Arel_Nodes_RollUp(o); end
270
+ def visit_Arel_Nodes_SelectCore(o); end
271
+ def visit_Arel_Nodes_SelectStatement(o); end
272
+ def visit_Arel_Nodes_SqlLiteral(o); end
273
+ def visit_Arel_Nodes_StringJoin(o); end
274
+ def visit_Arel_Nodes_Sum(o); end
275
+ def visit_Arel_Nodes_TableAlias(o); end
276
+ def visit_Arel_Nodes_Top(o); end
277
+ def visit_Arel_Nodes_True(o); end
278
+ def visit_Arel_Nodes_UnqualifiedColumn(o); end
279
+ def visit_Arel_Nodes_UpdateStatement(o); end
280
+ def visit_Arel_Nodes_Values(o); end
281
+ def visit_Arel_Nodes_When(o); end
282
+ def visit_Arel_Nodes_Window(o); end
283
+ def visit_Arel_Table(o); end
284
+ def visit_Array(o); end
285
+ def visit_BigDecimal(o); end
286
+ def visit_Bignum(o); end
287
+ def visit_Class(o); end
288
+ def visit_Date(o); end
289
+ def visit_DateTime(o); end
290
+ def visit_FalseClass(o); end
291
+ def visit_Fixnum(o); end
292
+ def visit_Float(o); end
293
+ def visit_Hash(o); end
294
+ def visit_Integer(o); end
295
+ def visit_NilClass(o); end
296
+ def visit_Set(o); end
297
+ def visit_String(o); end
298
+ def visit_Symbol(o); end
299
+ def visit_Time(o); end
300
+ def visit_TrueClass(o); end
301
+ end
302
+ class Arel::Visitors::Reduce < Arel::Visitors::Visitor
303
+ def accept(object, collector); end
304
+ def visit(object, collector); end
305
+ end
306
+ class Arel::Visitors::UnsupportedVisitError < StandardError
307
+ def initialize(object); end
308
+ end
309
+ class Arel::Visitors::ToSql < Arel::Visitors::Reduce
310
+ def aggregate(name, o, collector); end
311
+ def build_subselect(key, o); end
312
+ def collect_nodes_for(nodes, collector, spacer, connector = nil); end
313
+ def compile(node, &block); end
314
+ def infix_value(o, collector, value); end
315
+ def initialize(connection); end
316
+ def inject_join(list, collector, join_str); end
317
+ def literal(o, collector); end
318
+ def maybe_visit(thing, collector); end
319
+ def quote(value); end
320
+ def quote_column_name(name); end
321
+ def quote_table_name(name); end
322
+ def quoted(o, a); end
323
+ def unsupported(o, collector); end
324
+ def visit_ActiveSupport_Multibyte_Chars(o, collector); end
325
+ def visit_ActiveSupport_StringInquirer(o, collector); end
326
+ def visit_Arel_Attributes_Attribute(o, collector); end
327
+ def visit_Arel_Attributes_Boolean(o, collector); end
328
+ def visit_Arel_Attributes_Decimal(o, collector); end
329
+ def visit_Arel_Attributes_Float(o, collector); end
330
+ def visit_Arel_Attributes_Integer(o, collector); end
331
+ def visit_Arel_Attributes_String(o, collector); end
332
+ def visit_Arel_Attributes_Time(o, collector); end
333
+ def visit_Arel_Nodes_Addition(o, collector); end
334
+ def visit_Arel_Nodes_And(o, collector); end
335
+ def visit_Arel_Nodes_As(o, collector); end
336
+ def visit_Arel_Nodes_Ascending(o, collector); end
337
+ def visit_Arel_Nodes_Assignment(o, collector); end
338
+ def visit_Arel_Nodes_Avg(o, collector); end
339
+ def visit_Arel_Nodes_Between(o, collector); end
340
+ def visit_Arel_Nodes_Bin(o, collector); end
341
+ def visit_Arel_Nodes_BindParam(o, collector); end
342
+ def visit_Arel_Nodes_Case(o, collector); end
343
+ def visit_Arel_Nodes_Casted(o, collector); end
344
+ def visit_Arel_Nodes_Count(o, collector); end
345
+ def visit_Arel_Nodes_CurrentRow(o, collector); end
346
+ def visit_Arel_Nodes_DeleteStatement(o, collector); end
347
+ def visit_Arel_Nodes_Descending(o, collector); end
348
+ def visit_Arel_Nodes_Distinct(o, collector); end
349
+ def visit_Arel_Nodes_DistinctOn(o, collector); end
350
+ def visit_Arel_Nodes_Division(o, collector); end
351
+ def visit_Arel_Nodes_DoesNotMatch(o, collector); end
352
+ def visit_Arel_Nodes_Else(o, collector); end
353
+ def visit_Arel_Nodes_Equality(o, collector); end
354
+ def visit_Arel_Nodes_Except(o, collector); end
355
+ def visit_Arel_Nodes_Exists(o, collector); end
356
+ def visit_Arel_Nodes_Extract(o, collector); end
357
+ def visit_Arel_Nodes_False(o, collector); end
358
+ def visit_Arel_Nodes_Following(o, collector); end
359
+ def visit_Arel_Nodes_FullOuterJoin(o, collector); end
360
+ def visit_Arel_Nodes_GreaterThan(o, collector); end
361
+ def visit_Arel_Nodes_GreaterThanOrEqual(o, collector); end
362
+ def visit_Arel_Nodes_Group(o, collector); end
363
+ def visit_Arel_Nodes_Grouping(o, collector); end
364
+ def visit_Arel_Nodes_In(o, collector); end
365
+ def visit_Arel_Nodes_InfixOperation(o, collector); end
366
+ def visit_Arel_Nodes_InnerJoin(o, collector); end
367
+ def visit_Arel_Nodes_InsertStatement(o, collector); end
368
+ def visit_Arel_Nodes_Intersect(o, collector); end
369
+ def visit_Arel_Nodes_JoinSource(o, collector); end
370
+ def visit_Arel_Nodes_LessThan(o, collector); end
371
+ def visit_Arel_Nodes_LessThanOrEqual(o, collector); end
372
+ def visit_Arel_Nodes_Limit(o, collector); end
373
+ def visit_Arel_Nodes_Lock(o, collector); end
374
+ def visit_Arel_Nodes_Matches(o, collector); end
375
+ def visit_Arel_Nodes_Max(o, collector); end
376
+ def visit_Arel_Nodes_Min(o, collector); end
377
+ def visit_Arel_Nodes_Multiplication(o, collector); end
378
+ def visit_Arel_Nodes_NamedFunction(o, collector); end
379
+ def visit_Arel_Nodes_NamedWindow(o, collector); end
380
+ def visit_Arel_Nodes_Not(o, collector); end
381
+ def visit_Arel_Nodes_NotEqual(o, collector); end
382
+ def visit_Arel_Nodes_NotIn(o, collector); end
383
+ def visit_Arel_Nodes_NotRegexp(o, collector); end
384
+ def visit_Arel_Nodes_Offset(o, collector); end
385
+ def visit_Arel_Nodes_On(o, collector); end
386
+ def visit_Arel_Nodes_Or(o, collector); end
387
+ def visit_Arel_Nodes_OuterJoin(o, collector); end
388
+ def visit_Arel_Nodes_Over(o, collector); end
389
+ def visit_Arel_Nodes_Preceding(o, collector); end
390
+ def visit_Arel_Nodes_Quoted(o, collector); end
391
+ def visit_Arel_Nodes_Range(o, collector); end
392
+ def visit_Arel_Nodes_Regexp(o, collector); end
393
+ def visit_Arel_Nodes_RightOuterJoin(o, collector); end
394
+ def visit_Arel_Nodes_Rows(o, collector); end
395
+ def visit_Arel_Nodes_SelectCore(o, collector); end
396
+ def visit_Arel_Nodes_SelectOptions(o, collector); end
397
+ def visit_Arel_Nodes_SelectStatement(o, collector); end
398
+ def visit_Arel_Nodes_SqlLiteral(o, collector); end
399
+ def visit_Arel_Nodes_StringJoin(o, collector); end
400
+ def visit_Arel_Nodes_Subtraction(o, collector); end
401
+ def visit_Arel_Nodes_Sum(o, collector); end
402
+ def visit_Arel_Nodes_TableAlias(o, collector); end
403
+ def visit_Arel_Nodes_Top(o, collector); end
404
+ def visit_Arel_Nodes_True(o, collector); end
405
+ def visit_Arel_Nodes_UnaryOperation(o, collector); end
406
+ def visit_Arel_Nodes_Union(o, collector); end
407
+ def visit_Arel_Nodes_UnionAll(o, collector); end
408
+ def visit_Arel_Nodes_UnqualifiedColumn(o, collector); end
409
+ def visit_Arel_Nodes_UpdateStatement(o, collector); end
410
+ def visit_Arel_Nodes_Values(o, collector); end
411
+ def visit_Arel_Nodes_When(o, collector); end
412
+ def visit_Arel_Nodes_Window(o, collector); end
413
+ def visit_Arel_Nodes_With(o, collector); end
414
+ def visit_Arel_Nodes_WithRecursive(o, collector); end
415
+ def visit_Arel_SelectManager(o, collector); end
416
+ def visit_Arel_Table(o, collector); end
417
+ def visit_Array(o, collector); end
418
+ def visit_BigDecimal(o, collector); end
419
+ def visit_Bignum(o, collector); end
420
+ def visit_Class(o, collector); end
421
+ def visit_Date(o, collector); end
422
+ def visit_DateTime(o, collector); end
423
+ def visit_FalseClass(o, collector); end
424
+ def visit_Fixnum(o, collector); end
425
+ def visit_Float(o, collector); end
426
+ def visit_Hash(o, collector); end
427
+ def visit_Integer(o, collector); end
428
+ def visit_NilClass(o, collector); end
429
+ def visit_Set(o, collector); end
430
+ def visit_String(o, collector); end
431
+ def visit_Symbol(o, collector); end
432
+ def visit_Time(o, collector); end
433
+ def visit_TrueClass(o, collector); end
434
+ end
435
+ class Arel::Visitors::SQLite < Arel::Visitors::ToSql
436
+ def visit_Arel_Nodes_False(o, collector); end
437
+ def visit_Arel_Nodes_Lock(o, collector); end
438
+ def visit_Arel_Nodes_SelectStatement(o, collector); end
439
+ def visit_Arel_Nodes_True(o, collector); end
440
+ end
441
+ class Arel::Visitors::PostgreSQL < Arel::Visitors::ToSql
442
+ def grouping_array_or_grouping_element(o, collector); end
443
+ def visit_Arel_Nodes_BindParam(o, collector); end
444
+ def visit_Arel_Nodes_Cube(o, collector); end
445
+ def visit_Arel_Nodes_DistinctOn(o, collector); end
446
+ def visit_Arel_Nodes_DoesNotMatch(o, collector); end
447
+ def visit_Arel_Nodes_GroupingElement(o, collector); end
448
+ def visit_Arel_Nodes_GroupingSet(o, collector); end
449
+ def visit_Arel_Nodes_Matches(o, collector); end
450
+ def visit_Arel_Nodes_NotRegexp(o, collector); end
451
+ def visit_Arel_Nodes_Regexp(o, collector); end
452
+ def visit_Arel_Nodes_RollUp(o, collector); end
453
+ end
454
+ class Arel::Visitors::MySQL < Arel::Visitors::ToSql
455
+ def visit_Arel_Nodes_Bin(o, collector); end
456
+ def visit_Arel_Nodes_Concat(o, collector); end
457
+ def visit_Arel_Nodes_SelectCore(o, collector); end
458
+ def visit_Arel_Nodes_SelectStatement(o, collector); end
459
+ def visit_Arel_Nodes_Union(o, collector, suppress_parens = nil); end
460
+ def visit_Arel_Nodes_UpdateStatement(o, collector); end
461
+ end
462
+ class Arel::Visitors::MSSQL < Arel::Visitors::ToSql
463
+ def determine_order_by(orders, x); end
464
+ def find_left_table_pk(o); end
465
+ def find_primary_key(o); end
466
+ def get_offset_limit_clause(o); end
467
+ def initialize(*arg0); end
468
+ def row_num_literal(order_by); end
469
+ def select_count?(x); end
470
+ def visit_Arel_Nodes_DeleteStatement(o, collector); end
471
+ def visit_Arel_Nodes_SelectStatement(o, collector); end
472
+ def visit_Arel_Nodes_Top(o); end
473
+ def visit_Arel_Visitors_MSSQL_RowNumber(o, collector); end
474
+ end
475
+ class Arel::Visitors::MSSQL::RowNumber < Struct
476
+ def children; end
477
+ def children=(_); end
478
+ def self.[](*arg0); end
479
+ def self.inspect; end
480
+ def self.members; end
481
+ def self.new(*arg0); end
482
+ end
483
+ class Arel::Visitors::Oracle < Arel::Visitors::ToSql
484
+ def order_hacks(o); end
485
+ def split_order_string(string); end
486
+ def visit_Arel_Nodes_BindParam(o, collector); end
487
+ def visit_Arel_Nodes_Except(o, collector); end
488
+ def visit_Arel_Nodes_Limit(o, collector); end
489
+ def visit_Arel_Nodes_Offset(o, collector); end
490
+ def visit_Arel_Nodes_SelectStatement(o, collector); end
491
+ def visit_Arel_Nodes_UpdateStatement(o, collector); end
492
+ end
493
+ class Arel::Visitors::Oracle12 < Arel::Visitors::ToSql
494
+ def visit_Arel_Nodes_BindParam(o, collector); end
495
+ def visit_Arel_Nodes_Except(o, collector); end
496
+ def visit_Arel_Nodes_Limit(o, collector); end
497
+ def visit_Arel_Nodes_Offset(o, collector); end
498
+ def visit_Arel_Nodes_SelectOptions(o, collector); end
499
+ def visit_Arel_Nodes_SelectStatement(o, collector); end
500
+ def visit_Arel_Nodes_UpdateStatement(o, collector); end
501
+ end
502
+ class Arel::Visitors::WhereSql < Arel::Visitors::ToSql
503
+ def initialize(inner_visitor, *args, &block); end
504
+ def visit_Arel_Nodes_SelectCore(o, collector); end
505
+ end
506
+ class Arel::Visitors::Dot < Arel::Visitors::Visitor
507
+ def accept(object, collector); end
508
+ def binary(o); end
509
+ def edge(name); end
510
+ def extract(o); end
511
+ def function(o); end
512
+ def initialize; end
513
+ def named_window(o); end
514
+ def nary(o); end
515
+ def quote(string); end
516
+ def to_dot; end
517
+ def unary(o); end
518
+ def visit(o); end
519
+ def visit_Arel_Attribute(o); end
520
+ def visit_Arel_Attributes_Attribute(o); end
521
+ def visit_Arel_Attributes_Boolean(o); end
522
+ def visit_Arel_Attributes_Float(o); end
523
+ def visit_Arel_Attributes_Integer(o); end
524
+ def visit_Arel_Attributes_String(o); end
525
+ def visit_Arel_Attributes_Time(o); end
526
+ def visit_Arel_Nodes_And(o); end
527
+ def visit_Arel_Nodes_As(o); end
528
+ def visit_Arel_Nodes_Assignment(o); end
529
+ def visit_Arel_Nodes_Avg(o); end
530
+ def visit_Arel_Nodes_Between(o); end
531
+ def visit_Arel_Nodes_BindParam(o); end
532
+ def visit_Arel_Nodes_Casted(o); end
533
+ def visit_Arel_Nodes_Concat(o); end
534
+ def visit_Arel_Nodes_Count(o); end
535
+ def visit_Arel_Nodes_Cube(o); end
536
+ def visit_Arel_Nodes_DeleteStatement(o); end
537
+ def visit_Arel_Nodes_DoesNotMatch(o); end
538
+ def visit_Arel_Nodes_Equality(o); end
539
+ def visit_Arel_Nodes_Exists(o); end
540
+ def visit_Arel_Nodes_Extract(o); end
541
+ def visit_Arel_Nodes_Following(o); end
542
+ def visit_Arel_Nodes_FullOuterJoin(o); end
543
+ def visit_Arel_Nodes_GreaterThan(o); end
544
+ def visit_Arel_Nodes_GreaterThanOrEqual(o); end
545
+ def visit_Arel_Nodes_Group(o); end
546
+ def visit_Arel_Nodes_Grouping(o); end
547
+ def visit_Arel_Nodes_GroupingElement(o); end
548
+ def visit_Arel_Nodes_GroupingSet(o); end
549
+ def visit_Arel_Nodes_Having(o); end
550
+ def visit_Arel_Nodes_In(o); end
551
+ def visit_Arel_Nodes_InnerJoin(o); end
552
+ def visit_Arel_Nodes_InsertStatement(o); end
553
+ def visit_Arel_Nodes_JoinSource(o); end
554
+ def visit_Arel_Nodes_LessThan(o); end
555
+ def visit_Arel_Nodes_LessThanOrEqual(o); end
556
+ def visit_Arel_Nodes_Limit(o); end
557
+ def visit_Arel_Nodes_Matches(o); end
558
+ def visit_Arel_Nodes_Max(o); end
559
+ def visit_Arel_Nodes_Min(o); end
560
+ def visit_Arel_Nodes_NamedFunction(o); end
561
+ def visit_Arel_Nodes_NamedWindow(o); end
562
+ def visit_Arel_Nodes_Not(o); end
563
+ def visit_Arel_Nodes_NotEqual(o); end
564
+ def visit_Arel_Nodes_NotIn(o); end
565
+ def visit_Arel_Nodes_Offset(o); end
566
+ def visit_Arel_Nodes_On(o); end
567
+ def visit_Arel_Nodes_Or(o); end
568
+ def visit_Arel_Nodes_Ordering(o); end
569
+ def visit_Arel_Nodes_OuterJoin(o); end
570
+ def visit_Arel_Nodes_Over(o); end
571
+ def visit_Arel_Nodes_Preceding(o); end
572
+ def visit_Arel_Nodes_Range(o); end
573
+ def visit_Arel_Nodes_RightOuterJoin(o); end
574
+ def visit_Arel_Nodes_RollUp(o); end
575
+ def visit_Arel_Nodes_Rows(o); end
576
+ def visit_Arel_Nodes_SelectCore(o); end
577
+ def visit_Arel_Nodes_SelectStatement(o); end
578
+ def visit_Arel_Nodes_SqlLiteral(o); end
579
+ def visit_Arel_Nodes_StringJoin(o); end
580
+ def visit_Arel_Nodes_Sum(o); end
581
+ def visit_Arel_Nodes_TableAlias(o); end
582
+ def visit_Arel_Nodes_Top(o); end
583
+ def visit_Arel_Nodes_UnqualifiedColumn(o); end
584
+ def visit_Arel_Nodes_UpdateStatement(o); end
585
+ def visit_Arel_Nodes_Values(o); end
586
+ def visit_Arel_Nodes_Window(o); end
587
+ def visit_Arel_Table(o); end
588
+ def visit_Array(o); end
589
+ def visit_BigDecimal(o); end
590
+ def visit_Date(o); end
591
+ def visit_DateTime(o); end
592
+ def visit_FalseClass(o); end
593
+ def visit_Fixnum(o); end
594
+ def visit_Float(o); end
595
+ def visit_Hash(o); end
596
+ def visit_Integer(o); end
597
+ def visit_NilClass(o); end
598
+ def visit_Set(o); end
599
+ def visit_String(o); end
600
+ def visit_Symbol(o); end
601
+ def visit_Time(o); end
602
+ def visit_TrueClass(o); end
603
+ def visit_edge(o, method); end
604
+ def window(o); end
605
+ def with_node(node); end
606
+ end
607
+ class Arel::Visitors::Dot::Node
608
+ def fields; end
609
+ def fields=(arg0); end
610
+ def id; end
611
+ def id=(arg0); end
612
+ def initialize(name, id, fields = nil); end
613
+ def name; end
614
+ def name=(arg0); end
615
+ end
616
+ class Anonymous_Struct_9 < Struct
617
+ def from; end
618
+ def from=(_); end
619
+ def name; end
620
+ def name=(_); end
621
+ def self.[](*arg0); end
622
+ def self.inspect; end
623
+ def self.members; end
624
+ def self.new(*arg0); end
625
+ def to; end
626
+ def to=(_); end
627
+ end
628
+ class Arel::Visitors::Dot::Edge < Anonymous_Struct_9
629
+ end
630
+ class Arel::Visitors::IBM_DB < Arel::Visitors::ToSql
631
+ def visit_Arel_Nodes_Limit(o, collector); end
632
+ end
633
+ class Arel::Visitors::Informix < Arel::Visitors::ToSql
634
+ def visit_Arel_Nodes_Limit(o, collector); end
635
+ def visit_Arel_Nodes_Offset(o, collector); end
636
+ def visit_Arel_Nodes_SelectCore(o, collector); end
637
+ def visit_Arel_Nodes_SelectStatement(o, collector); end
638
+ end
639
+ module Arel::Collectors
640
+ end
641
+ class Arel::Collectors::PlainString
642
+ def <<(str); end
643
+ def initialize; end
644
+ def value; end
645
+ end
646
+ class Arel::Collectors::SQLString < Arel::Collectors::PlainString
647
+ def add_bind(bind); end
648
+ def compile(bvs); end
649
+ def initialize(*arg0); end
650
+ end
651
+ class Arel::TreeManager
652
+ def ast; end
653
+ def bind_values; end
654
+ def bind_values=(arg0); end
655
+ def engine; end
656
+ def initialize; end
657
+ def initialize_copy(other); end
658
+ def to_dot; end
659
+ def to_sql(engine = nil); end
660
+ def where(expr); end
661
+ include Arel::FactoryMethods
662
+ end
663
+ class Arel::InsertManager < Arel::TreeManager
664
+ def columns; end
665
+ def create_values(values, columns); end
666
+ def initialize; end
667
+ def insert(fields); end
668
+ def into(table); end
669
+ def select(select); end
670
+ def values=(val); end
671
+ end
672
+ class Arel::SelectManager < Arel::TreeManager
673
+ def as(other); end
674
+ def collapse(exprs, existing = nil); end
675
+ def constraints; end
676
+ def distinct(value = nil); end
677
+ def distinct_on(value); end
678
+ def except(other); end
679
+ def exists; end
680
+ def from(table); end
681
+ def froms; end
682
+ def group(*columns); end
683
+ def having(expr); end
684
+ def initialize(table = nil); end
685
+ def initialize_copy(other); end
686
+ def intersect(other); end
687
+ def join(relation, klass = nil); end
688
+ def join_sources; end
689
+ def limit; end
690
+ def limit=(limit); end
691
+ def lock(locking = nil); end
692
+ def locked; end
693
+ def minus(other); end
694
+ def offset; end
695
+ def offset=(amount); end
696
+ def on(*exprs); end
697
+ def order(*expr); end
698
+ def orders; end
699
+ def outer_join(relation); end
700
+ def project(*projections); end
701
+ def projections; end
702
+ def projections=(projections); end
703
+ def skip(amount); end
704
+ def source; end
705
+ def take(limit); end
706
+ def taken; end
707
+ def union(operation, other = nil); end
708
+ def where_sql(engine = nil); end
709
+ def window(name); end
710
+ def with(*subqueries); end
711
+ include Arel::Crud
712
+ end
713
+ class Anonymous_Struct_10 < Struct
714
+ def data; end
715
+ def data=(_); end
716
+ def self.[](*arg0); end
717
+ def self.inspect; end
718
+ def self.members; end
719
+ def self.new(*arg0); end
720
+ end
721
+ class Arel::SelectManager::Row < Anonymous_Struct_10
722
+ def id; end
723
+ def method_missing(name, *args); end
724
+ end
725
+ class Arel::UpdateManager < Arel::TreeManager
726
+ def initialize; end
727
+ def key; end
728
+ def key=(key); end
729
+ def order(*expr); end
730
+ def set(values); end
731
+ def table(table); end
732
+ def take(limit); end
733
+ def where(expr); end
734
+ def wheres=(exprs); end
735
+ end
736
+ class Arel::DeleteManager < Arel::TreeManager
737
+ def from(relation); end
738
+ def initialize; end
739
+ def take(limit); end
740
+ def wheres=(list); end
741
+ end
742
+ module Arel::Nodes
743
+ def self.build_quoted(other, attribute = nil); end
744
+ end
745
+ class Arel::Nodes::Node
746
+ def and(right); end
747
+ def each(&block); end
748
+ def not; end
749
+ def or(right); end
750
+ def to_sql(engine = nil); end
751
+ include Arel::FactoryMethods
752
+ include Enumerable
753
+ end
754
+ class Arel::Nodes::SelectStatement < Arel::Nodes::Node
755
+ def ==(other); end
756
+ def cores; end
757
+ def eql?(other); end
758
+ def hash; end
759
+ def initialize(cores = nil); end
760
+ def initialize_copy(other); end
761
+ def limit; end
762
+ def limit=(arg0); end
763
+ def lock; end
764
+ def lock=(arg0); end
765
+ def offset; end
766
+ def offset=(arg0); end
767
+ def orders; end
768
+ def orders=(arg0); end
769
+ def with; end
770
+ def with=(arg0); end
771
+ end
772
+ class Arel::Nodes::SelectCore < Arel::Nodes::Node
773
+ def ==(other); end
774
+ def eql?(other); end
775
+ def from; end
776
+ def from=(value); end
777
+ def froms; end
778
+ def froms=(value); end
779
+ def groups; end
780
+ def groups=(arg0); end
781
+ def hash; end
782
+ def havings; end
783
+ def havings=(arg0); end
784
+ def initialize; end
785
+ def initialize_copy(other); end
786
+ def projections; end
787
+ def projections=(arg0); end
788
+ def set_quantifier; end
789
+ def set_quantifier=(arg0); end
790
+ def source; end
791
+ def source=(arg0); end
792
+ def top; end
793
+ def top=(arg0); end
794
+ def wheres; end
795
+ def wheres=(arg0); end
796
+ def windows; end
797
+ def windows=(arg0); end
798
+ end
799
+ class Arel::Nodes::InsertStatement < Arel::Nodes::Node
800
+ def ==(other); end
801
+ def columns; end
802
+ def columns=(arg0); end
803
+ def eql?(other); end
804
+ def hash; end
805
+ def initialize; end
806
+ def initialize_copy(other); end
807
+ def relation; end
808
+ def relation=(arg0); end
809
+ def select; end
810
+ def select=(arg0); end
811
+ def values; end
812
+ def values=(arg0); end
813
+ end
814
+ class Arel::Nodes::UpdateStatement < Arel::Nodes::Node
815
+ def ==(other); end
816
+ def eql?(other); end
817
+ def hash; end
818
+ def initialize; end
819
+ def initialize_copy(other); end
820
+ def key; end
821
+ def key=(arg0); end
822
+ def limit; end
823
+ def limit=(arg0); end
824
+ def orders; end
825
+ def orders=(arg0); end
826
+ def relation; end
827
+ def relation=(arg0); end
828
+ def values; end
829
+ def values=(arg0); end
830
+ def wheres; end
831
+ def wheres=(arg0); end
832
+ end
833
+ class Arel::Nodes::BindParam < Arel::Nodes::Node
834
+ def ==(other); end
835
+ end
836
+ class Arel::Nodes::Distinct < Arel::Nodes::Node
837
+ def eql?(other); end
838
+ def hash; end
839
+ end
840
+ class Arel::Nodes::True < Arel::Nodes::Node
841
+ def eql?(other); end
842
+ def hash; end
843
+ end
844
+ class Arel::Nodes::False < Arel::Nodes::Node
845
+ def eql?(other); end
846
+ def hash; end
847
+ end
848
+ class Arel::Nodes::Unary < Arel::Nodes::Node
849
+ def ==(other); end
850
+ def eql?(other); end
851
+ def expr; end
852
+ def expr=(arg0); end
853
+ def hash; end
854
+ def initialize(expr); end
855
+ def value; end
856
+ end
857
+ class Arel::Nodes::Bin < Arel::Nodes::Unary
858
+ end
859
+ class Arel::Nodes::Cube < Arel::Nodes::Unary
860
+ end
861
+ class Arel::Nodes::DistinctOn < Arel::Nodes::Unary
862
+ end
863
+ class Arel::Nodes::Group < Arel::Nodes::Unary
864
+ end
865
+ class Arel::Nodes::GroupingElement < Arel::Nodes::Unary
866
+ end
867
+ class Arel::Nodes::GroupingSet < Arel::Nodes::Unary
868
+ end
869
+ class Arel::Nodes::Limit < Arel::Nodes::Unary
870
+ end
871
+ class Arel::Nodes::Lock < Arel::Nodes::Unary
872
+ end
873
+ class Arel::Nodes::Not < Arel::Nodes::Unary
874
+ end
875
+ class Arel::Nodes::Offset < Arel::Nodes::Unary
876
+ end
877
+ class Arel::Nodes::On < Arel::Nodes::Unary
878
+ end
879
+ class Arel::Nodes::Ordering < Arel::Nodes::Unary
880
+ end
881
+ class Arel::Nodes::RollUp < Arel::Nodes::Unary
882
+ end
883
+ class Arel::Nodes::Top < Arel::Nodes::Unary
884
+ end
885
+ class Arel::Nodes::Grouping < Arel::Nodes::Unary
886
+ include Arel::Predications
887
+ end
888
+ class Arel::Nodes::Ascending < Arel::Nodes::Ordering
889
+ def ascending?; end
890
+ def descending?; end
891
+ def direction; end
892
+ def reverse; end
893
+ end
894
+ class Arel::Nodes::Descending < Arel::Nodes::Ordering
895
+ def ascending?; end
896
+ def descending?; end
897
+ def direction; end
898
+ def reverse; end
899
+ end
900
+ class Arel::Nodes::UnqualifiedColumn < Arel::Nodes::Unary
901
+ def attribute; end
902
+ def attribute=(arg0); end
903
+ def column; end
904
+ def name; end
905
+ def relation; end
906
+ end
907
+ class Arel::Nodes::With < Arel::Nodes::Unary
908
+ def children; end
909
+ end
910
+ class Arel::Nodes::WithRecursive < Arel::Nodes::With
911
+ end
912
+ class Arel::Nodes::Binary < Arel::Nodes::Node
913
+ def ==(other); end
914
+ def eql?(other); end
915
+ def hash; end
916
+ def initialize(left, right); end
917
+ def initialize_copy(other); end
918
+ def left; end
919
+ def left=(arg0); end
920
+ def right; end
921
+ def right=(arg0); end
922
+ end
923
+ class Arel::Nodes::As < Arel::Nodes::Binary
924
+ end
925
+ class Arel::Nodes::Assignment < Arel::Nodes::Binary
926
+ end
927
+ class Arel::Nodes::Between < Arel::Nodes::Binary
928
+ end
929
+ class Arel::Nodes::GreaterThan < Arel::Nodes::Binary
930
+ end
931
+ class Arel::Nodes::GreaterThanOrEqual < Arel::Nodes::Binary
932
+ end
933
+ class Arel::Nodes::Join < Arel::Nodes::Binary
934
+ end
935
+ class Arel::Nodes::LessThan < Arel::Nodes::Binary
936
+ end
937
+ class Arel::Nodes::LessThanOrEqual < Arel::Nodes::Binary
938
+ end
939
+ class Arel::Nodes::NotEqual < Arel::Nodes::Binary
940
+ end
941
+ class Arel::Nodes::NotIn < Arel::Nodes::Binary
942
+ end
943
+ class Arel::Nodes::Or < Arel::Nodes::Binary
944
+ end
945
+ class Arel::Nodes::Union < Arel::Nodes::Binary
946
+ end
947
+ class Arel::Nodes::UnionAll < Arel::Nodes::Binary
948
+ end
949
+ class Arel::Nodes::Intersect < Arel::Nodes::Binary
950
+ end
951
+ class Arel::Nodes::Except < Arel::Nodes::Binary
952
+ end
953
+ class Arel::Nodes::Equality < Arel::Nodes::Binary
954
+ def operand1; end
955
+ def operand2; end
956
+ def operator; end
957
+ end
958
+ class Arel::Nodes::In < Arel::Nodes::Equality
959
+ end
960
+ class Arel::Nodes::JoinSource < Arel::Nodes::Binary
961
+ def empty?; end
962
+ def initialize(single_source, joinop = nil); end
963
+ end
964
+ class Arel::Nodes::DeleteStatement < Arel::Nodes::Binary
965
+ def initialize(relation = nil, wheres = nil); end
966
+ def initialize_copy(other); end
967
+ def limit; end
968
+ def limit=(arg0); end
969
+ def relation; end
970
+ def relation=(arg0); end
971
+ def wheres; end
972
+ def wheres=(arg0); end
973
+ end
974
+ class Arel::Nodes::TableAlias < Arel::Nodes::Binary
975
+ def [](name); end
976
+ def able_to_type_cast?; end
977
+ def name; end
978
+ def relation; end
979
+ def table_alias; end
980
+ def table_name; end
981
+ def type_cast_for_database(*args); end
982
+ end
983
+ class Arel::Nodes::InfixOperation < Arel::Nodes::Binary
984
+ def initialize(operator, left, right); end
985
+ def operator; end
986
+ include Arel::AliasPredication
987
+ include Arel::Expressions
988
+ include Arel::Math
989
+ include Arel::OrderPredications
990
+ include Arel::Predications
991
+ end
992
+ class Arel::Nodes::Multiplication < Arel::Nodes::InfixOperation
993
+ def initialize(left, right); end
994
+ end
995
+ class Arel::Nodes::Division < Arel::Nodes::InfixOperation
996
+ def initialize(left, right); end
997
+ end
998
+ class Arel::Nodes::Addition < Arel::Nodes::InfixOperation
999
+ def initialize(left, right); end
1000
+ end
1001
+ class Arel::Nodes::Subtraction < Arel::Nodes::InfixOperation
1002
+ def initialize(left, right); end
1003
+ end
1004
+ class Arel::Nodes::Concat < Arel::Nodes::InfixOperation
1005
+ def initialize(left, right); end
1006
+ end
1007
+ class Arel::Nodes::BitwiseAnd < Arel::Nodes::InfixOperation
1008
+ def initialize(left, right); end
1009
+ end
1010
+ class Arel::Nodes::BitwiseOr < Arel::Nodes::InfixOperation
1011
+ def initialize(left, right); end
1012
+ end
1013
+ class Arel::Nodes::BitwiseXor < Arel::Nodes::InfixOperation
1014
+ def initialize(left, right); end
1015
+ end
1016
+ class Arel::Nodes::BitwiseShiftLeft < Arel::Nodes::InfixOperation
1017
+ def initialize(left, right); end
1018
+ end
1019
+ class Arel::Nodes::BitwiseShiftRight < Arel::Nodes::InfixOperation
1020
+ def initialize(left, right); end
1021
+ end
1022
+ class Arel::Nodes::UnaryOperation < Arel::Nodes::Unary
1023
+ def initialize(operator, operand); end
1024
+ def operator; end
1025
+ include Arel::AliasPredication
1026
+ include Arel::Expressions
1027
+ include Arel::Math
1028
+ include Arel::OrderPredications
1029
+ include Arel::Predications
1030
+ end
1031
+ class Arel::Nodes::BitwiseNot < Arel::Nodes::UnaryOperation
1032
+ def initialize(operand); end
1033
+ end
1034
+ class Arel::Nodes::Over < Arel::Nodes::Binary
1035
+ def initialize(left, right = nil); end
1036
+ def operator; end
1037
+ include Arel::AliasPredication
1038
+ end
1039
+ class Arel::Nodes::Matches < Arel::Nodes::Binary
1040
+ def case_sensitive; end
1041
+ def case_sensitive=(arg0); end
1042
+ def escape; end
1043
+ def initialize(left, right, escape = nil, case_sensitive = nil); end
1044
+ end
1045
+ class Arel::Nodes::DoesNotMatch < Arel::Nodes::Matches
1046
+ end
1047
+ class Arel::Nodes::Regexp < Arel::Nodes::Binary
1048
+ def case_sensitive; end
1049
+ def case_sensitive=(arg0); end
1050
+ def initialize(left, right, case_sensitive = nil); end
1051
+ end
1052
+ class Arel::Nodes::NotRegexp < Arel::Nodes::Regexp
1053
+ end
1054
+ class Arel::Nodes::And < Arel::Nodes::Node
1055
+ def ==(other); end
1056
+ def children; end
1057
+ def eql?(other); end
1058
+ def hash; end
1059
+ def initialize(children); end
1060
+ def left; end
1061
+ def right; end
1062
+ end
1063
+ class Arel::Nodes::Function < Arel::Nodes::Node
1064
+ def alias; end
1065
+ def alias=(arg0); end
1066
+ def as(aliaz); end
1067
+ def distinct; end
1068
+ def distinct=(arg0); end
1069
+ def eql?(other); end
1070
+ def expressions; end
1071
+ def expressions=(arg0); end
1072
+ def hash; end
1073
+ def initialize(expr, aliaz = nil); end
1074
+ include Arel::OrderPredications
1075
+ include Arel::Predications
1076
+ include Arel::WindowPredications
1077
+ end
1078
+ class Arel::Nodes::Sum < Arel::Nodes::Function
1079
+ end
1080
+ class Arel::Nodes::Exists < Arel::Nodes::Function
1081
+ end
1082
+ class Arel::Nodes::Max < Arel::Nodes::Function
1083
+ end
1084
+ class Arel::Nodes::Min < Arel::Nodes::Function
1085
+ end
1086
+ class Arel::Nodes::Avg < Arel::Nodes::Function
1087
+ end
1088
+ class Arel::Nodes::Count < Arel::Nodes::Function
1089
+ def initialize(expr, distinct = nil, aliaz = nil); end
1090
+ end
1091
+ class Arel::Nodes::Extract < Arel::Nodes::Unary
1092
+ def ==(other); end
1093
+ def eql?(other); end
1094
+ def field; end
1095
+ def field=(arg0); end
1096
+ def hash; end
1097
+ def initialize(expr, field); end
1098
+ include Arel::AliasPredication
1099
+ include Arel::Predications
1100
+ end
1101
+ class Arel::Nodes::Values < Arel::Nodes::Binary
1102
+ def columns; end
1103
+ def columns=(arg0); end
1104
+ def expressions; end
1105
+ def expressions=(arg0); end
1106
+ def initialize(exprs, columns = nil); end
1107
+ end
1108
+ class Arel::Nodes::NamedFunction < Arel::Nodes::Function
1109
+ def ==(other); end
1110
+ def eql?(other); end
1111
+ def hash; end
1112
+ def initialize(name, expr, aliaz = nil); end
1113
+ def name; end
1114
+ def name=(arg0); end
1115
+ end
1116
+ class Arel::Nodes::Window < Arel::Nodes::Node
1117
+ def ==(other); end
1118
+ def eql?(other); end
1119
+ def frame(expr); end
1120
+ def framing; end
1121
+ def framing=(arg0); end
1122
+ def hash; end
1123
+ def initialize; end
1124
+ def initialize_copy(other); end
1125
+ def order(*expr); end
1126
+ def orders; end
1127
+ def orders=(arg0); end
1128
+ def partition(*expr); end
1129
+ def partitions; end
1130
+ def partitions=(arg0); end
1131
+ def range(expr = nil); end
1132
+ def rows(expr = nil); end
1133
+ end
1134
+ class Arel::Nodes::NamedWindow < Arel::Nodes::Window
1135
+ def ==(other); end
1136
+ def eql?(other); end
1137
+ def hash; end
1138
+ def initialize(name); end
1139
+ def initialize_copy(other); end
1140
+ def name; end
1141
+ def name=(arg0); end
1142
+ end
1143
+ class Arel::Nodes::Rows < Arel::Nodes::Unary
1144
+ def initialize(expr = nil); end
1145
+ end
1146
+ class Arel::Nodes::Range < Arel::Nodes::Unary
1147
+ def initialize(expr = nil); end
1148
+ end
1149
+ class Arel::Nodes::CurrentRow < Arel::Nodes::Node
1150
+ def eql?(other); end
1151
+ def hash; end
1152
+ end
1153
+ class Arel::Nodes::Preceding < Arel::Nodes::Unary
1154
+ def initialize(expr = nil); end
1155
+ end
1156
+ class Arel::Nodes::Following < Arel::Nodes::Unary
1157
+ def initialize(expr = nil); end
1158
+ end
1159
+ class Arel::Nodes::Case < Arel::Nodes::Node
1160
+ def ==(other); end
1161
+ def case; end
1162
+ def case=(arg0); end
1163
+ def conditions; end
1164
+ def conditions=(arg0); end
1165
+ def default; end
1166
+ def default=(arg0); end
1167
+ def else(expression); end
1168
+ def eql?(other); end
1169
+ def hash; end
1170
+ def initialize(expression = nil, default = nil); end
1171
+ def initialize_copy(other); end
1172
+ def then(expression); end
1173
+ def when(condition, expression = nil); end
1174
+ include Arel::AliasPredication
1175
+ include Arel::OrderPredications
1176
+ include Arel::Predications
1177
+ end
1178
+ class Arel::Nodes::When < Arel::Nodes::Binary
1179
+ end
1180
+ class Arel::Nodes::Else < Arel::Nodes::Unary
1181
+ end
1182
+ class Arel::Nodes::FullOuterJoin < Arel::Nodes::Join
1183
+ end
1184
+ class Arel::Nodes::InnerJoin < Arel::Nodes::Join
1185
+ end
1186
+ class Arel::Nodes::OuterJoin < Arel::Nodes::Join
1187
+ end
1188
+ class Arel::Nodes::RightOuterJoin < Arel::Nodes::Join
1189
+ end
1190
+ class Arel::Nodes::StringJoin < Arel::Nodes::Join
1191
+ def initialize(left, right = nil); end
1192
+ end
1193
+ class Arel::Nodes::SqlLiteral < String
1194
+ def encode_with(coder); end
1195
+ include Arel::AliasPredication
1196
+ include Arel::Expressions
1197
+ include Arel::OrderPredications
1198
+ include Arel::Predications
1199
+ end
1200
+ class Arel::Nodes::Casted < Arel::Nodes::Node
1201
+ def ==(other); end
1202
+ def attribute; end
1203
+ def eql?(other); end
1204
+ def hash; end
1205
+ def initialize(val, attribute); end
1206
+ def nil?; end
1207
+ def val; end
1208
+ end
1209
+ class Arel::Nodes::Quoted < Arel::Nodes::Unary
1210
+ def nil?; end
1211
+ def val; end
1212
+ end
1213
+ class Arel::Collectors::Bind
1214
+ def <<(str); end
1215
+ def add_bind(bind); end
1216
+ def compile(bvs); end
1217
+ def initialize; end
1218
+ def substitute_binds(bvs); end
1219
+ def value; end
1220
+ end