tmail 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/log/fixme.rdoc ADDED
@@ -0,0 +1,6 @@
1
+
2
+ = FIXME
3
+
4
+ == file://lib/tmail/encode.rb
5
+ * FIXME: This class can handle only (euc-jp/shift_jis -> iso-2022-jp). (198)
6
+ * FIXME: implement line folding (317)
data/meta/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.2 stable (2008-03-07)
1
+ 1.2.3 stable (2008-04-11)
data/meta/project.yaml CHANGED
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  project : tmail
3
-
3
+ version : 1.2.3
4
+ status : production
4
5
  title : TMail
5
6
  brief : Ruby Mail Handler
6
7
  contact : Mikel Lindsaar <raasdnil AT gmail.com>
@@ -21,3 +22,9 @@ loadpath:
21
22
 
22
23
  exclude: [doc,work]
23
24
 
25
+ hosts:
26
+ rubyforge:
27
+ type: rubyforge
28
+ rubytalk:
29
+ type: rubytalk
30
+
data/setup.rb CHANGED
@@ -252,6 +252,7 @@ module Setup
252
252
 
253
253
  parameterize = lambda do |path|
254
254
  val = RBCONFIG[path]
255
+ raise "Unknown path -- #{path}" if val.nil?
255
256
  val.sub(/\A#{Regexp.quote(prefix)}/, '$prefix')
256
257
  end
257
258
 
@@ -870,7 +871,7 @@ module Setup
870
871
  end
871
872
 
872
873
  def dllext
873
- RBCONFIG['DLEXT']
874
+ ConfigTable::RBCONFIG['DLEXT']
874
875
  end
875
876
 
876
877
  def targetfiles
data/site/img/mailman.gif CHANGED
File without changes
@@ -0,0 +1,29 @@
1
+ Return-Path: <estebanrustyharrell@yahoo.com>
2
+ Received: from microsoft (unknown [1.2.3.4])
3
+ by smtp.text.org (Postfix) with SMTP id DEC6370D14D;
4
+ Thu, 13 Mar 2008 22:59:17 -0800 (PST)
5
+ Received: from 19271752331590314.10905659468994989.10804402603511133.13566083132883736 (HELO localhost.localdomain) (12063901921407362.18181984866012395.19893385313896167.16770240760880990) by 12134829062321788.11211061433187165.16539300588599072.17272589969398822 with SMTP; Fri, 14 Mar 2008 08:58:57 -0200
6
+ Date: Fri, 14 Mar 2008 08:58:57 -0200
7
+ Message-Id: <4IX775EJXVWDA942@yahoo.com>
8
+ Content-Type: text/html;
9
+ From: EstebanrustyHarrell@yahoo.com
10
+ To: undisclosed-recipients:;
11
+
12
+ charset="us-ascii"
13
+ Content-Transfer-Encoding: 7bit
14
+ To: <test@me.com>
15
+ From: "Anton Horn" <EstebanrustyHarrell@yahoo.com>
16
+ Subject: Visa Line of Credit
17
+
18
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
19
+ <HTML><HEAD>
20
+ <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
21
+ <META content="MSHTML 6.00.2900.2963" name=GENERATOR>
22
+ <STYLE></STYLE>
23
+ </HEAD>
24
+ <BODY bgColor=#ffffff>
25
+ <DIV><FONT face=Impact size=2>If you have your own business and wish IMMEDIATE ready money to spend ANY way you like or require Extra money to give your company a boost or wish A low interest loan - NO STRINGS ATTACHED!</FONT></DIV>
26
+ <DIV><FONT face=Impact size=2>Don't worry about approval... your credit history will not disqualify you!</FONT></DIV>
27
+ <DIV><FONT face=Impact size=2><B><A href=http://hisdiicc.com.cn/>http://hisdiicc.com.cn/</A></B></FONT></DIV>
28
+ </BODY></HTML>
29
+
@@ -0,0 +1,94 @@
1
+ X-Gmail-Received: b2c98353cc39d93e4204831226f778c200d28109
2
+ Delivered-To: roor32@gmail.com
3
+ Received: by 10.64.10.4 with SMTP id 4cs594808qbj;
4
+ Fri, 20 Oct 2006 01:53:34 -0700 (PDT)
5
+ Received: by 10.65.224.11 with SMTP id b11mr149813qbr;
6
+ Fri, 20 Oct 2006 01:53:34 -0700 (PDT)
7
+ Return-Path: <>
8
+ Received: from anis.telecom.uqam.ca (anis.telecom.uqam.ca [132.208.250.6])
9
+ by mx.google.com with ESMTP id e13si1575402qbe.2006.10.20.01.53.34;
10
+ Fri, 20 Oct 2006 01:53:34 -0700 (PDT)
11
+ Received-SPF: pass (google.com: best guess record for domain of anis.telecom.uqam.ca designates 132.208.250.6 as permitted sender)
12
+ Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236])
13
+ by sortant.uqam.ca (8.13.6/8.12.1) with SMTP id k9K8SIwA023763
14
+ for <roor32@gmail.com>; Fri, 20 Oct 2006 04:28:33 -0400 (EDT)
15
+ Received: from antivirus.uqam.ca ([127.0.0.1])
16
+ by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id M2006102004283404041
17
+ for <roor32@gmail.com>; Fri, 20 Oct 2006 04:28:34 -0400
18
+ Received: from localhost (localhost)
19
+ by antivirus.uqam.ca (8.13.6/8.12.1) id k9JMDbg4005560;
20
+ Fri, 20 Oct 2006 04:28:33 -0400 (EDT)
21
+ Date: Fri, 20 Oct 2006 04:28:33 -0400 (EDT)
22
+ From: Mail Delivery Subsystem <MAILER-DAEMON@antivirus.uqam.ca>
23
+ Message-Id: <200610200828.k9JMDbg4005560@antivirus.uqam.ca>
24
+ To: <roor32@gmail.com>
25
+ MIME-Version: 1.0
26
+ Content-Type: multipart/report; report-type=delivery-status;
27
+ boundary="k9JMDbg4005560.1161332913/antivirus.uqam.ca"
28
+ Subject: Warning: could not send message for past 1 day
29
+ Auto-Submitted: auto-generated (warning-timeout)
30
+
31
+ This is a MIME-encapsulated message
32
+
33
+ --k9JMDbg4005560.1161332913/antivirus.uqam.ca
34
+
35
+ **********************************************
36
+ ** THIS IS A WARNING MESSAGE ONLY **
37
+ ** YOU DO NOT NEED TO RESEND YOUR MESSAGE **
38
+ **********************************************
39
+
40
+ The original message was received at Thu, 19 Oct 2006 01:23:47 -0400 (EDT)
41
+ from py-out-1112.google.com [64.233.166.178]
42
+
43
+ ----- Transcript of session follows -----
44
+ <larose.julie@courrier.uqam.ca>... Deferred
45
+ Warning: message still undelivered after 1 day
46
+ Will keep trying until message is 5 days old
47
+
48
+ --k9JMDbg4005560.1161332913/antivirus.uqam.ca
49
+ Content-Type: message/delivery-status
50
+
51
+ Reporting-MTA: dns; antivirus.uqam.ca
52
+ Arrival-Date: Thu, 19 Oct 2006 01:23:47 -0400 (EDT)
53
+
54
+ Final-Recipient: RFC822; larose.julie@courrier.uqam.ca
55
+ Action: delayed
56
+ Status: 4.5.0
57
+ Diagnostic-Code: SMTP;
58
+ Last-Attempt-Date: Fri, 20 Oct 2006 04:28:33 -0400 (EDT)
59
+ Will-Retry-Until: Tue, 24 Oct 2006 01:23:47 -0400 (EDT)
60
+
61
+ --k9JMDbg4005560.1161332913/antivirus.uqam.ca
62
+ Content-Type: message/rfc822
63
+
64
+ Return-Path: <roor32@gmail.com>
65
+ Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178])
66
+ by intrant.uqam.ca (8.13.6/8.12.2/uqam-filtres) with SMTP id k9J5Ni8o007263
67
+ for <larose.julie@courrier.uqam.ca>; Thu, 19 Oct 2006 01:23:47 -0400 (EDT)
68
+ X-UQAM-Spam-Filter: Filtre-Uqam re: abuse@uqam.ca
69
+ Received: by py-out-1112.google.com with SMTP id t32so610221pyc
70
+ for <larose.julie@courrier.uqam.ca>; Wed, 18 Oct 2006 22:23:33 -0700 (PDT)
71
+ DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
72
+ s=beta; d=gmail.com;
73
+ h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
74
+ b=Fwt0k1kaMU+1kM1iTG0q4Xf94p9alSohgM7QQN0CSjfBYUUhT+J4Y6+ZWotaaSffV3gX86RE/n97n0yQ/33EgYKIifuEpa0hi2mg3KTmcDqlCjiDfih58Z998GEFfbhu0he2jsoB+k6AgVRFPwP6LMRi6T66vr2f7IOAmX2IHiU=
75
+ Received: by 10.65.241.20 with SMTP id t20mr15391984qbr;
76
+ Wed, 18 Oct 2006 15:10:03 -0700 (PDT)
77
+ Received: by 10.64.10.4 with HTTP; Wed, 18 Oct 2006 15:10:03 -0700 (PDT)
78
+ Message-ID: <89d7557c0610181510r6fa5ebd8n66a7deec71ade118@mail.gmail.com>
79
+ Date: Wed, 18 Oct 2006 18:10:03 -0400
80
+ From: "=?ISO-8859-1?Q?RogE9?=" <roor32@gmail.com>
81
+ To: larose.julie@courrier.uqam.ca
82
+ Subject: Est-ce toi ?
83
+ MIME-Version: 1.0
84
+ Content-Type: text/plain; charset=ISO-8859-1; format=flowed
85
+ Content-Transfer-Encoding: 7bit
86
+ Content-Disposition: inline
87
+
88
+ Salut,
89
+ je ne suis pas sur de m'adresser a la bonne personne.
90
+ Mais si jamais tu me reconnais :p, peux-tu repondre a ce mail ?
91
+ Merci.
92
+ Roger
93
+
94
+ --k9JMDbg4005560.1161332913/antivirus.uqam.ca--
data/test/test_address.rb CHANGED
@@ -213,7 +213,7 @@ class TestAddress < Test::Unit::TestCase
213
213
 
