otherinbox-mail 2.4.4.20120605 → 2.4.4.20121031

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,19 +1,15 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- activesupport (3.2.5)
4
+ activesupport (3.2.8)
5
5
  i18n (~> 0.6)
6
6
  multi_json (~> 1.0)
7
- columnize (0.3.6)
8
7
  diff-lcs (1.1.3)
9
- i18n (0.6.0)
10
- linecache (0.46)
11
- rbx-require-relative (> 0.0.4)
12
- mime-types (1.18)
8
+ i18n (0.6.1)
9
+ mime-types (1.19)
13
10
  multi_json (1.3.6)
14
11
  polyglot (0.3.3)
15
12
  rake (0.9.2.2)
16
- rbx-require-relative (0.0.9)
17
13
  rspec (2.8.0)
18
14
  rspec-core (~> 2.8.0)
19
15
  rspec-expectations (~> 2.8.0)
@@ -22,12 +18,7 @@ GEM
22
18
  rspec-expectations (2.8.0)
23
19
  diff-lcs (~> 1.1.2)
24
20
  rspec-mocks (2.8.0)
25
- ruby-debug (0.10.4)
26
- columnize (>= 0.1)
27
- ruby-debug-base (~> 0.10.4.0)
28
- ruby-debug-base (0.10.4)
29
- linecache (>= 0.3)
30
- treetop (1.4.10)
21
+ treetop (1.4.11)
31
22
  polyglot
32
23
  polyglot (>= 0.3.1)
33
24
 
@@ -40,5 +31,4 @@ DEPENDENCIES
40
31
  mime-types (~> 1.16)
41
32
  rake (> 0.8.7)
42
33
  rspec (~> 2.8.0)
43
- ruby-debug
44
34
  treetop (~> 1.4.10)
@@ -1,4 +1,4 @@
1
1
  major:2
2
2
  minor:4
3
3
  patch:4
4
- build:20120605
4
+ build:20121031
@@ -105,6 +105,10 @@ module Mail
105
105
  when /utf-?(\d{1,2})?(\w{1,2})/i then return "UTF-#{$1}#{$2}".gsub(/\A(UTF-(?:16|32))\z/, '\\1BE')
106
106
  # Windows-1252 and alike
107
107
  when /Windows-?(.*)/i then return "Windows-#{$1}"
108
+ # Microsoft calls it ks_c_5601-1987, but it is code page 949 in Ruby
109
+ when /ks_c_5601-1987/i then return "CP949"
110
+ # Japanese
111
+ when /shift-jis/i then return "SHIFT_JIS"
108
112
  #more aliases to be added if needed
109
113
  else return encoding
110
114
  end
metadata CHANGED
@@ -1,82 +1,74 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: otherinbox-mail
3
- version: !ruby/object:Gem::Version
4
- hash: 40241253
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.4.4.20121031
5
5
  prerelease:
6
- segments:
7
- - 2
8
- - 4
9
- - 4
10
- - 20120605
11
- version: 2.4.4.20120605
12
6
  platform: ruby
13
- authors:
7
+ authors:
14
8
  - Mikel Lindsaar
15
9
  autorequire:
16
10
  bindir: bin
17
11
  cert_chain: []
18
-
19
- date: 2012-06-05 00:00:00 Z
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2012-10-31 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: mime-types
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
18
+ requirements:
27
19
  - - ~>
28
- - !ruby/object:Gem::Version
29
- hash: 47
30
- segments:
31
- - 1
32
- - 16
33
- version: "1.16"
20
+ - !ruby/object:Gem::Version
21
+ version: '1.16'
34
22
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: treetop
38
23
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.16'
30
+ - !ruby/object:Gem::Dependency
31
+ name: treetop
32
+ requirement: !ruby/object:Gem::Requirement
40
33
  none: false
41
- requirements:
34
+ requirements:
42
35
  - - ~>
43
- - !ruby/object:Gem::Version
44
- hash: 23
45
- segments:
46
- - 1
47
- - 4
48
- - 8
36
+ - !ruby/object:Gem::Version
49
37
  version: 1.4.8
