mailparser 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailparser/rfc2822.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e590d922b6a44f3b750e1f781bfc529831baf220
4
- data.tar.gz: c24826d4de390dda026fa0b6b33b4c3c45b9cd80
3
+ metadata.gz: 2310e94f3de77f05994cdf3ce1c92bf8f16309e2
4
+ data.tar.gz: 8ad3d13a7f0e6d06d1c84d098922c703eebf605e
5
5
  SHA512:
6
- metadata.gz: 47c8a79f4471013c83792c20b951ca0b650a4b854d62412c9e3f86b1b8926b8c0d95e094ce08e07f6bb7ea6b9951c7058c9c4d0c764b54148a2694e44fab4822
7
- data.tar.gz: f3ea0cceb89e54d1f11c901cc4cc58e7cbea096229072ec6ee38016f75fa5aad6a31e1750c5cb28200e0f901befb7297278a7da03295a6a6904331753bb4c427
6
+ metadata.gz: 951e389194febaeb67affa9fccf35a7d6cc90cbde8b374c7cfe0c6c103b19e08e9f0beadca5b08113f9fb3bbade798a2d69803ccdfa42b5959e0804b10c9019b
7
+ data.tar.gz: 96142fc8a2285eb75c08cf0d03e5f0d3ab7d067b61421034886cd047aec2c3b455290daf8c6a7d57294f8e63da8eca5787809f4d1551b537fdf37a274b74f8bc
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailparser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - TOMITA Masahiro