mail 2.2.16 → 2.2.17

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of mail might be problematic. Click here for more details.

Files changed (109) hide show
  1. data/CHANGELOG.rdoc +6 -0
  2. data/Rakefile +1 -1
  3. data/lib/VERSION +1 -1
  4. data/lib/mail.rbc +1283 -0
  5. data/lib/mail/attachments_list.rbc +2005 -0
  6. data/lib/mail/body.rbc +3956 -0
  7. data/lib/mail/configuration.rbc +1208 -0
  8. data/lib/mail/core_extensions/nil.rbc +244 -0
  9. data/lib/mail/core_extensions/smtp.rbc +579 -0
  10. data/lib/mail/core_extensions/string.rbc +0 -0
  11. data/lib/mail/elements.rbc +362 -0
  12. data/lib/mail/elements/address.rbc +4215 -0
  13. data/lib/mail/elements/address_list.rbc +1307 -0
  14. data/lib/mail/elements/content_disposition_element.rbc +705 -0
  15. data/lib/mail/elements/content_location_element.rbc +571 -0
  16. data/lib/mail/elements/content_transfer_encoding_element.rbc +533 -0
  17. data/lib/mail/elements/content_type_element.rbc +793 -0
  18. data/lib/mail/elements/date_time_element.rbc +581 -0
  19. data/lib/mail/elements/envelope_from_element.rbc +766 -0
  20. data/lib/mail/elements/message_ids_element.rbc +738 -0
  21. data/lib/mail/elements/mime_version_element.rbc +581 -0
  22. data/lib/mail/elements/phrase_list.rbc +560 -0
  23. data/lib/mail/elements/received_element.rbc +719 -0
  24. data/lib/mail/encodings.rbc +0 -0
  25. data/lib/mail/encodings/7bit.rbc +538 -0
  26. data/lib/mail/encodings/8bit.rbc +541 -0
  27. data/lib/mail/encodings/base64.rbc +629 -0
  28. data/lib/mail/encodings/binary.rbc +529 -0
  29. data/lib/mail/encodings/quoted_printable.rbc +766 -0
  30. data/lib/mail/encodings/transfer_encoding.rbc +1134 -0
  31. data/lib/mail/envelope.rbc +718 -0
  32. data/lib/mail/field.rbc +4709 -0
  33. data/lib/mail/field_list.rbc +511 -0
  34. data/lib/mail/fields.rbc +782 -0
  35. data/lib/mail/fields/bcc_field.rbc +564 -0
  36. data/lib/mail/fields/cc_field.rbc +579 -0
  37. data/lib/mail/fields/comments_field.rbc +383 -0
  38. data/lib/mail/fields/common/address_container.rbc +363 -0
  39. data/lib/mail/fields/common/common_address.rbc +3533 -0
  40. data/lib/mail/fields/common/common_date.rbc +903 -0
  41. data/lib/mail/fields/common/common_field.rbc +977 -0
  42. data/lib/mail/fields/common/common_message_id.rb +1 -1
  43. data/lib/mail/fields/common/common_message_id.rbc +1005 -0
  44. data/lib/mail/fields/common/parameter_hash.rbc +1405 -0
  45. data/lib/mail/fields/content_description_field.rbc +396 -0
  46. data/lib/mail/fields/content_disposition_field.rbc +1424 -0
  47. data/lib/mail/fields/content_id_field.rbc +1230 -0
  48. data/lib/mail/fields/content_location_field.rbc +890 -0
  49. data/lib/mail/fields/content_transfer_encoding_field.rbc +1181 -0
  50. data/lib/mail/fields/content_type_field.rbc +4093 -0
  51. data/lib/mail/fields/date_field.rbc +815 -0
  52. data/lib/mail/fields/from_field.rbc +579 -0
  53. data/lib/mail/fields/in_reply_to_field.rbc +579 -0
  54. data/lib/mail/fields/keywords_field.rbc +977 -0
  55. data/lib/mail/fields/message_id_field.rbc +1005 -0
  56. data/lib/mail/fields/mime_version_field.rbc +1103 -0
  57. data/lib/mail/fields/optional_field.rbc +153 -0
  58. data/lib/mail/fields/received_field.rbc +1200 -0
  59. data/lib/mail/fields/references_field.rbc +574 -0
  60. data/lib/mail/fields/reply_to_field.rbc +579 -0
  61. data/lib/mail/fields/resent_bcc_field.rbc +579 -0
  62. data/lib/mail/fields/resent_cc_field.rbc +579 -0
  63. data/lib/mail/fields/resent_date_field.rbc +652 -0
  64. data/lib/mail/fields/resent_from_field.rbc +579 -0
  65. data/lib/mail/fields/resent_message_id_field.rbc +639 -0
  66. data/lib/mail/fields/resent_sender_field.rbc +731 -0
  67. data/lib/mail/fields/resent_to_field.rbc +579 -0
  68. data/lib/mail/fields/return_path_field.rbc +761 -0
  69. data/lib/mail/fields/sender_field.rbc +799 -0
  70. data/lib/mail/fields/structured_field.rbc +671 -0
  71. data/lib/mail/fields/subject_field.rbc +378 -0
  72. data/lib/mail/fields/to_field.rbc +579 -0
  73. data/lib/mail/fields/unstructured_field.rbc +2698 -0
  74. data/lib/mail/header.rbc +3868 -0
  75. data/lib/mail/mail.rbc +2599 -0
  76. data/lib/mail/message.rbc +21698 -0
  77. data/lib/mail/network.rbc +297 -0
  78. data/lib/mail/network/delivery_methods/file_delivery.rbc +721 -0
  79. data/lib/mail/network/delivery_methods/sendmail.rbc +830 -0
  80. data/lib/mail/network/delivery_methods/smtp.rbc +1291 -0
  81. data/lib/mail/network/delivery_methods/smtp_connection.rbc +861 -0
  82. data/lib/mail/network/delivery_methods/test_mailer.rbc +552 -0
  83. data/lib/mail/network/retriever_methods/base.rbc +937 -0
  84. data/lib/mail/network/retriever_methods/imap.rbc +2879 -0
  85. data/lib/mail/network/retriever_methods/pop3.rbc +2378 -0
  86. data/lib/mail/network/retriever_methods/test_retriever.rbc +1105 -0
  87. data/lib/mail/parsers/address_lists.rbc +1369 -0
  88. data/lib/mail/parsers/content_disposition.rbc +7252 -0
  89. data/lib/mail/parsers/content_location.rbc +2162 -0
  90. data/lib/mail/parsers/content_transfer_encoding.rbc +2591 -0
  91. data/lib/mail/parsers/content_type.rbc +11667 -0
  92. data/lib/mail/parsers/date_time.rbc +1836 -0
  93. data/lib/mail/parsers/envelope_from.rbc +3098 -0
  94. data/lib/mail/parsers/message_ids.rbc +989 -0
  95. data/lib/mail/parsers/mime_version.rbc +2246 -0
  96. data/lib/mail/parsers/phrase_lists.rbc +989 -0
  97. data/lib/mail/parsers/received.rbc +1267 -0
  98. data/lib/mail/parsers/rfc2045.rbc +5606 -0
  99. data/lib/mail/parsers/rfc2822.rbc +75014 -0
  100. data/lib/mail/parsers/rfc2822_obsolete.rbc +55048 -0
  101. data/lib/mail/part.rbc +2346 -0
  102. data/lib/mail/parts_list.rbc +1078 -0
  103. data/lib/mail/patterns.rbc +0 -0
  104. data/lib/mail/utilities.rbc +2940 -0
  105. data/lib/mail/version.rbc +672 -0
  106. data/lib/mail/version_specific/ruby_1_8.rbc +2495 -0
  107. data/lib/tasks/corpus.rake.compiled.rbc +2178 -0
  108. data/lib/tasks/treetop.rake.compiled.rbc +288 -0
  109. metadata +106 -32