214
214
  TMail.KCODE = 'SJIS'
215
215
  expected = "\223\372\226{\214\352"
216
- expected.force_encoding('SJIS') if expected.respond_to? :force_encoding
216
+ expected.force_encoding('Windows-31J') if expected.respond_to? :force_encoding
217
217
  validate_case__address\
218
218
  '=?iso-2022-jp?B?GyRCRnxLXDhsGyhC?= <aamine@loveruby.net>',
219
219
  :display_name => expected,
@@ -242,7 +242,6 @@ class TestAddress < Test::Unit::TestCase
242
242
  end
243
243
 
244
244
  def _test_parse__euc
245
-
246
245
  # raw EUC-JP
247
246
  validate_case__address\
248
247
  "\244\242\244\252\244\255 \244\337\244\315\244\355\244\246 <aamine@loveruby.net>",
@@ -44,6 +44,5 @@ HERE
44
44
  attachment = mail.attachments.last
45
45
  assert_equal "01 Quien Te Dij\212at. Pitbull.mp3", attachment.original_filename
46
46
  end
47
-
48
-
47
+
49
48
  end
data/test/test_encode.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  require 'test_helper'
2
3
  require 'tmail/port'
3
4
  require 'tmail/encode'
@@ -74,5 +75,11 @@ class TestEncode < Test::Unit::TestCase
74
75
  def crlf( str )
