navi_email_sync 0.0.7 → 0.0.8
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 +5 -3
- data/lib/navi_client/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c81dcb543d3cae099d7637eecc84cc283497421784b1d211e264daa82d69c095
|
4
|
+
data.tar.gz: 86cebb13b0fa2e8c28a73ffb2d1e922ca9d728428fcfc8a84c74719f37286fc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e0c7740f329f9cc2091073476f37677e2d644b8ed3847a52c68ce7de5e0adfb73f2a5b8f1b46eef27ef7cc66de4d0075d9697eb3f15e8509f26ac49a6a6b733
|
7
|
+
data.tar.gz: 9c72f30623c29a87fd7b53f3ba949f4aee5b3a3a88a82107075d2c252517d26d578064d09dd2d0f0436868f9632b2d0c0b9e17b88154f10990f2929a3d60393a
|
@@ -61,8 +61,9 @@ module NaviEmailSync
|
|
61
61
|
@logger = logger
|
62
62
|
end
|
63
63
|
|
64
|
-
def set_token(token)
|
64
|
+
def set_token(token, client_token)
|
65
65
|
@token = token
|
66
|
+
@client = client_token
|
66
67
|
end
|
67
68
|
|
68
69
|
##
|
@@ -119,7 +120,8 @@ module NaviEmailSync
|
|
119
120
|
File.open(filename, 'w') do |f|
|
120
121
|
in_filenames.each { |element| f.puts(element) }
|
121
122
|
end
|
122
|
-
|
123
|
+
|
124
|
+
response = HTTPService::NaviAI.start(filepath: filename, client_type: @client_type, token: @token, client: @client,email: @current_user_email, is_last: is_last, email_count: email_count, total_emails: @total_emails)
|
123
125
|
return response
|
124
126
|
end
|
125
127
|
end
|
@@ -226,7 +228,7 @@ module NaviEmailSync
|
|
226
228
|
changes = false
|
227
229
|
Dir[@download_path + 'inputs/temp*'].each do |file_name|
|
228
230
|
if File.file? file_name
|
229
|
-
HTTPService::NaviAI.start(filepath: file_name, client_type: @client_type, token: @token, email: @current_user_email, total_emails: @total_emails)
|
231
|
+
HTTPService::NaviAI.start(filepath: file_name, client_type: @client_type, client: @client, token: @token, email: @current_user_email, total_emails: @total_emails)
|
230
232
|
changes = true
|
231
233
|
end
|
232
234
|
end
|
data/lib/navi_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: navi_email_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sanjib
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
156
|
version: '0'
|
157
157
|
requirements: []
|
158
158
|
rubyforge_project:
|
159
|
-
rubygems_version: 2.7.
|
159
|
+
rubygems_version: 2.7.7
|
160
160
|
signing_key:
|
161
161
|
specification_version: 4
|
162
162
|
summary: Write a short summary, because Rubygems requires one.
|