packwerk 3.2.0 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/lib/packwerk/checker.rb +3 -3
  3. data/lib/packwerk/offenses_formatter.rb +3 -3
  4. data/lib/packwerk/package_todo.rb +1 -4
  5. data/lib/packwerk/parsers/factory.rb +3 -3
  6. data/lib/packwerk/parsers/ruby.rb +7 -0
  7. data/lib/packwerk/reference_offense.rb +1 -1
  8. data/lib/packwerk/validator.rb +3 -3
  9. data/lib/packwerk/version.rb +1 -1
  10. data/sorbet/rbi/gems/actionpack@7.0.3.1.rbi +3280 -3450
  11. data/sorbet/rbi/gems/actionview@7.0.3.1.rbi +2322 -1782
  12. data/sorbet/rbi/gems/activesupport@7.0.3.1.rbi +2654 -3268
  13. data/sorbet/rbi/gems/ast@2.4.2.rbi +535 -6
  14. data/sorbet/rbi/gems/better_html@2.0.1.rbi +529 -0
  15. data/sorbet/rbi/gems/builder@3.2.4.rbi +4 -4
  16. data/sorbet/rbi/gems/byebug@11.1.3.rbi +32 -4
  17. data/sorbet/rbi/gems/concurrent-ruby@1.1.10.rbi +1750 -1840
  18. data/sorbet/rbi/gems/constant_resolver@0.2.0.rbi +15 -15
  19. data/sorbet/rbi/gems/crass@1.0.6.rbi +489 -5
  20. data/sorbet/rbi/gems/erubi@1.11.0.rbi +24 -21
  21. data/sorbet/rbi/gems/i18n@1.12.0.rbi +395 -395
  22. data/sorbet/rbi/gems/json@2.6.2.rbi +70 -77
  23. data/sorbet/rbi/gems/language_server-protocol@3.16.0.3.rbi +1 -1
  24. data/sorbet/rbi/gems/loofah@2.18.0.rbi +134 -134
  25. data/sorbet/rbi/gems/m@1.6.0.rbi +60 -60
  26. data/sorbet/rbi/gems/method_source@1.1.0.rbi +303 -0
  27. data/sorbet/rbi/gems/minitest-focus@1.3.1.rbi +22 -28
  28. data/sorbet/rbi/gems/minitest@5.16.2.rbi +384 -396
  29. data/sorbet/rbi/gems/mocha@1.14.0.rbi +589 -589
  30. data/sorbet/rbi/gems/netrc@0.11.0.rbi +37 -32
  31. data/sorbet/rbi/gems/nokogiri@1.15.3.rbi +962 -946
  32. data/sorbet/rbi/gems/{parallel@1.22.1.rbi → parallel@1.24.0.rbi} +85 -82
  33. data/sorbet/rbi/gems/{parser@3.2.2.0.rbi → parser@3.3.1.0.rbi} +1679 -1609
  34. data/sorbet/rbi/gems/prettier_print@0.1.0.rbi +1 -1
  35. data/sorbet/rbi/gems/{prism@0.24.0.rbi → prism@0.27.0.rbi} +13473 -6472
  36. data/sorbet/rbi/gems/{racc@1.6.0.rbi → racc@1.7.1.rbi} +42 -33
  37. data/sorbet/rbi/gems/rack-test@2.0.2.rbi +148 -338
  38. data/sorbet/rbi/gems/rack@2.2.4.rbi +1079 -1130
  39. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +354 -22
  40. data/sorbet/rbi/gems/rails-html-sanitizer@1.4.3.rbi +113 -259
  41. data/sorbet/rbi/gems/railties@7.0.3.1.rbi +642 -638
  42. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +109 -99
  43. data/sorbet/rbi/gems/rake@13.0.6.rbi +714 -599
  44. data/sorbet/rbi/gems/{rbi@0.0.15.rbi → rbi@0.1.12.rbi} +865 -801
  45. data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +853 -870
  46. data/sorbet/rbi/gems/rexml@3.2.5.rbi +480 -477
  47. data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +1621 -1622
  48. data/sorbet/rbi/gems/rubocop-performance@1.14.3.rbi +507 -526
  49. data/sorbet/rbi/gems/rubocop-shopify@2.9.0.rbi +1 -1
  50. data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +186 -203
  51. data/sorbet/rbi/gems/rubocop@1.34.1.rbi +8126 -8367
  52. data/sorbet/rbi/gems/{ruby-lsp@0.2.1.rbi → ruby-lsp@0.2.3.rbi} +2 -2
  53. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1235 -4
  54. data/sorbet/rbi/gems/smart_properties@1.17.0.rbi +90 -90
  55. data/sorbet/rbi/gems/spoom@1.3.2.rbi +4420 -0
  56. data/sorbet/rbi/gems/spring@4.0.0.rbi +104 -104
  57. data/sorbet/rbi/gems/syntax_tree@3.3.0.rbi +1 -1
  58. data/sorbet/rbi/gems/{tapioca@0.9.2.rbi → tapioca@0.13.3.rbi} +1596 -1253
  59. data/sorbet/rbi/gems/{thor@1.2.1.rbi → thor@1.3.1.rbi} +1047 -652
  60. data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +531 -513
  61. data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +13 -13
  62. data/sorbet/rbi/gems/{yard-sorbet@0.6.1.rbi → yard-sorbet@0.8.1.rbi} +132 -92
  63. data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.36.rbi} +3158 -3067
  64. data/sorbet/rbi/gems/zeitwerk@2.6.4.rbi +149 -145
  65. metadata +18 -76
  66. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -27
  67. data/.github/pull_request_template.md +0 -28
  68. data/.github/workflows/ci.yml +0 -93
  69. data/.github/workflows/cla.yml +0 -22
  70. data/.gitignore +0 -13
  71. data/.rubocop.yml +0 -75
  72. data/.ruby-version +0 -1
  73. data/CODEOWNERS +0 -1
  74. data/CODE_OF_CONDUCT.md +0 -76
  75. data/CONTRIBUTING.md +0 -17
  76. data/Gemfile +0 -27
  77. data/Gemfile.lock +0 -206
  78. data/RESOLVING_VIOLATIONS.md +0 -76
  79. data/Rakefile +0 -22
  80. data/TROUBLESHOOT.md +0 -44
  81. data/UPGRADING.md +0 -66
  82. data/USAGE.md +0 -364
  83. data/bin/console +0 -15
  84. data/bin/m +0 -29
  85. data/bin/rake +0 -29
  86. data/bin/rubocop +0 -29
  87. data/bin/setup +0 -8
  88. data/bin/srb +0 -29
  89. data/bin/tapioca +0 -29
  90. data/dev.yml +0 -32
  91. data/docs/cohesion.png +0 -0
  92. data/gemfiles/Gemfile-rails-6-0 +0 -22
  93. data/gemfiles/Gemfile-rails-6-1 +0 -22
  94. data/packwerk.gemspec +0 -59
  95. data/shipit.rubygems.yml +0 -5
  96. data/sorbet/rbi/gems/actioncable@7.0.3.1.rbi +0 -2754
  97. data/sorbet/rbi/gems/actionmailbox@7.0.3.1.rbi +0 -1496
  98. data/sorbet/rbi/gems/actionmailer@7.0.3.1.rbi +0 -2362
  99. data/sorbet/rbi/gems/actiontext@7.0.3.1.rbi +0 -1569
  100. data/sorbet/rbi/gems/activejob@7.0.3.1.rbi +0 -2553
  101. data/sorbet/rbi/gems/activemodel@7.0.3.1.rbi +0 -5999
  102. data/sorbet/rbi/gems/activerecord@7.0.3.1.rbi +0 -37832
  103. data/sorbet/rbi/gems/activestorage@7.0.3.1.rbi +0 -2321
  104. data/sorbet/rbi/gems/better_html@1.0.16.rbi +0 -317
  105. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
  106. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -1079
  107. data/sorbet/rbi/gems/digest@3.1.0.rbi +0 -189
  108. data/sorbet/rbi/gems/globalid@1.0.0.rbi +0 -572
  109. data/sorbet/rbi/gems/mail@2.7.1.rbi +0 -2490
  110. data/sorbet/rbi/gems/marcel@1.0.2.rbi +0 -220
  111. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -76
  112. data/sorbet/rbi/gems/mini_mime@1.1.2.rbi +0 -170
  113. data/sorbet/rbi/gems/net-imap@0.2.3.rbi +0 -2147
  114. data/sorbet/rbi/gems/net-pop@0.1.1.rbi +0 -926
  115. data/sorbet/rbi/gems/net-protocol@0.1.3.rbi +0 -11
  116. data/sorbet/rbi/gems/net-smtp@0.3.1.rbi +0 -1108
  117. data/sorbet/rbi/gems/nio4r@2.5.8.rbi +0 -292
  118. data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
  119. data/sorbet/rbi/gems/rails@7.0.3.1.rbi +0 -8
  120. data/sorbet/rbi/gems/spoom@1.1.11.rbi +0 -2181
  121. data/sorbet/rbi/gems/strscan@3.0.4.rbi +0 -8
  122. data/sorbet/rbi/gems/timeout@0.3.0.rbi +0 -142
  123. data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -4529
  124. data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2582
  125. data/sorbet/rbi/gems/websocket-driver@0.7.5.rbi +0 -993
  126. data/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi +0 -71
