navi_client 1.4.5 → 1.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/local/navi_local_client.rb +3 -2
- data/lib/navi_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd0aa72e155dc4cd9e9ba261311254956e077dd65a937a8cadbb1425c34e9ad5
|
4
|
+
data.tar.gz: c1d6602c29586a616eb7d678b74c8180ec03ce425f5ec3d4455d27afad3c8cc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a37ebf281e631505e272b76093181219d6b8c13c3e61b94f376b051016df14958517c61935903c0908cf58790e1a3a66564c7dbe905b35e24e05e7328e2bc0b
|
7
|
+
data.tar.gz: 219ea63df081ff6e82a378e6474672cd4463b956f4630281fc48b09ffa803b50c5832dbf7d5b55dc1d0384bce3d25414147a990e37b92ac49824d1d05ffaea18
|
@@ -160,16 +160,17 @@ module NaviClient
|
|
160
160
|
# We're out, which means there are some emails ready for us.
|
161
161
|
# Go do a search for UNSEEN and fetch them.
|
162
162
|
filenames = []
|
163
|
+
stamp = (Time.now.to_f * 1000).to_s
|
163
164
|
retrieve_emails(imap, search_condition, folder) { |mail, i, isLast, id|
|
164
165
|
callback.call(mail, i, id, false) unless callback.nil?
|
165
|
-
filenames << process_email(mail, id)
|
166
|
+
filenames << process_email(mail, id, stamp)
|
166
167
|
callback.call(mail, i, id, true) unless callback.nil?
|
167
168
|
}
|
168
169
|
|
169
170
|
@logger.info "Sending Request for #{filenames.size} emails to Navi AI."
|
170
171
|
navi_control.call(true) unless navi_control.nil?
|
171
172
|
stamp = (Time.now.to_f * 1000).to_s
|
172
|
-
self.send_request(filenames, stamp, true)
|
173
|
+
self.send_request(filenames, stamp, is_last: true)
|
173
174
|
|
174
175
|
# HTTPService::NaviAI.generate_csv("#{@gen_csv_url}?email=#{username}", @token)
|
175
176
|
|
data/lib/navi_client/version.rb
CHANGED
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.4.
|
4
|
+
version: 1.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sujit
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-05-
|
13
|
+
date: 2018-05-30 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|