75
76
  str.gsub(/\n|\r\n|\r/) { "\r\n" }
76
77
  end
78
+
79
+ def test_wrapping_an_email_with_whitespace_at_position_zero
80
+ # This email is a spam mail designed to break mailers... evil.
81
+ mail = TMail::Mail.load("#{File.dirname(__FILE__)}/fixtures/raw_attack_email_with_zero_length_whitespace")
82
+ assert_nothing_raised(Exception) { mail.encoded }
83
+ end
77
84
 
78
85
  end
data/test/test_header.rb CHANGED
@@ -787,8 +787,7 @@ class ContentDispositionHeaderTester < Test::Unit::TestCase
787
787
  def _test_tspecials
788
788
  h = TMail::HeaderField.new('Content-Disposition', 'a; n=a')
789
789
  h['n'] = %q|()<>[];:@\\,"/?=|
790
- assert_equal 'a; n="()<>[];:@\\\\,\"/?="',
791
- h.encoded
790
+ assert_equal 'a; n="()<>[];:@\\\\,\"/?="', h.encoded
792
791
  end
793
792
 
794
793
  def _test_rfc2231_decode
@@ -867,7 +866,7 @@ class ContentDispositionHeaderTester < Test::Unit::TestCase
867
866
  assert_equal 'attachment', h.disposition