50
38
  type: :runtime
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: i18n
54
39
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
56
41
  none: false
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- hash: 15
61
- segments:
62
- - 0
63
- - 4
64
- - 0
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 1.4.8
46
+ - !ruby/object:Gem::Dependency
47
+ name: i18n
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
65
53
  version: 0.4.0
66
54
  type: :runtime
67
- version_requirements: *id003
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: 0.4.0
68
62
  description: A really Ruby Mail handler.
69
63
  email: raasdnil@gmail.com
70
64
  executables: []
71
-
72
65
  extensions: []
73
-
74
- extra_rdoc_files:
66
+ extra_rdoc_files:
75
67
  - README.md
76
68
  - CONTRIBUTING.md
77
69
  - CHANGELOG.rdoc
78
70
  - TODO.rdoc
79
- files:
71
+ files:
80
72
  - README.md
81
73
  - CONTRIBUTING.md
82
74
  - CHANGELOG.rdoc
@@ -85,170 +77,160 @@ files:
85
77
  - Gemfile.lock
86
78
  - Rakefile
87
79
  - TODO.rdoc
88
- - lib/mail/network/delivery_methods/test_mailer.rb
89
- - lib/mail/network/delivery_methods/file_delivery.rb
90
- - lib/mail/network/delivery_methods/exim.rb
91
- - lib/mail/network/delivery_methods/smtp_connection.rb
92
- - lib/mail/network/delivery_methods/smtp.rb
93
- - lib/mail/network/delivery_methods/sendmail.rb
94
- - lib/mail/network/retriever_methods/pop3.rb
95
- - lib/mail/network/retriever_methods/base.rb
96
- - lib/mail/network/retriever_methods/imap.rb
97
- - lib/mail/network/retriever_methods/test_retriever.rb
98
- - lib/mail/multibyte/unicode.rb
99
- - lib/mail/multibyte/utils.rb
100
- - lib/mail/multibyte/exceptions.rb
101
- - lib/mail/multibyte/chars.rb
102
- - lib/mail/message.rb
103
- - lib/mail/fields.rb
104
- - lib/mail/utilities.rb
105
- - lib/mail/fields/content_type_field.rb
80
+ - lib/mail/attachments_list.rb
81
+ - lib/mail/body.rb
82
+ - lib/mail/configuration.rb
83
+ - lib/mail/core_extensions/nil.rb
84
+ - lib/mail/core_extensions/object.rb
85
+ - lib/mail/core_extensions/shell_escape.rb
86
+ - lib/mail/core_extensions/smtp.rb
87
+ - lib/mail/core_extensions/string.rb
88
+ - lib/mail/core_extensions/string/access.rb
89
+ - lib/mail/core_extensions/string/multibyte.rb
90
+ - lib/mail/elements/address.rb
91
+ - lib/mail/elements/address_list.rb
92
+ - lib/mail/elements/content_disposition_element.rb
93
+ - lib/mail/elements/content_location_element.rb
94
+ - lib/mail/elements/content_transfer_encoding_element.rb
95
+ - lib/mail/elements/content_type_element.rb
96
+ - lib/mail/elements/date_time_element.rb
97
+ - lib/mail/elements/envelope_from_element.rb
98
+ - lib/mail/elements/message_ids_element.rb
99
+ - lib/mail/elements/mime_version_element.rb
100
+ - lib/mail/elements/phrase_list.rb
101
+ - lib/mail/elements/received_element.rb
102
+ - lib/mail/encodings/7bit.rb
103
+ - lib/mail/encodings/8bit.rb
104
+ - lib/mail/encodings/base64.rb
105
+ - lib/mail/encodings/binary.rb
106
+ - lib/mail/encodings/quoted_printable.rb
107
+ - lib/mail/encodings/transfer_encoding.rb
108
+ - lib/mail/envelope.rb
109
+ - lib/mail/field.rb
110
+ - lib/mail/field_list.rb
111
+ - lib/mail/fields/bcc_field.rb
112
+ - lib/mail/fields/cc_field.rb
106
113
  - lib/mail/fields/comments_field.rb
