mail_address 1.2.1 → 1.2.2
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: b03cd7ba2fd9683d34f2ef6a9c95592763e42378
|
4
|
+
data.tar.gz: 1a43dd39f72c8093f9c672d160c6cf227ab49e9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20cd422f2a139e2bdcc3c41a07aac6a9b456190a9dd7a7901afbff0244dc54b5ba8cdd7f2785417543e355d3b6ebe25c4ba5ca68b8aae84d387d4e0fad49fca9
|
7
|
+
data.tar.gz: cf84e3c88168e14e06b848d02ac18bf861e6fcea26d4649688cab15a85b80f9eeaf4a0e675c9769dc9fc86f92254f5d9fda9024fcd89031209b02ccd4e942051
|
@@ -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 (end_pos >= 0 && self.is_escaped_dbl_quote(str, end_pos))
|
98
|
+
while (endpos && 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 = (end_pos >= 0) ? str[pos .. end_pos] : ch
|
102
|
+
token = (endpos && end_pos >= 0) ? str[pos .. end_pos] : ch
|
103
103
|
return token
|
104
104
|
end
|
105
105
|
|
data/lib/mail_address/version.rb
CHANGED