868
867
  assert_equal 1, h.params.size
869
868
  expected = "\223\372\226{\214\352.doc"
870
- expected.force_encoding 'Shift_JIS' if expected.respond_to? :force_encoding
869
+ expected.force_encoding 'Windows-31J' if expected.respond_to? :force_encoding
871
870
  assert_equal expected, h.params['filename']
872
871
 
873
872
  # raw SJIS string in value (quoted-string)
@@ -895,7 +894,7 @@ class ContentDispositionHeaderTester < Test::Unit::TestCase
895
894
  assert_equal 'attachment', h.disposition
896
895
  assert_equal 1, h.params.size
897
896
  expected = "\223\372\226{\214\352.doc"
898
- expected.force_encoding 'Shift_JIS' if expected.respond_to? :force_encoding
897
+ expected.force_encoding 'Windows-31J' if expected.respond_to? :force_encoding
899
898
  assert_equal expected, h.params['filename']
900
899
  end
901
900
 
data/test/test_mail.rb CHANGED
@@ -476,6 +476,12 @@ EOF
476
476
  @mail.content_type = 'text'
477
477
  }
478
478
  end
479
+
480
+ def test_email_with_part_without_content_type
481
+ fixture = File.read(File.dirname(__FILE__) + "/fixtures/raw_email_with_mimepart_without_content_type")
482
+ mail = TMail::Mail.parse(fixture)
483
+ assert_equal(3, mail.parts.length)
484
+ end
479
485
 
480
486
  def test_mail_to_s_with_illegal_content_type_boundary_preserves_quotes
481
487
  msg = <<EOF
data/work/script/make CHANGED
File without changes
data/work/script/rdoc CHANGED
File without changes
data/work/script/setup CHANGED
File without changes
data/work/script/test CHANGED
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tmail
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikel Lindsaar <raasdnil AT gmail.com>
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-03-08 00:00:00 -05:00
12
+ date: 2008-04-11 00:00:00 +10:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -21,200 +21,203 @@ extensions:
21
21
  - ext/tmailscanner/tmail/extconf.rb
22
22
  extra_rdoc_files:
23
23
  - README
24
- - Rakefile
25
- - MANIFEST
26
- - NOTES
27
24
  - CHANGES
28
25
  - LICENSE
29
- files:
30
- - Rakefile
31
- - doc
32
- - test
33
- - test/temp_test_one.rb
34
- - test/kcode.rb
35
- - test/test_utils.rb
36
- - test/test_attachments.rb
37
- - test/test_encode.rb
38
- - test/test_mbox.rb
39
- - test/test_helper.rb
40
- - test/test_header.rb
41
- - test/test_base64.rb
42
- - test/test_address.rb
43
- - test/fixtures
44
- - test/fixtures/raw_email8
45
- - test/fixtures/raw_email_simple
46
- - test/fixtures/raw_email13
47
- - test/fixtures/raw_email5
48
- - test/fixtures/mailbox_without_any_from_or_sender
49
- - test/fixtures/raw_email4
50
- - test/fixtures/mailbox
51
- - test/fixtures/raw_email_with_nested_attachment
52
- - test/fixtures/raw_email
53
- - test/fixtures/raw_email_quoted_with_0d0a
54
- - test/fixtures/raw_base64_decoded_string
55
- - test/fixtures/mailbox_without_return_path
56
- - test/fixtures/raw_email3
57
- - test/fixtures/raw_email_reply
58
- - test/fixtures/raw_email_with_bad_date
59
- - test/fixtures/mailbox_without_from
60
- - test/fixtures/raw_email_multiple_from
61
- - test/fixtures/raw_email10
62
- - test/fixtures/raw_email_with_quoted_illegal_boundary
63
- - test/fixtures/raw_base64_email
64
- - test/fixtures/raw_email_with_partially_quoted_subject
65
- - test/fixtures/raw_email9
66
- - test/fixtures/raw_email2
67
- - test/fixtures/raw_email11
68
- - test/fixtures/raw_email_with_multipart_mixed_quoted_boundary
69
- - test/fixtures/raw_email_with_illegal_boundary
70
- - test/fixtures/raw_email6
71
- - test/fixtures/raw_email7
72
- - test/fixtures/raw_base64_encoded_string
73
- - test/fixtures/raw_email12
74
- - test/test_mail.rb
75
- - test/test_scanner.rb
76
- - test/test_port.rb
77
- - test/extctrl.rb
78
- - test/test_quote.rb
26
+ - MANIFEST
79
27
  - NOTES