@@ -1,1496 +0,0 @@
1
- # typed: true
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `actionmailbox` gem.
5
- # Please instead update this file by running `bin/tapioca gem actionmailbox`.
6
-
7
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:5
8
- module ActionMailbox
9
- extend ::ActiveSupport::Autoload
10
-
11
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:14
12
- def incinerate; end
13
-
14
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:14
15
- def incinerate=(val); end
16
-
17
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:15
18
- def incinerate_after; end
19
-
20
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:15
21
- def incinerate_after=(val); end
22
-
23
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:12
24
- def ingress; end
25
-
26
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:12
27
- def ingress=(val); end
28
-
29
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:13
30
- def logger; end
31
-
32
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:13
33
- def logger=(val); end
34
-
35
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:16
36
- def queues; end
37
-
38
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:16
39
- def queues=(val); end
40
-
41
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:17
42
- def storage_service; end
43
-
44
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:17
45
- def storage_service=(val); end
46
-
47
- class << self
48
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:14
49
- def incinerate; end
50
-
51
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:14
52
- def incinerate=(val); end
53
-
54
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:15
55
- def incinerate_after; end
56
-
57
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:15
58
- def incinerate_after=(val); end
59
-
60
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:12
61
- def ingress; end
62
-
63
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:12
64
- def ingress=(val); end
65
-
66
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:13
67
- def logger; end
68
-
69
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:13
70
- def logger=(val); end
71
-
72
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:16
73
- def queues; end
74
-
75
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:16
76
- def queues=(val); end
77
-
78
- # source://railties-7.0.3.1/lib/rails/engine.rb:405
79
- def railtie_helpers_paths; end
80
-
81
- # source://railties-7.0.3.1/lib/rails/engine.rb:394
82
- def railtie_namespace; end
83
-
84
- # source://railties-7.0.3.1/lib/rails/engine.rb:409
85
- def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end
86
-
87
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:17
88
- def storage_service; end
89
-
90
- # source://actionmailbox-7.0.3.1/lib/action_mailbox.rb:17
91
- def storage_service=(val); end
92
-
93
- # source://railties-7.0.3.1/lib/rails/engine.rb:397
94
- def table_name_prefix; end
95
-
96
- # source://railties-7.0.3.1/lib/rails/engine.rb:401
97
- def use_relative_model_naming?; end
98
- end
99
- end
100
-
101
- # The base class for all application mailboxes. Not intended to be inherited from directly. Inherit from
102
- # +ApplicationMailbox+ instead, as that's where the app-specific routing is configured. This routing
103
- # is specified in the following ways:
104
- #
105
- # class ApplicationMailbox < ActionMailbox::Base
106
- # # Any of the recipients of the mail (whether to, cc, bcc) are matched against the regexp.
107
- # routing /^replies@/i => :replies
108
- #
109
- # # Any of the recipients of the mail (whether to, cc, bcc) needs to be an exact match for the string.
110
- # routing "help@example.com" => :help
111
- #
112
- # # Any callable (proc, lambda, etc) object is passed the inbound_email record and is a match if true.
113
- # routing ->(inbound_email) { inbound_email.mail.to.size > 2 } => :multiple_recipients
114
- #
115
- # # Any object responding to #match? is called with the inbound_email record as an argument. Match if true.
116
- # routing CustomAddress.new => :custom
117
- #
118
- # # Any inbound_email that has not been already matched will be sent to the BackstopMailbox.
119
- # routing :all => :backstop
120
- # end
121
- #
122
- # Application mailboxes need to override the #process method, which is invoked by the framework after
123
- # callbacks have been run. The callbacks available are: +before_processing+, +after_processing+, and
124
- # +around_processing+. The primary use case is ensure certain preconditions to processing are fulfilled
125
- # using +before_processing+ callbacks.
126
- #
127
- # If a precondition fails to be met, you can halt the processing using the +#bounced!+ method,
128
- # which will silently prevent any further processing, but not actually send out any bounce notice. You
129
- # can also pair this behavior with the invocation of an Action Mailer class responsible for sending out
130
- # an actual bounce email. This is done using the #bounce_with method, which takes the mail object returned
131
- # by an Action Mailer method, like so:
132
- #
133
- # class ForwardsMailbox < ApplicationMailbox
134
- # before_processing :ensure_sender_is_a_user
135
- #
136
- # private
137
- # def ensure_sender_is_a_user
138
- # unless User.exist?(email_address: mail.from)
139
- # bounce_with UserRequiredMailer.missing(inbound_email)
140
- # end
141
- # end
142
- # end
143
- #
144
- # During the processing of the inbound email, the status will be tracked. Before processing begins,
145
- # the email will normally have the +pending+ status. Once processing begins, just before callbacks
146
- # and the #process method is called, the status is changed to +processing+. If processing is allowed to
147
- # complete, the status is changed to +delivered+. If a bounce is triggered, then +bounced+. If an unhandled
148
- # exception is bubbled up, then +failed+.
149
- #
150
- # Exceptions can be handled at the class level using the familiar +Rescuable+ approach:
151
- #
152
- # class ForwardsMailbox < ApplicationMailbox
153
- # rescue_from(ApplicationSpecificVerificationError) { bounced! }
154
- # end
155
- #
156
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/base.rb:63
157
- class ActionMailbox::Base
158
- include ::ActiveSupport::Rescuable
159
- include ::ActionMailbox::Routing
160
- include ::ActiveSupport::Callbacks
161
- include ::ActionMailbox::Callbacks
162
- extend ::ActiveSupport::Rescuable::ClassMethods
163
- extend ::ActionMailbox::Routing::ClassMethods
164
- extend ::ActiveSupport::Callbacks::ClassMethods
165
- extend ::ActiveSupport::DescendantsTracker
166
- extend ::ActionMailbox::Callbacks::ClassMethods
167
-
168
- # @return [Base] a new instance of Base
169
- #
170
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/base.rb:76
171
- def initialize(inbound_email); end
172
-
173
- # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
174
- def __callbacks; end
175
-
176
- # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
177
- def __callbacks?; end
178
-
179
- # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:940
180
- def _process_callbacks; end
181
-
182
- # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:928
183
- def _run_process_callbacks(&block); end
184
-
185
- # Enqueues the given +message+ for delivery and changes the inbound email's status to +:bounced+.
186
- #
187
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/base.rb:101
188
- def bounce_with(message); end
189
-
190
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/base.rb:68
191
- def bounced!(*_arg0, &_arg1); end
192
-
193
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/base.rb:68
194
- def delivered!(*_arg0, &_arg1); end
195
-
196
- # @return [Boolean]
197
- #
198
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/base.rb:95
199
- def finished_processing?; end
200
-
201
- # Returns the value of attribute inbound_email.
202
- #
203
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/base.rb:67
204
- def inbound_email; end
205
-
206
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/base.rb:70
207
- def logger(*_arg0, &_arg1); end
208
-
209
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/base.rb:68
210
- def mail(*_arg0, &_arg1); end
211
-
212
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/base.rb:80
213
- def perform_processing; end
214
-
215
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/base.rb:91
216
- def process; end
217
-
218
- # source://activesupport-7.0.3.1/lib/active_support/rescuable.rb:13
219
- def rescue_handlers; end
220
-
221
- # source://activesupport-7.0.3.1/lib/active_support/rescuable.rb:13
222
- def rescue_handlers=(_arg0); end
223
-
224
- # source://activesupport-7.0.3.1/lib/active_support/rescuable.rb:13
225
- def rescue_handlers?; end
226
-
227
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/routing.rb:9
228
- def router; end
229
-
230
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/routing.rb:9
231
- def router=(val); end
232
-
233
- private
234
-
235
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/base.rb:107
236
- def track_status_of_inbound_email; end
237
-
238
- class << self
239
- # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
240
- def __callbacks; end
241
-
242
- # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
243
- def __callbacks=(value); end
244
-
245
- # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
246
- def __callbacks?; end
247
-
248
- # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:932
249
- def _process_callbacks; end
250
-
251
- # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:936
252
- def _process_callbacks=(value); end
253
-
254
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/base.rb:72
255
- def receive(inbound_email); end
256
-
257
- # source://activesupport-7.0.3.1/lib/active_support/rescuable.rb:13
258
- def rescue_handlers; end
259
-
260
- # source://activesupport-7.0.3.1/lib/active_support/rescuable.rb:13
261
- def rescue_handlers=(value); end
262
-
263
- # source://activesupport-7.0.3.1/lib/active_support/rescuable.rb:13
264
- def rescue_handlers?; end
265
-
266
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/routing.rb:9
267
- def router; end
268
-
269
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/routing.rb:9
270
- def router=(val); end
271
- end
272
- end
273
-
274
- # source://actionmailbox-7.0.3.1/app/controllers/action_mailbox/base_controller.rb:5
275
- class ActionMailbox::BaseController < ::ActionController::Base
276
- private
277
-
278
- # source://actionview-7.0.3.1/lib/action_view/layouts.rb:328
279
- def _layout(lookup_context, formats); end
280
-
281
- # source://actionmailbox-7.0.3.1/app/controllers/action_mailbox/base_controller.rb:22
282
- def authenticate_by_password; end
283
-
284
- # source://actionmailbox-7.0.3.1/app/controllers/action_mailbox/base_controller.rb:11
285
- def ensure_configured; end
286
-
287
- # source://actionmailbox-7.0.3.1/app/controllers/action_mailbox/base_controller.rb:17
288
- def ingress_name; end
289
-
290
- # source://actionmailbox-7.0.3.1/app/controllers/action_mailbox/base_controller.rb:30
291
- def password; end
292
-
293
- class << self
294
- # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
295
- def __callbacks; end
296
-
297
- # source://actionpack-7.0.3.1/lib/action_controller/metal.rb:210
298
- def middleware_stack; end
299
- end
300
- end
301
-
302
- # Defines the callbacks related to processing.
303
- #
304
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/callbacks.rb:7
305
- module ActionMailbox::Callbacks
306
- extend ::ActiveSupport::Concern
307
- include GeneratedInstanceMethods
308
- include ::ActiveSupport::Callbacks
309
-
310
- mixes_in_class_methods GeneratedClassMethods
311
- mixes_in_class_methods ::ActiveSupport::Callbacks::ClassMethods
312
- mixes_in_class_methods ::ActiveSupport::DescendantsTracker
313
- mixes_in_class_methods ::ActionMailbox::Callbacks::ClassMethods
314
-
315
- module GeneratedClassMethods
316
- def __callbacks; end
317
- def __callbacks=(value); end
318
- def __callbacks?; end
319
- end
320
-
321
- module GeneratedInstanceMethods
322
- def __callbacks; end
323
- def __callbacks?; end
324
- end
325
- end
326
-
327
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/callbacks.rb:0
328
- module ActionMailbox::Callbacks::ClassMethods
329
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/callbacks.rb:25
330
- def after_processing(*methods, &block); end
331
-
332
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/callbacks.rb:29
333
- def around_processing(*methods, &block); end
334
-
335
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/callbacks.rb:21
336
- def before_processing(*methods, &block); end
337
- end
338
-
339
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/callbacks.rb:11
340
- ActionMailbox::Callbacks::TERMINATOR = T.let(T.unsafe(nil), Proc)
341
-
342
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/engine.rb:12
343
- class ActionMailbox::Engine < ::Rails::Engine; end
344
-
345
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email.rb:27
346
- class ActionMailbox::InboundEmail < ::ActionMailbox::Record
347
- include ::ActionMailbox::InboundEmail::GeneratedAttributeMethods
348
- include ::ActionMailbox::InboundEmail::GeneratedAssociationMethods
349
-
350
- class << self
351
- # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
352
- def _validators; end
353
-
354
- # source://activerecord-7.0.3.1/lib/active_record/enum.rb:116
355
- def defined_enums; end
356
- end
357
- end
358
-
359
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email.rb:0
360
- module ActionMailbox::InboundEmail::GeneratedAssociationMethods; end
361
-
362
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email.rb:0
363
- module ActionMailbox::InboundEmail::GeneratedAttributeMethods; end
364
-
365
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email/incineratable.rb:6
366
- module ActionMailbox::InboundEmail::Incineratable
367
- extend ::ActiveSupport::Concern
368
-
369
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email/incineratable.rb:17
370
- def incinerate; end
371
-
372
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email/incineratable.rb:13
373
- def incinerate_later; end
374
- end
375
-
376
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email/incineratable/incineration.rb:8
377
- class ActionMailbox::InboundEmail::Incineratable::Incineration
378
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email/incineratable/incineration.rb:9
379
- def initialize(inbound_email); end
380
-
381
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email/incineratable/incineration.rb:13
382
- def run; end
383
-
384
- private
385
-
386
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email/incineratable/incineration.rb:18
387
- def due?; end
388
-
389
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email/incineratable/incineration.rb:22
390
- def processed?; end
391
- end
392
-
393
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email/message_id.rb:9
394
- module ActionMailbox::InboundEmail::MessageId
395
- extend ::ActiveSupport::Concern
396
-
397
- mixes_in_class_methods ::ActionMailbox::InboundEmail::MessageId::ClassMethods
398
- end
399
-
400
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email/message_id.rb:0
401
- module ActionMailbox::InboundEmail::MessageId::ClassMethods
402
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email/message_id.rb:16
403
- def create_and_extract_message_id!(source, **options); end
404
-
405
- private
406
-
407
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email/message_id.rb:37
408
- def create_and_upload_raw_email!(source); end
409
-
410
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email/message_id.rb:27
411
- def extract_message_id(source); end
412
-
413
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email/message_id.rb:31
414
- def generate_missing_message_id(message_checksum); end
415
- end
416
-
417
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email/routable.rb:8
418
- module ActionMailbox::InboundEmail::Routable
419
- extend ::ActiveSupport::Concern
420
-
421
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email/routable.rb:21
422
- def route; end
423
-
424
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/inbound_email/routable.rb:16
425
- def route_later; end
426
- end
427
-
428
- # source://actionmailbox-7.0.3.1/app/jobs/action_mailbox/incineration_job.rb:12
429
- class ActionMailbox::IncinerationJob < ::ActiveJob::Base
430
- # source://actionmailbox-7.0.3.1/app/jobs/action_mailbox/incineration_job.rb:21
431
- def perform(inbound_email); end
432
-
433
- class << self
434
- # source://activejob-7.0.3.1/lib/active_job/queue_name.rb:56
435
- def queue_name; end
436
-
437
- # source://activesupport-7.0.3.1/lib/active_support/rescuable.rb:13
438
- def rescue_handlers; end
439
-
440
- # source://actionmailbox-7.0.3.1/app/jobs/action_mailbox/incineration_job.rb:17
441
- def schedule(inbound_email); end
442
- end
443
- end
444
-
445
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/record.rb:4
446
- class ActionMailbox::Record < ::ActiveRecord::Base
447
- include ::ActionMailbox::Record::GeneratedAttributeMethods
448
- include ::ActionMailbox::Record::GeneratedAssociationMethods
449
-
450
- class << self
451
- # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
452
- def _validators; end
453
-
454
- # source://activerecord-7.0.3.1/lib/active_record/enum.rb:116
455
- def defined_enums; end
456
- end
457
- end
458
-
459
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/record.rb:0
460
- module ActionMailbox::Record::GeneratedAssociationMethods; end
461
-
462
- # source://actionmailbox-7.0.3.1/app/models/action_mailbox/record.rb:0
463
- module ActionMailbox::Record::GeneratedAttributeMethods; end
464
-
465
- # Encapsulates the routes that live on the ApplicationMailbox and performs the actual routing when
466
- # an inbound_email is received.
467
- #
468
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/router.rb:6
469
- class ActionMailbox::Router
470
- # @return [Router] a new instance of Router
471
- #
472
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/router.rb:9
473
- def initialize; end
474
-
475
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/router.rb:19
476
- def add_route(address, to:); end
477
-
478
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/router.rb:13
479
- def add_routes(routes); end
480
-
481
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/router.rb:33
482
- def mailbox_for(inbound_email); end
483
-
484
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/router.rb:23
485
- def route(inbound_email); end
486
-
487
- private
488
-
489
- # Returns the value of attribute routes.
490
- #
491
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/router.rb:38
492
- def routes; end
493
- end
494
-
495
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/router/route.rb:7
496
- class ActionMailbox::Router::Route
497
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/router/route.rb:10
498
- def initialize(address, to:); end
499
-
500
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/router/route.rb:8
501
- def address; end
502
-
503
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/router/route.rb:31
504
- def mailbox_class; end
505
-
506
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/router/route.rb:8
507
- def mailbox_name; end
508
-
509
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/router/route.rb:16
510
- def match?(inbound_email); end
511
-
512
- private
513
-
514
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/router/route.rb:36
515
- def ensure_valid_address; end
516
- end
517
-
518
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/router.rb:7
519
- class ActionMailbox::Router::RoutingError < ::StandardError; end
520
-
521
- # See ActionMailbox::Base for how to specify routing.
522
- #
523
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/routing.rb:5
524
- module ActionMailbox::Routing
525
- extend ::ActiveSupport::Concern
526
-
527
- mixes_in_class_methods ::ActionMailbox::Routing::ClassMethods
528
- end
529
-
530
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/routing.rb:0
531
- module ActionMailbox::Routing::ClassMethods
532
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/routing.rb:21
533
- def mailbox_for(inbound_email); end
534
-
535
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/routing.rb:17
536
- def route(inbound_email); end
537
-
538
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/routing.rb:13
539
- def routing(routes); end
540
- end
541
-
542
- # source://actionmailbox-7.0.3.1/app/jobs/action_mailbox/routing_job.rb:6
543
- class ActionMailbox::RoutingJob < ::ActiveJob::Base
544
- # source://actionmailbox-7.0.3.1/app/jobs/action_mailbox/routing_job.rb:9
545
- def perform(inbound_email); end
546
-
547
- class << self
548
- # source://activejob-7.0.3.1/lib/active_job/queue_name.rb:56
549
- def queue_name; end
550
- end
551
- end
552
-
553
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/test_case.rb:7
554
- class ActionMailbox::TestCase < ::ActiveSupport::TestCase
555
- include ::ActionMailbox::TestHelper
556
- end
557
-
558
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/test_helper.rb:6
559
- module ActionMailbox::TestHelper
560
- # Create an InboundEmail record using an eml fixture in the format of message/rfc822
561
- # referenced with +fixture_name+ located in +test/fixtures/files/fixture_name+.
562
- #
563
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/test_helper.rb:9
564
- def create_inbound_email_from_fixture(fixture_name, status: T.unsafe(nil)); end
565
-
566
- # Creates an InboundEmail by specifying through options or a block.
567
- #
568
- # ==== Options
569
- #
570
- # * <tt>:status</tt> - The +status+ to set for the created InboundEmail.
571
- # For possible statuses, see its documentation.
572
- #
573
- # ==== Creating a simple email
574
- #
575
- # When you only need to set basic fields like +from+, +to+, +subject+, and
576
- # +body+, you can pass them directly as options.
577
- #
578
- # create_inbound_email_from_mail(from: "david@loudthinking.com", subject: "Hello!")
579
- #
580
- # ==== Creating a multi-part email
581
- #
582
- # When you need to create a more intricate email, like a multi-part email
583
- # that contains both a plaintext version and an HTML version, you can pass a
584
- # block.
585
- #
586
- # create_inbound_email_from_mail do
587
- # to "David Heinemeier Hansson <david@loudthinking.com>"
588
- # from "Bilbo Baggins <bilbo@bagend.com>"
589
- # subject "Come down to the Shire!"
590
- #
591
- # text_part do
592
- # body "Please join us for a party at Bag End"
593
- # end
594
- #
595
- # html_part do
596
- # body "<h1>Please join us for a party at Bag End</h1>"
597
- # end
598
- # end
599
- #
600
- # As with +Mail.new+, you can also use a block parameter to define the parts
601
- # of the message:
602
- #
603
- # create_inbound_email_from_mail do |mail|
604
- # mail.to "David Heinemeier Hansson <david@loudthinking.com>"
605
- # mail.from "Bilbo Baggins <bilbo@bagend.com>"
606
- # mail.subject "Come down to the Shire!"
607
- #
608
- # mail.text_part do |part|
609
- # part.body "Please join us for a party at Bag End"
610
- # end
611
- #
612
- # mail.html_part do |part|
613
- # part.body "<h1>Please join us for a party at Bag End</h1>"
614
- # end
615
- # end
616
- #
617
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/test_helper.rb:63
618
- def create_inbound_email_from_mail(status: T.unsafe(nil), **mail_options, &block); end
619
-
620
- # Create an InboundEmail using the raw rfc822 +source+ as text.
621
- #
622
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/test_helper.rb:72
623
- def create_inbound_email_from_source(source, status: T.unsafe(nil)); end
624
-
625
- # Create an InboundEmail from fixture using the same arguments as create_inbound_email_from_fixture
626
- # and immediately route it to processing.
627
- #
628
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/test_helper.rb:79
629
- def receive_inbound_email_from_fixture(*args); end
630
-
631
- # Create an InboundEmail using the same options or block as
632
- # create_inbound_email_from_mail, then immediately route it for processing.
633
- #
634
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/test_helper.rb:85
635
- def receive_inbound_email_from_mail(**kwargs, &block); end
636
-
637
- # Create an InboundEmail using the same arguments as create_inbound_email_from_source and immediately route it
638
- # to processing.
639
- #
640
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/test_helper.rb:91
641
- def receive_inbound_email_from_source(*args); end
642
- end
643
-
644
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/mail_ext/address_equality.rb:3
645
- module Mail
646
- class << self
647
- # source://mail-2.7.1/lib/mail/mail.rb:163
648
- def all(*args, &block); end
649
-
650
- # source://mail-2.7.1/lib/mail/mail.rb:183
651
- def connection(&block); end
652
-
653
- # source://mail-2.7.1/lib/mail/mail.rb:98
654
- def defaults(&block); end
655
-
656
- # source://mail-2.7.1/lib/mail/mail.rb:174
657
- def delete_all(*args, &block); end
658
-
659
- # source://mail-2.7.1/lib/mail/mail.rb:131
660
- def deliver(*args, &block); end
661
-
662
- # source://mail-2.7.1/lib/mail/mail.rb:103
663
- def delivery_method; end
664
-
665
- # source://mail-2.7.1/lib/mail.rb:53
666
- def eager_autoload!; end
667
-
668
- # source://mail-2.7.1/lib/mail/mail.rb:139
669
- def find(*args, &block); end
670
-
671
- # source://mail-2.7.1/lib/mail/mail.rb:145
672
- def find_and_delete(*args, &block); end
673
-
674
- # source://mail-2.7.1/lib/mail/mail.rb:151
675
- def first(*args, &block); end
676
-
677
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/mail_ext/from_source.rb:4
678
- def from_source(source); end
679
-
680
- # source://mail-2.7.1/lib/mail/mail.rb:233
681
- def inform_interceptors(mail); end
682
-
683
- # source://mail-2.7.1/lib/mail/mail.rb:227
684
- def inform_observers(mail); end
685
-
686
- # source://mail-2.7.1/lib/mail/mail.rb:157
687
- def last(*args, &block); end
688
-
689
- # source://mail-2.7.1/lib/mail/mail.rb:50
690
- def new(*args, &block); end
691
-
692
- # source://mail-2.7.1/lib/mail/mail.rb:243
693
- def random_tag; end
694
-
695
- # source://mail-2.7.1/lib/mail/mail.rb:168
696
- def read(filename); end
697
-
698
- # source://mail-2.7.1/lib/mail/mail.rb:179
699
- def read_from_string(mail_as_string); end
700
-
701
- # source://mail-2.7.1/lib/mail.rb:41
702
- def register_autoload(name, path); end
703
-
704
- # source://mail-2.7.1/lib/mail/mail.rb:215
705
- def register_interceptor(interceptor); end
706
-
707
- # source://mail-2.7.1/lib/mail/mail.rb:196
708
- def register_observer(observer); end
709
-
710
- # source://mail-2.7.1/lib/mail/mail.rb:108
711
- def retriever_method; end
712
-
713
- # source://mail-2.7.1/lib/mail/mail.rb:252
714
- def something_random; end
715
-
716
- # source://mail-2.7.1/lib/mail/mail.rb:256
717
- def uniq; end
718
-
719
- # source://mail-2.7.1/lib/mail/mail.rb:223
720
- def unregister_interceptor(interceptor); end
721
-
722
- # source://mail-2.7.1/lib/mail/mail.rb:204
723
- def unregister_observer(observer); end
724
- end
725
- end
726
-
727
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/mail_ext/address_equality.rb:4
728
- class Mail::Address
729
- include ::Mail::Constants
730
-
731
- # source://mail-2.7.1/lib/mail/elements/address.rb:25
732
- def initialize(value = T.unsafe(nil)); end
733
-
734
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/mail_ext/address_equality.rb:5
735
- def ==(other_address); end
736
-
737
- # source://mail-2.7.1/lib/mail/elements/address.rb:65
738
- def address(output_type = T.unsafe(nil)); end
739
-
740
- # source://mail-2.7.1/lib/mail/elements/address.rb:79
741
- def address=(value); end
742
-
743
- # source://mail-2.7.1/lib/mail/elements/address.rb:132
744
- def comments; end
745
-
746
- # source://mail-2.7.1/lib/mail/elements/address.rb:173
747
- def decoded; end
748
-
749
- # source://mail-2.7.1/lib/mail/elements/address.rb:87
750
- def display_name(output_type = T.unsafe(nil)); end
751
-
752
- # source://mail-2.7.1/lib/mail/elements/address.rb:99
753
- def display_name=(str); end
754
-
755
- # source://mail-2.7.1/lib/mail/elements/address.rb:118
756
- def domain(output_type = T.unsafe(nil)); end
757
-
758
- # source://mail-2.7.1/lib/mail/elements/address.rb:169
759
- def encoded; end
760
-
761
- # source://mail-2.7.1/lib/mail/elements/address.rb:47
762
- def format(output_type = T.unsafe(nil)); end
763
-
764
- # source://mail-2.7.1/lib/mail/elements/address.rb:177
765
- def group; end
766
-
767
- # source://mail-2.7.1/lib/mail/elements/address.rb:164
768
- def inspect; end
769
-
770
- # source://mail-2.7.1/lib/mail/elements/address.rb:108
771
- def local(output_type = T.unsafe(nil)); end
772
-
773
- # source://mail-2.7.1/lib/mail/elements/address.rb:147
774
- def name; end
775
-
776
- # source://mail-2.7.1/lib/mail/elements/address.rb:36
777
- def raw; end
778
-
779
- # source://mail-2.7.1/lib/mail/elements/address.rb:156
780
- def to_s; end
781
-
782
- private
783
-
784
- # source://mail-2.7.1/lib/mail/elements/address.rb:237
785
- def format_comments; end
786
-
787
- # source://mail-2.7.1/lib/mail/elements/address.rb:254
788
- def get_comments; end
789
-
790
- # source://mail-2.7.1/lib/mail/elements/address.rb:218
791
- def get_display_name; end
792
-
793
- # source://mail-2.7.1/lib/mail/elements/address.rb:250
794
- def get_domain; end
795
-
796
- # source://mail-2.7.1/lib/mail/elements/address.rb:246
797
- def get_local; end
798
-
799
- # source://mail-2.7.1/lib/mail/elements/address.rb:227
800
- def get_name; end
801
-
802
- # source://mail-2.7.1/lib/mail/elements/address.rb:183
803
- def parse(value = T.unsafe(nil)); end
804
-
805
- # source://mail-2.7.1/lib/mail/elements/address.rb:198
806
- def strip_all_comments(string); end
807
-
808
- # source://mail-2.7.1/lib/mail/elements/address.rb:207
809
- def strip_domain_comments(value); end
810
-
811
- class << self
812
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/mail_ext/address_wrapping.rb:5
813
- def wrap(address); end
814
- end
815
- end
816
-
817
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/mail_ext/addresses.rb:4
818
- class Mail::Message
819
- # source://mail-2.7.1/lib/mail/message.rb:109
820
- def initialize(*args, &block); end
821
-
822
- # source://mail-2.7.1/lib/mail/message.rb:341
823
- def <=>(other); end
824
-
825
- # source://mail-2.7.1/lib/mail/message.rb:380
826
- def ==(other); end
827
-
828
- # source://mail-2.7.1/lib/mail/message.rb:1341
829
- def [](name); end
830
-
831
- # source://mail-2.7.1/lib/mail/message.rb:1323
832
- def []=(name, value); end
833
-
834
- # source://mail-2.7.1/lib/mail/message.rb:1589
835
- def action; end
836
-
837
- # source://mail-2.7.1/lib/mail/message.rb:1484
838
- def add_charset; end
839
-
840
- # source://mail-2.7.1/lib/mail/message.rb:1497
841
- def add_content_transfer_encoding; end
842
-
843
- # source://mail-2.7.1/lib/mail/message.rb:1477
844
- def add_content_type; end
845
-
846
- # source://mail-2.7.1/lib/mail/message.rb:1460
847
- def add_date(date_val = T.unsafe(nil)); end
848
-
849
- # source://mail-2.7.1/lib/mail/message.rb:1788
850
- def add_file(values); end
851
-
852
- # source://mail-2.7.1/lib/mail/message.rb:1450
853
- def add_message_id(msg_id_val = T.unsafe(nil)); end
854
-
855
- # source://mail-2.7.1/lib/mail/message.rb:1470
856
- def add_mime_version(ver_val = T.unsafe(nil)); end
857
-
858
- # source://mail-2.7.1/lib/mail/message.rb:1732
859
- def add_part(part); end
860
-
861
- # source://mail-2.7.1/lib/mail/message.rb:1501
862
- def add_transfer_encoding; end
863
-
864
- # source://mail-2.7.1/lib/mail/message.rb:1944
865
- def all_parts; end
866
-
867
- # source://mail-2.7.1/lib/mail/message.rb:1935
868
- def attachment; end
869
-
870
- # source://mail-2.7.1/lib/mail/message.rb:1930
871
- def attachment?; end
872
-
873
- # source://mail-2.7.1/lib/mail/message.rb:1657
874
- def attachments; end
875
-
876
- # source://mail-2.7.1/lib/mail/message.rb:507
877
- def bcc(val = T.unsafe(nil)); end
878
-
879
- # source://mail-2.7.1/lib/mail/message.rb:519
880
- def bcc=(val); end
881
-
882
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/mail_ext/addresses.rb:21
883
- def bcc_addresses; end
884
-
885
- # source://mail-2.7.1/lib/mail/message.rb:1313
886
- def bcc_addrs; end
887
-
888
- # source://mail-2.7.1/lib/mail/message.rb:1258
889
- def body(value = T.unsafe(nil)); end
890
-
891
- # source://mail-2.7.1/lib/mail/message.rb:1244
892
- def body=(value); end
893
-
894
- # source://mail-2.7.1/lib/mail/message.rb:1267
895
- def body_encoding(value = T.unsafe(nil)); end
896
-
897
- # source://mail-2.7.1/lib/mail/message.rb:1275
898
- def body_encoding=(value); end
899
-
900
- # source://mail-2.7.1/lib/mail/message.rb:1585
901
- def bounced?; end
902
-
903
- # source://mail-2.7.1/lib/mail/message.rb:1614
904
- def boundary; end
905
-
906
- # source://mail-2.7.1/lib/mail/message.rb:548
907
- def cc(val = T.unsafe(nil)); end
908
-
909
- # source://mail-2.7.1/lib/mail/message.rb:560
910
- def cc=(val); end
911
-
912
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/mail_ext/addresses.rb:17
913
- def cc_addresses; end
914
-
915
- # source://mail-2.7.1/lib/mail/message.rb:1307
916
- def cc_addrs; end
917
-
918
- # source://mail-2.7.1/lib/mail/message.rb:1522
919
- def charset; end
920
-
921
- # source://mail-2.7.1/lib/mail/message.rb:1531
922
- def charset=(value); end
923
-
924
- # source://mail-2.7.1/lib/mail/message.rb:564
925
- def comments(val = T.unsafe(nil)); end
926
-
927
- # source://mail-2.7.1/lib/mail/message.rb:568
928
- def comments=(val); end
929
-
930
- # source://mail-2.7.1/lib/mail/message.rb:572
931
- def content_description(val = T.unsafe(nil)); end
932
-
933
- # source://mail-2.7.1/lib/mail/message.rb:576
934
- def content_description=(val); end
935
-
936
- # source://mail-2.7.1/lib/mail/message.rb:580
937
- def content_disposition(val = T.unsafe(nil)); end
938
-
939
- # source://mail-2.7.1/lib/mail/message.rb:584
940
- def content_disposition=(val); end
941
-
942
- # source://mail-2.7.1/lib/mail/message.rb:588
943
- def content_id(val = T.unsafe(nil)); end
944
-
945
- # source://mail-2.7.1/lib/mail/message.rb:592
946
- def content_id=(val); end
947
-
948
- # source://mail-2.7.1/lib/mail/message.rb:596
949
- def content_location(val = T.unsafe(nil)); end
950
-
951
- # source://mail-2.7.1/lib/mail/message.rb:600
952
- def content_location=(val); end
953
-
954
- # source://mail-2.7.1/lib/mail/message.rb:604
955
- def content_transfer_encoding(val = T.unsafe(nil)); end
956
-
957
- # source://mail-2.7.1/lib/mail/message.rb:608
958
- def content_transfer_encoding=(val); end
959
-
960
- # source://mail-2.7.1/lib/mail/message.rb:612
961
- def content_type(val = T.unsafe(nil)); end
962
-
963
- # source://mail-2.7.1/lib/mail/message.rb:616
964
- def content_type=(val); end
965
-
966
- # source://mail-2.7.1/lib/mail/message.rb:1554
967
- def content_type_parameters; end
968
-
969
- # source://mail-2.7.1/lib/mail/message.rb:1801
970
- def convert_to_multipart; end
971
-
972
- # source://mail-2.7.1/lib/mail/message.rb:620
973
- def date(val = T.unsafe(nil)); end
974
-
975
- # source://mail-2.7.1/lib/mail/message.rb:624
976
- def date=(val); end
977
-
978
- # source://mail-2.7.1/lib/mail/message.rb:1924
979
- def decode_body; end
980
-
981
- # source://mail-2.7.1/lib/mail/message.rb:1903
982
- def decoded; end
983
-
984
- # source://mail-2.7.1/lib/mail/message.rb:1211
985
- def default(sym, val = T.unsafe(nil)); end
986
-
987
- # source://mail-2.7.1/lib/mail/message.rb:257
988
- def deliver; end
989
-
990
- # source://mail-2.7.1/lib/mail/message.rb:274
991
- def deliver!; end
992
-
993
- # source://mail-2.7.1/lib/mail/message.rb:201
994
- def delivery_handler; end
995
-
996
- # source://mail-2.7.1/lib/mail/message.rb:201
997
- def delivery_handler=(_arg0); end
998
-
999
- # source://mail-2.7.1/lib/mail/message.rb:281
1000
- def delivery_method(method = T.unsafe(nil), settings = T.unsafe(nil)); end
1001
-
1002
- # source://mail-2.7.1/lib/mail/message.rb:1574
1003
- def delivery_status_part; end
1004
-
1005
- # source://mail-2.7.1/lib/mail/message.rb:1569
1006
- def delivery_status_report?; end
1007
-
1008
- # source://mail-2.7.1/lib/mail/message.rb:1289
1009
- def destinations; end
1010
-
1011
- # source://mail-2.7.1/lib/mail/message.rb:1601
1012
- def diagnostic_code; end
1013
-
1014
- # source://mail-2.7.1/lib/mail/message.rb:1821
1015
- def encode!; end
1016
-
1017
- # source://mail-2.7.1/lib/mail/message.rb:1829
1018
- def encoded; end
1019
-
1020
- # source://mail-2.7.1/lib/mail/message.rb:425
1021
- def envelope_date; end
1022
-
1023
- # source://mail-2.7.1/lib/mail/message.rb:421
1024
- def envelope_from; end
1025
-
1026
- # source://mail-2.7.1/lib/mail/message.rb:1597
1027
- def error_status; end
1028
-
1029
- # source://mail-2.7.1/lib/mail/message.rb:478
1030
- def errors; end
1031
-
1032
- # source://mail-2.7.1/lib/mail/message.rb:1940
1033
- def filename; end
1034
-
1035
- # source://mail-2.7.1/lib/mail/message.rb:1593
1036
- def final_recipient; end
1037
-
1038
- # source://mail-2.7.1/lib/mail/message.rb:1948
1039
- def find_first_mime_type(mt); end
1040
-
1041
- # source://mail-2.7.1/lib/mail/message.rb:665
1042
- def from(val = T.unsafe(nil)); end
1043
-
1044
- # source://mail-2.7.1/lib/mail/message.rb:677
1045
- def from=(val); end
1046
-
1047
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/mail_ext/addresses.rb:5
1048
- def from_address; end
1049
-
1050
- # source://mail-2.7.1/lib/mail/message.rb:1295
1051
- def from_addrs; end
1052
-
1053
- # source://mail-2.7.1/lib/mail/message.rb:1661
1054
- def has_attachments?; end
1055
-
1056
- # source://mail-2.7.1/lib/mail/message.rb:1430
1057
- def has_charset?; end
1058
-
1059
- # source://mail-2.7.1/lib/mail/message.rb:1435
1060
- def has_content_transfer_encoding?; end
1061
-
1062
- # source://mail-2.7.1/lib/mail/message.rb:1425
1063
- def has_content_type?; end
1064
-
1065
- # source://mail-2.7.1/lib/mail/message.rb:1415
1066
- def has_date?; end
1067
-
1068
- # source://mail-2.7.1/lib/mail/message.rb:1409
1069
- def has_message_id?; end
1070
-
1071
- # source://mail-2.7.1/lib/mail/message.rb:1421
1072
- def has_mime_version?; end
1073
-
1074
- # source://mail-2.7.1/lib/mail/message.rb:1439
1075
- def has_transfer_encoding?; end
1076
-
1077
- # source://mail-2.7.1/lib/mail/message.rb:450
1078
- def header(value = T.unsafe(nil)); end
1079
-
1080
- # source://mail-2.7.1/lib/mail/message.rb:435
1081
- def header=(value); end
1082
-
1083
- # source://mail-2.7.1/lib/mail/message.rb:1403
1084
- def header_fields; end
1085
-
1086
- # source://mail-2.7.1/lib/mail/message.rb:455
1087
- def headers(hash = T.unsafe(nil)); end
1088
-
1089
- # source://mail-2.7.1/lib/mail/message.rb:1666
1090
- def html_part(&block); end
1091
-
1092
- # source://mail-2.7.1/lib/mail/message.rb:1686
1093
- def html_part=(msg); end
1094
-
1095
- # source://mail-2.7.1/lib/mail/message.rb:681
1096
- def in_reply_to(val = T.unsafe(nil)); end
1097
-
1098
- # source://mail-2.7.1/lib/mail/message.rb:685
1099
- def in_reply_to=(val); end
1100
-
1101
- # source://mail-2.7.1/lib/mail/message.rb:247
1102
- def inform_interceptors; end
1103
-
1104
- # source://mail-2.7.1/lib/mail/message.rb:243
1105
- def inform_observers; end
1106
-
1107
- # source://mail-2.7.1/lib/mail/message.rb:1899
1108
- def inspect; end
1109
-
1110
- # source://mail-2.7.1/lib/mail/message.rb:1977
1111
- def is_marked_for_delete?; end
1112
-
1113
- # source://mail-2.7.1/lib/mail/message.rb:689
1114
- def keywords(val = T.unsafe(nil)); end
1115
-
1116
- # source://mail-2.7.1/lib/mail/message.rb:693
1117
- def keywords=(val); end
1118
-
1119
- # source://mail-2.7.1/lib/mail/message.rb:1538
1120
- def main_type; end
1121
-
1122
- # source://mail-2.7.1/lib/mail/message.rb:1964
1123
- def mark_for_delete=(value = T.unsafe(nil)); end
1124
-
1125
- # source://mail-2.7.1/lib/mail/message.rb:1516
1126
- def message_content_type; end
1127
-
1128
- # source://mail-2.7.1/lib/mail/message.rb:710
1129
- def message_id(val = T.unsafe(nil)); end
1130
-
1131
- # source://mail-2.7.1/lib/mail/message.rb:719
1132
- def message_id=(val); end
1133
-
1134
- # source://mail-2.7.1/lib/mail/message.rb:1384
1135
- def method_missing(name, *args, &block); end
1136
-
1137
- # source://mail-2.7.1/lib/mail/message.rb:1548
1138
- def mime_parameters; end
1139
-
1140
- # source://mail-2.7.1/lib/mail/message.rb:1512
1141
- def mime_type; end
1142
-
1143
- # source://mail-2.7.1/lib/mail/message.rb:736
1144
- def mime_version(val = T.unsafe(nil)); end
1145
-
1146
- # source://mail-2.7.1/lib/mail/message.rb:746
1147
- def mime_version=(val); end
1148
-
1149
- # source://mail-2.7.1/lib/mail/message.rb:1559
1150
- def multipart?; end
1151
-
1152
- # source://mail-2.7.1/lib/mail/message.rb:1564
1153
- def multipart_report?; end
1154
-
1155
- # source://mail-2.7.1/lib/mail/message.rb:1753
1156
- def part(params = T.unsafe(nil)); end
1157
-
1158
- # source://mail-2.7.1/lib/mail/message.rb:1619
1159
- def parts; end
1160
-
1161
- # source://mail-2.7.1/lib/mail/message.rb:225
1162
- def perform_deliveries; end
1163
-
1164
- # source://mail-2.7.1/lib/mail/message.rb:225
1165
- def perform_deliveries=(_arg0); end
1166
-
1167
- # source://mail-2.7.1/lib/mail/message.rb:232
1168
- def raise_delivery_errors; end
1169
-
1170
- # source://mail-2.7.1/lib/mail/message.rb:232
1171
- def raise_delivery_errors=(_arg0); end
1172
-
1173
- # source://mail-2.7.1/lib/mail/message.rb:417
1174
- def raw_envelope; end
1175
-
1176
- # source://mail-2.7.1/lib/mail/message.rb:404
1177
- def raw_source; end
1178
-
1179
- # source://mail-2.7.1/lib/mail/message.rb:1916
1180
- def read; end
1181
-
1182
- # source://mail-2.7.1/lib/mail/message.rb:1812
1183
- def ready_to_send!; end
1184
-
1185
- # source://mail-2.7.1/lib/mail/message.rb:750
1186
- def received(val = T.unsafe(nil)); end
1187
-
1188
- # source://mail-2.7.1/lib/mail/message.rb:758
1189
- def received=(val); end
1190
-
1191
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/mail_ext/recipients.rb:5
1192
- def recipients; end
1193
-
1194
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/mail_ext/addresses.rb:9
1195
- def recipients_addresses; end
1196
-
1197
- # source://mail-2.7.1/lib/mail/message.rb:762
1198
- def references(val = T.unsafe(nil)); end
1199
-
1200
- # source://mail-2.7.1/lib/mail/message.rb:766
1201
- def references=(val); end
1202
-
1203
- # source://mail-2.7.1/lib/mail/message.rb:238
1204
- def register_for_delivery_notification(observer); end
1205
-
1206
- # source://mail-2.7.1/lib/mail/message.rb:1605
1207
- def remote_mta; end
1208
-
1209
- # source://mail-2.7.1/lib/mail/message.rb:289
1210
- def reply(*args, &block); end
1211
-
1212
- # source://mail-2.7.1/lib/mail/message.rb:795
1213
- def reply_to(val = T.unsafe(nil)); end
1214
-
1215
- # source://mail-2.7.1/lib/mail/message.rb:807
1216
- def reply_to=(val); end
1217
-
1218
- # source://mail-2.7.1/lib/mail/message.rb:836
1219
- def resent_bcc(val = T.unsafe(nil)); end
1220
-
1221
- # source://mail-2.7.1/lib/mail/message.rb:848
1222
- def resent_bcc=(val); end
1223
-
1224
- # source://mail-2.7.1/lib/mail/message.rb:877
1225
- def resent_cc(val = T.unsafe(nil)); end
1226
-
1227
- # source://mail-2.7.1/lib/mail/message.rb:889
1228
- def resent_cc=(val); end
1229
-
1230
- # source://mail-2.7.1/lib/mail/message.rb:893
1231
- def resent_date(val = T.unsafe(nil)); end
1232
-
1233
- # source://mail-2.7.1/lib/mail/message.rb:897
1234
- def resent_date=(val); end
1235
-
1236
- # source://mail-2.7.1/lib/mail/message.rb:926
1237
- def resent_from(val = T.unsafe(nil)); end
1238
-
1239
- # source://mail-2.7.1/lib/mail/message.rb:938
1240
- def resent_from=(val); end
1241
-
1242
- # source://mail-2.7.1/lib/mail/message.rb:942
1243
- def resent_message_id(val = T.unsafe(nil)); end
1244
-
1245
- # source://mail-2.7.1/lib/mail/message.rb:946
1246
- def resent_message_id=(val); end
1247
-
1248
- # source://mail-2.7.1/lib/mail/message.rb:965
1249
- def resent_sender(val = T.unsafe(nil)); end
1250
-
1251
- # source://mail-2.7.1/lib/mail/message.rb:975
1252
- def resent_sender=(val); end
1253
-
1254
- # source://mail-2.7.1/lib/mail/message.rb:1004
1255
- def resent_to(val = T.unsafe(nil)); end
1256
-
1257
- # source://mail-2.7.1/lib/mail/message.rb:1016
1258
- def resent_to=(val); end
1259
-
1260
- # source://mail-2.7.1/lib/mail/message.rb:1609
1261
- def retryable?; end
1262
-
1263
- # source://mail-2.7.1/lib/mail/message.rb:1021
1264
- def return_path(val = T.unsafe(nil)); end
1265
-
1266
- # source://mail-2.7.1/lib/mail/message.rb:1026
1267
- def return_path=(val); end
1268
-
1269
- # source://mail-2.7.1/lib/mail/message.rb:1044
1270
- def sender(val = T.unsafe(nil)); end
1271
-
1272
- # source://mail-2.7.1/lib/mail/message.rb:1054
1273
- def sender=(val); end
1274
-
1275
- # source://mail-2.7.1/lib/mail/message.rb:409
1276
- def set_envelope(val); end
1277
-
1278
- # source://mail-2.7.1/lib/mail/message.rb:1956
1279
- def skip_deletion; end
1280
-
1281
- # source://mail-2.7.1/lib/mail/message.rb:1074
1282
- def smtp_envelope_from(val = T.unsafe(nil)); end
1283
-
1284
- # source://mail-2.7.1/lib/mail/message.rb:1088
1285
- def smtp_envelope_from=(val); end
1286
-
1287
- # source://mail-2.7.1/lib/mail/message.rb:1107
1288
- def smtp_envelope_to(val = T.unsafe(nil)); end
1289
-
1290
- # source://mail-2.7.1/lib/mail/message.rb:1124
1291
- def smtp_envelope_to=(val); end
1292
-
1293
- # source://mail-2.7.1/lib/mail/message.rb:1543
1294
- def sub_type; end
1295
-
1296
- # source://mail-2.7.1/lib/mail/message.rb:1149
1297
- def subject(val = T.unsafe(nil)); end
1298
-
1299
- # source://mail-2.7.1/lib/mail/message.rb:1159
1300
- def subject=(val); end
1301
-
1302
- # source://mail-2.7.1/lib/mail/message.rb:1981
1303
- def text?; end
1304
-
1305
- # source://mail-2.7.1/lib/mail/message.rb:1675
1306
- def text_part(&block); end
1307
-
1308
- # source://mail-2.7.1/lib/mail/message.rb:1710
1309
- def text_part=(msg); end
1310
-
1311
- # source://mail-2.7.1/lib/mail/message.rb:1188
1312
- def to(val = T.unsafe(nil)); end
1313
-
1314
- # source://mail-2.7.1/lib/mail/message.rb:1200
1315
- def to=(val); end
1316
-
1317
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/mail_ext/addresses.rb:13
1318
- def to_addresses; end
1319
-
1320
- # source://mail-2.7.1/lib/mail/message.rb:1301
1321
- def to_addrs; end
1322
-
1323
- # source://mail-2.7.1/lib/mail/message.rb:1895
1324
- def to_s; end
1325
-
1326
- # source://mail-2.7.1/lib/mail/message.rb:1849
1327
- def to_yaml(opts = T.unsafe(nil)); end
1328
-
1329
- # source://mail-2.7.1/lib/mail/message.rb:1506
1330
- def transfer_encoding; end
1331
-
1332
- # source://mail-2.7.1/lib/mail/message.rb:628
1333
- def transport_encoding(val = T.unsafe(nil)); end
1334
-
1335
- # source://mail-2.7.1/lib/mail/message.rb:636
1336
- def transport_encoding=(val); end
1337
-
1338
- # source://mail-2.7.1/lib/mail/message.rb:1837
1339
- def without_attachments!; end
1340
-
1341
- # source://actionmailbox-7.0.3.1/lib/action_mailbox/mail_ext/addresses.rb:25
1342
- def x_original_to_addresses; end
1343
-
1344
- private
1345
-
1346
- # source://mail-2.7.1/lib/mail/message.rb:2083
1347
- def add_boundary; end
1348
-
1349
- # source://mail-2.7.1/lib/mail/message.rb:2049
1350
- def add_encoding_to_body; end
1351
-
1352
- # source://mail-2.7.1/lib/mail/message.rb:2077
1353
- def add_multipart_alternate_header; end
1354
-
1355
- # source://mail-2.7.1/lib/mail/message.rb:2092
1356
- def add_multipart_mixed_header; end
1357
-
1358
- # source://mail-2.7.1/lib/mail/message.rb:2063
1359
- def add_required_fields; end
1360
-
1361
- # source://mail-2.7.1/lib/mail/message.rb:2071
1362
- def add_required_message_fields; end
1363
-
1364
- # source://mail-2.7.1/lib/mail/message.rb:2042
1365
- def allowed_encodings; end
1366
-
1367
- # source://mail-2.7.1/lib/mail/message.rb:2007
1368
- def body_lazy(value); end
1369
-
1370
- # source://mail-2.7.1/lib/mail/message.rb:2166
1371
- def decode_body_as_text; end
1372
-
1373
- # source://mail-2.7.1/lib/mail/message.rb:2156
1374
- def do_delivery; end
1375
-
1376
- # source://mail-2.7.1/lib/mail/message.rb:2138
1377
- def find_attachment; end
1378
-
1379
- # source://mail-2.7.1/lib/mail/message.rb:2055
1380
- def identify_and_set_transfer_encoding; end
1381
-
1382
- # source://mail-2.7.1/lib/mail/message.rb:2100
1383
- def init_with_hash(hash); end
1384
-
1385
- # source://mail-2.7.1/lib/mail/message.rb:2130
1386
- def init_with_string(string); end
1387
-
1388
- # source://mail-2.7.1/lib/mail/message.rb:391
1389
- def initialize_copy(original); end
1390
-
1391
- # source://mail-2.7.1/lib/mail/message.rb:1996
1392
- def parse_message; end
1393
-
1394
- # source://mail-2.7.1/lib/mail/message.rb:2022
1395
- def process_body_raw; end
1396
-
1397
- # source://mail-2.7.1/lib/mail/message.rb:2002
1398
- def raw_source=(value); end
1399
-
1400
- # source://mail-2.7.1/lib/mail/message.rb:2038
1401
- def separate_parts; end
1402
-
1403
- # source://mail-2.7.1/lib/mail/message.rb:2030
1404
- def set_envelope_header; end
1405
-
1406
- class << self
1407
- # source://mail-2.7.1/lib/mail/message.rb:234
1408
- def default_charset; end
1409
-
1410
- # source://mail-2.7.1/lib/mail/message.rb:235
1411
- def default_charset=(charset); end
1412
-
1413
- # source://mail-2.7.1/lib/mail/message.rb:1891
1414
- def from_hash(hash); end
1415
-
1416
- # source://mail-2.7.1/lib/mail/message.rb:1869
1417
- def from_yaml(str); end
1418
- end
1419
- end
1420
-
1421
- # source://mail-2.7.1/lib/mail/message.rb:1987
1422
- Mail::Message::HEADER_SEPARATOR = T.let(T.unsafe(nil), Regexp)
1423
-
1424
- # source://mail-2.7.1/lib/mail/mail.rb:241
1425
- Mail::RANDOM_TAG = T.let(T.unsafe(nil), String)
1426
-
1427
- # source://mail-2.7.1/lib/mail.rb:22
1428
- Mail::RubyVer = Mail::Ruby19
1429
-
1430
- # source://actionmailbox-7.0.3.1/app/controllers/rails/conductor/action_mailbox/inbound_emails/sources_controller.rb:3
1431
- module Rails
1432
- class << self
1433
- # source://railties-7.0.3.1/lib/rails.rb:38
1434
- def app_class; end
1435
-
1436
- # source://railties-7.0.3.1/lib/rails.rb:38
1437
- def app_class=(_arg0); end
1438
-
1439
- # source://railties-7.0.3.1/lib/rails.rb:39
1440
- def application; end
1441
-
1442
- # source://railties-7.0.3.1/lib/rails.rb:37
1443
- def application=(_arg0); end
1444
-
1445
- # source://railties-7.0.3.1/lib/rails.rb:116
1446
- def autoloaders; end
1447
-
1448
- # source://railties-7.0.3.1/lib/rails.rb:50
1449
- def backtrace_cleaner; end
1450
-
1451
- # source://railties-7.0.3.1/lib/rails.rb:38
1452
- def cache; end
1453
-
1454
- # source://railties-7.0.3.1/lib/rails.rb:38
1455
- def cache=(_arg0); end
1456
-
1457
- # source://railties-7.0.3.1/lib/rails.rb:46
1458
- def configuration; end
1459
-
1460
- # source://railties-7.0.3.1/lib/rails.rb:72
1461
- def env; end
1462
-
1463
- # source://railties-7.0.3.1/lib/rails.rb:79
1464
- def env=(environment); end
1465
-
1466
- # source://railties-7.0.3.1/lib/rails.rb:83
1467
- def error; end
1468
-
1469
- # source://railties-7.0.3.1/lib/rails/gem_version.rb:5
1470
- def gem_version; end
1471
-
1472
- # source://railties-7.0.3.1/lib/rails.rb:96
1473
- def groups(*groups); end
1474
-
1475
- # source://railties-7.0.3.1/lib/rails.rb:43
1476
- def initialize!(*_arg0, &_arg1); end
1477
-
1478
- # source://railties-7.0.3.1/lib/rails.rb:43
1479
- def initialized?(*_arg0, &_arg1); end
1480
-
1481
- # source://railties-7.0.3.1/lib/rails.rb:38
1482
- def logger; end
1483
-
1484
- # source://railties-7.0.3.1/lib/rails.rb:38
1485
- def logger=(_arg0); end
1486
-
1487
- # source://railties-7.0.3.1/lib/rails.rb:112
1488
- def public_path; end
1489
-
1490
- # source://railties-7.0.3.1/lib/rails.rb:63
1491
- def root; end
1492
-
1493
- # source://railties-7.0.3.1/lib/rails/version.rb:7
1494
- def version; end
1495
- end
1496
- end