tmail 1.2.3 → 1.2.3.1

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/CHANGES CHANGED
@@ -1,3 +1,16 @@
1
+ === 1.2.3.1 / 2008-04-11
2
+
3
+ * Closed #19429 - Installing TMail on Windows with the gem
4
+
5
+ === 1.2.3 / 2008-04-11
6
+
7
+ * Closed #18881 - TMail goes into an endless loop if sent an crafted email
8
+ * Closed #19203 - TMail errors in Ruby 1.9.1 on invalid multibyte chars.
9
+ * Closed #18814 - Fixed attchment.rb failing on mail part that had a nil content-type
10
+ * Closed #18516 - Fix TMail::Mail#preamble, and add #preamble= (Charles Lowe) (233)
11
+ * Applied patch #18515 to remove ftools from test case (Charles Lowe) (232)
12
+ * A lot of documentation patches to the mail and utils and net files. Also added "log/BugTrackingLog.txt" for myself as my bug log got clobbered by the new changelog.txt format. (231)
13
+
1
14
  === 1.2.2 / 2008-03-07
2
15
 
3
16
  * Fixed install bug with gem pacakge (1.2.1 was not compiling on gem install)
data/NOTES CHANGED
@@ -1,82 +1,7 @@
1
- [ANN] TMail 1.2.3 - Security Update - 4 Apr 2008
1
+ [ANN] TMail 1.2.3.1 - Minor Fix to Installer
2
2
 
3
- TMail is The Mail Handling Library for Ruby!
3
+ This release just handles a bug with installing the gem on a Windows platform.
4
4
 
5
- TMail is the Ruby Mail handler used in the
6
- Ruby on Rails and Nitro web frame works as
7
- well as many others (now including, the Ruby
8
- Talk mail gateway!).
5
+ It is otherwise identical to 1.2.3
9
6
 
10
- TMail is now a gem. You can install it on any
11
- platform via:
12
-
13
- # gem install tmail
14
-
15
- Alternatively you can download the source code
16
- or view extra documentation at the website:
17
-
18
- http://tmail.rubyforge.org/
19
-
20
-
21
- Release Summary:
22
- ------------------
23
- This update handles a potential DOS vulnerability on
24
- any host using TMail to handle incomming email; a
25
- crafted email with carefully positioned whitespace
26
- can cause the TMail library to go into an endless
27
- loop causing denial of service attack on email services.
28
-
29
- New release handles five tickets in the TMail
30
- tracker as well as more documentation and more
31
- work on the moving Ruby 1.9 Encoding/Decoding Target
32
-
33
- Additionally added 7 more test cases to the library
34
- to handle the above tickets.
35
-
36
- This should be a drop in replacement for existing
37
- TMail installations - unless you are using TMail on
38
- Ruby 1.9, in which case, you _might_ run into encoding
39
- problems if you are on Ruby 1.9.1, Ruby 1.9 still
40
- works, YMMV, any feedback on TMail on 1.9.1 with
41
- patches is really welcome!
42
-
43
-
44
- Release Update Details:
45
- -------------------------
46
-
47
- * Closed #18881 - TMail goes into an endless loop
48
- if sent an crafted email which puts a whitespace
49
- character at position 78 of the line to be wrapped.
50
-
51
- * Closed #19203 - TMail errors in Ruby 1.9.1 on
52
- invalid multibyte chars.
53
-
54
- * Closed #18814 - Fixed attchment.rb failing on
55
- mail part that had a nil content-type - now assumes
56
- text/plain as the missing content type and preserves
57
- the mail structure.
58
-
59
- * Closed #18516 - Fixed TMail::Mail#preamble, and
60
- added #preamble=, this allows you now to set and
61
- read the preamble text of an email (the plain text
62
- that appears before any MIME encoded attachments that
63
- you can read in any email client) (Charles Lowe)
64
-
65
- * Closed #18515 - Removed ftools from test case
66
- to clean it up (Charles Lowe)
67
-
68
- Bug Reports / Fixes:
69
- ----------------------
70
-
71
- As always, we really welcome any bug reports or code
72
- for patches you have created. Please submit anything
73
- you find through our RubyForge tracker project which
74
- you can get to from our website:
75
-
76
- http://tmail.rubyforge.org/
77
-
78
-
79
- We hope you enjoy this release!
80
-
81
-
82
- The TMail Team.
7
+ Mikel
@@ -3,15 +3,20 @@ require 'rbconfig'
3
3
 
4
4
  extension_name = 'tmailscanner'
5
5
 
6
- arch = Config::CONFIG['sitearch']
7
-
8
- windows = (/djgpp|(cyg|ms|bcc)win|mingw/ =~ arch)
6
+ windows = (/djgpp|(cyg|ms|bcc)win|mingw/ =~ RUBY_PLATFORM)
9
7
 
10
8
  # For now use pure Ruby tmailscanner if on Windows, since
11
9
  # most Window's users don't have developer tools needed.
12
- ENV['NORUBYEXT'] = true if windows
13
10
 
14
- if (ENV['NORUBYEXT'] == 'true')
11
+ if (ENV['NORUBYEXT'] == 'true' || windows)
12
+ if windows
13
+ File.open('make.bat', 'w') do |f|
14
+ f << 'echo Native extension will be omitted.'
15
+ end
16
+ File.open('nmake.bat', 'w') do |f|
17
+ f << 'echo Native extension will be omitted.'
18
+ end
19
+ end
15
20
  File.open('Makefile', 'w') do |f|
16
21
  f << "all:\n"
17
22
  f << "install:\n"
@@ -1,3 +1,13 @@
1
+ == Fri Apr 11 12:16:27 GMT 2008 Mikel Lindsaar <raasdnil@gmail.com>
2
+
3
+ * RELEASE TMAIL 1.2.3.1
4
+
5
+ * Closed #19429 - Gem will not install in windows
6
+
7
+ == Fri Apr 10 12:16:13 GMT 2008 Mikel Lindsaar <raasdnil@gmail.com>
8
+
9
+ * RELEASE TMAIL 1.2.3
10
+
1
11
  == Mon Mar 31 04:26:19 GMT 2008 Mikel Lindsaar <raasdnil@gmail.com>
2
12
 
3
13
  * Closed #19203 - TMail errors in Ruby 1.9.1 on invalid multibyte chars
data/meta/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.3 stable (2008-04-11)
1
+ 1.2.3.1 stable (2008-04-11)
data/meta/project.yaml CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  project : tmail
3
- version : 1.2.3
3
+ version : 1.2.3.1
4
4
  status : production
5
5
  title : TMail
6
6
  brief : Ruby Mail Handler
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.3
4
+ version: 1.2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikel Lindsaar <raasdnil AT gmail.com>