28
+ - Rakefile
29
+ files:
80
30
  - CHANGES
81
- - LICENSE
82
- - README
31
+ - doc
83
32
  - ext
33
+ - ext/Makefile
84
34
  - ext/tmailscanner
85
35
  - ext/tmailscanner/tmail
86
36
  - ext/tmailscanner/tmail/depend
87
- - ext/tmailscanner/tmail/MANIFEST
88
37
  - ext/tmailscanner/tmail/extconf.rb
38
+ - ext/tmailscanner/tmail/MANIFEST
89
39
  - ext/tmailscanner/tmail/tmailscanner.c
90
- - ext/Makefile
91
- - setup.rb
40
+ - lib
41
+ - lib/tmail
42
+ - lib/tmail/address.rb
43
+ - lib/tmail/attachments.rb
44
+ - lib/tmail/base64.rb
45
+ - lib/tmail/compat.rb
46
+ - lib/tmail/config.rb
47
+ - lib/tmail/core_extensions.rb
48
+ - lib/tmail/encode.rb
49
+ - lib/tmail/header.rb
50
+ - lib/tmail/index.rb
51
+ - lib/tmail/interface.rb
52
+ - lib/tmail/loader.rb
53
+ - lib/tmail/mail.rb
54
+ - lib/tmail/mailbox.rb
55
+ - lib/tmail/main.rb
56
+ - lib/tmail/Makefile
57
+ - lib/tmail/mbox.rb
58
+ - lib/tmail/net.rb
59
+ - lib/tmail/obsolete.rb
60
+ - lib/tmail/parser.rb
61
+ - lib/tmail/parser.y
62
+ - lib/tmail/port.rb
63
+ - lib/tmail/quoting.rb
64
+ - lib/tmail/require_arch.rb
65
+ - lib/tmail/scanner.rb
66
+ - lib/tmail/scanner_r.rb
67
+ - lib/tmail/stringio.rb
68
+ - lib/tmail/utils.rb
69
+ - lib/tmail/version.rb
70
+ - lib/tmail.rb
71
+ - LICENSE
72
+ - log
73
+ - log/BugTrackingLog.txt
74
+ - log/Changelog.txt
75
+ - log/fixme.rdoc
76
+ - log/Fixme.txt
77
+ - log/Testlog.txt
78
+ - log/Todo.txt
92
79
  - meta
93
80
  - meta/MANIFEST
94
81
  - meta/project.yaml
95
82
  - meta/unixname
96
83
  - meta/VERSION
84
+ - NOTES
85
+ - Rakefile
86
+ - README
87
+ - sample
88
+ - sample/bench_base64.rb
89
+ - sample/data
90
+ - sample/data/multipart
91
+ - sample/data/normal
92
+ - sample/data/sendtest
93
+ - sample/data/simple
94
+ - sample/data/test
95
+ - sample/extract-attachements.rb
96
+ - sample/from-check.rb
97
+ - sample/multipart.rb
98
+ - sample/parse-bench.rb
99
+ - sample/parse-test.rb
100
+ - sample/sendmail.rb
101
+ - setup.rb
97
102
  - site
103
+ - site/contributing
104
+ - site/contributing/index.html
105
+ - site/css
106
+ - site/css/clean.css
107
+ - site/css/layout.css
108
+ - site/css/style.css
109
+ - site/download
110
+ - site/download/index.html
98
111
  - site/img
99
- - site/img/tfire.jpg
100
- - site/img/stamp.jpg
101
- - site/img/tmail.png
102
- - site/img/mailman.gif
103
112
  - site/img/envelope.jpg
113
+ - site/img/mailman.gif
104
114
  - site/img/stamp-sm.jpg
115
+ - site/img/stamp.jpg
105
116
  - site/img/stampborder.jpg
106
- - site/quickstart
107
- - site/quickstart/usage.html
108
- - site/quickstart/index.html
109
- - site/quickstart/quickstart.html
117
+ - site/img/tfire.jpg
118
+ - site/img/tmail.png
119
+ - site/index.html
110
120
  - site/js
