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 +4 -4
- data/lib/cnvrg/files.rb +8 -2
- data/lib/cnvrg/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: 7fa5b2801b29b6714aedcba33ae817bbf23e97f567d5dbb26f472c26b0483b95
|
|
4
|
+
data.tar.gz: 3b2993cd78a012f5252f9fd98ef2621d976c94c36b26a197557ca6c4ea6ad923
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f011cb9515169650552aec66df27f5eac692f303630411ef41ae62b25975190b1411d0d02f1bd54a8afe2f7955b6bdf24a62b18201db4c875d4189dfcf5a5e75
|
|
7
|
+
data.tar.gz: a655213fd5f2cbd52fc772b8f4fb2249f8ba21af51f8afbd69e330f1c1f792f4bea4b133a7cf9d015f1cdff853e4dba253a3c163206ddbd4da8c425a948494d3
|
data/lib/cnvrg/files.rb
CHANGED
|
@@ -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
|
data/lib/cnvrg/version.rb
CHANGED
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.
|
|
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-
|
|
13
|
+
date: 2021-01-26 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: bundler
|