mail 2.6.6 → 2.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. checksums.yaml +5 -5
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +74 -90
  4. data/lib/mail/attachments_list.rb +8 -4
  5. data/lib/mail/body.rb +50 -38
  6. data/lib/mail/check_delivery_params.rb +8 -6
  7. data/lib/mail/configuration.rb +2 -0
  8. data/lib/mail/constants.rb +1 -1
  9. data/lib/mail/core_extensions/smtp.rb +19 -16
  10. data/lib/mail/core_extensions/string.rb +0 -4
  11. data/lib/mail/elements/address.rb +28 -22
  12. data/lib/mail/elements/address_list.rb +10 -18
  13. data/lib/mail/elements/content_disposition_element.rb +8 -15
  14. data/lib/mail/elements/content_location_element.rb +5 -10
  15. data/lib/mail/elements/content_transfer_encoding_element.rb +5 -10
  16. data/lib/mail/elements/content_type_element.rb +8 -19
  17. data/lib/mail/elements/date_time_element.rb +6 -14
  18. data/lib/mail/elements/envelope_from_element.rb +14 -21
  19. data/lib/mail/elements/message_ids_element.rb +8 -12
  20. data/lib/mail/elements/mime_version_element.rb +6 -14
  21. data/lib/mail/elements/phrase_list.rb +6 -9
  22. data/lib/mail/elements/received_element.rb +9 -15
  23. data/lib/mail/encodings/7bit.rb +5 -15
  24. data/lib/mail/encodings/8bit.rb +2 -21
  25. data/lib/mail/encodings/base64.rb +11 -12
  26. data/lib/mail/encodings/binary.rb +3 -22
  27. data/lib/mail/encodings/identity.rb +24 -0
  28. data/lib/mail/encodings/quoted_printable.rb +6 -6
  29. data/lib/mail/encodings/transfer_encoding.rb +38 -29
  30. data/lib/mail/encodings/unix_to_unix.rb +3 -1
  31. data/lib/mail/encodings.rb +99 -43
  32. data/lib/mail/envelope.rb +1 -1
  33. data/lib/mail/field.rb +96 -59
  34. data/lib/mail/fields/bcc_field.rb +2 -2
  35. data/lib/mail/fields/cc_field.rb +1 -1
  36. data/lib/mail/fields/comments_field.rb +1 -1
  37. data/lib/mail/fields/common/common_address.rb +32 -7
  38. data/lib/mail/fields/common/common_field.rb +1 -10
  39. data/lib/mail/fields/common/parameter_hash.rb +1 -1
  40. data/lib/mail/fields/content_description_field.rb +1 -1
  41. data/lib/mail/fields/content_disposition_field.rb +3 -3
  42. data/lib/mail/fields/content_id_field.rb +2 -2
  43. data/lib/mail/fields/content_location_field.rb +1 -1
  44. data/lib/mail/fields/content_transfer_encoding_field.rb +1 -1
  45. data/lib/mail/fields/content_type_field.rb +4 -9
  46. data/lib/mail/fields/date_field.rb +2 -3
  47. data/lib/mail/fields/from_field.rb +1 -1
  48. data/lib/mail/fields/in_reply_to_field.rb +1 -1
  49. data/lib/mail/fields/keywords_field.rb +1 -1
  50. data/lib/mail/fields/message_id_field.rb +1 -1
  51. data/lib/mail/fields/mime_version_field.rb +1 -1
  52. data/lib/mail/fields/optional_field.rb +4 -1
  53. data/lib/mail/fields/received_field.rb +1 -1
  54. data/lib/mail/fields/references_field.rb +1 -1
  55. data/lib/mail/fields/reply_to_field.rb +1 -1
  56. data/lib/mail/fields/resent_bcc_field.rb +1 -1
  57. data/lib/mail/fields/resent_cc_field.rb +1 -1
  58. data/lib/mail/fields/resent_date_field.rb +0 -1
  59. data/lib/mail/fields/resent_from_field.rb +1 -1
  60. data/lib/mail/fields/resent_message_id_field.rb +1 -1
  61. data/lib/mail/fields/resent_sender_field.rb +1 -1
  62. data/lib/mail/fields/resent_to_field.rb +1 -1
  63. data/lib/mail/fields/return_path_field.rb +1 -1
  64. data/lib/mail/fields/sender_field.rb +1 -1
  65. data/lib/mail/fields/subject_field.rb +1 -1
  66. data/lib/mail/fields/to_field.rb +1 -1
  67. data/lib/mail/fields/unstructured_field.rb +21 -4
  68. data/lib/mail/header.rb +10 -8
  69. data/lib/mail/mail.rb +2 -10
  70. data/lib/mail/matchers/has_sent_mail.rb +21 -1
  71. data/lib/mail/message.rb +78 -68
  72. data/lib/mail/multibyte/chars.rb +29 -28
  73. data/lib/mail/multibyte/unicode.rb +10 -10
  74. data/lib/mail/multibyte.rb +64 -15
  75. data/lib/mail/network/delivery_methods/logger_delivery.rb +37 -0
  76. data/lib/mail/network/delivery_methods/sendmail.rb +8 -5
  77. data/lib/mail/network/delivery_methods/smtp.rb +58 -49
  78. data/lib/mail/network/delivery_methods/smtp_connection.rb +9 -1
  79. data/lib/mail/network/retriever_methods/imap.rb +18 -5
  80. data/lib/mail/network/retriever_methods/pop3.rb +3 -1
  81. data/lib/mail/network.rb +1 -0
  82. data/lib/mail/parser_tools.rb +15 -0
  83. data/lib/mail/parsers/address_lists_parser.rb +33207 -104
  84. data/lib/mail/parsers/address_lists_parser.rl +172 -0
  85. data/lib/mail/parsers/content_disposition_parser.rb +876 -49
  86. data/lib/mail/parsers/content_disposition_parser.rl +82 -0
  87. data/lib/mail/parsers/content_location_parser.rb +803 -23
  88. data/lib/mail/parsers/content_location_parser.rl +71 -0
  89. data/lib/mail/parsers/content_transfer_encoding_parser.rb +501 -19
  90. data/lib/mail/parsers/content_transfer_encoding_parser.rl +64 -0
  91. data/lib/mail/parsers/content_type_parser.rb +1023 -48
  92. data/lib/mail/parsers/content_type_parser.rl +83 -0
  93. data/lib/mail/parsers/date_time_parser.rb +870 -24
  94. data/lib/mail/parsers/date_time_parser.rl +62 -0
  95. data/lib/mail/parsers/envelope_from_parser.rb +3569 -34
  96. data/lib/mail/parsers/envelope_from_parser.rl +82 -0
  97. data/lib/mail/parsers/message_ids_parser.rb +2839 -25
  98. data/lib/mail/parsers/message_ids_parser.rl +82 -0
  99. data/lib/mail/parsers/mime_version_parser.rb +491 -26
  100. data/lib/mail/parsers/mime_version_parser.rl +61 -0
  101. data/lib/mail/parsers/phrase_lists_parser.rb +860 -18
  102. data/lib/mail/parsers/phrase_lists_parser.rl +83 -0
  103. data/lib/mail/parsers/received_parser.rb +8764 -37
  104. data/lib/mail/parsers/received_parser.rl +84 -0
  105. data/lib/mail/parsers/rfc2045_content_transfer_encoding.rl +13 -0
  106. data/lib/mail/parsers/rfc2045_content_type.rl +25 -0
  107. data/lib/mail/parsers/rfc2045_mime.rl +16 -0
  108. data/lib/mail/parsers/rfc2183_content_disposition.rl +15 -0
  109. data/lib/mail/parsers/rfc3629_utf8.rl +19 -0
  110. data/lib/mail/parsers/rfc5234_abnf_core_rules.rl +22 -0
  111. data/lib/mail/parsers/rfc5322.rl +59 -0
  112. data/lib/mail/parsers/rfc5322_address.rl +72 -0
  113. data/lib/mail/parsers/{ragel/date_time.rl → rfc5322_date_time.rl} +8 -1
  114. data/lib/mail/parsers/rfc5322_lexical_tokens.rl +60 -0
  115. data/lib/mail/parsers.rb +16 -24
  116. data/lib/mail/part.rb +3 -3
  117. data/lib/mail/parts_list.rb +5 -6
  118. data/lib/mail/utilities.rb +59 -28
  119. data/lib/mail/version.rb +2 -2
  120. data/lib/mail/version_specific/ruby_1_8.rb +40 -3
  121. data/lib/mail/version_specific/ruby_1_9.rb +61 -9
  122. data/lib/mail.rb +3 -16
  123. metadata +44 -53
  124. data/CHANGELOG.rdoc +0 -803
  125. data/CONTRIBUTING.md +0 -60
  126. data/Dependencies.txt +0 -2
  127. data/Gemfile +0 -14
  128. data/Rakefile +0 -29
  129. data/TODO.rdoc +0 -9
  130. data/lib/mail/core_extensions/string/access.rb +0 -146
  131. data/lib/mail/core_extensions/string/multibyte.rb +0 -79
  132. data/lib/mail/multibyte/exceptions.rb +0 -9
  133. data/lib/mail/parsers/ragel/common.rl +0 -185
  134. data/lib/mail/parsers/ragel/parser_info.rb +0 -61
  135. data/lib/mail/parsers/ragel/ruby/machines/address_lists_machine.rb +0 -14864
  136. data/lib/mail/parsers/ragel/ruby/machines/address_lists_machine.rb.rl +0 -37
  137. data/lib/mail/parsers/ragel/ruby/machines/content_disposition_machine.rb +0 -751
  138. data/lib/mail/parsers/ragel/ruby/machines/content_disposition_machine.rb.rl +0 -37
  139. data/lib/mail/parsers/ragel/ruby/machines/content_location_machine.rb +0 -614
  140. data/lib/mail/parsers/ragel/ruby/machines/content_location_machine.rb.rl +0 -37
  141. data/lib/mail/parsers/ragel/ruby/machines/content_transfer_encoding_machine.rb +0 -447
  142. data/lib/mail/parsers/ragel/ruby/machines/content_transfer_encoding_machine.rb.rl +0 -37
  143. data/lib/mail/parsers/ragel/ruby/machines/content_type_machine.rb +0 -825
  144. data/lib/mail/parsers/ragel/ruby/machines/content_type_machine.rb.rl +0 -37
  145. data/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb +0 -817
  146. data/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb.rl +0 -37
  147. data/lib/mail/parsers/ragel/ruby/machines/envelope_from_machine.rb +0 -2149
  148. data/lib/mail/parsers/ragel/ruby/machines/envelope_from_machine.rb.rl +0 -37
  149. data/lib/mail/parsers/ragel/ruby/machines/message_ids_machine.rb +0 -1570
  150. data/lib/mail/parsers/ragel/ruby/machines/message_ids_machine.rb.rl +0 -37
  151. data/lib/mail/parsers/ragel/ruby/machines/mime_version_machine.rb +0 -440
  152. data/lib/mail/parsers/ragel/ruby/machines/mime_version_machine.rb.rl +0 -37
  153. data/lib/mail/parsers/ragel/ruby/machines/phrase_lists_machine.rb +0 -564
  154. data/lib/mail/parsers/ragel/ruby/machines/phrase_lists_machine.rb.rl +0 -37
  155. data/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl +0 -51
  156. data/lib/mail/parsers/ragel/ruby/machines/received_machine.rb +0 -5144
  157. data/lib/mail/parsers/ragel/ruby/machines/received_machine.rb.rl +0 -37
  158. data/lib/mail/parsers/ragel/ruby/parser.rb.rl.erb +0 -37
  159. data/lib/mail/parsers/ragel/ruby.rb +0 -40
  160. data/lib/mail/parsers/ragel.rb +0 -18