111
121
  - site/js/jquery.js
122
+ - site/log
123
+ - site/log/changelog.xml
124
+ - site/log/Changelog.xsl
112
125
  - site/outdated
126
+ - site/outdated/BUGS
113
127
  - site/outdated/DEPENDS
114
- - site/outdated/Incompatibilities
115
- - site/outdated/Incompatibilities.ja
116
- - site/outdated/README.ja
117
- - site/outdated/NEWS
118
128
  - site/outdated/doc.ja
119
- - site/outdated/doc.ja/config.html
120
- - site/outdated/doc.ja/usage.html
121
- - site/outdated/doc.ja/mailbox.html
122
- - site/outdated/doc.ja/mail.html
123
- - site/outdated/doc.ja/index.html
124
- - site/outdated/doc.ja/basics.html
125
- - site/outdated/doc.ja/tmail.html
126
129
  - site/outdated/doc.ja/address.html
130
+ - site/outdated/doc.ja/basics.html
131
+ - site/outdated/doc.ja/config.html
127
132
  - site/outdated/doc.ja/details.html
133
+ - site/outdated/doc.ja/index.html
134
+ - site/outdated/doc.ja/mail.html
135
+ - site/outdated/doc.ja/mailbox.html
128
136
  - site/outdated/doc.ja/port.html
137
+ - site/outdated/doc.ja/tmail.html
138
+ - site/outdated/doc.ja/usage.html
139
+ - site/outdated/Incompatibilities
140
+ - site/outdated/Incompatibilities.ja
141
+ - site/outdated/NEWS
129
142
  - site/outdated/rdd
130
- - site/outdated/rdd/mail.rrd.m
131
- - site/outdated/rdd/port.rrd.m
143
+ - site/outdated/rdd/address.rrd.m
144
+ - site/outdated/rdd/basics.rd.m
132
145
  - site/outdated/rdd/config.rrd.m
146
+ - site/outdated/rdd/details.rd.m
133
147
  - site/outdated/rdd/index.rhtml.m
148
+ - site/outdated/rdd/mail.rrd.m
134
149
  - site/outdated/rdd/mailbox.rrd.m
135
- - site/outdated/rdd/usage.rd.m
136
- - site/outdated/rdd/basics.rd.m
137
- - site/outdated/rdd/details.rd.m
150
+ - site/outdated/rdd/port.rrd.m
138
151
  - site/outdated/rdd/tmail.rrd.m
139
- - site/outdated/rdd/address.rrd.m
140
- - site/outdated/BUGS
141
- - site/index.html
142
- - site/contributing
143
- - site/contributing/index.html
152
+ - site/outdated/rdd/usage.rd.m
153
+ - site/outdated/README.ja
154
+ - site/quickstart
155
+ - site/quickstart/index.html
156
+ - site/quickstart/quickstart.html
157
+ - site/quickstart/usage.html
144
158
  - site/reference
159
+ - site/reference/address.html
145
160
  - site/reference/config.html
146
- - site/reference/mailbox.html
147
- - site/reference/mail.html
148
161
  - site/reference/index.html
149
- - site/reference/tmail.html
150
- - site/reference/address.html
162
+ - site/reference/mail.html
163
+ - site/reference/mailbox.html
151
164
  - site/reference/port.html
152
- - site/css
153
- - site/css/layout.css
154
- - site/css/style.css
155
- - site/css/clean.css
156
- - site/download
157
- - site/download/index.html
158
- - site/log
159
- - site/log/changelog.xml
160
- - site/log/Changelog.xsl
161
- - lib
162
- - lib/tmail.rb
163
- - lib/tmail
164
- - lib/tmail/base64.rb
165
- - lib/tmail/loader.rb
166
- - lib/tmail/main.rb
167
- - lib/tmail/scanner.rb
168
- - lib/tmail/require_arch.rb
169
- - lib/tmail/config.rb
170
- - lib/tmail/port.rb
171
- - lib/tmail/encode.rb
172
- - lib/tmail/scanner_r.rb
173
- - lib/tmail/parser.rb
174
- - lib/tmail/version.rb
175
- - lib/tmail/obsolete.rb
176
- - lib/tmail/parser.y
177
- - lib/tmail/quoting.rb
178
- - lib/tmail/mbox.rb
179
- - lib/tmail/Makefile
180
- - lib/tmail/stringio.rb
181
- - lib/tmail/utils.rb
182
- - lib/tmail/interface.rb
183
- - lib/tmail/attachments.rb
184
- - lib/tmail/index.rb
185
- - lib/tmail/mail.rb
186
- - lib/tmail/net.rb
187
- - lib/tmail/address.rb
188
- - lib/tmail/header.rb
189
- - lib/tmail/compat.rb
190
- - lib/tmail/mailbox.rb
191
- - lib/tmail/core_extensions.rb
192
- - sample
193
- - sample/extract-attachements.rb
194
- - sample/parse-test.rb
195
- - sample/bench_base64.rb
196
- - sample/multipart.rb
197
- - sample/parse-bench.rb
198
- - sample/data
199
- - sample/data/test
200
- - sample/data/normal
201
- - sample/data/simple
202
- - sample/data/multipart
203
- - sample/data/sendtest
204
- - sample/from-check.rb
205
- - sample/sendmail.rb
165
+ - site/reference/tmail.html
166
+ - test
167
+ - test/extctrl.rb
168
+ - test/fixtures
169
+ - test/fixtures/mailbox
170
+ - test/fixtures/mailbox_without_any_from_or_sender
171
+ - test/fixtures/mailbox_without_from
172
+ - test/fixtures/mailbox_without_return_path
173
+ - test/fixtures/raw_attack_email_with_zero_length_whitespace
174
+ - test/fixtures/raw_base64_decoded_string
175
+ - test/fixtures/raw_base64_email
176
+ - test/fixtures/raw_base64_encoded_string
177
+ - test/fixtures/raw_email
178
+ - test/fixtures/raw_email10
179
+ - test/fixtures/raw_email11
180
+ - test/fixtures/raw_email12
181
+ - test/fixtures/raw_email13
182
+ - test/fixtures/raw_email2
183
+ - test/fixtures/raw_email3
184
+ - test/fixtures/raw_email4
185
+ - test/fixtures/raw_email5
186
+ - test/fixtures/raw_email6
187
+ - test/fixtures/raw_email7
188
+ - test/fixtures/raw_email8
189
+ - test/fixtures/raw_email9
190
+ - test/fixtures/raw_email_multiple_from
191
+ - test/fixtures/raw_email_quoted_with_0d0a
192
+ - test/fixtures/raw_email_reply
193
+ - test/fixtures/raw_email_simple
194
+ - test/fixtures/raw_email_with_bad_date
195
+ - test/fixtures/raw_email_with_illegal_boundary
196
+ - test/fixtures/raw_email_with_mimepart_without_content_type
197
+ - test/fixtures/raw_email_with_multipart_mixed_quoted_boundary
198
+ - test/fixtures/raw_email_with_nested_attachment
199
+ - test/fixtures/raw_email_with_partially_quoted_subject
200
+ - test/fixtures/raw_email_with_quoted_illegal_boundary
201
+ - test/kcode.rb
202
+ - test/temp_test_one.rb
203
+ - test/test_address.rb
204
+ - test/test_attachments.rb
205
+ - test/test_base64.rb
206
+ - test/test_encode.rb
207
+ - test/test_header.rb
208
+ - test/test_helper.rb
209
+ - test/test_mail.rb
210
+ - test/test_mbox.rb
211
+ - test/test_port.rb
212
+ - test/test_quote.rb
213
+ - test/test_scanner.rb
214
+ - test/test_utils.rb
206
215
  - work
207
216
  - work/script
208
- - work/script/test
217
+ - work/script/make
209
218
  - work/script/rdoc
210
219
  - work/script/setup
211
- - work/script/make
212
- - log
213
- - log/BugTrackingLog.txt
214
- - log/Changelog.txt
215
- - log/Changelog-0.txt
216
- - log/Todo.txt
217
- - log/Testlog.txt
220
+ - work/script/test
218
221
  - MANIFEST
219
222
  has_rdoc: true
220
223
  homepage: http://tmail.rubyforge.org
@@ -243,54 +246,56 @@ required_rubygems_version: !ruby/object:Gem::Requirement
243
246
  requirements: []
244
247
 
245
248
  rubyforge_project: tmail