107
- - lib/mail/fields/structured_field.rb
108
- - lib/mail/fields/date_field.rb
109
- - lib/mail/fields/sender_field.rb
110
- - lib/mail/fields/message_id_field.rb
114
+ - lib/mail/fields/common/address_container.rb
115
+ - lib/mail/fields/common/common_address.rb
116
+ - lib/mail/fields/common/common_date.rb
117
+ - lib/mail/fields/common/common_field.rb
118
+ - lib/mail/fields/common/common_message_id.rb
119
+ - lib/mail/fields/common/parameter_hash.rb
111
120
  - lib/mail/fields/content_description_field.rb
112
- - lib/mail/fields/resent_date_field.rb
113
- - lib/mail/fields/from_field.rb
114
- - lib/mail/fields/reply_to_field.rb
115
- - lib/mail/fields/references_field.rb
116
121
  - lib/mail/fields/content_disposition_field.rb
117
- - lib/mail/fields/resent_sender_field.rb
118
- - lib/mail/fields/keywords_field.rb
119
- - lib/mail/fields/to_field.rb
120
- - lib/mail/fields/resent_to_field.rb
121
- - lib/mail/fields/in_reply_to_field.rb
122
- - lib/mail/fields/return_path_field.rb
123
122
  - lib/mail/fields/content_id_field.rb
124
- - lib/mail/fields/resent_message_id_field.rb
125
- - lib/mail/fields/received_field.rb
123
+ - lib/mail/fields/content_location_field.rb
126
124
  - lib/mail/fields/content_transfer_encoding_field.rb
127
- - lib/mail/fields/resent_from_field.rb
125
+ - lib/mail/fields/content_type_field.rb
126
+ - lib/mail/fields/date_field.rb
127
+ - lib/mail/fields/from_field.rb
128
+ - lib/mail/fields/in_reply_to_field.rb
129
+ - lib/mail/fields/keywords_field.rb
130
+ - lib/mail/fields/message_id_field.rb
131
+ - lib/mail/fields/mime_version_field.rb
132
+ - lib/mail/fields/optional_field.rb
133
+ - lib/mail/fields/received_field.rb
134
+ - lib/mail/fields/references_field.rb
135
+ - lib/mail/fields/reply_to_field.rb
128
136
  - lib/mail/fields/resent_bcc_field.rb
129
- - lib/mail/fields/cc_field.rb
130
137
  - lib/mail/fields/resent_cc_field.rb
131
- - lib/mail/fields/unstructured_field.rb
138
+ - lib/mail/fields/resent_date_field.rb
139
+ - lib/mail/fields/resent_from_field.rb
140
+ - lib/mail/fields/resent_message_id_field.rb
141
+ - lib/mail/fields/resent_sender_field.rb
142
+ - lib/mail/fields/resent_to_field.rb
143
+ - lib/mail/fields/return_path_field.rb
144
+ - lib/mail/fields/sender_field.rb
145
+ - lib/mail/fields/structured_field.rb
132
146
  - lib/mail/fields/subject_field.rb
133
- - lib/mail/fields/bcc_field.rb
134
- - lib/mail/fields/common/address_container.rb
135
- - lib/mail/fields/common/parameter_hash.rb
136
- - lib/mail/fields/common/common_address.rb
137
- - lib/mail/fields/common/common_message_id.rb
138
- - lib/mail/fields/common/common_date.rb
139
- - lib/mail/fields/common/common_field.rb
140
- - lib/mail/fields/content_location_field.rb
141
- - lib/mail/fields/optional_field.rb
142
- - lib/mail/fields/mime_version_field.rb
143
- - lib/mail/core_extensions/object.rb
144
- - lib/mail/core_extensions/nil.rb
145
- - lib/mail/core_extensions/string/access.rb
146
- - lib/mail/core_extensions/string/multibyte.rb
147
- - lib/mail/core_extensions/shell_escape.rb
148
- - lib/mail/core_extensions/smtp.rb
149
- - lib/mail/core_extensions/string.rb
147
+ - lib/mail/fields/to_field.rb
148
+ - lib/mail/fields/unstructured_field.rb
150
149
  - lib/mail/header.rb
