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,1892 @@
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/activesupport/all/activesupport.rbi
9
+ #
10
+ # activesupport-4.2.11
11
+ class Array
12
+ def as_json(options = nil); end
13
+ def blank?; end
14
+ def deep_dup; end
15
+ def extract_options!; end
16
+ def fifth; end
17
+ def forty_two; end
18
+ def fourth; end
19
+ def from(position); end
20
+ def in_groups(number, fill_with = nil); end
21
+ def in_groups_of(number, fill_with = nil); end
22
+ def second; end
23
+ def self.try_convert(arg0); end
24
+ def split(value = nil); end
25
+ def third; end
26
+ def to(position); end
27
+ def to_default_s; end
28
+ def to_formatted_s(format = nil); end
29
+ def to_json(options = nil); end
30
+ def to_json_with_active_support_encoder(options = nil); end
31
+ def to_json_without_active_support_encoder(*arg0); end
32
+ def to_param; end
33
+ def to_query(key); end
34
+ def to_sentence(options = nil); end
35
+ def to_xml(options = nil); end
36
+ end
37
+ class Hash
38
+ def _deep_transform_keys_in_object!(object, &block); end
39
+ def _deep_transform_keys_in_object(object, &block); end
40
+ def as_json(options = nil); end
41
+ def assert_valid_keys(*valid_keys); end
42
+ def blank?; end
43
+ def deep_dup; end
44
+ def deep_merge!(other_hash, &block); end
45
+ def deep_merge(other_hash, &block); end
46
+ def deep_stringify_keys!; end
47
+ def deep_stringify_keys; end
48
+ def deep_symbolize_keys!; end
49
+ def deep_symbolize_keys; end
50
+ def deep_transform_keys!(&block); end
51
+ def deep_transform_keys(&block); end
52
+ def except!(*keys); end
53
+ def except(*keys); end
54
+ def extract!(*keys); end
55
+ def extractable_options?; end
56
+ def nested_under_indifferent_access; end
57
+ def reverse_merge!(other_hash); end
58
+ def reverse_merge(other_hash); end
59
+ def reverse_update(other_hash); end
60
+ def self.from_xml(xml, disallowed_types = nil); end
61
+ def self.try_convert(arg0); end
62
+ def slice!(*keys); end
63
+ def stringify_keys!; end
64
+ def stringify_keys; end
65
+ def symbolize_keys!; end
66
+ def symbolize_keys; end
67
+ def to_json(options = nil); end
68
+ def to_json_with_active_support_encoder(options = nil); end
69
+ def to_json_without_active_support_encoder(*arg0); end
70
+ def to_options!; end
71
+ def to_options; end
72
+ def to_param(namespace = nil); end
73
+ def to_query(namespace = nil); end
74
+ def to_xml(options = nil); end
75
+ def with_indifferent_access; end
76
+ end
77
+ module ActiveSupport
78
+ def parse_json_times; end
79
+ def parse_json_times=(obj); end
80
+ def self.eager_load!; end
81
+ def self.encode_big_decimal_as_string(*args, &block); end
82
+ def self.encode_big_decimal_as_string=(arg); end
83
+ def self.escape_html_entities_in_json(*args, &block); end
84
+ def self.escape_html_entities_in_json=(arg); end
85
+ def self.execute_hook(base, options, block); end
86
+ def self.gem_version; end
87
+ def self.json_encoder(*args, &block); end
88
+ def self.json_encoder=(arg); end
89
+ def self.on_load(name, options = nil, &block); end
90
+ def self.parse_json_times; end
91
+ def self.parse_json_times=(obj); end
92
+ def self.run_load_hooks(name, base = nil); end
93
+ def self.test_order; end
94
+ def self.test_order=(new_order); end
95
+ def self.time_precision(*args, &block); end
96
+ def self.time_precision=(arg); end
97
+ def self.to_time_preserves_timezone; end
98
+ def self.to_time_preserves_timezone=(value); end
99
+ def self.use_standard_json_time_format(*args, &block); end
100
+ def self.use_standard_json_time_format=(arg); end
101
+ def self.version; end
102
+ extend ActiveSupport::Autoload
103
+ end
104
+ module ActiveSupport::Inflector
105
+ def apply_inflections(word, rules); end
106
+ def camelize(term, uppercase_first_letter = nil); end
107
+ def classify(table_name); end
108
+ def const_regexp(camel_cased_word); end
109
+ def constantize(camel_cased_word); end
110
+ def dasherize(underscored_word); end
111
+ def deconstantize(path); end
112
+ def demodulize(path); end
113
+ def foreign_key(class_name, separate_class_name_and_id_with_underscore = nil); end
114
+ def humanize(lower_case_and_underscored_word, options = nil); end
115
+ def inflections(locale = nil); end
116
+ def ordinal(number); end
117
+ def ordinalize(number); end
118
+ def parameterize(string, sep = nil); end
119
+ def pluralize(word, locale = nil); end
120
+ def safe_constantize(camel_cased_word); end
121
+ def singularize(word, locale = nil); end
122
+ def tableize(class_name); end
123
+ def titleize(word); end
124
+ def transliterate(string, replacement = nil); end
125
+ def underscore(camel_cased_word); end
126
+ extend ActiveSupport::Inflector
127
+ extend ActiveSupport::Inflector
128
+ end
129
+ class ActiveSupport::Inflector::Inflections
130
+ def acronym(word); end
131
+ def acronym_regex; end
132
+ def acronyms; end
133
+ def clear(scope = nil); end
134
+ def human(rule, replacement); end
135
+ def humans; end
136
+ def initialize; end
137
+ def initialize_dup(orig); end
138
+ def irregular(singular, plural); end
139
+ def plural(rule, replacement); end
140
+ def plurals; end
141
+ def self.instance(locale = nil); end
142
+ def singular(rule, replacement); end
143
+ def singulars; end
144
+ def uncountable(*words); end
145
+ def uncountables; end
146
+ end
147
+ module ActiveSupport::Autoload
148
+ def autoload(const_name, path = nil); end
149
+ def autoload_at(path); end
150
+ def autoload_under(path); end
151
+ def autoloads; end
152
+ def eager_autoload; end
153
+ def eager_load!; end
154
+ def self.extended(base); end
155
+ end
156
+ module ActiveSupport::VERSION
157
+ end
158
+ class Module
159
+ def alias_attribute(new_name, old_name); end
160
+ def alias_method_chain(target, feature); end
161
+ def anonymous?; end
162
+ def attr_internal(*attrs); end
163
+ def attr_internal_accessor(*attrs); end
164
+ def attr_internal_define(attr_name, type); end
165
+ def attr_internal_ivar_name(attr); end
166
+ def attr_internal_reader(*attrs); end
167
+ def attr_internal_writer(*attrs); end
168
+ def cattr_accessor(*syms, &blk); end
169
+ def cattr_reader(*syms); end
170
+ def cattr_writer(*syms); end
171
+ def delegate(*methods); end
172
+ def deprecate(*method_names); end
173
+ def local_constants; end
174
+ def mattr_accessor(*syms, &blk); end
175
+ def mattr_reader(*syms); end
176
+ def mattr_writer(*syms); end
177
+ def methods_transplantable?; end
178
+ def parent; end
179
+ def parent_name; end
180
+ def parents; end
181
+ def qualified_const_defined?(path, search_parents = nil); end
182
+ def qualified_const_get(path); end
183
+ def qualified_const_set(path, value); end
184
+ def reachable?; end
185
+ def redefine_method(method, &block); end
186
+ def remove_possible_method(method); end
187
+ def self.attr_internal_naming_format; end
188
+ def self.attr_internal_naming_format=(arg0); end
189
+ include ActiveSupport::Dependencies::ModuleConstMissing
190
+ include Module::Concerning
191
+ end
192
+ module ActiveSupport::Concern
193
+ def append_features(base); end
194
+ def class_methods(&class_methods_module_definition); end
195
+ def included(base = nil, &block); end
196
+ def self.extended(base); end
197
+ end
198
+ class ActiveSupport::Concern::MultipleIncludedBlocks < StandardError
199
+ def initialize; end
200
+ end
201
+ module LoggerSilence
202
+ def silence(temporary_level = nil); end
203
+ extend ActiveSupport::Concern
204
+ end
205
+ module ActiveSupport::LoggerThreadSafeLevel
206
+ def after_initialize; end
207
+ def level; end
208
+ def local_level; end
209
+ def local_level=(level); end
210
+ def local_log_id; end
211
+ extend ActiveSupport::Concern
212
+ end
213
+ class ActiveSupport::Logger < Logger
214
+ def add(severity, message = nil, progname = nil, &block); end
215
+ def debug?; end
216
+ def error?; end
217
+ def fatal?; end
218
+ def info?; end
219
+ def initialize(*args); end
220
+ def self.broadcast(logger); end
221
+ def self.logger_outputs_to?(logger, *sources); end
222
+ def self.silencer; end
223
+ def self.silencer=(obj); end
224
+ def silencer; end
225
+ def silencer=(obj); end
226
+ def unknown?; end
227
+ def warn?; end
228
+ include ActiveSupport::LoggerThreadSafeLevel
229
+ include LoggerSilence
230
+ end
231
+ class ActiveSupport::Logger::SimpleFormatter < Logger::Formatter
232
+ def call(severity, timestamp, progname, msg); end
233
+ end
234
+ module DateAndTime
235
+ end
236
+ module DateAndTime::Compatibility
237
+ def preserve_timezone; end
238
+ def self.preserve_timezone; end
239
+ def self.preserve_timezone=(obj); end
240
+ end
241
+ module Kernel
242
+ def capture(stream); end
243
+ def class_eval(*args, &block); end
244
+ def concern(topic, &module_definition); end
245
+ def enable_warnings; end
246
+ def quietly; end
247
+ def silence(stream); end
248
+ def silence_stderr; end
249
+ def silence_stream(stream); end
250
+ def silence_warnings; end
251
+ def suppress(*exception_classes); end
252
+ def with_warnings(flag); end
253
+ end
254
+ class Module::DelegationError < NoMethodError
255
+ end
256
+ class ActiveSupport::Deprecation
257
+ def self.allocate; end
258
+ def self.behavior(*args, &block); end
259
+ def self.behavior=(arg); end
260
+ def self.debug(*args, &block); end
261
+ def self.debug=(arg); end
262
+ def self.deprecate_methods(*args, &block); end
263
+ def self.deprecation_horizon(*args, &block); end
264
+ def self.deprecation_horizon=(arg); end
265
+ def self.deprecation_warning(*args, &block); end
266
+ def self.gem_name(*args, &block); end
267
+ def self.gem_name=(arg); end
268
+ def self.initialize(*args, &block); end
269
+ def self.instance; end
270
+ def self.new(*arg0); end
271
+ def self.silence(*args, &block); end
272
+ def self.silenced(*args, &block); end
273
+ def self.silenced=(arg); end
274
+ def self.warn(*args, &block); end
275
+ extend ActiveSupport::Deprecation::InstanceDelegator::ClassMethods
276
+ extend Singleton::SingletonClassMethods
277
+ include ActiveSupport::Deprecation::Behavior
278
+ include ActiveSupport::Deprecation::InstanceDelegator
279
+ include ActiveSupport::Deprecation::MethodWrapper
280
+ include ActiveSupport::Deprecation::Reporting
281
+ include Singleton
282
+ end
283
+ module ActiveSupport::Deprecation::InstanceDelegator
284
+ def self.included(base); end
285
+ end
286
+ module ActiveSupport::Deprecation::InstanceDelegator::ClassMethods
287
+ def include(included_module); end
288
+ def method_added(method_name); end
289
+ end
290
+ module ActiveSupport::Notifications
291
+ def self.instrument(name, payload = nil); end
292
+ def self.instrumenter; end
293
+ def self.notifier; end
294
+ def self.notifier=(arg0); end
295
+ def self.publish(name, *args); end
296
+ def self.subscribe(*args, &block); end
297
+ def self.subscribed(callback, *args, &block); end
298
+ def self.unsubscribe(subscriber_or_name); end
299
+ end
300
+ class ActiveSupport::Notifications::Instrumenter
301
+ def finish(name, payload); end
302
+ def id; end
303
+ def initialize(notifier); end
304
+ def instrument(name, payload = nil); end
305
+ def start(name, payload); end
306
+ def unique_id; end
307
+ end
308
+ class ActiveSupport::Notifications::Event
309
+ def <<(event); end
310
+ def children; end
311
+ def duration; end
312
+ def end; end
313
+ def end=(arg0); end
314
+ def initialize(name, start, ending, transaction_id, payload); end
315
+ def name; end
316
+ def parent_of?(event); end
317
+ def payload; end
318
+ def time; end
319
+ def transaction_id; end
320
+ end
321
+ class ActiveSupport::Notifications::Fanout
322
+ def finish(name, id, payload); end
323
+ def initialize; end
324
+ def listeners_for(name); end
325
+ def listening?(name); end
326
+ def lock; end
327
+ def locked?; end
328
+ def publish(name, *args); end
329
+ def start(name, id, payload); end
330
+ def subscribe(pattern = nil, block = nil); end
331
+ def synchronize(&block); end
332
+ def try_lock; end
333
+ def unlock; end
334
+ def unsubscribe(subscriber_or_name); end
335
+ def wait; end
336
+ include Mutex_m
337
+ end
338
+ module ActiveSupport::Notifications::Fanout::Subscribers
339
+ def self.new(pattern, listener); end
340
+ end
341
+ class ActiveSupport::Notifications::Fanout::Subscribers::Evented
342
+ def finish(name, id, payload); end
343
+ def initialize(pattern, delegate); end
344
+ def matches?(name); end
345
+ def publish(name, *args); end
346
+ def start(name, id, payload); end
347
+ def subscribed_to?(name); end
348
+ end
349
+ class ActiveSupport::Notifications::Fanout::Subscribers::Timed < ActiveSupport::Notifications::Fanout::Subscribers::Evented
350
+ def finish(name, id, payload); end
351
+ def publish(name, *args); end
352
+ def start(name, id, payload); end
353
+ end
354
+ class ActiveSupport::Notifications::Fanout::Subscribers::AllMessages
355
+ def finish(name, id, payload); end
356
+ def initialize(delegate); end
357
+ def matches?(arg0); end
358
+ def publish(name, *args); end
359
+ def start(name, id, payload); end
360
+ def subscribed_to?(name); end
361
+ end
362
+ module ActiveSupport::PerThreadRegistry
363
+ def instance; end
364
+ def method_missing(name, *args, &block); end
365
+ def self.extended(object); end
366
+ end
367
+ class ActiveSupport::Notifications::InstrumentationRegistry
368
+ def initialize; end
369
+ def instrumenter_for(notifier); end
370
+ extend ActiveSupport::PerThreadRegistry
371
+ end
372
+ class ActiveSupport::DeprecationException < StandardError
373
+ end
374
+ module ActiveSupport::Deprecation::Behavior
375
+ def behavior; end
376
+ def behavior=(behavior); end
377
+ def debug; end
378
+ def debug=(arg0); end
379
+ end
380
+ module ActiveSupport::Deprecation::Reporting
381
+ def deprecated_method_warning(method_name, message = nil); end
382
+ def deprecation_caller_message(callstack); end
383
+ def deprecation_message(callstack, message = nil); end
384
+ def deprecation_warning(deprecated_method_name, message = nil, caller_backtrace = nil); end
385
+ def extract_callstack(callstack); end
386
+ def gem_name; end
387
+ def gem_name=(arg0); end
388
+ def silence; end
389
+ def silenced; end
390
+ def silenced=(arg0); end
391
+ def warn(message = nil, callstack = nil); end
392
+ end
393
+ module ActiveSupport::Deprecation::MethodWrapper
394
+ def deprecate_methods(target_module, *method_names); end
395
+ end
396
+ class ActiveSupport::Deprecation::DeprecationProxy
397
+ def inspect; end
398
+ def method_missing(called, *args, &block); end
399
+ def self.new(*args, &block); end
400
+ end
401
+ class ActiveSupport::Deprecation::DeprecatedObjectProxy < ActiveSupport::Deprecation::DeprecationProxy
402
+ def initialize(object, message, deprecator = nil); end
403
+ def target; end
404
+ def warn(callstack, called, args); end
405
+ end
406
+ class ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy < ActiveSupport::Deprecation::DeprecationProxy
407
+ def initialize(instance, method, var = nil, deprecator = nil); end
408
+ def target; end
409
+ def warn(callstack, called, args); end
410
+ end
411
+ class ActiveSupport::Deprecation::DeprecatedConstantProxy < ActiveSupport::Deprecation::DeprecationProxy
412
+ def class; end
413
+ def initialize(old_const, new_const, deprecator = nil); end
414
+ def target; end
415
+ def warn(callstack, called, args); end
416
+ end
417
+ class Object < BasicObject
418
+ def `(command); end
419
+ def acts_like?(duck); end
420
+ def as_json(options = nil); end
421
+ def blank?; end
422
+ def deep_dup; end
423
+ def duplicable?; end
424
+ def html_safe?; end
425
+ def in?(another_object); end
426
+ def instance_values; end
427
+ def instance_variable_names; end
428
+ def presence; end
429
+ def presence_in(another_object); end
430
+ def present?; end
431
+ def to_json(options = nil); end
432
+ def to_json_with_active_support_encoder(options = nil); end
433
+ def to_json_without_active_support_encoder(*arg0); end
434
+ def to_param; end
435
+ def to_query(key); end
436
+ def try!(*a, &b); end
437
+ def try(*a, &b); end
438
+ def with_options(options, &block); end
439
+ include ActiveSupport::Dependencies::Loadable
440
+ end
441
+ class NilClass
442
+ def as_json(options = nil); end
443
+ def blank?; end
444
+ def to_json(options = nil); end
445
+ def to_json_with_active_support_encoder(options = nil); end
446
+ def to_json_without_active_support_encoder(*arg0); end
447
+ def to_param; end
448
+ def try!(*args); end
449
+ def try(*args); end
450
+ end
451
+ class FalseClass
452
+ def as_json(options = nil); end
453
+ def blank?; end
454
+ def to_json(options = nil); end
455
+ def to_json_with_active_support_encoder(options = nil); end
456
+ def to_json_without_active_support_encoder(*arg0); end
457
+ def to_param; end
458
+ end
459
+ class TrueClass
460
+ def as_json(options = nil); end
461
+ def blank?; end
462
+ def to_json(options = nil); end
463
+ def to_json_with_active_support_encoder(options = nil); end
464
+ def to_json_without_active_support_encoder(*arg0); end
465
+ def to_param; end
466
+ end
467
+ class String
468
+ def acts_like_string?; end
469
+ def as_json(options = nil); end
470
+ def at(position); end
471
+ def blank?; end
472
+ def camelcase(first_letter = nil); end
473
+ def camelize(first_letter = nil); end
474
+ def classify; end
475
+ def constantize; end
476
+ def dasherize; end
477
+ def deconstantize; end
478
+ def demodulize; end
479
+ def ends_with?(*arg0); end
480
+ def exclude?(string); end
481
+ def first(limit = nil); end
482
+ def foreign_key(separate_class_name_and_id_with_underscore = nil); end
483
+ def from(position); end
484
+ def html_safe; end
485
+ def humanize(options = nil); end
486
+ def in_time_zone(zone = nil); end
487
+ def indent!(amount, indent_string = nil, indent_empty_lines = nil); end
488
+ def indent(amount, indent_string = nil, indent_empty_lines = nil); end
489
+ def inquiry; end
490
+ def is_utf8?; end
491
+ def last(limit = nil); end
492
+ def mb_chars; end
493
+ def parameterize(sep = nil); end
494
+ def pluralize(count = nil, locale = nil); end
495
+ def remove!(*patterns); end
496
+ def remove(*patterns); end
497
+ def safe_constantize; end
498
+ def singularize(locale = nil); end
499
+ def squish!; end
500
+ def squish; end
501
+ def starts_with?(*arg0); end
502
+ def strip_heredoc; end
503
+ def tableize; end
504
+ def titlecase; end
505
+ def titleize; end
506
+ def to(position); end
507
+ def to_date; end
508
+ def to_datetime; end
509
+ def to_json(options = nil); end
510
+ def to_json_with_active_support_encoder(options = nil); end
511
+ def to_json_without_active_support_encoder(*arg0); end
512
+ def to_time(form = nil); end
513
+ def truncate(truncate_at, options = nil); end
514
+ def truncate_words(words_count, options = nil); end
515
+ def underscore; end
516
+ end
517
+ class Numeric
518
+ def as_json(options = nil); end
519
+ def blank?; end
520
+ def byte; end
521
+ def bytes; end
522
+ def day; end
523
+ def days; end
524
+ def exabyte; end
525
+ def exabytes; end
526
+ def fortnight; end
527
+ def fortnights; end
528
+ def gigabyte; end
529
+ def gigabytes; end
530
+ def hour; end
531
+ def hours; end
532
+ def html_safe?; end
533
+ def in_milliseconds; end
534
+ def kilobyte; end
535
+ def kilobytes; end
536
+ def megabyte; end
537
+ def megabytes; end
538
+ def minute; end
539
+ def minutes; end
540
+ def petabyte; end
541
+ def petabytes; end
542
+ def second; end
543
+ def seconds; end
544
+ def terabyte; end
545
+ def terabytes; end
546
+ def to_formatted_s(format = nil, options = nil); end
547
+ def week; end
548
+ def weeks; end
549
+ end
550
+ class ActiveSupport::KeyGenerator
551
+ def generate_key(salt, key_size = nil); end
552
+ def initialize(secret, options = nil); end
553
+ end
554
+ class ActiveSupport::CachingKeyGenerator
555
+ def generate_key(salt, key_size = nil); end
556
+ def initialize(key_generator); end
557
+ end
558
+ class ActiveSupport::LegacyKeyGenerator
559
+ def ensure_secret_secure(secret); end
560
+ def generate_key(salt); end
561
+ def initialize(secret); end
562
+ end
563
+ module ActiveSupport::SecurityUtils
564
+ def secure_compare(a, b); end
565
+ def self.secure_compare(a, b); end
566
+ def self.variable_size_secure_compare(a, b); end
567
+ def variable_size_secure_compare(a, b); end
568
+ end
569
+ class ActiveSupport::MessageVerifier
570
+ def decode(data); end
571
+ def encode(data); end
572
+ def generate(value); end
573
+ def generate_digest(data); end
574
+ def initialize(secret, options = nil); end
575
+ def verify(signed_message); end
576
+ end
577
+ class ActiveSupport::MessageVerifier::InvalidSignature < StandardError
578
+ end
579
+ class ActiveSupport::OrderedOptions < Hash
580
+ def [](key); end
581
+ def []=(key, value); end
582
+ def _get(arg0); end
583
+ def method_missing(name, *args); end
584
+ def respond_to_missing?(name, include_private); end
585
+ end
586
+ class ActiveSupport::InheritableOptions < ActiveSupport::OrderedOptions
587
+ def inheritable_copy; end
588
+ def initialize(parent = nil); end
589
+ end
590
+ class Symbol
591
+ def as_json(options = nil); end
592
+ end
593
+ class BigDecimal < Numeric
594
+ def _original_to_s(*arg0); end
595
+ def as_json(options = nil); end
596
+ def duplicable?; end
597
+ def to_default_s(*args); end
598
+ def to_formatted_s(*args); end
599
+ end
600
+ class Method
601
+ def duplicable?; end
602
+ end
603
+ module ActiveSupport::Multibyte
604
+ def self.proxy_class; end
605
+ def self.proxy_class=(klass); end
606
+ end
607
+ class DateTime < Date
608
+ def <=>(other); end
609
+ def acts_like_date?; end
610
+ def acts_like_time?; end
611
+ def advance(options); end
612
+ def ago(seconds); end
613
+ def as_json(options = nil); end
614
+ def at_beginning_of_day; end
615
+ def at_beginning_of_hour; end
616
+ def at_beginning_of_minute; end
617
+ def at_end_of_day; end
618
+ def at_end_of_hour; end
619
+ def at_end_of_minute; end
620
+ def at_midday; end
621
+ def at_middle_of_day; end
622
+ def at_midnight; end
623
+ def at_noon; end
624
+ def beginning_of_day; end
625
+ def beginning_of_hour; end
626
+ def beginning_of_minute; end
627
+ def change(options); end
628
+ def default_inspect; end
629
+ def end_of_day; end
630
+ def end_of_hour; end
631
+ def end_of_minute; end
632
+ def formatted_offset(colon = nil, alternate_utc_string = nil); end
633
+ def getgm; end
634
+ def getlocal(utc_offset = nil); end
635
+ def getutc; end
636
+ def gmtime; end
637
+ def in(seconds); end
638
+ def inspect; end
639
+ def localtime(utc_offset = nil); end
640
+ def midday; end
641
+ def middle_of_day; end
642
+ def midnight; end
643
+ def noon; end
644
+ def nsec; end
645
+ def offset_in_seconds; end
646
+ def readable_inspect; end
647
+ def seconds_since_midnight; end
648
+ def seconds_since_unix_epoch; end
649
+ def seconds_until_end_of_day; end
650
+ def self.civil_from_format(utc_or_local, year, month = nil, day = nil, hour = nil, min = nil, sec = nil); end
651
+ def self.current; end
652
+ def since(seconds); end
653
+ def subsec; end
654
+ def to_default_s; end
655
+ def to_f; end
656
+ def to_formatted_s(format = nil); end
657
+ def to_i; end
658
+ def usec; end
659
+ def utc; end
660
+ def utc?; end
661
+ def utc_offset; end
662
+ include DateAndTime::Compatibility
663
+ include DateAndTime::Zones
664
+ end
665
+ module ActiveSupport::XmlMini_REXML
666
+ def collapse(element, depth); end
667
+ def empty_content?(element); end
668
+ def get_attributes(element); end
669
+ def merge!(hash, key, value); end
670
+ def merge_element!(hash, element, depth); end
671
+ def merge_texts!(hash, element); end
672
+ def parse(data); end
673
+ extend ActiveSupport::XmlMini_REXML
674
+ end
675
+ module ActiveSupport::XmlMini
676
+ def _dasherize(key); end
677
+ def _parse_binary(bin, entity); end
678
+ def _parse_file(file, entity); end
679
+ def backend; end
680
+ def backend=(name); end
681
+ def cast_backend_name_to_module(name); end
682
+ def current_thread_backend; end
683
+ def current_thread_backend=(name); end
684
+ def depth; end
685
+ def depth=(arg0); end
686
+ def parse(*args, &block); end
687
+ def rename_key(key, options = nil); end
688
+ def to_tag(key, value, options); end
689
+ def with_backend(name); end
690
+ extend ActiveSupport::XmlMini
691
+ end
692
+ module ActiveSupport::XmlMini::FileLike
693
+ def content_type; end
694
+ def content_type=(arg0); end
695
+ def original_filename; end
696
+ def original_filename=(arg0); end
697
+ end
698
+ class Time
699
+ def acts_like_time?; end
700
+ def advance(options); end
701
+ def ago(seconds); end
702
+ def all_day; end
703
+ def as_json(options = nil); end
704
+ def at_beginning_of_day; end
705
+ def at_beginning_of_hour; end
706
+ def at_beginning_of_minute; end
707
+ def at_end_of_day; end
708
+ def at_end_of_hour; end
709
+ def at_end_of_minute; end
710
+ def at_midday; end
711
+ def at_middle_of_day; end
712
+ def at_midnight; end
713
+ def at_noon; end
714
+ def beginning_of_day; end
715
+ def beginning_of_hour; end
716
+ def beginning_of_minute; end
717
+ def change(options); end
718
+ def compare_with_coercion(other); end
719
+ def compare_without_coercion(arg0); end
720
+ def end_of_day; end
721
+ def end_of_hour; end
722
+ def end_of_minute; end
723
+ def eql_with_coercion(other); end
724
+ def eql_without_coercion(arg0); end
725
+ def formatted_offset(colon = nil, alternate_utc_string = nil); end
726
+ def in(seconds); end
727
+ def midday; end
728
+ def middle_of_day; end
729
+ def midnight; end
730
+ def minus_with_coercion(other); end
731
+ def minus_with_duration(other); end
732
+ def minus_without_coercion(other); end
733
+ def minus_without_duration(arg0); end
734
+ def noon; end
735
+ def plus_with_duration(other); end
736
+ def plus_without_duration(arg0); end
737
+ def sec_fraction; end
738
+ def seconds_since_midnight; end
739
+ def seconds_until_end_of_day; end
740
+ def self.===(other); end
741
+ def self.at_with_coercion(*args); end
742
+ def self.at_without_coercion(*arg0); end
743
+ def self.current; end
744
+ def self.days_in_month(month, year = nil); end
745
+ def self.find_zone!(time_zone); end
746
+ def self.find_zone(time_zone); end
747
+ def self.use_zone(time_zone); end
748
+ def self.zone; end
749
+ def self.zone=(time_zone); end
750
+ def self.zone_default; end
751
+ def self.zone_default=(arg0); end
752
+ def since(seconds); end
753
+ def to_default_s; end
754
+ def to_formatted_s(format = nil); end
755
+ include DateAndTime::Calculations
756
+ include DateAndTime::Compatibility
757
+ include DateAndTime::Zones
758
+ end
759
+ class ActiveSupport::Duration
760
+ def +(other); end
761
+ def -(other); end
762
+ def -@; end
763
+ def <=>(*args, &block); end
764
+ def ==(other); end
765
+ def ===(other); end
766
+ def ago(time = nil); end
767
+ def as_json(options = nil); end
768
+ def eql?(other); end
769
+ def from_now(time = nil); end
770
+ def hash; end
771
+ def initialize(value, parts); end
772
+ def inspect; end
773
+ def instance_of?(klass); end
774
+ def is_a?(klass); end
775
+ def kind_of?(klass); end
776
+ def method_missing(method, *args, &block); end
777
+ def parts; end
778
+ def parts=(arg0); end
779
+ def respond_to_missing?(method, include_private = nil); end
780
+ def self.===(other); end
781
+ def since(time = nil); end
782
+ def sum(sign, time = nil); end
783
+ def to_i; end
784
+ def to_s; end
785
+ def until(time = nil); end
786
+ def value; end
787
+ def value=(arg0); end
788
+ end
789
+ class ActiveSupport::TimeZone
790
+ def <=>(zone); end
791
+ def =~(re); end
792
+ def at(secs); end
793
+ def formatted_offset(colon = nil, alternate_utc_string = nil); end
794
+ def init_with(coder); end
795
+ def initialize(name, utc_offset = nil, tzinfo = nil); end
796
+ def local(*args); end
797
+ def local_to_utc(time, dst = nil); end
798
+ def name; end
799
+ def now; end
800
+ def parse(str, now = nil); end
801
+ def period_for_local(time, dst = nil); end
802
+ def period_for_utc(time); end
803
+ def periods_for_local(time); end
804
+ def self.[](arg); end
805
+ def self.all; end
806
+ def self.create(*arg0); end
807
+ def self.find_tzinfo(name); end
808
+ def self.new(name); end
809
+ def self.seconds_to_utc_offset(seconds, colon = nil); end
810
+ def self.us_zones; end
811
+ def self.zones_map; end
812
+ def time_now; end
813
+ def to_s; end
814
+ def today; end
815
+ def tomorrow; end
816
+ def tzinfo; end
817
+ def utc_offset; end
818
+ def utc_to_local(time); end
819
+ def yesterday; end
820
+ include Comparable
821
+ end
822
+ class ActiveSupport::TimeWithZone
823
+ def +(other); end
824
+ def -(other); end
825
+ def <=>(other); end
826
+ def acts_like_time?; end
827
+ def advance(options); end
828
+ def ago(other); end
829
+ def as_json(options = nil); end
830
+ def between?(min, max); end
831
+ def comparable_time; end
832
+ def day; end
833
+ def dst?; end
834
+ def duration_of_variable_length?(obj); end
835
+ def encode_with(coder); end
836
+ def eql?(other); end
837
+ def formatted_offset(colon = nil, alternate_utc_string = nil); end
838
+ def freeze; end
839
+ def future?; end
840
+ def get_period_and_ensure_valid_local_time(period); end
841
+ def getgm; end
842
+ def getlocal(utc_offset = nil); end
843
+ def getutc; end
844
+ def gmt?; end
845
+ def gmt_offset; end
846
+ def gmtime; end
847
+ def gmtoff; end
848
+ def hash; end
849
+ def hour; end
850
+ def httpdate; end
851
+ def in(other); end
852
+ def in_time_zone(new_zone = nil); end
853
+ def init_with(coder); end
854
+ def initialize(utc_time, time_zone, local_time = nil, period = nil); end
855
+ def inspect; end
856
+ def is_a?(klass); end
857
+ def isdst; end
858
+ def iso8601(fraction_digits = nil); end
859
+ def kind_of?(klass); end
860
+ def localtime(utc_offset = nil); end
861
+ def marshal_dump; end
862
+ def marshal_load(variables); end
863
+ def mday; end
864
+ def method_missing(sym, *args, &block); end
865
+ def min; end
866
+ def mon; end
867
+ def month; end
868
+ def nsec; end
869
+ def past?; end
870
+ def period; end
871
+ def respond_to?(sym, include_priv = nil); end
872
+ def respond_to_missing?(sym, include_priv); end
873
+ def rfc2822; end
874
+ def rfc822; end
875
+ def sec; end
876
+ def self.name; end
877
+ def since(other); end
878
+ def strftime(format); end
879
+ def time; end
880
+ def time_zone; end
881
+ def to_a; end
882
+ def to_date; end
883
+ def to_datetime; end
884
+ def to_f; end
885
+ def to_formatted_s(format = nil); end
886
+ def to_i; end
887
+ def to_r; end
888
+ def to_s(format = nil); end
889
+ def to_time; end
890
+ def today?; end
891
+ def transfer_time_values_to_utc_constructor(time); end
892
+ def tv_sec; end
893
+ def usec; end
894
+ def utc; end
895
+ def utc?; end
896
+ def utc_offset; end
897
+ def wday; end
898
+ def wrap_with_time_zone(time); end
899
+ def xmlschema(fraction_digits = nil); end
900
+ def yday; end
901
+ def year; end
902
+ def zone; end
903
+ include Comparable
904
+ end
905
+ module DateAndTime::Zones
906
+ def in_time_zone(zone = nil); end
907
+ def time_with_zone(time, zone); end
908
+ end
909
+ module DateAndTime::Calculations
910
+ def all_month; end
911
+ def all_quarter; end
912
+ def all_week(start_day = nil); end
913
+ def all_year; end
914
+ def at_beginning_of_month; end
915
+ def at_beginning_of_quarter; end
916
+ def at_beginning_of_week(start_day = nil); end
917
+ def at_beginning_of_year; end
918
+ def at_end_of_month; end
919
+ def at_end_of_quarter; end
920
+ def at_end_of_week(start_day = nil); end
921
+ def at_end_of_year; end
922
+ def beginning_of_month; end
923
+ def beginning_of_quarter; end
924
+ def beginning_of_week(start_day = nil); end
925
+ def beginning_of_year; end
926
+ def days_ago(days); end
927
+ def days_since(days); end
928
+ def days_span(day); end
929
+ def days_to_week_start(start_day = nil); end
930
+ def end_of_month; end
931
+ def end_of_quarter; end
932
+ def end_of_week(start_day = nil); end
933
+ def end_of_year; end
934
+ def first_hour(date_or_time); end
935
+ def future?; end
936
+ def last_hour(date_or_time); end
937
+ def last_month; end
938
+ def last_quarter; end
939
+ def last_week(start_day = nil); end
940
+ def last_year; end
941
+ def monday; end
942
+ def months_ago(months); end
943
+ def months_since(months); end
944
+ def next_month; end
945
+ def next_quarter; end
946
+ def next_week(given_day_in_next_week = nil); end
947
+ def next_year; end
948
+ def past?; end
949
+ def prev_month; end
950
+ def prev_quarter; end
951
+ def prev_week(start_day = nil); end
952
+ def prev_year; end
953
+ def sunday; end
954
+ def today?; end
955
+ def tomorrow; end
956
+ def weeks_ago(weeks); end
957
+ def weeks_since(weeks); end
958
+ def years_ago(years); end
959
+ def years_since(years); end
960
+ def yesterday; end
961
+ end
962
+ class Date
963
+ def acts_like_date?; end
964
+ def advance(options); end
965
+ def ago(seconds); end
966
+ def as_json(options = nil); end
967
+ def at_beginning_of_day; end
968
+ def at_end_of_day; end
969
+ def at_midday; end
970
+ def at_middle_of_day; end
971
+ def at_midnight; end
972
+ def at_noon; end
973
+ def beginning_of_day; end
974
+ def change(options); end
975
+ def compare_with_coercion(other); end
976
+ def compare_without_coercion(arg0); end
977
+ def default_inspect; end
978
+ def end_of_day; end
979
+ def in(seconds); end
980
+ def midday; end
981
+ def middle_of_day; end
982
+ def midnight; end
983
+ def minus_with_duration(other); end
984
+ def minus_without_duration(arg0); end
985
+ def noon; end
986
+ def plus_with_duration(other); end
987
+ def plus_without_duration(arg0); end
988
+ def readable_inspect; end
989
+ def self.beginning_of_week; end
990
+ def self.beginning_of_week=(week_start); end
991
+ def self.beginning_of_week_default; end
992
+ def self.beginning_of_week_default=(arg0); end
993
+ def self.current; end
994
+ def self.find_beginning_of_week!(week_start); end
995
+ def self.tomorrow; end
996
+ def self.yesterday; end
997
+ def since(seconds); end
998
+ def to_default_s; end
999
+ def to_formatted_s(format = nil); end
1000
+ include DateAndTime::Calculations
1001
+ include DateAndTime::Zones
1002
+ end
1003
+ class Integer < Numeric
1004
+ def month; end
1005
+ def months; end
1006
+ def multiple_of?(number); end
1007
+ def ordinal; end
1008
+ def ordinalize; end
1009
+ def to_default_s(*arg0); end
1010
+ def to_json(options = nil); end
1011
+ def to_json_with_active_support_encoder(options = nil); end
1012
+ def to_json_without_active_support_encoder(*arg0); end
1013
+ def year; end
1014
+ def years; end
1015
+ end
1016
+ class ActiveSupport::XMLConverter
1017
+ def become_array?(value); end
1018
+ def become_content?(value); end
1019
+ def become_empty_string?(value); end
1020
+ def become_hash?(value); end
1021
+ def deep_to_h(value); end
1022
+ def garbage?(value); end
1023
+ def initialize(xml, disallowed_types = nil); end
1024
+ def normalize_keys(params); end
1025
+ def nothing?(value); end
1026
+ def process_array(value); end
1027
+ def process_content(value); end
1028
+ def process_hash(value); end
1029
+ def to_h; end
1030
+ end
1031
+ class ActiveSupport::XMLConverter::DisallowedType < StandardError
1032
+ def initialize(type); end
1033
+ end
1034
+ module Enumerable
1035
+ def as_json(options = nil); end
1036
+ def exclude?(object); end
1037
+ def index_by; end
1038
+ def many?; end
1039
+ def to_json(options = nil); end
1040
+ def to_json_with_active_support_encoder(options = nil); end
1041
+ def to_json_without_active_support_encoder(*arg0); end
1042
+ end
1043
+ class Float < Numeric
1044
+ def as_json(options = nil); end
1045
+ def to_default_s; end
1046
+ def to_json(options = nil); end
1047
+ def to_json_with_active_support_encoder(options = nil); end
1048
+ def to_json_without_active_support_encoder(*arg0); end
1049
+ end
1050
+ class Struct
1051
+ def as_json(options = nil); end
1052
+ end
1053
+ class Regexp
1054
+ def as_json(options = nil); end
1055
+ def multiline?; end
1056
+ end
1057
+ class Range
1058
+ def as_json(options = nil); end
1059
+ def each_with_time_with_zone(&block); end
1060
+ def each_without_time_with_zone; end
1061
+ def ensure_iteration_allowed; end
1062
+ def include_with_range?(value); end
1063
+ def include_without_range?(arg0); end
1064
+ def overlaps?(other); end
1065
+ def step_with_time_with_zone(n = nil, &block); end
1066
+ def step_without_time_with_zone(*arg0); end
1067
+ def sum(identity = nil); end
1068
+ def to_default_s; end
1069
+ def to_formatted_s(format = nil); end
1070
+ end
1071
+ class Process::Status
1072
+ def as_json(options = nil); end
1073
+ end
1074
+ class ActiveSupport::OptionMerger
1075
+ def initialize(context, options); end
1076
+ def method_missing(method, *arguments, &block); end
1077
+ end
1078
+ class ActiveSupport::FileUpdateChecker
1079
+ def compile_ext(array); end
1080
+ def compile_glob(hash); end
1081
+ def escape(key); end
1082
+ def execute; end
1083
+ def execute_if_updated; end
1084
+ def initialize(files, dirs = nil, &block); end
1085
+ def max_mtime(paths); end
1086
+ def updated?; end
1087
+ def updated_at(paths); end
1088
+ def watched; end
1089
+ end
1090
+ module I18n
1091
+ end
1092
+ class I18n::Railtie < Rails::Railtie
1093
+ def self.include_fallbacks_module; end
1094
+ def self.init_fallbacks(fallbacks); end
1095
+ def self.initialize_i18n(app); end
1096
+ def self.validate_fallbacks(fallbacks); end
1097
+ end
1098
+ class ActiveSupport::Railtie < Rails::Railtie
1099
+ end
1100
+ class Class < Module
1101
+ def _stash_object_in_method(object, method, instance_reader = nil); end
1102
+ def _superclass_delegating_accessor(name, options = nil); end
1103
+ def class_attribute(*attrs); end
1104
+ def descendants; end
1105
+ def subclasses; end
1106
+ def superclass_delegating_accessor(*args, &block); end
1107
+ def superclass_delegating_accessor_with_deprecation(*args, &block); end
1108
+ def superclass_delegating_accessor_without_deprecation(name, options = nil); end
1109
+ end
1110
+ class ActiveSupport::HashWithIndifferentAccess < Hash
1111
+ def []=(key, value); end
1112
+ def compact; end
1113
+ def convert_key(key); end
1114
+ def convert_value(value, options = nil); end
1115
+ def deep_stringify_keys!; end
1116
+ def deep_stringify_keys; end
1117
+ def deep_symbolize_keys; end
1118
+ def default(key = nil); end
1119
+ def delete(key); end
1120
+ def dup; end
1121
+ def extractable_options?; end
1122
+ def fetch(key, *extras); end
1123
+ def has_key?(key); end
1124
+ def include?(key); end
1125
+ def initialize(constructor = nil); end
1126
+ def key?(key); end
1127
+ def member?(key); end
1128
+ def merge!(other_hash); end
1129
+ def merge(hash, &block); end
1130
+ def nested_under_indifferent_access; end
1131
+ def regular_update(arg0); end
1132
+ def regular_writer(arg0, arg1); end
1133
+ def reject(*args, &block); end
1134
+ def replace(other_hash); end
1135
+ def reverse_merge!(other_hash); end
1136
+ def reverse_merge(other_hash); end
1137
+ def select(*args, &block); end
1138
+ def self.[](*args); end
1139
+ def self.new_from_hash_copying_default(hash); end
1140
+ def set_defaults(target); end
1141
+ def store(key, value); end
1142
+ def stringify_keys!; end
1143
+ def stringify_keys; end
1144
+ def symbolize_keys; end
1145
+ def to_hash; end
1146
+ def to_options!; end
1147
+ def transform_values(*args, &block); end
1148
+ def update(other_hash); end
1149
+ def values_at(*indices); end
1150
+ def with_indifferent_access; end
1151
+ end
1152
+ module Benchmark
1153
+ def self.ms; end
1154
+ end
1155
+ module ActiveSupport::JSON
1156
+ def self.convert_dates_from(data); end
1157
+ def self.decode(json, options = nil); end
1158
+ def self.encode(value, options = nil); end
1159
+ def self.parse_error; end
1160
+ end
1161
+ module ActiveSupport::JSON::Encoding
1162
+ def self.const_missing(name); end
1163
+ def self.encode_big_decimal_as_string; end
1164
+ def self.encode_big_decimal_as_string=(as_string); end
1165
+ def self.escape_html_entities_in_json; end
1166
+ def self.escape_html_entities_in_json=(arg0); end
1167
+ def self.json_encoder; end
1168
+ def self.json_encoder=(arg0); end
1169
+ def self.time_precision; end
1170
+ def self.time_precision=(arg0); end
1171
+ def self.use_standard_json_time_format; end
1172
+ def self.use_standard_json_time_format=(arg0); end
1173
+ end
1174
+ class ActiveSupport::JSON::Encoding::JSONGemEncoder
1175
+ def encode(value); end
1176
+ def initialize(options = nil); end
1177
+ def jsonify(value); end
1178
+ def options; end
1179
+ def stringify(jsonified); end
1180
+ end
1181
+ class ActiveSupport::JSON::Encoding::JSONGemEncoder::EscapedString < String
1182
+ def to_json(*arg0); end
1183
+ def to_s; end
1184
+ end
1185
+ class ActiveSupport::Multibyte::Chars
1186
+ def <=>(*args, &block); end
1187
+ def =~(*args, &block); end
1188
+ def acts_like_string?(*args, &block); end
1189
+ def as_json(options = nil); end
1190
+ def capitalize!(*args); end
1191
+ def capitalize; end
1192
+ def chars(string); end
1193
+ def compose; end
1194
+ def decompose; end
1195
+ def downcase!(*args); end
1196
+ def downcase; end
1197
+ def grapheme_length; end
1198
+ def initialize(string); end
1199
+ def limit(limit); end
1200
+ def method_missing(method, *args, &block); end
1201
+ def normalize(form = nil); end
1202
+ def respond_to_missing?(method, include_private); end
1203
+ def reverse!(*args); end
1204
+ def reverse; end
1205
+ def self.consumes?(string); end
1206
+ def slice!(*args); end
1207
+ def split(*args); end
1208
+ def swapcase; end
1209
+ def tidy_bytes!(*args); end
1210
+ def tidy_bytes(force = nil); end
1211
+ def titlecase; end
1212
+ def titleize; end
1213
+ def to_s; end
1214
+ def to_str; end
1215
+ def translate_offset(byte_offset); end
1216
+ def upcase!(*args); end
1217
+ def upcase; end
1218
+ def wrapped_string; end
1219
+ include Comparable
1220
+ end
1221
+ module ActiveSupport::DescendantsTracker
1222
+ def descendants; end
1223
+ def direct_descendants; end
1224
+ def inherited(base); end
1225
+ def self.accumulate_descendants(klass, acc); end
1226
+ def self.clear; end
1227
+ def self.descendants(klass); end
1228
+ def self.direct_descendants(klass); end
1229
+ def self.store_inherited(klass, descendant); end
1230
+ end
1231
+ module ActiveSupport::Callbacks
1232
+ def __run_callbacks__(callbacks, &block); end
1233
+ def halted_callback_hook(filter); end
1234
+ def run_callbacks(kind, &block); end
1235
+ extend ActiveSupport::Concern
1236
+ end
1237
+ module ActiveSupport::Callbacks::Conditionals
1238
+ end
1239
+ class ActiveSupport::Callbacks::Conditionals::Value
1240
+ def call(target, value); end
1241
+ def initialize(&block); end
1242
+ end
1243
+ module ActiveSupport::Callbacks::Filters
1244
+ end
1245
+ class ActiveSupport::Callbacks::Filters::Environment < Struct
1246
+ def halted; end
1247
+ def halted=(_); end
1248
+ def run_block; end
1249
+ def run_block=(_); end
1250
+ def self.[](*arg0); end
1251
+ def self.inspect; end
1252
+ def self.members; end
1253
+ def self.new(*arg0); end
1254
+ def target; end
1255
+ def target=(_); end
1256
+ def value; end
1257
+ def value=(_); end
1258
+ end
1259
+ class ActiveSupport::Callbacks::Filters::End
1260
+ def call(env); end
1261
+ end
1262
+ class ActiveSupport::Callbacks::Filters::Before
1263
+ def self.build(callback_sequence, user_callback, user_conditions, chain_config, filter); end
1264
+ def self.conditional(callback_sequence, user_callback, user_conditions); end
1265
+ def self.halting(callback_sequence, user_callback, halted_lambda, filter); end
1266
+ def self.halting_and_conditional(callback_sequence, user_callback, user_conditions, halted_lambda, filter); end
1267
+ def self.simple(callback_sequence, user_callback); end
1268
+ end
1269
+ class ActiveSupport::Callbacks::Filters::After
1270
+ def self.build(callback_sequence, user_callback, user_conditions, chain_config); end
1271
+ def self.conditional(callback_sequence, user_callback, user_conditions); end
1272
+ def self.halting(callback_sequence, user_callback); end
1273
+ def self.halting_and_conditional(callback_sequence, user_callback, user_conditions); end
1274
+ def self.simple(callback_sequence, user_callback); end
1275
+ end
1276
+ class ActiveSupport::Callbacks::Filters::Around
1277
+ def self.build(callback_sequence, user_callback, user_conditions, chain_config); end
1278
+ def self.conditional(callback_sequence, user_callback, user_conditions); end
1279
+ def self.halting(callback_sequence, user_callback); end
1280
+ def self.halting_and_conditional(callback_sequence, user_callback, user_conditions); end
1281
+ def self.simple(callback_sequence, user_callback); end
1282
+ end
1283
+ class ActiveSupport::Callbacks::Callback
1284
+ def apply(callback_sequence); end
1285
+ def chain_config; end
1286
+ def compute_identifier(filter); end
1287
+ def conditions_lambdas; end
1288
+ def duplicates?(other); end
1289
+ def filter; end
1290
+ def initialize(name, filter, kind, options, chain_config); end
1291
+ def invert_lambda(l); end
1292
+ def kind; end
1293
+ def kind=(arg0); end
1294
+ def make_lambda(filter); end
1295
+ def matches?(_kind, _filter); end
1296
+ def merge(chain, new_options); end
1297
+ def name; end
1298
+ def name=(arg0); end
1299
+ def raw_filter; end
1300
+ def self.build(chain, filter, kind, options); end
1301
+ end
1302
+ class ActiveSupport::Callbacks::CallbackSequence
1303
+ def after(&after); end
1304
+ def around(&around); end
1305
+ def before(&before); end
1306
+ def call(*args); end
1307
+ def initialize(&call); end
1308
+ end
1309
+ class ActiveSupport::Callbacks::CallbackChain
1310
+ def append(*callbacks); end
1311
+ def append_one(callback); end
1312
+ def chain; end
1313
+ def clear; end
1314
+ def compile; end
1315
+ def config; end
1316
+ def delete(o); end
1317
+ def each(&block); end
1318
+ def empty?; end
1319
+ def index(o); end
1320
+ def initialize(name, config); end
1321
+ def initialize_copy(other); end
1322
+ def insert(index, o); end
1323
+ def name; end
1324
+ def prepend(*callbacks); end
1325
+ def prepend_one(callback); end
1326
+ def remove_duplicates(callback); end
1327
+ include Enumerable
1328
+ end
1329
+ module ActiveSupport::Callbacks::ClassMethods
1330
+ def __update_callbacks(name); end
1331
+ def define_callbacks(*names); end
1332
+ def get_callbacks(name); end
1333
+ def normalize_callback_params(filters, block); end
1334
+ def reset_callbacks(name); end
1335
+ def set_callback(name, *filter_list, &block); end
1336
+ def set_callbacks(name, callbacks); end
1337
+ def skip_callback(name, *filter_list, &block); end
1338
+ end
1339
+ module ActiveSupport::Rescuable
1340
+ def handler_for_rescue(exception); end
1341
+ def rescue_with_handler(exception); end
1342
+ extend ActiveSupport::Concern
1343
+ end
1344
+ module ActiveSupport::Rescuable::ClassMethods
1345
+ def rescue_from(*klasses, &block); end
1346
+ end
1347
+ class LoadError < ScriptError
1348
+ def is_missing?(location); end
1349
+ end
1350
+ class NameError < StandardError
1351
+ def missing_name; end
1352
+ def missing_name?(name); end
1353
+ end
1354
+ module URI
1355
+ def self.parser; end
1356
+ end
1357
+ class ERB
1358
+ end
1359
+ module ERB::Util
1360
+ def html_escape_once(s); end
1361
+ def json_escape(s); end
1362
+ def self.html_escape_once(s); end
1363
+ def self.json_escape(s); end
1364
+ def self.unwrapped_html_escape(s); end
1365
+ def unwrapped_html_escape(s); end
1366
+ end
1367
+ class ActiveSupport::SafeBuffer < String
1368
+ def %(args); end
1369
+ def +(other); end
1370
+ def <<(value); end
1371
+ def [](*args); end
1372
+ def capitalize!(*args); end
1373
+ def capitalize(*args, &block); end
1374
+ def chomp!(*args); end
1375
+ def chomp(*args, &block); end
1376
+ def chop!(*args); end
1377
+ def chop(*args, &block); end
1378
+ def clone_empty; end
1379
+ def concat(value); end
1380
+ def delete!(*args); end
1381
+ def delete(*args, &block); end
1382
+ def downcase!(*args); end
1383
+ def downcase(*args, &block); end
1384
+ def encode_with(coder); end
1385
+ def gsub!(*args); end
1386
+ def gsub(*args, &block); end
1387
+ def html_escape_interpolated_argument(arg); end
1388
+ def html_safe?; end
1389
+ def initialize(*arg0); end
1390
+ def initialize_copy(other); end
1391
+ def lstrip!(*args); end
1392
+ def lstrip(*args, &block); end
1393
+ def next!(*args); end
1394
+ def next(*args, &block); end
1395
+ def original_concat(*arg0); end
1396
+ def prepend!(value); end
1397
+ def prepend(value); end
1398
+ def reverse!(*args); end
1399
+ def reverse(*args, &block); end
1400
+ def rstrip!(*args); end
1401
+ def rstrip(*args, &block); end
1402
+ def safe_concat(value); end
1403
+ def slice!(*args); end
1404
+ def slice(*args, &block); end
1405
+ def squeeze!(*args); end
1406
+ def squeeze(*args, &block); end
1407
+ def strip!(*args); end
1408
+ def strip(*args, &block); end
1409
+ def sub!(*args); end
1410
+ def sub(*args, &block); end
1411
+ def succ!(*args); end
1412
+ def succ(*args, &block); end
1413
+ def swapcase!(*args); end
1414
+ def swapcase(*args, &block); end
1415
+ def to_param; end
1416
+ def to_s; end
1417
+ def tr!(*args); end
1418
+ def tr(*args, &block); end
1419
+ def tr_s!(*args); end
1420
+ def tr_s(*args, &block); end
1421
+ def upcase!(*args); end
1422
+ def upcase(*args, &block); end
1423
+ end
1424
+ class ActiveSupport::SafeBuffer::SafeConcatError < StandardError
1425
+ def initialize; end
1426
+ end
1427
+ class ActiveSupport::StringInquirer < String
1428
+ def method_missing(method_name, *arguments); end
1429
+ def respond_to_missing?(method_name, include_private = nil); end
1430
+ end
1431
+ class ActiveSupport::ProxyObject < BasicObject
1432
+ def raise(*args); end
1433
+ end
1434
+ module ActiveSupport::Cache
1435
+ def self.expand_cache_key(key, namespace = nil); end
1436
+ def self.lookup_store(*store_option); end
1437
+ def self.retrieve_cache_key(key); end
1438
+ def self.retrieve_store_class(store); end
1439
+ end
1440
+ module ActiveSupport::Cache::Strategy
1441
+ end
1442
+ class ActiveSupport::Cache::Store
1443
+ def cleanup(options = nil); end
1444
+ def clear(options = nil); end
1445
+ def decrement(name, amount = nil, options = nil); end
1446
+ def delete(name, options = nil); end
1447
+ def delete_entry(key, options); end
1448
+ def delete_matched(matcher, options = nil); end
1449
+ def exist?(name, options = nil); end
1450
+ def expanded_key(key); end
1451
+ def fetch(name, options = nil); end
1452
+ def fetch_multi(*names); end
1453
+ def find_cached_entry(key, name, options); end
1454
+ def get_entry_value(entry, name, options); end
1455
+ def handle_expired_entry(entry, key, options); end
1456
+ def increment(name, amount = nil, options = nil); end
1457
+ def initialize(options = nil); end
1458
+ def instrument(operation, key, options = nil); end
1459
+ def key_matcher(pattern, options); end
1460
+ def log(operation, key, options = nil); end
1461
+ def logger; end
1462
+ def logger=(obj); end
1463
+ def merged_options(call_options); end
1464
+ def mute; end
1465
+ def namespaced_key(key, options); end
1466
+ def options; end
1467
+ def read(name, options = nil); end
1468
+ def read_entry(key, options); end
1469
+ def read_multi(*names); end
1470
+ def save_block_result_to_cache(name, options); end
1471
+ def self.instrument; end
1472
+ def self.instrument=(boolean); end
1473
+ def self.logger; end
1474
+ def self.logger=(obj); end
1475
+ def silence!; end
1476
+ def silence; end
1477
+ def silence?; end
1478
+ def write(name, value, options = nil); end
1479
+ def write_entry(key, entry, options); end
1480
+ end
1481
+ class ActiveSupport::Cache::Entry
1482
+ def compress(value); end
1483
+ def compressed?; end
1484
+ def convert_version_4beta1_entry!; end
1485
+ def dup_value!; end
1486
+ def expired?; end
1487
+ def expires_at; end
1488
+ def expires_at=(value); end
1489
+ def initialize(value, options = nil); end
1490
+ def should_compress?(value, options); end
1491
+ def size; end
1492
+ def uncompress(value); end
1493
+ def value; end
1494
+ end
1495
+ class ActiveSupport::BacktraceCleaner
1496
+ def add_filter(&block); end
1497
+ def add_silencer(&block); end
1498
+ def clean(backtrace, kind = nil); end
1499
+ def filter(backtrace, kind = nil); end
1500
+ def filter_backtrace(backtrace); end
1501
+ def initialize; end
1502
+ def noise(backtrace); end
1503
+ def remove_filters!; end
1504
+ def remove_silencers!; end
1505
+ def silence(backtrace); end
1506
+ end
1507
+ class ActiveSupport::Subscriber
1508
+ def self.add_event_subscriber(event); end
1509
+ def self.attach_to(namespace, subscriber = nil, notifier = nil); end
1510
+ def self.method_added(event); end
1511
+ def self.namespace; end
1512
+ def self.notifier; end
1513
+ def self.subscriber; end
1514
+ def self.subscribers; end
1515
+ end
1516
+ class ActiveSupport::SubscriberQueueRegistry
1517
+ def get_queue(queue_key); end
1518
+ def initialize; end
1519
+ extend ActiveSupport::PerThreadRegistry
1520
+ end
1521
+ class ActiveSupport::LogSubscriber < ActiveSupport::Subscriber
1522
+ def self.colorize_logging; end
1523
+ def self.colorize_logging=(obj); end
1524
+ def self.flush_all!; end
1525
+ def self.log_subscribers; end
1526
+ def self.logger; end
1527
+ def self.logger=(arg0); end
1528
+ end
1529
+ module ActiveSupport::Benchmarkable
1530
+ def benchmark(message = nil, options = nil); end
1531
+ end
1532
+ module ActiveSupport::NumberHelper
1533
+ def number_to_currency(number, options = nil); end
1534
+ def number_to_delimited(number, options = nil); end
1535
+ def number_to_human(number, options = nil); end
1536
+ def number_to_human_size(number, options = nil); end
1537
+ def number_to_percentage(number, options = nil); end
1538
+ def number_to_phone(number, options = nil); end
1539
+ def number_to_rounded(number, options = nil); end
1540
+ extend ActiveSupport::Autoload
1541
+ extend ActiveSupport::NumberHelper
1542
+ end
1543
+ module Module::Concerning
1544
+ def concern(topic, &module_definition); end
1545
+ def concerning(topic, &block); end
1546
+ end
1547
+ module QualifiedConstUtils
1548
+ def self.names(path); end
1549
+ def self.raise_if_absolute(path); end
1550
+ end
1551
+ module ActiveSupport::Dependencies
1552
+ def autoload_module!(into, const_name, qualified_name, path_suffix); end
1553
+ def autoload_once_paths; end
1554
+ def autoload_once_paths=(obj); end
1555
+ def autoload_paths; end
1556
+ def autoload_paths=(obj); end
1557
+ def autoloadable_module?(path_suffix); end
1558
+ def autoloaded?(desc); end
1559
+ def autoloaded_constants; end
1560
+ def autoloaded_constants=(obj); end
1561
+ def clear; end
1562
+ def constant_watch_stack; end
1563
+ def constant_watch_stack=(obj); end
1564
+ def constantize(name); end
1565
+ def depend_on(file_name, message = nil); end
1566
+ def explicitly_unloadable_constants; end
1567
+ def explicitly_unloadable_constants=(obj); end
1568
+ def history; end
1569
+ def history=(obj); end
1570
+ def hook!; end
1571
+ def load?; end
1572
+ def load_file(path, const_paths = nil); end
1573
+ def load_missing_constant(from_mod, const_name); end
1574
+ def load_once_path?(path); end
1575
+ def loadable_constants_for_path(path, bases = nil); end
1576
+ def loaded; end
1577
+ def loaded=(obj); end
1578
+ def loading; end
1579
+ def loading=(obj); end
1580
+ def log(msg); end
1581
+ def log_activity; end
1582
+ def log_activity=(obj); end
1583
+ def log_activity?; end
1584
+ def log_call(*args); end
1585
+ def logger; end
1586
+ def logger=(obj); end
1587
+ def mark_for_unload(const_desc); end
1588
+ def mechanism; end
1589
+ def mechanism=(obj); end
1590
+ def new_constants_in(*descs); end
1591
+ def qualified_const_defined?(path); end
1592
+ def qualified_name_for(mod, name); end
1593
+ def reference(klass); end
1594
+ def remove_constant(const); end
1595
+ def remove_unloadable_constants!; end
1596
+ def require_or_load(file_name, const_path = nil); end
1597
+ def safe_constantize(name); end
1598
+ def search_for_file(path_suffix); end
1599
+ def self.autoload_once_paths; end
1600
+ def self.autoload_once_paths=(obj); end
1601
+ def self.autoload_paths; end
1602
+ def self.autoload_paths=(obj); end
1603
+ def self.autoloaded_constants; end
1604
+ def self.autoloaded_constants=(obj); end
1605
+ def self.constant_watch_stack; end
1606
+ def self.constant_watch_stack=(obj); end
1607
+ def self.explicitly_unloadable_constants; end
1608
+ def self.explicitly_unloadable_constants=(obj); end
1609
+ def self.history; end
1610
+ def self.history=(obj); end
1611
+ def self.loaded; end
1612
+ def self.loaded=(obj); end
1613
+ def self.loading; end
1614
+ def self.loading=(obj); end
1615
+ def self.log_activity; end
1616
+ def self.log_activity=(obj); end
1617
+ def self.logger; end
1618
+ def self.logger=(obj); end
1619
+ def self.mechanism; end
1620
+ def self.mechanism=(obj); end
1621
+ def self.warnings_on_first_load; end
1622
+ def self.warnings_on_first_load=(obj); end
1623
+ def to_constant_name(desc); end
1624
+ def unhook!; end
1625
+ def warnings_on_first_load; end
1626
+ def warnings_on_first_load=(obj); end
1627
+ def will_unload?(const_desc); end
1628
+ extend ActiveSupport::Dependencies
1629
+ end
1630
+ class ActiveSupport::Dependencies::WatchStack
1631
+ def each(&block); end
1632
+ def initialize; end
1633
+ def new_constants; end
1634
+ def pop_modules(modules); end
1635
+ def watch_namespaces(namespaces); end
1636
+ def watching?; end
1637
+ include Enumerable
1638
+ end
1639
+ module ActiveSupport::Dependencies::ModuleConstMissing
1640
+ def const_missing(const_name); end
1641
+ def guess_for_anonymous(const_name); end
1642
+ def self.append_features(base); end
1643
+ def self.exclude_from(base); end
1644
+ def unloadable(const_desc = nil); end
1645
+ end
1646
+ module ActiveSupport::Dependencies::Loadable
1647
+ def load(file, wrap = nil); end
1648
+ def load_dependency(file); end
1649
+ def require(file); end
1650
+ def require_dependency(file_name, message = nil); end
1651
+ def require_or_load(file_name); end
1652
+ def self.exclude_from(base); end
1653
+ def unloadable(const_desc); end
1654
+ end
1655
+ module ActiveSupport::Dependencies::Blamable
1656
+ def blame_file!(file); end
1657
+ def blamed_files; end
1658
+ def copy_blame!(exc); end
1659
+ def describe_blame; end
1660
+ end
1661
+ class ActiveSupport::Dependencies::ClassCache
1662
+ def [](key); end
1663
+ def clear!; end
1664
+ def empty?; end
1665
+ def get(key); end
1666
+ def initialize; end
1667
+ def key?(key); end
1668
+ def safe_get(key); end
1669
+ def store(klass); end
1670
+ end
1671
+ class Exception
1672
+ include ActiveSupport::Dependencies::Blamable
1673
+ end
1674
+ module Marshal
1675
+ def self.load_with_autoloading(source, proc = nil); end
1676
+ def self.load_without_autoloading(*arg0); end
1677
+ end
1678
+ class File < IO
1679
+ def self.empty?(arg0); end
1680
+ def self.join(*arg0); end
1681
+ end
1682
+ module ActiveSupport::TaggedLogging
1683
+ def clear_tags!(*args, &block); end
1684
+ def flush; end
1685
+ def pop_tags(*args, &block); end
1686
+ def push_tags(*args, &block); end
1687
+ def self.new(logger); end
1688
+ def tagged(*tags); end
1689
+ end
1690
+ module ActiveSupport::TaggedLogging::Formatter
1691
+ def call(severity, timestamp, progname, msg); end
1692
+ def clear_tags!; end
1693
+ def current_tags; end
1694
+ def pop_tags(size = nil); end
1695
+ def push_tags(*tags); end
1696
+ def tagged(*tags); end
1697
+ def tags_text; end
1698
+ end
1699
+ class ActiveSupport::Cache::FileStore < ActiveSupport::Cache::Store
1700
+ def cache_path; end
1701
+ def cleanup(options = nil); end
1702
+ def clear(options = nil); end
1703
+ def decrement(name, amount = nil, options = nil); end
1704
+ def delete_empty_directories(dir); end
1705
+ def delete_entry(key, options); end
1706
+ def delete_matched(matcher, options = nil); end
1707
+ def ensure_cache_path(path); end
1708
+ def file_path_key(path); end
1709
+ def increment(name, amount = nil, options = nil); end
1710
+ def initialize(cache_path, options = nil); end
1711
+ def key_file_path(key); end
1712
+ def lock_file(file_name, &block); end
1713
+ def modify_value(name, amount, options); end
1714
+ def read_entry(key, options); end
1715
+ def search_dir(dir, &callback); end
1716
+ def write_entry(key, entry, options); end
1717
+ end
1718
+ module ActiveSupport::Cache::Strategy::LocalCache
1719
+ def bypass_local_cache; end
1720
+ def cleanup(options = nil); end
1721
+ def clear(options = nil); end
1722
+ def decrement(name, amount = nil, options = nil); end
1723
+ def delete_entry(key, options); end
1724
+ def increment(name, amount = nil, options = nil); end
1725
+ def local_cache; end
1726
+ def local_cache_key; end
1727
+ def middleware; end
1728
+ def read_entry(key, options); end
1729
+ def set_cache_value(value, name, amount, options); end
1730
+ def use_temporary_local_cache(temporary_cache); end
1731
+ def with_local_cache; end
1732
+ def write_entry(key, entry, options); end
1733
+ end
1734
+ class ActiveSupport::Cache::Strategy::LocalCache::LocalCacheRegistry
1735
+ def cache_for(local_cache_key); end
1736
+ def initialize; end
1737
+ def self.cache_for(l); end
1738
+ def self.set_cache_for(l, v); end
1739
+ def set_cache_for(local_cache_key, value); end
1740
+ extend ActiveSupport::PerThreadRegistry
1741
+ end
1742
+ class ActiveSupport::Cache::Strategy::LocalCache::LocalStore < ActiveSupport::Cache::Store
1743
+ def clear(options = nil); end
1744
+ def delete_entry(key, options); end
1745
+ def initialize; end
1746
+ def read_entry(key, options); end
1747
+ def synchronize; end
1748
+ def write_entry(key, value, options); end
1749
+ end
1750
+ class ActiveSupport::Cache::Strategy::LocalCache::Middleware
1751
+ def call(env); end
1752
+ def initialize(name, local_cache_key); end
1753
+ def local_cache_key; end
1754
+ def name; end
1755
+ def new(app); end
1756
+ end
1757
+ module ActiveSupport::Configurable
1758
+ def config; end
1759
+ extend ActiveSupport::Concern
1760
+ end
1761
+ class ActiveSupport::Configurable::Configuration < ActiveSupport::InheritableOptions
1762
+ def compile_methods!; end
1763
+ def self.compile_methods!(keys); end
1764
+ end
1765
+ module ActiveSupport::Configurable::ClassMethods
1766
+ def config; end
1767
+ def config_accessor(*names); end
1768
+ def configure; end
1769
+ end
1770
+ module ActiveSupport::Testing
1771
+ end
1772
+ module ActiveSupport::Testing::TaggedLogging
1773
+ def before_setup; end
1774
+ def tagged_logger; end
1775
+ def tagged_logger=(arg0); end
1776
+ end
1777
+ module ActiveSupport::Testing::SetupAndTeardown
1778
+ def after_teardown; end
1779
+ def before_setup; end
1780
+ extend ActiveSupport::Concern
1781
+ end
1782
+ module ActiveSupport::Testing::SetupAndTeardown::ClassMethods
1783
+ def setup(*args, &block); end
1784
+ def teardown(*args, &block); end
1785
+ end
1786
+ module ActiveSupport::Testing::Assertions
1787
+ def assert_difference(expression, difference = nil, message = nil, &block); end
1788
+ def assert_no_difference(expression, message = nil, &block); end
1789
+ def assert_not(object, message = nil); end
1790
+ end
1791
+ module ActiveSupport::Testing::Deprecation
1792
+ def assert_deprecated(match = nil, &block); end
1793
+ def assert_not_deprecated(&block); end
1794
+ def collect_deprecations; end
1795
+ end
1796
+ module ActiveSupport::Testing::Declarative
1797
+ def test(name, &block); end
1798
+ end
1799
+ module ActiveSupport::Testing::Isolation
1800
+ def _run_class_setup; end
1801
+ def run; end
1802
+ def self.forking_env?; end
1803
+ def self.included(klass); end
1804
+ include ActiveSupport::Testing::Isolation::Forking
1805
+ end
1806
+ module ActiveSupport::Testing::Isolation::Forking
1807
+ def run_in_isolation(&blk); end
1808
+ end
1809
+ module ActiveSupport::Testing::Isolation::Subprocess
1810
+ def run_in_isolation(&blk); end
1811
+ end
1812
+ module ActiveSupport::Testing::ConstantLookup
1813
+ extend ActiveSupport::Concern
1814
+ end
1815
+ module ActiveSupport::Testing::ConstantLookup::ClassMethods
1816
+ def determine_constant_from_test_name(test_name); end
1817
+ end
1818
+ class ActiveSupport::Testing::SimpleStubs
1819
+ def initialize; end
1820
+ def stub_object(object, method_name, &block); end
1821
+ def unstub_all!; end
1822
+ def unstub_object(stub); end
1823
+ end
1824
+ class ActiveSupport::Testing::SimpleStubs::Stub < Struct
1825
+ def method_name; end
1826
+ def method_name=(_); end
1827
+ def object; end
1828
+ def object=(_); end
1829
+ def original_method; end
1830
+ def original_method=(_); end
1831
+ def self.[](*arg0); end
1832
+ def self.inspect; end
1833
+ def self.members; end
1834
+ def self.new(*arg0); end
1835
+ end
1836
+ module ActiveSupport::Testing::TimeHelpers
1837
+ def simple_stubs; end
1838
+ def travel(duration, &block); end
1839
+ def travel_back; end
1840
+ def travel_to(date_or_time); end
1841
+ end
1842
+ class ActiveSupport::TestCase < Minitest::Test
1843
+ def _run_setup_callbacks(&block); end
1844
+ def _run_teardown_callbacks(&block); end
1845
+ def _setup_callbacks; end
1846
+ def _setup_callbacks?; end
1847
+ def _teardown_callbacks; end
1848
+ def _teardown_callbacks?; end
1849
+ def assert_no_match(matcher, obj, msg = nil); end
1850
+ def assert_not_empty(obj, msg = nil); end
1851
+ def assert_not_equal(exp, act, msg = nil); end
1852
+ def assert_not_in_delta(exp, act, delta = nil, msg = nil); end
1853
+ def assert_not_in_epsilon(a, b, epsilon = nil, msg = nil); end
1854
+ def assert_not_includes(collection, obj, msg = nil); end
1855
+ def assert_not_instance_of(cls, obj, msg = nil); end
1856
+ def assert_not_kind_of(cls, obj, msg = nil); end
1857
+ def assert_not_nil(obj, msg = nil); end
1858
+ def assert_not_operator(o1, op, o2 = nil, msg = nil); end
1859
+ def assert_not_predicate(o1, op, msg = nil); end
1860
+ def assert_not_respond_to(obj, meth, msg = nil); end
1861
+ def assert_not_same(exp, act, msg = nil); end
1862
+ def assert_nothing_raised(*args); end
1863
+ def assert_raise(*exp); end
1864
+ def method_name; end
1865
+ def self._setup_callbacks; end
1866
+ def self._setup_callbacks=(val); end
1867
+ def self._setup_callbacks?; end
1868
+ def self._teardown_callbacks; end
1869
+ def self._teardown_callbacks=(val); end
1870
+ def self._teardown_callbacks?; end
1871
+ def self.my_tests_are_order_dependent!; end
1872
+ def self.test_order; end
1873
+ def self.test_order=(new_order); end
1874
+ extend ActiveSupport::Callbacks::ClassMethods
1875
+ extend ActiveSupport::DescendantsTracker
1876
+ extend ActiveSupport::Testing::Declarative
1877
+ extend ActiveSupport::Testing::SetupAndTeardown::ClassMethods
1878
+ include ActiveSupport::Callbacks
1879
+ include ActiveSupport::Testing::Assertions
1880
+ include ActiveSupport::Testing::Deprecation
1881
+ include ActiveSupport::Testing::SetupAndTeardown
1882
+ include ActiveSupport::Testing::TaggedLogging
1883
+ include ActiveSupport::Testing::TimeHelpers
1884
+ end
1885
+ module Digest
1886
+ end
1887
+ module Digest::UUID
1888
+ def self.uuid_from_hash(hash_class, uuid_namespace, name); end
1889
+ def self.uuid_v3(uuid_namespace, name); end
1890
+ def self.uuid_v4; end
1891
+ def self.uuid_v5(uuid_namespace, name); end
1892
+ end