246
- rubygems_version: 1.0.1
249
+ rubygems_version: 1.1.0
247
250
  signing_key:
248
251
  specification_version: 2
249
252
  summary: Ruby Mail Handler
250
253
  test_files:
251
- - test/temp_test_one.rb
252
- - test/kcode.rb
253
- - test/test_utils.rb
254
- - test/test_attachments.rb
255
- - test/test_encode.rb
256
- - test/test_mbox.rb
257
- - test/test_helper.rb
258
- - test/test_header.rb
259
- - test/test_base64.rb
260
- - test/test_address.rb
254
+ - test/extctrl.rb
261
255
  - test/fixtures
262
- - test/fixtures/raw_email8
263
- - test/fixtures/raw_email_simple
264
- - test/fixtures/raw_email13
265
- - test/fixtures/raw_email5
266
- - test/fixtures/mailbox_without_any_from_or_sender
267
- - test/fixtures/raw_email4
268
256
  - test/fixtures/mailbox
269
- - test/fixtures/raw_email_with_nested_attachment
270
- - test/fixtures/raw_email
271
- - test/fixtures/raw_email_quoted_with_0d0a
272
- - test/fixtures/raw_base64_decoded_string
273
- - test/fixtures/mailbox_without_return_path
274
- - test/fixtures/raw_email3
275
- - test/fixtures/raw_email_reply
276
- - test/fixtures/raw_email_with_bad_date
257
+ - test/fixtures/mailbox_without_any_from_or_sender
277
258
  - test/fixtures/mailbox_without_from
278
- - test/fixtures/raw_email_multiple_from
279
- - test/fixtures/raw_email10
280
- - test/fixtures/raw_email_with_quoted_illegal_boundary
259
+ - test/fixtures/mailbox_without_return_path
260
+ - test/fixtures/raw_attack_email_with_zero_length_whitespace
261
+ - test/fixtures/raw_base64_decoded_string
281
262
  - test/fixtures/raw_base64_email
282
- - test/fixtures/raw_email_with_partially_quoted_subject
283
- - test/fixtures/raw_email9
284
- - test/fixtures/raw_email2
263
+ - test/fixtures/raw_base64_encoded_string
264
+ - test/fixtures/raw_email
265
+ - test/fixtures/raw_email10
285
266
  - test/fixtures/raw_email11
286
- - test/fixtures/raw_email_with_multipart_mixed_quoted_boundary
287
- - test/fixtures/raw_email_with_illegal_boundary
267
+ - test/fixtures/raw_email12
268
+ - test/fixtures/raw_email13
269
+ - test/fixtures/raw_email2
270
+ - test/fixtures/raw_email3
271
+ - test/fixtures/raw_email4
272
+ - test/fixtures/raw_email5
288
273
  - test/fixtures/raw_email6
289
274
  - test/fixtures/raw_email7
290
- - test/fixtures/raw_base64_encoded_string
291
- - test/fixtures/raw_email12
275
+ - test/fixtures/raw_email8
276
+ - test/fixtures/raw_email9
277
+ - test/fixtures/raw_email_multiple_from
278
+ - test/fixtures/raw_email_quoted_with_0d0a
279
+ - test/fixtures/raw_email_reply
280
+ - test/fixtures/raw_email_simple
281
+ - test/fixtures/raw_email_with_bad_date
282
+ - test/fixtures/raw_email_with_illegal_boundary
283
+ - test/fixtures/raw_email_with_mimepart_without_content_type
284
+ - test/fixtures/raw_email_with_multipart_mixed_quoted_boundary
285
+ - test/fixtures/raw_email_with_nested_attachment
286
+ - test/fixtures/raw_email_with_partially_quoted_subject
287
+ - test/fixtures/raw_email_with_quoted_illegal_boundary
288
+ - test/kcode.rb
289
+ - test/temp_test_one.rb
290
+ - test/test_address.rb
291
+ - test/test_attachments.rb
292
+ - test/test_base64.rb
293
+ - test/test_encode.rb
294
+ - test/test_header.rb
295
+ - test/test_helper.rb
292
296
  - test/test_mail.rb
293
- - test/test_scanner.rb
297
+ - test/test_mbox.rb
294
298
  - test/test_port.rb
295
- - test/extctrl.rb
296
299
  - test/test_quote.rb
300
+ - test/test_scanner.rb
301
+ - test/test_utils.rb