150
+ - lib/mail/indifferent_hash.rb
151
+ - lib/mail/mail.rb
151
152
  - lib/mail/matchers/has_sent_mail.rb
152
- - lib/mail/network.rb
153
- - lib/mail/patterns.rb
154
- - lib/mail/parts_list.rb
155
- - lib/mail/parsers/received.treetop
156
- - lib/mail/parsers/rfc2822.treetop
157
- - lib/mail/parsers/rfc2045.rb
153
+ - lib/mail/multibyte.rb
154
+ - lib/mail/multibyte/chars.rb
155
+ - lib/mail/multibyte/exceptions.rb
156
+ - lib/mail/multibyte/unicode.rb
157
+ - lib/mail/multibyte/utils.rb
158
+ - lib/mail/network/delivery_methods/exim.rb
159
+ - lib/mail/network/delivery_methods/file_delivery.rb
160
+ - lib/mail/network/delivery_methods/sendmail.rb
161
+ - lib/mail/network/delivery_methods/smtp.rb
162
+ - lib/mail/network/delivery_methods/smtp_connection.rb
163
+ - lib/mail/network/delivery_methods/test_mailer.rb
164
+ - lib/mail/network/retriever_methods/base.rb
165
+ - lib/mail/network/retriever_methods/test_retriever.rb
166
+ - lib/mail/network/retriever_methods/imap.rb
167
+ - lib/mail/network/retriever_methods/pop3.rb
168
+ - lib/mail/parsers/address_lists.rb
169
+ - lib/mail/parsers/address_lists.treetop
158
170
  - lib/mail/parsers/content_disposition.rb
159
- - lib/mail/parsers/received.rb
160
- - lib/mail/parsers/date_time.rb
161
- - lib/mail/parsers/rfc2822_obsolete.treetop
162
- - lib/mail/parsers/envelope_from.rb
163
- - lib/mail/parsers/mime_version.treetop
164
- - lib/mail/parsers/rfc2822_obsolete.rb
171
+ - lib/mail/parsers/content_disposition.treetop
172
+ - lib/mail/parsers/content_location.rb
165
173
  - lib/mail/parsers/content_location.treetop
166
- - lib/mail/parsers/mime_version.rb
167
- - lib/mail/parsers/phrase_lists.treetop
168
- - lib/mail/parsers/address_lists.rb
169
- - lib/mail/parsers/phrase_lists.rb
170
- - lib/mail/parsers/rfc2045.treetop
171
174
  - lib/mail/parsers/content_transfer_encoding.rb
172
- - lib/mail/parsers/content_type.treetop
173
- - lib/mail/parsers/message_ids.treetop
174
- - lib/mail/parsers/date_time.treetop
175
175
  - lib/mail/parsers/content_transfer_encoding.treetop
176
- - lib/mail/parsers/content_disposition.treetop
177
176
  - lib/mail/parsers/content_type.rb
178
- - lib/mail/parsers/address_lists.treetop
179
- - lib/mail/parsers/content_location.rb
180
- - lib/mail/parsers/message_ids.rb
177
+ - lib/mail/parsers/content_type.treetop
178
+ - lib/mail/parsers/date_time.rb
179
+ - lib/mail/parsers/date_time.treetop
180
+ - lib/mail/parsers/envelope_from.rb
181
181
  - lib/mail/parsers/envelope_from.treetop
182
+ - lib/mail/parsers/message_ids.rb
183
+ - lib/mail/parsers/message_ids.treetop
184
+ - lib/mail/parsers/mime_version.rb
185
+ - lib/mail/parsers/mime_version.treetop
186
+ - lib/mail/parsers/phrase_lists.rb
187
+ - lib/mail/parsers/phrase_lists.treetop
188
+ - lib/mail/parsers/received.rb
189
+ - lib/mail/parsers/received.treetop
190
+ - lib/mail/parsers/rfc2045.rb
191
+ - lib/mail/parsers/rfc2045.treetop
182
192
  - lib/mail/parsers/rfc2822.rb
