mail 2.2.5.2 → 2.2.6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of mail might be problematic. Click here for more details.
- data/CHANGELOG.rdoc +7 -0
- data/lib/VERSION +3 -3
- data/lib/mail/fields/common/common_message_id.rb +4 -3
- metadata +6 -7
data/CHANGELOG.rdoc
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
== Sat 11 Sep 2010 05:13:36 UTC Mikel Lindsaar <mikel@rubyx.com>
|
2
|
+
|
3
|
+
* Fixed parsing an email with an empty In-Reply-To header (Reported by Eugene Pimenov)
|
4
|
+
* Adding address spec for groupname+domain.com@example.com format emails
|
5
|
+
* Version bump to 2.2.6
|
6
|
+
|
1
7
|
== Sat Sep 11 01:56:59 UTC 2010 Mikel Lindsaar <mikel@rubyx.com>
|
2
8
|
|
3
9
|
* Added new way to do versioning for rubygems
|
@@ -10,6 +16,7 @@
|
|
10
16
|
* Fixed bounce detection for multipart reports that contain a human readable report status part
|
11
17
|
* Closed Issue #65 found (incredibly) by quetz - major Kudos for bug hunting
|
12
18
|
* Fixed missing trailing CRLF in content type field - Closes issue #57 - Kudos to Henry Flower for finding it
|
19
|
+
* Version bump to 2.2.5.2
|
13
20
|
|
14
21
|
== Sat Sep 11 01:32:13 UTC 2010 Mikel Lindsaar <mikel@rubyx.com>
|
15
22
|
|
data/lib/VERSION
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
patch:
|
1
|
+
patch:6
|
2
2
|
major:2
|
3
|
-
build:
|
4
|
-
minor:2
|
3
|
+
build:
|
4
|
+
minor:2
|
@@ -2,7 +2,7 @@
|
|
2
2
|
module Mail
|
3
3
|
module CommonMessageId # :nodoc:
|
4
4
|
def element
|
5
|
-
@element ||= Mail::MessageIdsElement.new(value)
|
5
|
+
@element ||= Mail::MessageIdsElement.new(value) unless value.blank?
|
6
6
|
end
|
7
7
|
|
8
8
|
def parse(val = value)
|
@@ -14,14 +14,15 @@ module Mail
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def message_id
|
17
|
-
element.message_id
|
17
|
+
element.message_id if element
|
18
18
|
end
|
19
19
|
|
20
20
|
def message_ids
|
21
|
-
element.message_ids
|
21
|
+
element.message_ids if element
|
22
22
|
end
|
23
23
|
|
24
24
|
def default
|
25
|
+
return nil unless message_ids
|
25
26
|
if message_ids.length == 1
|
26
27
|
message_ids[0]
|
27
28
|
else
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
|
11
|
-
version: 2.2.5.2
|
9
|
+
- 6
|
10
|
+
version: 2.2.6
|
12
11
|
platform: ruby
|
13
12
|
authors:
|
14
13
|
- Mikel Lindsaar
|
@@ -32,9 +31,9 @@ dependencies:
|
|
32
31
|
- 6
|
33
32
|
version: 2.3.6
|
34
33
|
requirement: *id001
|
34
|
+
type: :runtime
|
35
35
|
name: activesupport
|
36
36
|
prerelease: false
|
37
|
-
type: :runtime
|
38
37
|
- !ruby/object:Gem::Dependency
|
39
38
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
39
|
none: false
|
@@ -46,9 +45,9 @@ dependencies:
|
|
46
45
|
- 0
|
47
46
|
version: "0"
|
48
47
|
requirement: *id002
|
48
|
+
type: :runtime
|
49
49
|
name: mime-types
|
50
50
|
prerelease: false
|
51
|
-
type: :runtime
|
52
51
|
- !ruby/object:Gem::Dependency
|
53
52
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
54
53
|
none: false
|
@@ -62,9 +61,9 @@ dependencies:
|
|
62
61
|
- 5
|
63
62
|
version: 1.4.5
|
64
63
|
requirement: *id003
|
64
|
+
type: :runtime
|
65
65
|
name: treetop
|
66
66
|
prerelease: false
|
67
|
-
type: :runtime
|
68
67
|
description: A really Ruby Mail handler.
|
69
68
|
email: raasdnil@gmail.com
|
70
69
|
executables: []
|