navi_client 1.2.5 → 1.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 30d2c77ae2f13f4f58a8387bbade49543b7b6e546be77d0e499ff13062a26bc7
4
- data.tar.gz: 819a2b3648ecff79b8ea365fc006324ff3ab01dc42c97cccbe81e166dc937237
3
+ metadata.gz: 820befdf271c3beae0602d25529e7dbdbc0f7e26089d168137013e3d40e88d3d
4
+ data.tar.gz: f7148f7b76015daf3d4be746a5bef4a9ae395f033cf9e5731f655c13a60288cc
5
5
  SHA512:
6
- metadata.gz: 107ecab5c83c4880d7fd9e6786abf276d09463f89afb0fbd285fdecc6e17994c6fb701a0fc62b9b785722c64542b110a6c5b807f67a9d1359d9360b0f89ca26e
7
- data.tar.gz: be8401e59193c52b84e5ba0075947bd78cc474eb907ca89defb83f7768e6b46e4203c29e83ae9ecacc168ab6de0f3b8dadfa608ffab6933d5b56db8dd23348f5
6
+ metadata.gz: b956cc5fec53ac64e81d73a16d62cc7a1022d19ab3256d1b967020fc3f73b5be8e865c2b457636c2ca75ec10f74a2cd6c9a358ad9ff06311df0f348ecd07f80a
7
+ data.tar.gz: d796d0dd658c743734954f370451f626b0b45b312a9c2d7df8a1352e58d12aafdc78cdcb0997edd7325654073ca9b2fe2a60d1ef6f44d4d17446cf6dbb24d475
data/lib/client.rb CHANGED
@@ -56,8 +56,9 @@ module Client
56
56
  #
57
57
  def retrieve_emails(imap, search_condition, folder, &process_email_block)
58
58
 
59
- # select folder
60
- imap.select folder
59
+ # examine will read email and sets flags unread
60
+ # https://stackoverflow.com/questions/16516464/read-gmail-xoauth-mails-without-marking-it-read
61
+ imap.examine folder
61
62
 
62
63
  message_ids = imap.search(search_condition)
63
64
 
@@ -1,3 +1,3 @@
1
1
  module NaviClient
2
- VERSION = "1.2.5"
2
+ VERSION = "1.2.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: navi_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Surya
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-01-24 00:00:00.000000000 Z
12
+ date: 2018-01-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  requirement: !ruby/object:Gem::Requirement