183
- - lib/mail/encodings.rb
184
- - lib/mail/elements/address_list.rb
185
- - lib/mail/elements/content_type_element.rb
186
- - lib/mail/elements/phrase_list.rb
187
- - lib/mail/elements/mime_version_element.rb
188
- - lib/mail/elements/content_disposition_element.rb
189
- - lib/mail/elements/date_time_element.rb
190
- - lib/mail/elements/address.rb
191
- - lib/mail/elements/message_ids_element.rb
192
- - lib/mail/elements/received_element.rb
193
- - lib/mail/elements/content_transfer_encoding_element.rb
194
- - lib/mail/elements/envelope_from_element.rb
195
- - lib/mail/elements/content_location_element.rb
196
- - lib/mail/encodings/7bit.rb
197
- - lib/mail/encodings/transfer_encoding.rb
198
- - lib/mail/encodings/binary.rb
199
- - lib/mail/encodings/8bit.rb
200
- - lib/mail/encodings/quoted_printable.rb
201
- - lib/mail/encodings/base64.rb
202
- - lib/mail/field_list.rb
203
- - lib/mail/multibyte.rb
204
- - lib/mail/attachments_list.rb
193
+ - lib/mail/parsers/rfc2822.treetop
194
+ - lib/mail/parsers/rfc2822_obsolete.rb
195
+ - lib/mail/parsers/rfc2822_obsolete.treetop
205
196
  - lib/mail/part.rb
206
- - lib/mail/elements.rb
207
- - lib/mail/configuration.rb
197
+ - lib/mail/parts_list.rb
198
+ - lib/mail/patterns.rb
199
+ - lib/mail/utilities.rb
208
200
  - lib/mail/version.rb
209
- - lib/mail/envelope.rb
210
- - lib/mail/indifferent_hash.rb
211
- - lib/mail/version_specific/ruby_1_9.rb
212
201
  - lib/mail/version_specific/ruby_1_8.rb
213
- - lib/mail/body.rb
214
- - lib/mail/mail.rb
215
- - lib/mail/field.rb
216
- - lib/tasks/treetop.rake
202
+ - lib/mail/version_specific/ruby_1_9.rb
203
+ - lib/mail/encodings.rb
204
+ - lib/mail/elements.rb
205
+ - lib/mail/fields.rb
206
+ - lib/mail/message.rb
207
+ - lib/mail/network.rb
217
208
  - lib/tasks/corpus.rake
218
- - lib/VERSION
209
+ - lib/tasks/treetop.rake
219
210
  - lib/mail.rb
211
+ - lib/VERSION
220
212
  homepage: http://github.com/mikel/mail
221
213
  licenses: []
222
-
223
214
  post_install_message:
224
215
  rdoc_options: []
225
-
226
- require_paths:
216
+ require_paths:
227
217
  - lib
228
- required_ruby_version: !ruby/object:Gem::Requirement
218
+ required_ruby_version: !ruby/object:Gem::Requirement
229
219
  none: false
230
- requirements:
231
- - - ">="
232
- - !ruby/object:Gem::Version
233
- hash: 3
234
- segments:
235
- - 0
236
- version: "0"
237
- required_rubygems_version: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - ! '>='
222
+ - !ruby/object:Gem::Version
223
+ version: '0'
224
+ required_rubygems_version: !ruby/object:Gem::Requirement
238
225
  none: false
239
- requirements:
240
- - - ">="
241
- - !ruby/object:Gem::Version
242
- hash: 3
243
- segments:
244
- - 0
245
- version: "0"
226
+ requirements:
227
+ - - ! '>='
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
246
230
  requirements: []
247
-
248
231
  rubyforge_project:
249
232
  rubygems_version: 1.8.24
250
233
  signing_key:
251
234
  specification_version: 3
252
235
  summary: Mail provides a nice Ruby DSL for making, sending and reading emails.
253
236
  test_files: []
254
-