mailparser 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mailparser/rfc2822.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: 2310e94f3de77f05994cdf3ce1c92bf8f16309e2
|
4
|
+
data.tar.gz: 8ad3d13a7f0e6d06d1c84d098922c703eebf605e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 951e389194febaeb67affa9fccf35a7d6cc90cbde8b374c7cfe0c6c103b19e08e9f0beadca5b08113f9fb3bbade798a2d69803ccdfa42b5959e0804b10c9019b
|
7
|
+
data.tar.gz: 96142fc8a2285eb75c08cf0d03e5f0d3ab7d067b61421034886cd047aec2c3b455290daf8c6a7d57294f8e63da8eca5787809f4d1551b537fdf37a274b74f8bc
|
data/lib/mailparser/rfc2822.rb
CHANGED
@@ -179,7 +179,7 @@ module MailParser::RFC2822
|
|
179
179
|
if zone_or_offset.is_a? Integer
|
180
180
|
offset = zone_or_offset
|
181
181
|
@zone_sec = offset
|
182
|
-
@zone = format("%03d%02d", offset/3600, offset%3600).sub(/^0/, '+')
|
182
|
+
@zone = format("%03d%02d", offset/3600, offset%3600/60).sub(/^0/, '+')
|
183
183
|
return
|
184
184
|
end
|
185
185
|
zone = zone_or_offset
|