cnvrg 1.9.9.5 → 1.9.9.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: 8d2e4f14c9dfbb2875eebd2de45262eff3e4a2bc848e7d0305610092c84faa46
4
- data.tar.gz: 6ba88a0190689ba218441f1f6c6d9307b71cf5a889a3649692aa556656e533ab
3
+ metadata.gz: fd47735837c5b994e5a7b614ac38dacabb094872e4edcefe92374a726874f6e4
4
+ data.tar.gz: 63029e65065352cf285d1321e73e2f51bab63518460a6ffcd69920c80a4ea833
5
5
  SHA512:
6
- metadata.gz: cd22dd71906534018350166af1f23d20b8aa085dfb88b09d750974dd0f0229337a36efcdd34455ad9e0435846e7f4333bd5c4a5e3cf353ad8ca926ee011a8993
7
- data.tar.gz: a4cae273a0000073d3955f60c0ebc5dd88c5b4ac1f28d5c09b1e99bbffe284446d8bee93bd97d33f2ba58052222d51c69c28a2c4bc31322205cf779e4adf7f2f
6
+ metadata.gz: 8c202546702f4c041f1d2bad1443240f35168b0a5c489503f1d9852e612f49ffd60a6b68c8066a02e39ba8e131451166121afeb68a063a5f040d1d9938a805ab
7
+ data.tar.gz: 6e5296dda882e2d9dcf9d06ec72b6c0ffe69a089aa82f846846dd7daa46f9ff698e25da3ce7fb0eb96d3c9488803d022d06065bcc7791adfa8f8bc75a1ce1cf5
@@ -168,7 +168,7 @@ module Cnvrg
168
168
  error = nil
169
169
  upload_resp = nil
170
170
  10.times do
171
- upload_resp = Cnvrg::API.request(@base_resource + "upload_files", 'POST_JSON', {commit_sha1: commit_sha1, tree: tree, force: force, is_branch: new_branch, partial_commit: partial_commit})
171
+ upload_resp = Cnvrg::API.request(@base_resource + "upload_files", 'POST_JSON', {commit_sha1: commit_sha1, tree: tree, override: force, is_branch: new_branch, partial_commit: partial_commit})
172
172
  if Cnvrg::CLI.is_response_success(upload_resp, false)
173
173
  error = nil
174
174
  break
@@ -197,20 +197,19 @@ module Cnvrg
197
197
 
198
198
  files = results['files']
199
199
 
200
- progressbar.progress += tree.keys.length - files.length if progressbar.present?
201
200
  progress_semaphore = Mutex.new
202
201
  upload_error_files = []
203
202
  @temp_upload_progressbar.progress += tree.keys.length - files.length if @temp_upload_progressbar.present?
204
203
  Parallel.map((files.keys), in_threads: threads) do |k|
205
204
  o = tree[k].merge(files[k])
206
- success = upload_single_file(o)
205
+ success = upload_single_file(nil, o)
207
206
  if not success
208
207
  upload_error_files << {absolute_path: o[:absolute_path]}
209
208
  files.except!(k)
210
209
  tree.except!(k)
211
210
  Cnvrg::Logger.log_error_message("Error while upload single file #{o["path"]}")
212
211
  end
213
- progress_semaphore.synchronize { progressbar.progress += 1 if progressbar.present? }
212
+ progress_semaphore.synchronize { @temp_upload_progressbar.progress += 1 if @temp_upload_progressbar.present? }
214
213
  end
215
214
 
216
215
  blob_ids = files.values.map {|f| f['bv_id']}
@@ -1,3 +1,3 @@
1
1
  module Cnvrg
2
- VERSION = '1.9.9.5'
2
+ VERSION = '1.9.9.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cnvrg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.9.5
4
+ version: 1.9.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yochay Ettun
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-07-19 00:00:00.000000000 Z
13
+ date: 2020-07-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler