tmail 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +5 -0
- data/NOTES +84 -0
- data/README +6 -1
- data/ext/Makefile +20 -0
- data/ext/{tmail/base64 → mailscanner/tmail}/MANIFEST +1 -1
- data/ext/mailscanner/tmail/depend +1 -0
- data/ext/mailscanner/tmail/extconf.rb +24 -0
- data/ext/{tmail/scanner_c/scanner_c.c → mailscanner/tmail/mailscanner.c} +8 -7
- data/lib/tmail/base64.rb +29 -52
- data/lib/tmail/encode.rb +37 -38
- data/lib/tmail/interface.rb +632 -49
- data/lib/tmail/main.rb +4 -0
- data/lib/tmail/net.rb +0 -35
- data/lib/tmail/quoting.rb +8 -8
- data/lib/tmail/scanner.rb +10 -6
- data/lib/tmail/scanner_r.rb +3 -5
- data/lib/tmail/version.rb +2 -2
- data/log/ChangeLog.txt +1131 -0
- data/log/History.txt +40 -0
- data/log/Todo.txt +32 -0
- data/meta/MANIFEST +118 -0
- data/meta/ROLLRC +3 -0
- data/meta/icli.yaml +2 -2
- data/meta/{tmail-1.1.1.roll → project.yaml} +3 -7
- data/sample/bench_base64.rb +48 -0
- data/{bat → script}/changelog +0 -0
- data/script/clobber/distclean +8 -0
- data/{bat → script}/clobber/package +0 -0
- data/script/compile +32 -0
- data/{bat → script}/config.yaml +2 -2
- data/{bat → script}/prepare +4 -2
- data/{bat → script}/publish +0 -0
- data/{bat → script}/release +0 -0
- data/{bat → script}/setup +0 -0
- data/{bat → script}/stats +0 -0
- data/{bat → script}/tag +0 -0
- data/script/test +36 -0
- data/test/fixtures/raw_email_reply +32 -0
- data/test/fixtures/raw_email_with_bad_date +48 -0
- data/test/test_address.rb +1 -3
- data/test/test_attachments.rb +1 -2
- data/test/test_base64.rb +3 -2
- data/test/test_encode.rb +1 -0
- data/test/test_header.rb +2 -3
- data/test/test_helper.rb +8 -2
- data/test/test_mail.rb +45 -16
- data/test/test_mbox.rb +1 -1
- data/test/test_port.rb +1 -1
- data/test/test_scanner.rb +1 -1
- data/test/test_utils.rb +1 -2
- metadata +82 -76
- data/bat/compile +0 -42
- data/bat/rdoc +0 -42
- data/bat/test +0 -25
- data/ext/tmail/Makefile +0 -25
- data/ext/tmail/base64/base64.c +0 -264
- data/ext/tmail/base64/depend +0 -1
- data/ext/tmail/base64/extconf.rb +0 -38
- data/ext/tmail/scanner_c/MANIFEST +0 -4
- data/ext/tmail/scanner_c/depend +0 -1
- data/ext/tmail/scanner_c/extconf.rb +0 -38
- data/lib/tmail/tmail.rb +0 -1
data/ext/tmail/scanner_c/depend
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
mails.o: mails.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h Makefile
|
@@ -1,38 +0,0 @@
|
|
1
|
-
require 'mkmf'
|
2
|
-
require 'rbconfig'
|
3
|
-
|
4
|
-
extension_name = 'scanner_c'
|
5
|
-
|
6
|
-
arch = Config::CONFIG['arch']
|
7
|
-
|
8
|
-
windows = (/mswin/ =~ arch) #RUBY_PLATFORM)
|
9
|
-
|
10
|
-
if (ENV['NORUBYEXT'] == 'true') || windows # TEMPORARILY ADD WINDOWS HERE
|
11
|
-
#ENV['make'] = 'echo' # THIS DOESN"T GET TO THE PARENT PROCESS!!!
|
12
|
-
# LETS TRY FAKING IT OUT.
|
13
|
-
if windows
|
14
|
-
File.open('make.bat', 'w') do |f|
|
15
|
-
f << 'echo Native extension will be omitted.'
|
16
|
-
end
|
17
|
-
File.open('nmake.bat', 'w') do |f|
|
18
|
-
f << 'echo Native extension will be omitted.'
|
19
|
-
end
|
20
|
-
#File.chmod(0755, "make.bat", "nmake.bat") # need?
|
21
|
-
end
|
22
|
-
File.open('Makefile', 'w') do |f|
|
23
|
-
f << "all:\n"
|
24
|
-
f << "install:\n"
|
25
|
-
end
|
26
|
-
else
|
27
|
-
if windows && ENV['make'].nil?
|
28
|
-
$LIBS += " msvcprt.lib"
|
29
|
-
#dir_config(extension_name)
|
30
|
-
#create_makefile(extension_name, "tmail")
|
31
|
-
create_makefile(extension_name, "tmail/#{arch}")
|
32
|
-
else
|
33
|
-
$CFLAGS += " -D_FILE_OFFSET_BITS=64" #???
|
34
|
-
#dir_config(extension_name)
|
35
|
-
#create_makefile(extension_name, "tmail")
|
36
|
-
create_makefile(extension_name, "tmail/#{arch}")
|
37
|
-
end
|
38
|
-
end
|
data/lib/tmail/tmail.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require 'tmail'
|