Skip to content

Commit c5e9389

Browse files
committed
Fix issue related to Net::IMAP.format_date change (@mnohai-mdsol)
1 parent 1792d1a commit c5e9389

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Gmail Gem Changelog
22

3+
## 0.7.1 - 2018-07-19
4+
5+
* Fix issue related to Net::IMAP.format_date change (@mnohai-mdsol)
6+
37
## 0.7.0 - 2018-07-19
48

59
* Add coveralls.io code coverage (@bootstraponline)

lib/gmail/mailbox.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def fetch_uids(*args)
3434

3535
opts[:after] and search.concat ['SINCE', Net::IMAP.format_date(opts[:after])]
3636
opts[:before] and search.concat ['BEFORE', Net::IMAP.format_date(opts[:before])]
37-
opts[:on] and search.concat ['ON', opts[:on].to_imap_date]
37+
opts[:on] and search.concat ['ON', Net::IMAP.format_date(opts[:on])]
3838
opts[:from] and search.concat ['FROM', opts[:from]]
3939
opts[:to] and search.concat ['TO', opts[:to]]
4040
opts[:subject] and search.concat ['SUBJECT', opts[:subject]]

lib/gmail/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Gmail
2-
VERSION = "0.7.0".freeze
2+
VERSION = "0.7.1".freeze
33
end

0 commit comments

Comments
 (0)