@@ -0,0 +1,815 @@
1
+ !RBIX
2
+ 10310238139619683799
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 37
13
+ 5
14
+ 7
15
+ 0
16
+ 64
17
+ 47
18
+ 49
19
+ 1
20
+ 1
21
+ 15
22
+ 99
23
+ 7
24
+ 2
25
+ 65
26
+ 49
27
+ 3
28
+ 2
29
+ 13
30
+ 99
31
+ 12
32
+ 7
33
+ 4
34
+ 12
35
+ 7
36
+ 5
37
+ 12
38
+ 65
39
+ 12
40
+ 49
41
+ 6
42
+ 4
43
+ 15
44
+ 49
45
+ 4
46
+ 0
47
+ 15
48
+ 2
49
+ 11
50
+ I
51
+ 6
52
+ I
53
+ 0
54
+ I
55
+ 0
56
+ I
57
+ 0
58
+ n
59
+ p
60
+ 7
61
+ s
62
+ 30
63
+ mail/fields/common/common_date
64
+ x
65
+ 7
66
+ require
67
+ x
68
+ 4
69
+ Mail
70
+ x
71
+ 11
72
+ open_module
73
+ x
74
+ 15
75
+ __module_init__
76
+ M
77
+ 1
78
+ n
79
+ n
80
+ x
81
+ 4
82
+ Mail
83
+ i
84
+ 31
85
+ 5
86
+ 66
87
+ 99
88
+ 7
89
+ 0
90
+ 45
91
+ 1
92
+ 2
93
+ 65
94
+ 49
95
+ 3
96
+ 3
97
+ 13
98
+ 99
99
+ 12
100
+ 7
101
+ 4
102
+ 12
103
+ 7
104
+ 5
105
+ 12
106
+ 65
107
+ 12
108
+ 49
109
+ 6
110
+ 4
111
+ 15
112
+ 49
113
+ 4
114
+ 0
115
+ 11
116
+ I
117
+ 6
118
+ I
119
+ 0
120
+ I
121
+ 0
122
+ I
123
+ 0
124
+ n
125
+ p
126
+ 7
127
+ x
128
+ 9
129
+ DateField
130
+ x
131
+ 15
132
+ StructuredField
133
+ n
134
+ x
135
+ 10
136
+ open_class
137
+ x
138
+ 14
139
+ __class_init__
140
+ M
141
+ 1
142
+ n
143
+ n
144
+ x
145
+ 9
146
+ DateField
147
+ i
148
+ 75
149
+ 5
150
+ 66
151
+ 5
152
+ 45
153
+ 0
154
+ 1
155
+ 43
156
+ 2
157
+ 47
158
+ 49
159
+ 3
160
+ 1
161
+ 15
162
+ 65
163
+ 7
164
+ 4
165
+ 7
166
+ 5
167
+ 64
168
+ 49
169
+ 6
170
+ 2
171
+ 15
172
+ 65
173
+ 7
174
+ 7
175
+ 7
176
+ 8
177
+ 64
178
+ 49
179
+ 6
180
+ 2
181
+ 15
182
+ 99
183
+ 7
184
+ 9
185
+ 7
186
+ 10
187
+ 65
188
+ 67
189
+ 49
190
+ 11
191
+ 0
192
+ 49
193
+ 12
194
+ 4
195
+ 15
196
+ 99
197
+ 7
198
+ 13
199
+ 7
200
+ 14
201
+ 65
202
+ 67
203
+ 49
204
+ 11
205
+ 0
206
+ 49
207
+ 12
208
+ 4
209
+ 15
210
+ 99
211
+ 7
212
+ 15
213
+ 7
214
+ 16
215
+ 65
216
+ 67
217
+ 49
218
+ 11
219
+ 0
220
+ 49
221
+ 12
222
+ 4
223
+ 11
224
+ I
225
+ 5
226
+ I
227
+ 0
228
+ I
229
+ 0
230
+ I
231
+ 0
232
+ n
233
+ p
234
+ 17
235
+ x
236
+ 4
237
+ Mail
238
+ n
239
+ x
240
+ 10
241
+ CommonDate
242
+ x
243
+ 7
244
+ include
245
+ x
246
+ 10
247
+ FIELD_NAME
248
+ s
249
+ 4
250
+ date
251
+ x
252
+ 9
253
+ const_set
254
+ x
255
+ 17
256
+ CAPITALIZED_FIELD
257
+ s
258
+ 4
259
+ Date
260
+ x
261
+ 10
262
+ initialize
263
+ M
264
+ 1
265
+ n
266
+ n
267
+ x
268
+ 10
269
+ initialize
270
+ i
271
+ 199
272
+ 23
273
+ 0
274
+ 10
275
+ 8
276
+ 1
277
+ 19
278
+ 0
279
+ 15
280
+ 23
281
+ 1
282
+ 10
283
+ 18
284
+ 7
285
+ 0
286
+ 64
287
+ 19
288
+ 1
289
+ 15
290
+ 26
291
+ 93
292
+ 0
293
+ 15
294
+ 29
295
+ 143
296
+ 0
297
+ 5
298
+ 20
299
+ 1
300
+ 13
301
+ 18
302
+ 2
303
+ 47
304
+ 49
305
+ 1
306
+ 1
307
+ 15
308
+ 15
309
+ 20
310
+ 0
311
+ 49
312
+ 2
313
+ 0
314
+ 9
315
+ 60
316
+ 44
317
+ 43
318
+ 3
319
+ 49
320
+ 4
321
+ 0
322
+ 7
323
+ 5
324
+ 64
325
+ 49
326
+ 6
327
+ 1
328
+ 19
329
+ 0
330
+ 8
331
+ 128
332
+ 5
333
+ 45
334
+ 7
335
+ 8
336
+ 20
337
+ 0
338
+ 47
339
+ 49
340
+ 9
341
+ 2
342
+ 19
343
+ 0
344
+ 15
345
+ 20
346
+ 0
347
+ 49
348
+ 10
349
+ 0
350
+ 7
351
+ 11
352
+ 13
353
+ 70
354
+ 9
355
+ 96
356
+ 15
357
+ 44
358
+ 43
359
+ 12
360
+ 7
361
+ 13
362
+ 78
363
+ 49
364
+ 14
365
+ 2
366
+ 6
367
+ 11
368
+ 7
369
+ 15
370
+ 64
371
+ 49
372
+ 16
373
+ 2
374
+ 15
375
+ 44
376
+ 43
377
+ 3
378
+ 20
379
+ 0
380
+ 49
381
+ 10
382
+ 0
383
+ 7
384
+ 17
385
+ 64
386
+ 49
387
+ 18
388
+ 1
389
+ 49
390
+ 19
391
+ 1
392
+ 7
393
+ 5
394
+ 64
395
+ 49
396
+ 6
397
+ 1
398
+ 19
399
+ 0
400
+ 15
401
+ 45
402
+ 20
403
+ 21
404
+ 20
405
+ 0
406
+ 20
407
+ 1
408
+ 54
409
+ 52
410
+ 22
411
+ 3
412
+ 30
413
+ 8
414
+ 195
415
+ 26
416
+ 93
417
+ 1
418
+ 15
419
+ 24
420
+ 13
421
+ 45
422
+ 23
423
+ 24
424
+ 12
425
+ 49
426
+ 25
427
+ 1
428
+ 10
429
+ 160
430
+ 8
431
+ 190
432
+ 15
433
+ 24
434
+ 19
435
+ 2
436
+ 15
437
+ 7
438
+ 26
439
+ 64
440
+ 20
441
+ 2
442
+ 49
443
+ 27
444
+ 0
445
+ 83
446
+ 28
447
+ 9
448
+ 180
449
+ 1
450
+ 8
451
+ 187
452
+ 5
453
+ 20
454
+ 2
455
+ 47
456
+ 49
457
+ 29
458
+ 1
459
+ 25
460
+ 8
461
+ 195
462
+ 15
463
+ 92
464
+ 1
465
+ 27
466
+ 34
467
+ 92
468
+ 0
469
+ 27
470
+ 11
471
+ I
472
+ 9
473
+ I
474
+ 3
475
+ I
476
+ 0
477
+ I
478
+ 2
479
+ n
480
+ p
481
+ 30
482
+ s
483
+ 5
484
+ utf-8
485
+ x
486
+ 8
487
+ charset=
488
+ x
489
+ 6
490
+ blank?
491
+ x
492
+ 8
493
+ DateTime
494
+ x
495
+ 3
496
+ now
497
+ s
498
+ 24
499
+ %a, %d %b %Y %H:%M:%S %z
500
+ x
501
+ 8
502
+ strftime
503
+ x
504
+ 10
505
+ FIELD_NAME
506
+ n
507
+ x
508
+ 11
509
+ strip_field
510
+ x
511
+ 4
512
+ to_s
513
+ n
514
+ x
515
+ 6
516
+ Regexp
517
+ s
518
+ 7
519
+ \(.*?\)
520
+ x
521
+ 3
522
+ new
523
+ s
524
+ 0
525
+
526
+ x
527
+ 5
528
+ gsub!
529
+ s
530
+ 1
531
+
532
+ x
533
+ 7
534
+ squeeze
535
+ x
536
+ 5
537
+ parse
538
+ x
539
+ 17
540
+ CAPITALIZED_FIELD
541
+ n
542
+ x
543
+ 10
544
+ initialize
545
+ x
546
+ 13
547
+ ArgumentError
548
+ n
549
+ x
550
+ 3
551
+ ===
552
+ s
553
+ 12
554
+ invalid date
555
+ x
556
+ 7
557
+ message
558
+ x
559
+ 2
560
+ ==
561
+ x
562
+ 5
563
+ raise
564
+ p
565
+ 29
566
+ I
567
+ -1
568
+ I
569
+ 22
570
+ I
571
+ 12
572
+ I
573
+ 23
574
+ I
575
+ 19
576
+ I
577
+ 39
578
+ I
579
+ 1a
580
+ I
581
+ 23
582
+ I
583
+ 25
584
+ I
585
+ 24
586
+ I
587
+ 2c
588
+ I
589
+ 25
590
+ I
591
+ 3c
592
+ I
593
+ 27
594
+ I
595
+ 49
596
+ I
597
+ 28
598
+ I
599
+ 67
600
+ I
601
+ 29
602
+ I
603
+ 81
604
+ I
605
+ 2b
606
+ I
607
+ 94
608
+ I
609
+ 2c
610
+ I
611
+ a1
612
+ I
613
+ 2e
614
+ I
615
+ a2
616
+ I
617
+ 2c
618
+ I
619
+ a5
620
+ I
621
+ 2d
622
+ I
623
+ c7
624
+ x
625
+ 52
626
+ /Users/mikel/Code/mail/lib/mail/fields/date_field.rb
627
+ p
628
+ 3
629
+ x
630
+ 5
631
+ value
632
+ x
633
+ 7
634
+ charset
635
+ x
636
+ 1
637
+ e
638
+ x
639
+ 17
640
+ method_visibility
641
+ x
642
+ 15
643
+ add_defn_method
644
+ x
645
+ 7
646
+ encoded
647
+ M
648
+ 1
649
+ n
650
+ n
651
+ x
652
+ 7
653
+ encoded
654
+ i
655
+ 9
656
+ 5
657
+ 45
658
+ 0
659
+ 1
660
+ 47
661
+ 49
662
+ 2
663
+ 1
664
+ 11
665
+ I
666
+ 2
667
+ I
668
+ 0
669
+ I
670
+ 0
671
+ I
672
+ 0
673
+ n
674
+ p
675
+ 3
676
+ x
677
+ 17
678
+ CAPITALIZED_FIELD
679
+ n
680
+ x
681
+ 9
682
+ do_encode
683
+ p
684
+ 5
685
+ I
686
+ -1
687
+ I
688
+ 30
689
+ I
690
+ 0
691
+ I
692
+ 31
693
+ I
694
+ 9
695
+ x
696
+ 52
697
+ /Users/mikel/Code/mail/lib/mail/fields/date_field.rb
698
+ p
699
+ 0
700
+ x
701
+ 7
702
+ decoded
703
+ M
704
+ 1
705
+ n
706
+ n
707
+ x
708
+ 7
709
+ decoded
710
+ i
711
+ 4
712
+ 5
713
+ 48
714
+ 0
715
+ 11
716
+ I
717
+ 1
718
+ I
719
+ 0
720
+ I
721
+ 0
722
+ I
723
+ 0
724
+ n
725
+ p
726
+ 1
727
+ x
728
+ 9
729
+ do_decode
730
+ p
731
+ 5
732
+ I
733
+ -1
734
+ I
735
+ 34
736
+ I
737
+ 0
738
+ I
739
+ 35
740
+ I
741
+ 4
742
+ x
743
+ 52
744
+ /Users/mikel/Code/mail/lib/mail/fields/date_field.rb
745
+ p
746
+ 0
747
+ p
748
+ 13
749
+ I
750
+ 2
751
+ I
752
+ 1d
753
+ I
754
+ d
755
+ I
756
+ 1f
757
+ I
758
+ 17
759
+ I
760
+ 20
761
+ I
762
+ 21
763
+ I
764
+ 22
765
+ I
766
+ 2f
767
+ I
768
+ 30
769
+ I
770
+ 3d
771
+ I
772
+ 34
773
+ I
774
+ 4b
775
+ x
776
+ 52
777
+ /Users/mikel/Code/mail/lib/mail/fields/date_field.rb
778
+ p
779
+ 0
780
+ x
781
+ 13
782
+ attach_method
783
+ p
784
+ 3
785
+ I
786
+ 2
787
+ I
788
+ 1b
789
+ I
790
+ 1f
791
+ x
792
+ 52
793
+ /Users/mikel/Code/mail/lib/mail/fields/date_field.rb
794
+ p
795
+ 0
796
+ x
797
+ 13
798
+ attach_method
799
+ p
800
+ 5
801
+ I
802
+ 0
803
+ I
804
+ 18
805
+ I
806
+ 9
807
+ I
808
+ 1a
809
+ I
810
+ 25
811
+ x
812
+ 52
813
+ /Users/mikel/Code/mail/lib/mail/fields/date_field.rb
814
+ p
815
+ 0