@@ -1,817 +0,0 @@
1
-
2
- # line 1 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb.rl"
3
-
4
- # line 10 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb.rl"
5
-
6
-
7
- module Mail
8
- module Parsers
9
- module Ragel
10
- module DateTimeMachine
11
-
12
- # line 13 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb"
13
- class << self
14
- attr_accessor :_date_time_trans_keys
15
- private :_date_time_trans_keys, :_date_time_trans_keys=
16
- end
17
- self._date_time_trans_keys = [
18
- 0, 0, 9, 87, 9, 87,
19
- 10, 10, 9, 32, 9,
20
- 87, 9, 83, 9, 83,
21
- 10, 10, 9, 32, 9, 83,
22
- 112, 117, 114, 114, 9,
23
- 57, 10, 10, 9, 32,
24
- 9, 57, 48, 57, 9, 57,
25
- 9, 57, 10, 10, 9,
26
- 32, 9, 57, 48, 57,
27
- 9, 58, 10, 10, 9, 32,
28
- 9, 58, 9, 57, 10,
29
- 10, 9, 32, 9, 57,
30
- 48, 57, 9, 58, 9, 122,
31
- 10, 10, 9, 32, 9,
32
- 58, 9, 57, 10, 10,
33
- 9, 32, 9, 57, 48, 57,
34
- 9, 40, 9, 122, 10,
35
- 10, 9, 32, 9, 40,
36
- 48, 57, 48, 57, 48, 57,
37
- 48, 57, 10, 10, 9,
38
- 32, 84, 84, 103, 103,
39
- 101, 101, 99, 99, 101, 101,
40
- 98, 98, 97, 117, 110,
41
- 110, 108, 110, 97, 97,
42
- 114, 121, 111, 111, 118, 118,
43
- 99, 99, 116, 116, 101,
44
- 101, 112, 112, 114, 114,
45
- 105, 105, 9, 44, 10, 10,
46
- 9, 32, 9, 44, 9,
47
- 57, 9, 57, 10, 10,
48
- 9, 32, 9, 57, 111, 111,
49
- 110, 110, 97, 117, 116,
50
- 116, 104, 117, 117, 117,
51
- 101, 101, 101, 101, 100, 100,
52
- 1, 127, 1, 127, 10,
53
- 10, 9, 32, 0, 127,
54
- 9, 40, 9, 40, 9, 40,
55
- 9, 83, 9, 77, 9,
56
- 84, 0, 0, 0
57
- ]
58
-
59
- class << self
60
- attr_accessor :_date_time_key_spans
61
- private :_date_time_key_spans, :_date_time_key_spans=
62
- end
63
- self._date_time_key_spans = [
64
- 0, 79, 79, 1, 24, 79, 75, 75,
65
- 1, 24, 75, 6, 1, 49, 1, 24,
66
- 49, 10, 49, 49, 1, 24, 49, 10,
67
- 50, 1, 24, 50, 49, 1, 24, 49,
68
- 10, 50, 114, 1, 24, 50, 49, 1,
69
- 24, 49, 10, 32, 114, 1, 24, 32,
70
- 10, 10, 10, 10, 1, 24, 1, 1,
71
- 1, 1, 1, 1, 21, 1, 3, 1,
72
- 8, 1, 1, 1, 1, 1, 1, 1,
73
- 1, 36, 1, 24, 36, 49, 49, 1,
74
- 24, 49, 1, 1, 21, 1, 14, 1,
75
- 1, 1, 1, 127, 127, 1, 24, 128,
76
- 32, 32, 32, 75, 69, 76, 0
77
- ]
78
-
79
- class << self
80
- attr_accessor :_date_time_index_offsets
81
- private :_date_time_index_offsets, :_date_time_index_offsets=
82
- end
83
- self._date_time_index_offsets = [
84
- 0, 0, 80, 160, 162, 187, 267, 343,
85
- 419, 421, 446, 522, 529, 531, 581, 583,
86
- 608, 658, 669, 719, 769, 771, 796, 846,
87
- 857, 908, 910, 935, 986, 1036, 1038, 1063,
88
- 1113, 1124, 1175, 1290, 1292, 1317, 1368, 1418,
89
- 1420, 1445, 1495, 1506, 1539, 1654, 1656, 1681,
90
- 1714, 1725, 1736, 1747, 1758, 1760, 1785, 1787,
91
- 1789, 1791, 1793, 1795, 1797, 1819, 1821, 1825,
92
- 1827, 1836, 1838, 1840, 1842, 1844, 1846, 1848,
93
- 1850, 1852, 1889, 1891, 1916, 1953, 2003, 2053,
94
- 2055, 2080, 2130, 2132, 2134, 2156, 2158, 2173,
95
- 2175, 2177, 2179, 2181, 2309, 2437, 2439, 2464,
96
- 2593, 2626, 2659, 2692, 2768, 2838, 2915
97
- ]
98
-
99
- class << self
100
- attr_accessor :_date_time_indicies
101
- private :_date_time_indicies, :_date_time_indicies=
102
- end
103
- self._date_time_indicies = [
104
- 0, 1, 1, 1, 2, 1, 1, 1,
105
- 1, 1, 1, 1, 1, 1, 1, 1,
106
- 1, 1, 1, 1, 1, 1, 1, 0,
107
- 1, 1, 1, 1, 1, 1, 1, 3,
108
- 1, 1, 1, 1, 1, 1, 1, 4,
109
- 4, 4, 4, 4, 4, 4, 4, 4,
110
- 4, 1, 1, 1, 1, 1, 1, 1,
111
- 1, 1, 1, 1, 1, 5, 1, 1,
112
- 1, 1, 1, 1, 6, 1, 1, 1,
113
- 1, 1, 7, 8, 1, 1, 9, 1,
114
- 10, 1, 1, 1, 11, 1, 1, 1,
115
- 1, 1, 1, 1, 1, 1, 1, 1,
116
- 1, 1, 1, 1, 1, 1, 1, 10,
117
- 1, 1, 1, 1, 1, 1, 1, 12,
118
- 1, 1, 1, 1, 1, 1, 1, 13,
119
- 13, 13, 13, 13, 13, 13, 13, 13,
120
- 13, 1, 1, 1, 1, 1, 1, 1,
121
- 1, 1, 1, 1, 1, 5, 1, 1,
122
- 1, 1, 1, 1, 6, 1, 1, 1,
123
- 1, 1, 7, 8, 1, 1, 9, 1,
124
- 14, 1, 10, 1, 1, 1, 1, 1,
125
- 1, 1, 1, 1, 1, 1, 1, 1,
126
- 1, 1, 1, 1, 1, 1, 1, 1,
127
- 1, 10, 1, 15, 1, 1, 1, 16,
128
- 1, 1, 1, 1, 1, 1, 1, 1,
129
- 1, 1, 1, 1, 1, 1, 1, 1,
130
- 1, 1, 15, 1, 1, 1, 1, 1,
131
- 1, 1, 17, 1, 1, 1, 1, 1,
132
- 1, 1, 18, 18, 18, 18, 18, 18,
133
- 18, 18, 18, 18, 1, 1, 1, 1,
134
- 1, 1, 1, 1, 1, 1, 1, 1,
135
- 19, 1, 1, 1, 1, 1, 1, 20,
136
- 1, 1, 1, 1, 1, 21, 22, 1,
137
- 1, 23, 1, 24, 1, 1, 1, 25,
138
- 1, 1, 1, 1, 1, 1, 1, 1,
139
- 1, 1, 1, 1, 1, 1, 1, 1,
140
- 1, 1, 24, 1, 1, 1, 1, 1,
141
- 1, 1, 26, 1, 1, 1, 1, 1,
142
- 1, 1, 24, 24, 24, 24, 24, 24,
143
- 24, 24, 24, 24, 1, 1, 1, 1,
144
- 1, 1, 1, 27, 1, 1, 28, 1,
145
- 29, 1, 1, 1, 30, 1, 1, 31,
146
- 32, 33, 1, 1, 1, 34, 1, 24,
147
- 1, 1, 1, 25, 1, 1, 1, 1,
148
- 1, 1, 1, 1, 1, 1, 1, 1,
149
- 1, 1, 1, 1, 1, 1, 24, 1,
150
- 1, 1, 1, 1, 1, 1, 26, 1,
151
- 1, 1, 1, 1, 1, 1, 1, 1,
152
- 1, 1, 1, 1, 1, 1, 1, 1,
153
- 1, 1, 1, 1, 1, 1, 1, 27,
154
- 1, 1, 28, 1, 29, 1, 1, 1,
155
- 30, 1, 1, 31, 32, 33, 1, 1,
156
- 1, 34, 1, 35, 1, 24, 1, 1,
157
- 1, 1, 1, 1, 1, 1, 1, 1,
158
- 1, 1, 1, 1, 1, 1, 1, 1,
159
- 1, 1, 1, 1, 24, 1, 36, 1,
160
- 1, 1, 37, 1, 1, 1, 1, 1,
161
- 1, 1, 1, 1, 1, 1, 1, 1,
162
- 1, 1, 1, 1, 1, 36, 1, 1,
163
- 1, 1, 1, 1, 1, 38, 1, 1,
164
- 1, 1, 1, 1, 1, 1, 1, 1,
165
- 1, 1, 1, 1, 1, 1, 1, 1,
166
- 1, 1, 1, 1, 1, 1, 39, 1,
167
- 1, 40, 1, 41, 1, 1, 1, 42,
168
- 1, 1, 43, 44, 45, 1, 1, 1,
169
- 46, 1, 47, 1, 1, 1, 1, 48,
170
- 1, 49, 1, 49, 1, 1, 1, 50,
171
- 1, 1, 1, 1, 1, 1, 1, 1,
172
- 1, 1, 1, 1, 1, 1, 1, 1,
173
- 1, 1, 49, 1, 1, 1, 1, 1,
174
- 1, 1, 51, 1, 1, 1, 1, 1,
175
- 1, 1, 52, 52, 52, 52, 52, 52,
176
- 52, 52, 52, 52, 1, 53, 1, 49,
177
- 1, 1, 1, 1, 1, 1, 1, 1,
178
- 1, 1, 1, 1, 1, 1, 1, 1,
179
- 1, 1, 1, 1, 1, 1, 49, 1,
180
- 54, 1, 1, 1, 55, 1, 1, 1,
181
- 1, 1, 1, 1, 1, 1, 1, 1,
182
- 1, 1, 1, 1, 1, 1, 1, 54,
183
- 1, 1, 1, 1, 1, 1, 1, 56,
184
- 1, 1, 1, 1, 1, 1, 1, 57,
185
- 57, 57, 57, 57, 57, 57, 57, 57,
186
- 57, 1, 58, 58, 58, 58, 58, 58,
187
- 58, 58, 58, 58, 1, 59, 1, 1,
188
- 1, 60, 1, 1, 1, 1, 1, 1,
189
- 1, 1, 1, 1, 1, 1, 1, 1,
190
- 1, 1, 1, 1, 59, 1, 1, 1,
191
- 1, 1, 1, 1, 61, 1, 1, 1,
192
- 1, 1, 1, 1, 58, 58, 58, 58,
193
- 58, 58, 58, 58, 58, 58, 1, 59,
194
- 1, 1, 1, 60, 1, 1, 1, 1,
195
- 1, 1, 1, 1, 1, 1, 1, 1,
196
- 1, 1, 1, 1, 1, 1, 59, 1,
197
- 1, 1, 1, 1, 1, 1, 61, 1,
198
- 1, 1, 1, 1, 1, 1, 62, 62,
199
- 62, 62, 62, 62, 62, 62, 62, 62,
200
- 1, 63, 1, 59, 1, 1, 1, 1,
201
- 1, 1, 1, 1, 1, 1, 1, 1,
202
- 1, 1, 1, 1, 1, 1, 1, 1,
203
- 1, 1, 59, 1, 64, 1, 1, 1,
204
- 65, 1, 1, 1, 1, 1, 1, 1,
205
- 1, 1, 1, 1, 1, 1, 1, 1,
206
- 1, 1, 1, 64, 1, 1, 1, 1,
207
- 1, 1, 1, 66, 1, 1, 1, 1,
208
- 1, 1, 1, 67, 67, 67, 67, 67,
209
- 67, 67, 67, 67, 67, 1, 68, 68,
210
- 68, 68, 68, 68, 68, 68, 68, 68,
211
- 1, 68, 1, 1, 1, 69, 1, 1,
212
- 1, 1, 1, 1, 1, 1, 1, 1,
213
- 1, 1, 1, 1, 1, 1, 1, 1,
214
- 68, 1, 1, 1, 1, 1, 1, 1,
215
- 70, 1, 1, 1, 1, 1, 1, 1,
216
- 1, 1, 1, 1, 1, 1, 1, 1,
217
- 1, 1, 71, 1, 72, 1, 68, 1,
218
- 1, 1, 1, 1, 1, 1, 1, 1,
219
- 1, 1, 1, 1, 1, 1, 1, 1,
220
- 1, 1, 1, 1, 1, 68, 1, 73,
221
- 1, 1, 1, 74, 1, 1, 1, 1,
222
- 1, 1, 1, 1, 1, 1, 1, 1,
223
- 1, 1, 1, 1, 1, 1, 73, 1,
224
- 1, 1, 1, 1, 1, 1, 75, 1,
225
- 1, 1, 1, 1, 1, 1, 1, 1,
226
- 1, 1, 1, 1, 1, 1, 1, 1,
227
- 76, 1, 71, 1, 1, 1, 77, 1,
228
- 1, 1, 1, 1, 1, 1, 1, 1,
229
- 1, 1, 1, 1, 1, 1, 1, 1,
230
- 1, 71, 1, 1, 1, 1, 1, 1,
231
- 1, 78, 1, 1, 1, 1, 1, 1,
232
- 1, 79, 79, 79, 79, 79, 79, 79,
233
- 79, 79, 79, 1, 80, 1, 71, 1,
234
- 1, 1, 1, 1, 1, 1, 1, 1,
235
- 1, 1, 1, 1, 1, 1, 1, 1,
236
- 1, 1, 1, 1, 1, 71, 1, 76,
237
- 1, 1, 1, 81, 1, 1, 1, 1,
238
- 1, 1, 1, 1, 1, 1, 1, 1,
239
- 1, 1, 1, 1, 1, 1, 76, 1,
240
- 1, 1, 1, 1, 1, 1, 82, 1,
241
- 1, 1, 1, 1, 1, 1, 83, 83,
242
- 83, 83, 83, 83, 83, 83, 83, 83,
243
- 1, 84, 84, 84, 84, 84, 84, 84,
244
- 84, 84, 84, 1, 85, 1, 1, 1,
245
- 86, 1, 1, 1, 1, 1, 1, 1,
246
- 1, 1, 1, 1, 1, 1, 1, 1,
247
- 1, 1, 1, 85, 1, 1, 1, 1,
248
- 1, 1, 1, 87, 1, 1, 1, 1,
249
- 1, 1, 1, 1, 1, 1, 1, 1,
250
- 1, 1, 1, 1, 1, 88, 1, 85,
251
- 1, 1, 1, 86, 1, 1, 1, 1,
252
- 1, 1, 1, 1, 1, 1, 1, 1,
253
- 1, 1, 1, 1, 1, 1, 85, 1,
254
- 1, 1, 1, 1, 1, 1, 87, 1,
255
- 1, 89, 1, 89, 1, 1, 1, 1,
256
- 1, 1, 1, 1, 1, 1, 1, 1,
257
- 88, 1, 1, 1, 1, 1, 1, 90,
258
- 90, 91, 90, 91, 90, 92, 90, 90,
259
- 1, 90, 90, 91, 90, 90, 91, 90,
260
- 90, 90, 90, 93, 90, 90, 90, 90,
261
- 90, 1, 1, 1, 1, 1, 1, 90,
262
- 90, 90, 90, 90, 90, 90, 90, 90,
263
- 1, 90, 90, 90, 90, 90, 90, 90,
264
- 90, 90, 90, 90, 90, 90, 90, 90,
265
- 90, 1, 94, 1, 85, 1, 1, 1,
266
- 1, 1, 1, 1, 1, 1, 1, 1,
267
- 1, 1, 1, 1, 1, 1, 1, 1,
268
- 1, 1, 1, 85, 1, 95, 1, 1,
269
- 1, 96, 1, 1, 1, 1, 1, 1,
270
- 1, 1, 1, 1, 1, 1, 1, 1,
271
- 1, 1, 1, 1, 95, 1, 1, 1,
272
- 1, 1, 1, 1, 97, 1, 1, 1,
273
- 1, 1, 1, 1, 1, 1, 1, 1,
274
- 1, 1, 1, 1, 1, 1, 98, 1,
275
- 88, 1, 1, 1, 99, 1, 1, 1,
276
- 1, 1, 1, 1, 1, 1, 1, 1,
277
- 1, 1, 1, 1, 1, 1, 1, 88,
278
- 1, 1, 1, 1, 1, 1, 1, 100,
279
- 1, 1, 1, 1, 1, 1, 1, 101,
280
- 101, 101, 101, 101, 101, 101, 101, 101,
281
- 101, 1, 102, 1, 88, 1, 1, 1,
282
- 1, 1, 1, 1, 1, 1, 1, 1,
283
- 1, 1, 1, 1, 1, 1, 1, 1,
284
- 1, 1, 1, 88, 1, 98, 1, 1,
285
- 1, 103, 1, 1, 1, 1, 1, 1,
286
- 1, 1, 1, 1, 1, 1, 1, 1,
287
- 1, 1, 1, 1, 98, 1, 1, 1,
288
- 1, 1, 1, 1, 104, 1, 1, 1,
289
- 1, 1, 1, 1, 105, 105, 105, 105,
290
- 105, 105, 105, 105, 105, 105, 1, 106,
291
- 106, 106, 106, 106, 106, 106, 106, 106,
292
- 106, 1, 107, 1, 1, 1, 108, 1,
293
- 1, 1, 1, 1, 1, 1, 1, 1,
294
- 1, 1, 1, 1, 1, 1, 1, 1,
295
- 1, 107, 1, 1, 1, 1, 1, 1,
296
- 1, 109, 1, 107, 1, 1, 1, 108,
297
- 1, 1, 1, 1, 1, 1, 1, 1,
298
- 1, 1, 1, 1, 1, 1, 1, 1,
299
- 1, 1, 107, 1, 1, 1, 1, 1,
300
- 1, 1, 109, 1, 1, 89, 1, 89,
301
- 1, 1, 1, 1, 1, 1, 1, 1,
302
- 1, 1, 1, 1, 1, 1, 1, 1,
303
- 1, 1, 1, 90, 90, 91, 90, 91,
304
- 90, 92, 90, 90, 1, 90, 90, 91,
305
- 90, 90, 91, 90, 90, 90, 90, 93,
306
- 90, 90, 90, 90, 90, 1, 1, 1,
307
- 1, 1, 1, 90, 90, 90, 90, 90,
308
- 90, 90, 90, 90, 1, 90, 90, 90,
309
- 90, 90, 90, 90, 90, 90, 90, 90,
310
- 90, 90, 90, 90, 90, 1, 110, 1,
311
- 107, 1, 1, 1, 1, 1, 1, 1,
312
- 1, 1, 1, 1, 1, 1, 1, 1,
313
- 1, 1, 1, 1, 1, 1, 1, 107,
314
- 1, 111, 1, 1, 1, 112, 1, 1,
315
- 1, 1, 1, 1, 1, 1, 1, 1,
316
- 1, 1, 1, 1, 1, 1, 1, 1,
317
- 111, 1, 1, 1, 1, 1, 1, 1,
318
- 113, 1, 114, 114, 114, 114, 114, 114,
319
- 114, 114, 114, 114, 1, 115, 115, 115,
320
- 115, 115, 115, 115, 115, 115, 115, 1,
321
- 116, 116, 116, 116, 116, 116, 116, 116,
322
- 116, 116, 1, 90, 90, 90, 90, 90,
323
- 90, 90, 90, 90, 90, 1, 117, 1,
324
- 118, 1, 1, 1, 1, 1, 1, 1,
325
- 1, 1, 1, 1, 1, 1, 1, 1,
326
- 1, 1, 1, 1, 1, 1, 1, 118,
327
- 1, 90, 1, 49, 1, 119, 1, 49,
328
- 1, 120, 1, 49, 1, 121, 1, 1,
329
- 1, 1, 1, 1, 1, 1, 1, 1,
330
- 1, 1, 1, 1, 1, 1, 1, 1,
331
- 1, 122, 1, 49, 1, 49, 1, 49,
332
- 1, 123, 1, 49, 1, 1, 1, 1,
333
- 1, 1, 49, 1, 124, 1, 49, 1,
334
- 125, 1, 49, 1, 126, 1, 49, 1,
335
- 127, 1, 128, 1, 128, 1, 1, 1,
336
- 129, 1, 1, 1, 1, 1, 1, 1,
337
- 1, 1, 1, 1, 1, 1, 1, 1,
338
- 1, 1, 1, 128, 1, 1, 1, 1,
339
- 1, 1, 1, 130, 1, 1, 1, 131,
340
- 1, 132, 1, 128, 1, 1, 1, 1,
341
- 1, 1, 1, 1, 1, 1, 1, 1,
342
- 1, 1, 1, 1, 1, 1, 1, 1,
343
- 1, 1, 128, 1, 133, 1, 1, 1,
344
- 134, 1, 1, 1, 1, 1, 1, 1,
345
- 1, 1, 1, 1, 1, 1, 1, 1,
346
- 1, 1, 1, 133, 1, 1, 1, 1,
347
- 1, 1, 1, 135, 1, 1, 1, 136,
348
- 1, 137, 1, 1, 1, 138, 1, 1,
349
- 1, 1, 1, 1, 1, 1, 1, 1,
350
- 1, 1, 1, 1, 1, 1, 1, 1,
351
- 137, 1, 1, 1, 1, 1, 1, 1,
352
- 139, 1, 1, 1, 1, 1, 1, 1,
353
- 4, 4, 4, 4, 4, 4, 4, 4,
354
- 4, 4, 1, 140, 1, 1, 1, 141,
355
- 1, 1, 1, 1, 1, 1, 1, 1,
356
- 1, 1, 1, 1, 1, 1, 1, 1,
357
- 1, 1, 140, 1, 1, 1, 1, 1,
358
- 1, 1, 142, 1, 1, 1, 1, 1,
359
- 1, 1, 13, 13, 13, 13, 13, 13,
360
- 13, 13, 13, 13, 1, 143, 1, 140,
361
- 1, 1, 1, 1, 1, 1, 1, 1,
362
- 1, 1, 1, 1, 1, 1, 1, 1,
363
- 1, 1, 1, 1, 1, 1, 140, 1,
364
- 144, 1, 1, 1, 145, 1, 1, 1,
365
- 1, 1, 1, 1, 1, 1, 1, 1,
366
- 1, 1, 1, 1, 1, 1, 1, 144,
367
- 1, 1, 1, 1, 1, 1, 1, 146,
368
- 1, 1, 1, 1, 1, 1, 1, 18,
369
- 18, 18, 18, 18, 18, 18, 18, 18,
370
- 18, 1, 147, 1, 128, 1, 148, 1,
371
- 1, 1, 1, 1, 1, 1, 1, 1,
372
- 1, 1, 1, 1, 1, 1, 1, 1,
373
- 1, 1, 147, 1, 128, 1, 149, 1,
374
- 1, 1, 1, 1, 1, 1, 1, 1,
375
- 1, 1, 1, 150, 1, 128, 1, 128,
376
- 1, 151, 1, 128, 1, 152, 152, 152,
377
- 152, 152, 152, 152, 152, 152, 1, 152,
378
- 152, 153, 152, 152, 152, 152, 152, 152,
379
- 152, 152, 152, 152, 152, 152, 152, 152,
380
- 152, 152, 152, 152, 152, 152, 152, 152,
381
- 152, 152, 152, 152, 154, 155, 152, 152,
382
- 152, 152, 152, 152, 152, 152, 152, 152,
383
- 152, 152, 152, 152, 152, 152, 152, 152,
384
- 152, 152, 152, 152, 152, 152, 152, 152,
385
- 152, 152, 152, 152, 152, 152, 152, 152,
386
- 152, 152, 152, 152, 152, 152, 152, 152,
387
- 152, 152, 152, 152, 152, 152, 152, 152,
388
- 156, 152, 152, 152, 152, 152, 152, 152,
389
- 152, 152, 152, 152, 152, 152, 152, 152,
390
- 152, 152, 152, 152, 152, 152, 152, 152,
391
- 152, 152, 152, 152, 152, 152, 152, 152,
392
- 152, 152, 152, 152, 1, 157, 157, 157,
393
- 157, 157, 157, 157, 157, 157, 1, 157,
394
- 157, 158, 157, 157, 157, 157, 157, 157,
395
- 157, 157, 157, 157, 157, 157, 157, 157,
396
- 157, 157, 157, 157, 157, 157, 157, 157,
397
- 157, 157, 157, 157, 159, 160, 157, 157,
398
- 157, 157, 157, 157, 157, 157, 157, 157,
399
- 157, 157, 157, 157, 157, 157, 157, 157,
400
- 157, 157, 157, 157, 157, 157, 157, 157,
401
- 157, 157, 157, 157, 157, 157, 157, 157,
402
- 157, 157, 157, 157, 157, 157, 157, 157,
403
- 157, 157, 157, 157, 157, 157, 157, 157,
404
- 161, 157, 157, 157, 157, 157, 157, 157,
405
- 157, 157, 157, 157, 157, 157, 157, 157,
406
- 157, 157, 157, 157, 157, 157, 157, 157,
407
- 157, 157, 157, 157, 157, 157, 157, 157,
408
- 157, 157, 157, 157, 1, 162, 1, 157,
409
- 1, 1, 1, 1, 1, 1, 1, 1,
410
- 1, 1, 1, 1, 1, 1, 1, 1,
411
- 1, 1, 1, 1, 1, 1, 157, 1,
412
- 157, 157, 157, 157, 157, 157, 157, 157,
413
- 157, 157, 157, 157, 157, 157, 157, 157,
414
- 157, 157, 157, 157, 157, 157, 157, 157,
415
- 157, 157, 157, 157, 157, 157, 157, 157,
416
- 157, 157, 157, 157, 157, 157, 157, 157,
417
- 157, 157, 157, 157, 157, 157, 157, 157,
418
- 157, 157, 157, 157, 157, 157, 157, 157,
419
- 157, 157, 157, 157, 157, 157, 157, 157,
420
- 157, 157, 157, 157, 157, 157, 157, 157,
421
- 157, 157, 157, 157, 157, 157, 157, 157,
422
- 157, 157, 157, 157, 157, 157, 157, 157,
423
- 157, 157, 157, 157, 157, 157, 157, 157,
424
- 157, 157, 157, 157, 157, 157, 157, 157,
425
- 157, 157, 157, 157, 157, 157, 157, 157,
426
- 157, 157, 157, 157, 157, 157, 157, 157,
427
- 157, 157, 157, 157, 157, 157, 157, 157,
428
- 1, 163, 1, 1, 1, 164, 1, 1,
429
- 1, 1, 1, 1, 1, 1, 1, 1,
430
- 1, 1, 1, 1, 1, 1, 1, 1,
431
- 163, 1, 1, 1, 1, 1, 1, 1,
432
- 165, 1, 118, 1, 1, 1, 166, 1,
433
- 1, 1, 1, 1, 1, 1, 1, 1,
434
- 1, 1, 1, 1, 1, 1, 1, 1,
435
- 1, 118, 1, 1, 1, 1, 1, 1,
436
- 1, 167, 1, 168, 1, 1, 1, 169,
437
- 1, 1, 1, 1, 1, 1, 1, 1,
438
- 1, 1, 1, 1, 1, 1, 1, 1,
439
- 1, 1, 168, 1, 1, 1, 1, 1,
440
- 1, 1, 170, 1, 163, 1, 1, 1,
441
- 164, 1, 1, 1, 1, 1, 1, 1,
442
- 1, 1, 1, 1, 1, 1, 1, 1,
443
- 1, 1, 1, 163, 1, 1, 1, 1,
444
- 1, 1, 1, 165, 1, 1, 1, 1,
445
- 1, 1, 1, 1, 1, 1, 1, 1,
446
- 1, 1, 1, 1, 1, 1, 1, 1,
447
- 1, 1, 1, 1, 1, 1, 1, 171,
448
- 1, 1, 1, 1, 1, 1, 1, 1,
449
- 1, 1, 1, 1, 1, 1, 171, 1,
450
- 163, 1, 1, 1, 164, 1, 1, 1,
451
- 1, 1, 1, 1, 1, 1, 1, 1,
452
- 1, 1, 1, 1, 1, 1, 1, 163,
453
- 1, 1, 1, 1, 1, 1, 1, 165,
454
- 1, 1, 1, 1, 1, 1, 1, 1,
455
- 1, 1, 1, 1, 1, 1, 1, 1,
456
- 1, 1, 1, 1, 1, 1, 1, 1,
457
- 1, 1, 1, 1, 1, 1, 1, 1,
458
- 1, 1, 1, 1, 171, 1, 163, 1,
459
- 1, 1, 164, 1, 1, 1, 1, 1,
460
- 1, 1, 1, 1, 1, 1, 1, 1,
461
- 1, 1, 1, 1, 1, 163, 1, 1,
462
- 1, 1, 1, 1, 1, 165, 1, 1,
463
- 1, 1, 1, 1, 1, 1, 1, 1,
464
- 1, 1, 1, 1, 1, 1, 1, 1,
465
- 1, 1, 1, 1, 1, 1, 1, 1,
466
- 1, 1, 1, 1, 1, 1, 1, 1,
467
- 1, 1, 1, 1, 1, 1, 1, 1,
468
- 1, 90, 1, 1, 0
469
- ]
470
-
471
- class << self
472
- attr_accessor :_date_time_trans_targs
473
- private :_date_time_trans_targs, :_date_time_trans_targs=
474
- end
475
- self._date_time_trans_targs = [
476
- 2, 0, 3, 5, 6, 71, 82, 84,
477
- 86, 89, 2, 3, 5, 6, 4, 2,
478
- 3, 5, 6, 71, 82, 84, 86, 89,
479
- 7, 8, 10, 11, 56, 58, 60, 63,
480
- 65, 67, 69, 9, 7, 8, 10, 11,
481
- 56, 58, 60, 63, 65, 67, 69, 12,
482
- 55, 13, 14, 16, 17, 15, 13, 14,
483
- 16, 17, 18, 19, 20, 22, 23, 21,
484
- 19, 20, 22, 23, 24, 25, 27, 28,
485
- 26, 24, 25, 27, 28, 29, 31, 32,
486
- 30, 29, 31, 32, 33, 34, 35, 37,
487
- 38, 48, 96, 99, 100, 101, 36, 34,
488
- 35, 37, 38, 39, 41, 42, 40, 39,
489
- 41, 42, 43, 44, 45, 47, 46, 44,
490
- 45, 47, 49, 50, 51, 53, 97, 57,
491
- 59, 61, 62, 64, 66, 68, 70, 72,
492
- 73, 74, 76, 77, 75, 73, 74, 76,
493
- 77, 78, 79, 81, 78, 79, 81, 80,
494
- 78, 79, 81, 83, 85, 87, 88, 90,
495
- 92, 93, 92, 102, 95, 92, 93, 92,
496
- 102, 95, 94, 97, 52, 98, 52, 98,
497
- 97, 52, 98, 54
498
- ]
499
-
500
- class << self
501
- attr_accessor :_date_time_trans_actions
502
- private :_date_time_trans_actions, :_date_time_trans_actions=
503
- end
504
- self._date_time_trans_actions = [
505
- 1, 0, 1, 2, 1, 0, 0, 0,
506
- 0, 0, 0, 0, 3, 0, 0, 4,
507
- 4, 5, 4, 4, 4, 4, 4, 4,
508
- 0, 0, 3, 0, 0, 0, 0, 0,
509
- 0, 0, 0, 0, 4, 4, 5, 4,
510
- 4, 4, 4, 4, 4, 4, 4, 0,
511
- 0, 0, 0, 3, 0, 0, 4, 4,
512
- 5, 4, 0, 0, 0, 3, 6, 0,
513
- 4, 4, 5, 7, 0, 0, 3, 0,
514
- 0, 4, 4, 5, 4, 0, 3, 0,
515
- 0, 4, 5, 4, 0, 0, 0, 3,
516
- 0, 0, 0, 0, 0, 0, 0, 4,
517
- 4, 5, 4, 0, 3, 0, 0, 4,
518
- 5, 4, 0, 0, 0, 3, 0, 4,
519
- 4, 5, 0, 0, 0, 0, 0, 0,
520
- 0, 0, 0, 0, 0, 0, 0, 0,
521
- 0, 0, 3, 0, 0, 4, 4, 5,
522
- 4, 1, 1, 8, 0, 0, 3, 0,
523
- 4, 4, 5, 0, 0, 0, 0, 0,
524
- 9, 9, 10, 11, 9, 0, 0, 3,
525
- 12, 0, 0, 13, 13, 14, 0, 3,
526
- 4, 4, 5, 0
527
- ]
528
-
529
- class << self
530
- attr_accessor :_date_time_eof_actions
531
- private :_date_time_eof_actions, :_date_time_eof_actions=
532
- end
533
- self._date_time_eof_actions = [
534
- 0, 0, 0, 0, 0, 0, 0, 0,
535
- 0, 0, 0, 0, 0, 0, 0, 0,
536
- 0, 0, 0, 0, 0, 0, 0, 0,
537
- 0, 0, 0, 0, 0, 0, 0, 0,
538
- 0, 0, 0, 0, 0, 0, 0, 0,
539
- 0, 0, 0, 0, 0, 0, 0, 0,
540
- 0, 0, 0, 0, 0, 0, 0, 0,
541
- 0, 0, 0, 0, 0, 0, 0, 0,
542
- 0, 0, 0, 0, 0, 0, 0, 0,
543
- 0, 0, 0, 0, 0, 0, 0, 0,
544
- 0, 0, 0, 0, 0, 0, 0, 0,
545
- 0, 0, 0, 0, 0, 0, 0, 0,
546
- 13, 0, 4, 13, 13, 13, 0
547
- ]
548
-
549
- class << self
550
- attr_accessor :date_time_start
551
- end
552
- self.date_time_start = 1;
553
- class << self
554
- attr_accessor :date_time_first_final
555
- end
556
- self.date_time_first_final = 96;
557
- class << self
558
- attr_accessor :date_time_error
559
- end
560
- self.date_time_error = 0;
561
-
562
- class << self
563
- attr_accessor :date_time_en_comment_tail
564
- end
565
- self.date_time_en_comment_tail = 91;
566
- class << self
567
- attr_accessor :date_time_en_main
568
- end
569
- self.date_time_en_main = 1;
570
-
571
-
572
- # line 17 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb.rl"
573
-
574
- def self.parse(data)
575
- p = 0
576
- eof = data.length
577
- stack = []
578
-
579
- actions = []
580
- data_unpacked = data.bytes.to_a
581
-
582
- # line 583 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb"
583
- begin
584
- p ||= 0
585
- pe ||= data.length
586
- cs = date_time_start
587
- top = 0
588
- end
589
-
590
- # line 26 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb.rl"
591
-
592
- # line 593 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb"
593
- begin
594
- testEof = false
595
- _slen, _trans, _keys, _inds, _acts, _nacts = nil
596
- _goto_level = 0
597
- _resume = 10
598
- _eof_trans = 15
599
- _again = 20
600
- _test_eof = 30
601
- _out = 40
602
- while true
603
- if _goto_level <= 0
604
- if p == pe
605
- _goto_level = _test_eof
606
- next
607
- end
608
- if cs == 0
609
- _goto_level = _out
610
- next
611
- end
612
- end
613
- if _goto_level <= _resume
614
- _keys = cs << 1
615
- _inds = _date_time_index_offsets[cs]
616
- _slen = _date_time_key_spans[cs]
617
- _trans = if ( _slen > 0 &&
618
- _date_time_trans_keys[_keys] <= ( data_unpacked[p]) &&
619
- ( data_unpacked[p]) <= _date_time_trans_keys[_keys + 1]
620
- ) then
621
- _date_time_indicies[ _inds + ( data_unpacked[p]) - _date_time_trans_keys[_keys] ]
622
- else
623
- _date_time_indicies[ _inds + _slen ]
624
- end
625
- cs = _date_time_trans_targs[_trans]
626
- if _date_time_trans_actions[_trans] != 0
627
- case _date_time_trans_actions[_trans]
628
- when 4 then
629
- # line 7 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
630
- begin
631
- actions.push(4, p) end
632
- when 9 then
633
- # line 8 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
634
- begin
635
- actions.push(5, p) end
636
- when 1 then
637
- # line 12 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
638
- begin
639
- actions.push(9, p) end
640
- when 13 then
641
- # line 47 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
642
- begin
643
- actions.push(44, p) end
644
- when 3 then
645
- # line 5 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/../../common.rl"
646
- begin
647
- begin
648
- stack[top] = cs
649
- top+= 1
650
- cs = 91
651
- _goto_level = _again
652
- next
653
- end
654
- end
655
- when 12 then
656
- # line 6 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/../../common.rl"
657
- begin
658
- begin
659
- top -= 1
660
- cs = stack[top]
661
- _goto_level = _again
662
- next
663
- end
664
- end
665
- when 5 then
666
- # line 7 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
667
- begin
668
- actions.push(4, p) end
669
- # line 5 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/../../common.rl"
670
- begin
671
- begin
672
- stack[top] = cs
673
- top+= 1
674
- cs = 91
675
- _goto_level = _again
676
- next
677
- end
678
- end
679
- when 10 then
680
- # line 8 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
681
- begin
682
- actions.push(5, p) end
683
- # line 5 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/../../common.rl"
684
- begin
685
- begin
686
- stack[top] = cs
687
- top+= 1
688
- cs = 91
689
- _goto_level = _again
690
- next
691
- end
692
- end
693
- when 11 then
694
- # line 8 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
695
- begin
696
- actions.push(5, p) end
697
- # line 6 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/../../common.rl"
698
- begin
699
- begin
700
- top -= 1
701
- cs = stack[top]
702
- _goto_level = _again
703
- next
704
- end
705
- end
706
- when 6 then
707
- # line 11 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
708
- begin
709
- actions.push(8, p) end
710
- # line 48 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
711
- begin
712
- actions.push(45, p) end
713
- when 8 then
714
- # line 12 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
715
- begin
716
- actions.push(9, p) end
717
- # line 5 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/../../common.rl"
718
- begin
719
- begin
720
- stack[top] = cs
721
- top+= 1
722
- cs = 91
723
- _goto_level = _again
724
- next
725
- end
726
- end
727
- when 14 then
728
- # line 47 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
729
- begin
730
- actions.push(44, p) end
731
- # line 5 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/../../common.rl"
732
- begin
733
- begin
734
- stack[top] = cs
735
- top+= 1
736
- cs = 91
737
- _goto_level = _again
738
- next
739
- end
740
- end
741
- when 2 then
742
- # line 5 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/../../common.rl"
743
- begin
744
- begin
745
- stack[top] = cs
746
- top+= 1
747
- cs = 91
748
- _goto_level = _again
749
- next
750
- end
751
- end
752
- # line 12 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
753
- begin
754
- actions.push(9, p) end
755
- when 7 then
756
- # line 7 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
757
- begin
758
- actions.push(4, p) end
759
- # line 11 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
760
- begin
761
- actions.push(8, p) end
762
- # line 48 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
763
- begin
764
- actions.push(45, p) end
765
- # line 766 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb"
766
- end
767
- end
768
- end
769
- if _goto_level <= _again
770
- if cs == 0
771
- _goto_level = _out
772
- next
773
- end
774
- p += 1
775
- if p != pe
776
- _goto_level = _resume
777
- next
778
- end
779
- end
780
- if _goto_level <= _test_eof
781
- if p == eof
782
- case _date_time_eof_actions[cs]
783
- when 4 then
784
- # line 7 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
785
- begin
786
- actions.push(4, p) end
787
- when 13 then
788
- # line 47 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
789
- begin
790
- actions.push(44, p) end
791
- # line 792 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb"
792
- end
793
- end
794
-
795
- end
796
- if _goto_level <= _out
797
- break
798
- end
799
- end
800
- end
801
-
802
- # line 27 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb.rl"
803
-
804
- if p == eof && cs >=
805
- # line 806 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb"
806
- 96
807
- # line 28 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb.rl"
808
-
809
- return actions, nil
810
- else
811
- return [], "Only able to parse up to #{data[0..p]}"
812
- end
813
- end
814
- end
815
- end
816
- end
817
- end