cnvrg 1.11.16 → 1.11.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d926eae291193b7825dd245df0fc6264d453f57a88148f9b6d1025765f46fe9
4
- data.tar.gz: 263091dc8128e54550553060f00e618893b3a529edea19333f07ef7f0e6940b4
3
+ metadata.gz: 7fa5b2801b29b6714aedcba33ae817bbf23e97f567d5dbb26f472c26b0483b95
4
+ data.tar.gz: 3b2993cd78a012f5252f9fd98ef2621d976c94c36b26a197557ca6c4ea6ad923
5
5
  SHA512:
6
- metadata.gz: 5ee14cad71d33b86c33d9be72aacc6c55366ebfc34bae2edd6a45209615ff2f1b9a5d0dcc87b1dd50c7d6d16089b59d28e15e4ad4bcacefa017fe47f681558f2
7
- data.tar.gz: 6875aea13fbfad4b92d85b34202a301399a066963367ecaeb5a379b614a0c030ccc1fa0d660ce865b572daf24bd077311b9b868a6cba9330766e948f3b083a92
6
+ metadata.gz: f011cb9515169650552aec66df27f5eac692f303630411ef41ae62b25975190b1411d0d02f1bd54a8afe2f7955b6bdf24a62b18201db4c875d4189dfcf5a5e75
7
+ data.tar.gz: a655213fd5f2cbd52fc772b8f4fb2249f8ba21af51f8afbd69e330f1c1f792f4bea4b133a7cf9d015f1cdff853e4dba253a3c163206ddbd4da8c425a948494d3
@@ -787,6 +787,7 @@ module Cnvrg
787
787
  end
788
788
  else
789
789
  file_path += postfix
790
+
790
791
  # blob
791
792
  begin
792
793
  if not File.exists?(project_home+"/"+File.dirname(file_path))
@@ -795,12 +796,17 @@ module Cnvrg
795
796
  local_path = project_home+"/"+file_path
796
797
  storage_path = f["path"]
797
798
  @client.safe_download(storage_path, local_path)
798
- progress.progress += 1 if progress.present?
799
- download_succ_count += 1
800
799
  rescue => e
801
800
  cli.log_message("Could not download file #{file_path}. error: #{e.message}", Thor::Shell::Color::RED)
802
801
  raise e
803
802
  end
803
+
804
+ # progressbar can throw an exception so we no longer trust it!
805
+ begin
806
+ progress.progress += 1 if progress.present?
807
+ ensure
808
+ download_succ_count += 1
809
+ end
804
810
  end
805
811
  end
806
812
  if download_succ_count == files["keys"].size
@@ -1,3 +1,3 @@
1
1
  module Cnvrg
2
- VERSION = '1.11.16'
2
+ VERSION = '1.11.17'
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.11.16
4
+ version: 1.11.17
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: 2021-01-25 00:00:00.000000000 Z
13
+ date: 2021-01-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler