mail_address 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mail_address/simple_parser.rb +2 -2
- data/lib/mail_address/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1271970cefd1db0a71b0b18cedc7d61f6cf9ef6d
|
4
|
+
data.tar.gz: aa2c24821e4238fb30bdd52b05c56de5f7b3c176
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ba6fc1d8ab3d48bf7a22fd902dfeca3f53b01c6802b969ce48e8067d4cacd57e5d8ae9639c54f61c43f7e588020c4c4aca6a2ac4dc756c655a15790a615777b
|
7
|
+
data.tar.gz: ce2b8f9c2fd8ec53b52375f296e68fe8a0aedb3b58708e973a51b03e40d5d10921e2c4230b0d799d4a176173d62d070e248c275037da32e1ba9ff863623089c4
|
@@ -95,11 +95,11 @@ module MailAddress
|
|
95
95
|
|
96
96
|
# If the closer is a quote we go forward skipping escaped quotes until we
|
97
97
|
# hit the real closing one.
|
98
|
-
while (
|
98
|
+
while (end_pos && end_pos >= 0 && self.is_escaped_dbl_quote(str, end_pos))
|
99
99
|
end_pos = str.index(closer_char, end_pos + 1)
|
100
100
|
end
|
101
101
|
|
102
|
-
token = (
|
102
|
+
token = (end_pos && end_pos >= 0) ? str[pos .. end_pos] : ch
|
103
103
|
return token
|
104
104
|
end
|
105
105
|
|
data/lib/mail_address/version.rb
CHANGED