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,1091 @@
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/mail/all/mail.rbi
9
+ #
10
+ # mail-2.7.1
11
+ module Mail
12
+ def self.all(*args, &block); end
13
+ def self.connection(&block); end
14
+ def self.defaults(&block); end
15
+ def self.delete_all(*args, &block); end
16
+ def self.deliver(*args, &block); end
17
+ def self.delivery_method; end
18
+ def self.eager_autoload!; end
19
+ def self.find(*args, &block); end
20
+ def self.find_and_delete(*args, &block); end
21
+ def self.first(*args, &block); end
22
+ def self.inform_interceptors(mail); end
23
+ def self.inform_observers(mail); end
24
+ def self.last(*args, &block); end
25
+ def self.new(*args, &block); end
26
+ def self.random_tag; end
27
+ def self.read(filename); end
28
+ def self.read_from_string(mail_as_string); end
29
+ def self.register_autoload(name, path); end
30
+ def self.register_interceptor(interceptor); end
31
+ def self.register_observer(observer); end
32
+ def self.retriever_method; end
33
+ def self.something_random; end
34
+ def self.uniq; end
35
+ def self.unregister_interceptor(interceptor); end
36
+ def self.unregister_observer(observer); end
37
+ end
38
+ class Mail::Ruby19
39
+ def self.b_value_decode(str); end
40
+ def self.b_value_encode(str, encoding = nil); end
41
+ def self.bracket(str); end
42
+ def self.charset_encoder; end
43
+ def self.charset_encoder=(arg0); end
44
+ def self.convert_to_encoding(encoding); end
45
+ def self.decode_base64(str); end
46
+ def self.decode_utf7(utf7); end
47
+ def self.encode_base64(str); end
48
+ def self.encode_utf7(string); end
49
+ def self.escape_bracket(str); end
50
+ def self.escape_paren(str); end
51
+ def self.get_constant(klass, string); end
52
+ def self.has_constant?(klass, string); end
53
+ def self.param_decode(str, encoding); end
54
+ def self.param_encode(str); end
55
+ def self.paren(str); end
56
+ def self.pick_encoding(charset); end
57
+ def self.q_value_decode(str); end
58
+ def self.q_value_encode(str, encoding = nil); end
59
+ def self.string_byteslice(str, *args); end
60
+ def self.transcode_charset(str, from_encoding, to_encoding = nil); end
61
+ def self.transcode_to_scrubbed_utf8(str); end
62
+ def self.uri_parser; end
63
+ end
64
+ class Mail::Ruby19::StrictCharsetEncoder
65
+ def encode(string, charset); end
66
+ end
67
+ class Mail::Ruby19::BestEffortCharsetEncoder
68
+ def encode(string, charset); end
69
+ def pick_encoding(charset); end
70
+ end
71
+ module Mail::VERSION
72
+ def self.version; end
73
+ end
74
+ class String
75
+ end
76
+ class Mail::IndifferentHash < Hash
77
+ def []=(key, value); end
78
+ def convert_key(key); end
79
+ def convert_value(value); end
80
+ def default(key = nil); end
81
+ def delete(key); end
82
+ def dup; end
83
+ def fetch(key, *extras); end
84
+ def has_key?(key); end
85
+ def include?(key); end
86
+ def initialize(constructor = nil); end
87
+ def key?(key); end
88
+ def member?(key); end
89
+ def merge!(other_hash); end
90
+ def merge(hash); end
91
+ def regular_update(arg0); end
92
+ def regular_writer(arg0, arg1); end
93
+ def reverse_merge!(other_hash); end
94
+ def reverse_merge(other_hash); end
95
+ def self.new_from_hash_copying_default(hash); end
96
+ def store(key, value); end
97
+ def stringify_keys!; end
98
+ def stringify_keys; end
99
+ def symbolize_keys; end
100
+ def to_hash; end
101
+ def to_options!; end
102
+ def update(other_hash); end
103
+ def values_at(*indices); end
104
+ end
105
+ module Mail::Multibyte
106
+ def self.clean(string); end
107
+ def self.mb_chars(str); end
108
+ def self.proxy_class; end
109
+ def self.proxy_class=(arg0); end
110
+ def self.valid_character; end
111
+ def self.verify!(string); end
112
+ def self.verify(string); end
113
+ end
114
+ module Mail::Multibyte::Unicode
115
+ def apply_mapping(string, mapping); end
116
+ def compose_codepoints(codepoints); end
117
+ def database; end
118
+ def decompose_codepoints(type, codepoints); end
119
+ def default_normalization_form; end
120
+ def default_normalization_form=(arg0); end
121
+ def g_pack(unpacked); end
122
+ def g_unpack(string); end
123
+ def in_char_class?(codepoint, classes); end
124
+ def normalize(string, form = nil); end
125
+ def reorder_characters(codepoints); end
126
+ def self.codepoints_to_pattern(array_of_codepoints); end
127
+ def tidy_byte(byte); end
128
+ def tidy_bytes(string, force = nil); end
129
+ def u_unpack(string); end
130
+ extend Mail::Multibyte::Unicode
131
+ end
132
+ class Mail::Multibyte::Unicode::Codepoint
133
+ def code; end
134
+ def code=(arg0); end
135
+ def combining_class; end
136
+ def combining_class=(arg0); end
137
+ def decomp_mapping; end
138
+ def decomp_mapping=(arg0); end
139
+ def decomp_type; end
140
+ def decomp_type=(arg0); end
141
+ def initialize; end
142
+ def lowercase_mapping; end
143
+ def lowercase_mapping=(arg0); end
144
+ def swapcase_mapping; end
145
+ def uppercase_mapping; end
146
+ def uppercase_mapping=(arg0); end
147
+ end
148
+ class Mail::Multibyte::Unicode::UnicodeDatabase
149
+ def boundary; end
150
+ def boundary=(arg0); end
151
+ def codepoints; end
152
+ def codepoints=(arg0); end
153
+ def composition_exclusion; end
154
+ def composition_exclusion=(arg0); end
155
+ def composition_map; end
156
+ def composition_map=(arg0); end
157
+ def cp1252; end
158
+ def cp1252=(arg0); end
159
+ def initialize; end
160
+ def load; end
161
+ def self.dirname; end
162
+ def self.filename; end
163
+ end
164
+ class Mail::Multibyte::Chars
165
+ def <=>(other); end
166
+ def =~(other); end
167
+ def [](*args); end
168
+ def []=(*args); end
169
+ def acts_like_string?; end
170
+ def capitalize!(*args); end
171
+ def capitalize; end
172
+ def chars(string); end
173
+ def compose; end
174
+ def decompose; end
175
+ def downcase!(*args); end
176
+ def downcase; end
177
+ def g_length; end
178
+ def initialize(string); end
179
+ def justify(integer, way, padstr = nil); end
180
+ def limit(limit); end
181
+ def method_missing(method, *args, &block); end
182
+ def normalize(form = nil); end
183
+ def padding(padsize, padstr = nil); end
184
+ def respond_to?(method, include_private = nil); end
185
+ def reverse!(*args); end
186
+ def reverse; end
187
+ def self.consumes?(string); end
188
+ def slice!(*args); end
189
+ def slice(*args); end
190
+ def split(*args); end
191
+ def tidy_bytes!(*args); end
192
+ def tidy_bytes(force = nil); end
193
+ def titlecase; end
194
+ def titleize; end
195
+ def to_s; end
196
+ def to_str; end
197
+ def translate_offset(byte_offset); end
198
+ def upcase!(*args); end
199
+ def upcase; end
200
+ def wrapped_string; end
201
+ include Comparable
202
+ end
203
+ class Mail::Multibyte::EncodingError < StandardError
204
+ end
205
+ module Mail::Constants
206
+ end
207
+ module Mail::Utilities
208
+ def atom_safe?(str); end
209
+ def bracket(str); end
210
+ def capitalize_field(str); end
211
+ def constantize(str); end
212
+ def dasherize(str); end
213
+ def dquote(str); end
214
+ def escape_paren(str); end
215
+ def map_lines(str, &block); end
216
+ def map_with_index(enum, &block); end
217
+ def match_to_s(obj1, obj2); end
218
+ def paren(str); end
219
+ def quote_atom(str); end
220
+ def quote_phrase(str); end
221
+ def quote_token(str); end
222
+ def self.binary_unsafe_to_crlf(string); end
223
+ def self.binary_unsafe_to_lf(string); end
224
+ def self.blank?(value); end
225
+ def self.safe_for_line_ending_conversion?(string); end
226
+ def self.to_crlf(string); end
227
+ def self.to_lf(string); end
228
+ def self.unescape(str); end
229
+ def self.unquote(str); end
230
+ def token_safe?(str); end
231
+ def unbracket(str); end
232
+ def underscoreize(str); end
233
+ def unescape(str); end
234
+ def unparen(str); end
235
+ def unquote(str); end
236
+ def uri_escape(str); end
237
+ def uri_parser; end
238
+ def uri_unescape(str); end
239
+ include Mail::Constants
240
+ end
241
+ class Mail::Configuration
242
+ def delivery_method(method = nil, settings = nil); end
243
+ def initialize; end
244
+ def lookup_delivery_method(method); end
245
+ def lookup_retriever_method(method); end
246
+ def param_encode_language(value = nil); end
247
+ def retriever_method(method = nil, settings = nil); end
248
+ def self.allocate; end
249
+ def self.instance; end
250
+ def self.new(*arg0); end
251
+ extend Singleton::SingletonClassMethods
252
+ include Singleton
253
+ end
254
+ class Mail::Retriever
255
+ def all(options = nil, &block); end
256
+ def find_and_delete(options = nil, &block); end
257
+ def first(options = nil, &block); end
258
+ def last(options = nil, &block); end
259
+ end
260
+ class Mail::Message
261
+ def <=>(other); end
262
+ def ==(other); end
263
+ def [](name); end
264
+ def []=(name, value); end
265
+ def action; end
266
+ def add_boundary; end
267
+ def add_charset; end
268
+ def add_content_transfer_encoding; end
269
+ def add_content_type; end
270
+ def add_date(date_val = nil); end
271
+ def add_encoding_to_body; end
272
+ def add_file(values); end
273
+ def add_message_id(msg_id_val = nil); end
274
+ def add_mime_version(ver_val = nil); end
275
+ def add_multipart_alternate_header; end
276
+ def add_multipart_mixed_header; end
277
+ def add_part(part); end
278
+ def add_required_fields; end
279
+ def add_required_message_fields; end
280
+ def add_transfer_encoding; end
281
+ def all_parts; end
282
+ def allowed_encodings; end
283
+ def attachment; end
284
+ def attachment?; end
285
+ def attachments; end
286
+ def bcc(val = nil); end
287
+ def bcc=(val); end
288
+ def bcc_addrs; end
289
+ def body(value = nil); end
290
+ def body=(value); end
291
+ def body_encoding(value = nil); end
292
+ def body_encoding=(value); end
293
+ def body_lazy(value); end
294
+ def bounced?; end
295
+ def boundary; end
296
+ def cc(val = nil); end
297
+ def cc=(val); end
298
+ def cc_addrs; end
299
+ def charset; end
300
+ def charset=(value); end
301
+ def comments(val = nil); end
302
+ def comments=(val); end
303
+ def content_description(val = nil); end
304
+ def content_description=(val); end
305
+ def content_disposition(val = nil); end
306
+ def content_disposition=(val); end
307
+ def content_id(val = nil); end
308
+ def content_id=(val); end
309
+ def content_location(val = nil); end
310
+ def content_location=(val); end
311
+ def content_transfer_encoding(val = nil); end
312
+ def content_transfer_encoding=(val); end
313
+ def content_type(val = nil); end
314
+ def content_type=(val); end
315
+ def content_type_parameters; end
316
+ def convert_to_multipart; end
317
+ def date(val = nil); end
318
+ def date=(val); end
319
+ def decode_body; end
320
+ def decode_body_as_text; end
321
+ def decoded; end
322
+ def default(sym, val = nil); end
323
+ def deliver!; end
324
+ def deliver; end
325
+ def delivery_handler; end
326
+ def delivery_handler=(arg0); end
327
+ def delivery_method(method = nil, settings = nil); end
328
+ def delivery_status_part; end
329
+ def delivery_status_report?; end
330
+ def destinations; end
331
+ def diagnostic_code; end
332
+ def do_delivery; end
333
+ def encode!; end
334
+ def encoded; end
335
+ def envelope_date; end
336
+ def envelope_from; end
337
+ def error_status; end
338
+ def errors; end
339
+ def filename; end
340
+ def final_recipient; end
341
+ def find_attachment; end
342
+ def find_first_mime_type(mt); end
343
+ def from(val = nil); end
344
+ def from=(val); end
345
+ def from_addrs; end
346
+ def has_attachments?; end
347
+ def has_charset?; end
348
+ def has_content_transfer_encoding?; end
349
+ def has_content_type?; end
350
+ def has_date?; end
351
+ def has_message_id?; end
352
+ def has_mime_version?; end
353
+ def has_transfer_encoding?; end
354
+ def header(value = nil); end
355
+ def header=(value); end
356
+ def header_fields; end
357
+ def headers(hash = nil); end
358
+ def html_part(&block); end
359
+ def html_part=(msg); end
360
+ def identify_and_set_transfer_encoding; end
361
+ def in_reply_to(val = nil); end
362
+ def in_reply_to=(val); end
363
+ def inform_interceptors; end
364
+ def inform_observers; end
365
+ def init_with_hash(hash); end
366
+ def init_with_string(string); end
367
+ def initialize(*args, &block); end
368
+ def initialize_copy(original); end
369
+ def inspect; end
370
+ def is_marked_for_delete?; end
371
+ def keywords(val = nil); end
372
+ def keywords=(val); end
373
+ def main_type; end
374
+ def mark_for_delete=(value = nil); end
375
+ def message_content_type; end
376
+ def message_id(val = nil); end
377
+ def message_id=(val); end
378
+ def method_missing(name, *args, &block); end
379
+ def mime_parameters; end
380
+ def mime_type; end
381
+ def mime_version(val = nil); end
382
+ def mime_version=(val); end
383
+ def multipart?; end
384
+ def multipart_report?; end
385
+ def parse_message; end
386
+ def part(params = nil); end
387
+ def parts; end
388
+ def perform_deliveries; end
389
+ def perform_deliveries=(arg0); end
390
+ def process_body_raw; end
391
+ def raise_delivery_errors; end
392
+ def raise_delivery_errors=(arg0); end
393
+ def raw_envelope; end
394
+ def raw_source; end
395
+ def raw_source=(value); end
396
+ def read; end
397
+ def ready_to_send!; end
398
+ def received(val = nil); end
399
+ def received=(val); end
400
+ def references(val = nil); end
401
+ def references=(val); end
402
+ def register_for_delivery_notification(observer); end
403
+ def remote_mta; end
404
+ def reply(*args, &block); end
405
+ def reply_to(val = nil); end
406
+ def reply_to=(val); end
407
+ def resent_bcc(val = nil); end
408
+ def resent_bcc=(val); end
409
+ def resent_cc(val = nil); end
410
+ def resent_cc=(val); end
411
+ def resent_date(val = nil); end
412
+ def resent_date=(val); end
413
+ def resent_from(val = nil); end
414
+ def resent_from=(val); end
415
+ def resent_message_id(val = nil); end
416
+ def resent_message_id=(val); end
417
+ def resent_sender(val = nil); end
418
+ def resent_sender=(val); end
419
+ def resent_to(val = nil); end
420
+ def resent_to=(val); end
421
+ def retryable?; end
422
+ def return_path(val = nil); end
423
+ def return_path=(val); end
424
+ def self.default_charset; end
425
+ def self.default_charset=(charset); end
426
+ def self.from_hash(hash); end
427
+ def self.from_yaml(str); end
428
+ def sender(val = nil); end
429
+ def sender=(val); end
430
+ def separate_parts; end
431
+ def set_envelope(val); end
432
+ def set_envelope_header; end
433
+ def skip_deletion; end
434
+ def smtp_envelope_from(val = nil); end
435
+ def smtp_envelope_from=(val); end
436
+ def smtp_envelope_to(val = nil); end
437
+ def smtp_envelope_to=(val); end
438
+ def sub_type; end
439
+ def subject(val = nil); end
440
+ def subject=(val); end
441
+ def text?; end
442
+ def text_part(&block); end
443
+ def text_part=(msg); end
444
+ def to(val = nil); end
445
+ def to=(val); end
446
+ def to_addrs; end
447
+ def to_s; end
448
+ def to_yaml(opts = nil); end
449
+ def transfer_encoding; end
450
+ def transport_encoding(val = nil); end
451
+ def transport_encoding=(val); end
452
+ def without_attachments!; end
453
+ include Mail::Constants
454
+ include Mail::Utilities
455
+ end
456
+ class Mail::Part < Mail::Message
457
+ def action; end
458
+ def add_content_id(content_id_val = nil); end
459
+ def add_required_fields; end
460
+ def add_required_message_fields; end
461
+ def bounced?; end
462
+ def cid; end
463
+ def delivery_status_data; end
464
+ def delivery_status_report_part?; end
465
+ def diagnostic_code; end
466
+ def error_status; end
467
+ def final_recipient; end
468
+ def get_return_values(key); end
469
+ def has_content_id?; end
470
+ def inline?; end
471
+ def inline_content_id; end
472
+ def parse_delivery_status_report; end
473
+ def parse_message; end
474
+ def remote_mta; end
475
+ def retryable?; end
476
+ def url; end
477
+ end
478
+ class Mail::Header
479
+ def [](name); end
480
+ def []=(name, value); end
481
+ def charset; end
482
+ def charset=(val); end
483
+ def decoded; end
484
+ def each(&block); end
485
+ def encoded; end
486
+ def errors; end
487
+ def field_summary; end
488
+ def fields; end
489
+ def fields=(unfolded_fields); end
490
+ def has_content_id?; end
491
+ def has_date?; end
492
+ def has_message_id?; end
493
+ def has_mime_version?; end
494
+ def initialize(header_text = nil, charset = nil); end
495
+ def initialize_copy(original); end
496
+ def limited_field?(name); end
497
+ def raw_source; end
498
+ def raw_source=(val); end
499
+ def select_field_for(name); end
500
+ def self.maximum_amount; end
501
+ def self.maximum_amount=(value); end
502
+ def split_header; end
503
+ def to_s; end
504
+ include Enumerable
505
+ include Mail::Constants
506
+ include Mail::Utilities
507
+ end
508
+ class Mail::PartsList < Anonymous_Delegator_25
509
+ def attachments; end
510
+ def collect!; end
511
+ def collect; end
512
+ def encode_with(coder); end
513
+ def get_order_value(part, order); end
514
+ def initialize(*args); end
515
+ def map!; end
516
+ def map; end
517
+ def parts; end
518
+ def sort!(order); end
519
+ def sort; end
520
+ def to_yaml(options = nil); end
521
+ end
522
+ class Mail::AttachmentsList < Array
523
+ def [](index_value); end
524
+ def []=(name, value); end
525
+ def guess_encoding; end
526
+ def initialize(parts_list); end
527
+ def inline; end
528
+ def set_mime_type(filename); end
529
+ end
530
+ class Mail::Body
531
+ def <<(val); end
532
+ def ==(other); end
533
+ def =~(regexp); end
534
+ def ascii_only?; end
535
+ def boundary; end
536
+ def boundary=(val); end
537
+ def charset; end
538
+ def charset=(val); end
539
+ def crlf_boundary; end
540
+ def decoded; end
541
+ def default_encoding; end
542
+ def empty?; end
543
+ def encoded(transfer_encoding = nil); end
544
+ def encoding(val = nil); end
545
+ def encoding=(val); end
546
+ def end_boundary; end
547
+ def epilogue; end
548
+ def epilogue=(val); end
549
+ def extract_parts; end
550
+ def include?(other); end
551
+ def initialize(string = nil); end
552
+ def match(regexp); end
553
+ def multipart?; end
554
+ def negotiate_best_encoding(message_encoding, allowed_encodings = nil); end
555
+ def parts; end
556
+ def preamble; end
557
+ def preamble=(val); end
558
+ def raw_source; end
559
+ def set_charset; end
560
+ def set_sort_order(order); end
561
+ def sort_parts!; end
562
+ def split!(boundary); end
563
+ def to_s; end
564
+ end
565
+ class Mail::AddressContainer < Array
566
+ def <<(address); end
567
+ def initialize(field, list = nil); end
568
+ end
569
+ module Mail::CommonAddress
570
+ def <<(val); end
571
+ def address_list; end
572
+ def addresses; end
573
+ def addrs; end
574
+ def charset; end
575
+ def decoded_group_addresses; end
576
+ def default; end
577
+ def display_names; end
578
+ def do_decode; end
579
+ def do_encode(field_name); end
580
+ def each; end
581
+ def encode_if_needed(val); end
582
+ def encoded_group_addresses; end
583
+ def formatted; end
584
+ def get_group_addresses(group_list); end
585
+ def group_addresses; end
586
+ def group_names; end
587
+ def groups; end
588
+ def parse(val = nil); end
589
+ def utf8_if_needed(val); end
590
+ def value=(val); end
591
+ end
592
+ module Mail::CommonField
593
+ def default; end
594
+ def ensure_filename_quoted(value); end
595
+ def field_length; end
596
+ def name; end
597
+ def name=(value); end
598
+ def responsible_for?(val); end
599
+ def to_s; end
600
+ def value; end
601
+ def value=(value); end
602
+ include Mail::Constants
603
+ end
604
+ class Mail::StructuredField
605
+ def charset; end
606
+ def charset=(val); end
607
+ def default; end
608
+ def errors; end
609
+ def initialize(name = nil, value = nil, charset = nil); end
610
+ include Mail::CommonField
611
+ include Mail::Utilities
612
+ end
613
+ class Mail::ToField < Mail::StructuredField
614
+ def decoded; end
615
+ def encoded; end
616
+ def initialize(value = nil, charset = nil); end
617
+ include Mail::CommonAddress
618
+ end
619
+ class Mail::CcField < Mail::StructuredField
620
+ def decoded; end
621
+ def encoded; end
622
+ def initialize(value = nil, charset = nil); end
623
+ include Mail::CommonAddress
624
+ end
625
+ class Mail::BccField < Mail::StructuredField
626
+ def decoded; end
627
+ def encoded; end
628
+ def include_in_headers; end
629
+ def include_in_headers=(include_in_headers); end
630
+ def initialize(value = nil, charset = nil); end
631
+ include Mail::CommonAddress
632
+ end
633
+ module Mail::CommonMessageId
634
+ def default; end
635
+ def do_decode; end
636
+ def do_encode(field_name); end
637
+ def element; end
638
+ def formated_message_ids(join); end
639
+ def message_id; end
640
+ def message_ids; end
641
+ def parse(val = nil); end
642
+ end
643
+ class Mail::MessageIdField < Mail::StructuredField
644
+ def decoded; end
645
+ def encoded; end
646
+ def generate_message_id; end
647
+ def initialize(value = nil, charset = nil); end
648
+ def message_ids; end
649
+ def name; end
650
+ def to_s; end
651
+ include Mail::CommonMessageId
652
+ end
653
+ class Mail::InReplyToField < Mail::StructuredField
654
+ def decoded; end
655
+ def encoded; end
656
+ def initialize(value = nil, charset = nil); end
657
+ include Mail::CommonMessageId
658
+ end
659
+ class Mail::ReferencesField < Mail::StructuredField
660
+ def decoded; end
661
+ def encoded; end
662
+ def initialize(value = nil, charset = nil); end
663
+ include Mail::CommonMessageId
664
+ end
665
+ class Mail::UnstructuredField
666
+ def charset; end
667
+ def charset=(arg0); end
668
+ def decoded; end
669
+ def default; end
670
+ def do_decode; end
671
+ def do_encode; end
672
+ def encode(value); end
673
+ def encode_crlf(value); end
674
+ def encoded; end
675
+ def errors; end
676
+ def fold(prepend = nil); end
677
+ def initialize(name, value, charset = nil); end
678
+ def normalized_encoding; end
679
+ def parse; end
680
+ def wrap_lines(name, folded_lines); end
681
+ def wrapped_value; end
682
+ include Mail::CommonField
683
+ include Mail::Utilities
684
+ end
685
+ class Mail::SubjectField < Mail::UnstructuredField
686
+ def initialize(value = nil, charset = nil); end
687
+ end
688
+ class Mail::CommentsField < Mail::UnstructuredField
689
+ def initialize(value = nil, charset = nil); end
690
+ end
691
+ class Mail::KeywordsField < Mail::StructuredField
692
+ def decoded; end
693
+ def default; end
694
+ def encoded; end
695
+ def initialize(value = nil, charset = nil); end
696
+ def keywords; end
697
+ def parse(val = nil); end
698
+ def phrase_list; end
699
+ end
700
+ module Mail::CommonDate
701
+ def date_time; end
702
+ def default; end
703
+ def do_decode; end
704
+ def do_encode(field_name); end
705
+ def element; end
706
+ def parse(val = nil); end
707
+ end
708
+ class Mail::DateField < Mail::StructuredField
709
+ def decoded; end
710
+ def encoded; end
711
+ def initialize(value = nil, charset = nil); end
712
+ include Mail::CommonDate
713
+ end
714
+ class Mail::FromField < Mail::StructuredField
715
+ def decoded; end
716
+ def encoded; end
717
+ def initialize(value = nil, charset = nil); end
718
+ include Mail::CommonAddress
719
+ end
720
+ class Mail::SenderField < Mail::StructuredField
721
+ def address; end
722
+ def addresses; end
723
+ def decoded; end
724
+ def default; end
725
+ def encoded; end
726
+ def initialize(value = nil, charset = nil); end
727
+ include Mail::CommonAddress
728
+ end
729
+ class Mail::ReplyToField < Mail::StructuredField
730
+ def decoded; end
731
+ def encoded; end
732
+ def initialize(value = nil, charset = nil); end
733
+ include Mail::CommonAddress
734
+ end
735
+ class Mail::ResentDateField < Mail::StructuredField
736
+ def decoded; end
737
+ def encoded; end
738
+ def initialize(value = nil, charset = nil); end
739
+ include Mail::CommonDate
740
+ end
741
+ class Mail::ResentFromField < Mail::StructuredField
742
+ def decoded; end
743
+ def encoded; end
744
+ def initialize(value = nil, charset = nil); end
745
+ include Mail::CommonAddress
746
+ end
747
+ class Mail::ResentSenderField < Mail::StructuredField
748
+ def address; end
749
+ def addresses; end
750
+ def decoded; end
751
+ def encoded; end
752
+ def initialize(value = nil, charset = nil); end
753
+ include Mail::CommonAddress
754
+ end
755
+ class Mail::ResentToField < Mail::StructuredField
756
+ def decoded; end
757
+ def encoded; end
758
+ def initialize(value = nil, charset = nil); end
759
+ include Mail::CommonAddress
760
+ end
761
+ class Mail::ResentCcField < Mail::StructuredField
762
+ def decoded; end
763
+ def encoded; end
764
+ def initialize(value = nil, charset = nil); end
765
+ include Mail::CommonAddress
766
+ end
767
+ class Mail::ResentBccField < Mail::StructuredField
768
+ def decoded; end
769
+ def encoded; end
770
+ def initialize(value = nil, charset = nil); end
771
+ include Mail::CommonAddress
772
+ end
773
+ class Mail::ResentMessageIdField < Mail::StructuredField
774
+ def decoded; end
775
+ def encoded; end
776
+ def initialize(value = nil, charset = nil); end
777
+ def name; end
778
+ include Mail::CommonMessageId
779
+ end
780
+ class Mail::ReturnPathField < Mail::StructuredField
781
+ def address; end
782
+ def decoded; end
783
+ def default; end
784
+ def encoded; end
785
+ def initialize(value = nil, charset = nil); end
786
+ include Mail::CommonAddress
787
+ end
788
+ class Mail::ReceivedField < Mail::StructuredField
789
+ def date_time; end
790
+ def decoded; end
791
+ def element; end
792
+ def encoded; end
793
+ def formatted_date; end
794
+ def info; end
795
+ def initialize(value = nil, charset = nil); end
796
+ def parse(val = nil); end
797
+ end
798
+ class Mail::MimeVersionField < Mail::StructuredField
799
+ def decoded; end
800
+ def element; end
801
+ def encoded; end
802
+ def initialize(value = nil, charset = nil); end
803
+ def major; end
804
+ def minor; end
805
+ def parse(val = nil); end
806
+ def version; end
807
+ end
808
+ class Mail::ContentTransferEncodingField < Mail::StructuredField
809
+ def decoded; end
810
+ def element; end
811
+ def encoded; end
812
+ def encoding; end
813
+ def initialize(value = nil, charset = nil); end
814
+ def parse(val = nil); end
815
+ end
816
+ class Mail::ContentDescriptionField < Mail::UnstructuredField
817
+ def initialize(value = nil, charset = nil); end
818
+ end
819
+ class Mail::ParameterHash < Mail::IndifferentHash
820
+ def [](key_name); end
821
+ def decoded; end
822
+ def encoded; end
823
+ include Mail::Utilities
824
+ end
825
+ class Mail::ContentDispositionField < Mail::StructuredField
826
+ def decoded; end
827
+ def disposition_type; end
828
+ def element; end
829
+ def encoded; end
830
+ def filename; end
831
+ def initialize(value = nil, charset = nil); end
832
+ def parameters; end
833
+ def parse(val = nil); end
834
+ end
835
+ class Mail::ContentTypeField < Mail::StructuredField
836
+ def attempt_to_clean; end
837
+ def content_type; end
838
+ def decoded; end
839
+ def default; end
840
+ def element; end
841
+ def encoded; end
842
+ def filename; end
843
+ def get_mime_type(val); end
844
+ def initialize(value = nil, charset = nil); end
845
+ def main_type; end
846
+ def method_missing(name, *args, &block); end
847
+ def parameters; end
848
+ def parse(val = nil); end
849
+ def sanatize(val); end
850
+ def self.generate_boundary; end
851
+ def self.with_boundary(type); end
852
+ def string; end
853
+ def stringify(params); end
854
+ def sub_type; end
855
+ def value; end
856
+ end
857
+ class Mail::ContentIdField < Mail::StructuredField
858
+ def content_id; end
859
+ def decoded; end
860
+ def element; end
861
+ def encoded; end
862
+ def generate_content_id; end
863
+ def initialize(value = nil, charset = nil); end
864
+ def name; end
865
+ def parse(val = nil); end
866
+ def to_s; end
867
+ end
868
+ class Mail::ContentLocationField < Mail::StructuredField
869
+ def decoded; end
870
+ def element; end
871
+ def encoded; end
872
+ def initialize(value = nil, charset = nil); end
873
+ def location; end
874
+ def parse(val = nil); end
875
+ end
876
+ class Mail::Field
877
+ def <=>(other); end
878
+ def ==(other); end
879
+ def create_field(name, value, charset); end
880
+ def field; end
881
+ def field=(value); end
882
+ def field_class_for(name); end
883
+ def field_order_id; end
884
+ def initialize(name, value = nil, charset = nil); end
885
+ def inspect; end
886
+ def method_missing(name, *args, &block); end
887
+ def name; end
888
+ def new_field(name, value, charset); end
889
+ def respond_to_missing?(method_name, include_private); end
890
+ def responsible_for?(val); end
891
+ def same(other); end
892
+ def self.parse(field, charset = nil); end
893
+ def self.split(raw_field); end
894
+ def to_s; end
895
+ def unfold(string); end
896
+ def unparsed_value; end
897
+ def update(name, value); end
898
+ def value; end
899
+ def value=(val); end
900
+ include Comparable
901
+ include Mail::Utilities
902
+ end
903
+ class Mail::Field::FieldError < StandardError
904
+ end
905
+ class Mail::Field::ParseError < Mail::Field::FieldError
906
+ def element; end
907
+ def element=(arg0); end
908
+ def initialize(element, value, reason); end
909
+ def reason; end
910
+ def reason=(arg0); end
911
+ def to_utf8(text); end
912
+ def value; end
913
+ def value=(arg0); end
914
+ end
915
+ class Mail::Field::NilParseError < Mail::Field::ParseError
916
+ def initialize(element); end
917
+ end
918
+ class Mail::Field::IncompleteParseError < Mail::Field::ParseError
919
+ def initialize(element, original_text, unparsed_index); end
920
+ end
921
+ class Mail::Field::SyntaxError < Mail::Field::FieldError
922
+ end
923
+ class Mail::FieldList < Array
924
+ def <<(new_field); end
925
+ include Enumerable
926
+ end
927
+ class Mail::Envelope < Mail::StructuredField
928
+ def date; end
929
+ def element; end
930
+ def from; end
931
+ def initialize(*args); end
932
+ end
933
+ class Mail::UnknownEncodingType < StandardError
934
+ end
935
+ module Mail::Encodings
936
+ def self.address_encode(address, charset = nil); end
937
+ def self.b_value_decode(str); end
938
+ def self.b_value_encode(string, encoding = nil); end
939
+ def self.collapse_adjacent_encodings(str); end
940
+ def self.decode_encode(str, output_type); end
941
+ def self.defined?(name); end
942
+ def self.each_base64_chunk_byterange(str, max_bytesize_per_base64_chunk, &block); end
943
+ def self.each_chunk_byterange(str, max_bytesize_per_chunk); end
944
+ def self.encode_non_usascii(address, charset); end
945
+ def self.find_encoding(str); end
946
+ def self.get_all; end
947
+ def self.get_encoding(name); end
948
+ def self.get_name(name); end
949
+ def self.param_decode(str, encoding); end
950
+ def self.param_encode(str); end
951
+ def self.q_value_decode(str); end
952
+ def self.q_value_encode(encoded_str, encoding = nil); end
953
+ def self.register(name, cls); end
954
+ def self.transcode_charset(str, from_charset, to_charset = nil); end
955
+ def self.unquote_and_convert_to(str, to_encoding); end
956
+ def self.value_decode(str); end
957
+ def self.value_encoding_from_string(str); end
958
+ def self.with_ascii_kcode; end
959
+ extend Mail::Utilities
960
+ include Mail::Constants
961
+ end
962
+ class Mail::Encodings::TransferEncoding
963
+ def self.can_encode?(enc); end
964
+ def self.can_transport?(enc); end
965
+ def self.compatible_input?(str); end
966
+ def self.cost(str); end
967
+ def self.lowest_cost(str, encodings); end
968
+ def self.negotiate(message_encoding, source_encoding, str, allowed_encodings = nil); end
969
+ def self.renegotiate(message_encoding, source_encoding, str, allowed_encodings = nil); end
970
+ def self.to_s; end
971
+ end
972
+ class Mail::Encodings::Identity < Mail::Encodings::TransferEncoding
973
+ def self.cost(str); end
974
+ def self.decode(str); end
975
+ def self.encode(str); end
976
+ end
977
+ class Mail::Encodings::Binary < Mail::Encodings::Identity
978
+ end
979
+ class Mail::Encodings::EightBit < Mail::Encodings::Binary
980
+ def self.compatible_input?(str); end
981
+ end
982
+ class Mail::Encodings::SevenBit < Mail::Encodings::EightBit
983
+ def self.decode(str); end
984
+ def self.encode(str); end
985
+ end
986
+ class Mail::Encodings::Base64 < Mail::Encodings::SevenBit
987
+ def self.can_encode?(enc); end
988
+ def self.compatible_input?(str); end
989
+ def self.cost(str); end
990
+ def self.decode(str); end
991
+ def self.encode(str); end
992
+ end
993
+ class Mail::Encodings::QuotedPrintable < Mail::Encodings::SevenBit
994
+ def self.can_encode?(enc); end
995
+ def self.compatible_input?(str); end
996
+ def self.cost(str); end
997
+ def self.decode(str); end
998
+ def self.encode(str); end
999
+ end
1000
+ class Mail::Encodings::UnixToUnix < Mail::Encodings::TransferEncoding
1001
+ def self.decode(str); end
1002
+ def self.encode(str); end
1003
+ end
1004
+ module Mail::Matchers
1005
+ def an_attachment_with_filename(filename); end
1006
+ def any_attachment; end
1007
+ def have_sent_email; end
1008
+ end
1009
+ class Mail::Matchers::HasSentEmailMatcher
1010
+ def bcc(recipient_or_list); end
1011
+ def cc(recipient_or_list); end
1012
+ def description; end
1013
+ def dump_deliveries; end
1014
+ def explain_expectations; end
1015
+ def failure_message; end
1016
+ def failure_message_when_negated; end
1017
+ def filter_matched_deliveries(deliveries); end
1018
+ def from(sender); end
1019
+ def initialize(_context); end
1020
+ def matches?(subject); end
1021
+ def matches_on_attachments?(delivery); end
1022
+ def matches_on_blind_copy_recipients?(delivery); end
1023
+ def matches_on_body?(delivery); end
1024
+ def matches_on_body_matcher?(delivery); end
1025
+ def matches_on_copy_recipients?(delivery); end
1026
+ def matches_on_having_attachments?(delivery); end
1027
+ def matches_on_html_part_body?(delivery); end
1028
+ def matches_on_recipients?(delivery); end
1029
+ def matches_on_sender?(delivery); end
1030
+ def matches_on_subject?(delivery); end
1031
+ def matches_on_subject_matcher?(delivery); end
1032
+ def matches_on_text_part_body?(delivery); end
1033
+ def matching_body(body_matcher); end
1034
+ def matching_subject(subject_matcher); end
1035
+ def to(recipient_or_list); end
1036
+ def with_any_attachments; end
1037
+ def with_attachments(attachments); end
1038
+ def with_body(body); end
1039
+ def with_html(body); end
1040
+ def with_no_attachments; end
1041
+ def with_subject(subject); end
1042
+ def with_text(body); end
1043
+ end
1044
+ class Mail::Matchers::AnyAttachmentMatcher
1045
+ def ===(other); end
1046
+ end
1047
+ class Mail::Matchers::AttachmentFilenameMatcher
1048
+ def ===(other); end
1049
+ def filename; end
1050
+ def initialize(filename); end
1051
+ end
1052
+ module Mail::CheckDeliveryParams
1053
+ def self.check(mail); end
1054
+ def self.check_addr(addr_name, addr); end
1055
+ def self.check_from(addr); end
1056
+ def self.check_message(message); end
1057
+ def self.check_to(addrs); end
1058
+ def self.validate_smtp_addr(addr); end
1059
+ end
1060
+ class Mail::TestMailer
1061
+ def deliver!(mail); end
1062
+ def initialize(values); end
1063
+ def self.deliveries; end
1064
+ def self.deliveries=(val); end
1065
+ def settings; end
1066
+ def settings=(arg0); end
1067
+ end
1068
+ class Mail::SMTP
1069
+ def build_smtp_session; end
1070
+ def deliver!(mail); end
1071
+ def initialize(values); end
1072
+ def settings; end
1073
+ def settings=(arg0); end
1074
+ def ssl_context; end
1075
+ def start_smtp_session(&block); end
1076
+ end
1077
+ class Mail::FileDelivery
1078
+ def deliver!(mail); end
1079
+ def initialize(values); end
1080
+ def settings; end
1081
+ def settings=(arg0); end
1082
+ end
1083
+ class Mail::Sendmail
1084
+ def deliver!(mail); end
1085
+ def initialize(values); end
1086
+ def self.call(path, arguments, destinations, encoded_message); end
1087
+ def self.popen(command, &block); end
1088
+ def self.shellquote(address); end
1089
+ def settings; end
1090
+ def settings=(arg0); end
1091
+ end