cnvrg 1.11.1 → 1.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cnvrg/cli.rb +1 -1
- data/lib/cnvrg/files.rb +2 -2
- data/lib/cnvrg/helpers.rb +1 -1
- data/lib/cnvrg/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: 70906f4870c9aa2b3457673212893d09e6b5f22e15a5dc4c3b0cc2115e74d8d9
|
4
|
+
data.tar.gz: ff9de0565cf2c81102c68a21154af1f97d843e65d51fc8eb69f3a490b64bb9a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d839249d813d8004c9d00553f81273e890d7beb3bfab4bb65b64453f459bd6e4c366c59b35cee2773716e2c26f6f5b30223937837e088fe964e98a60b242c6e3
|
7
|
+
data.tar.gz: f7cac4b24a2f7fc275e28dd03b2fad4b7374dd52c648dd84f36652d6e7bd61f24e834aa89b1f826ac39e7680aa7cbfc6ca1564bc3611fdfe53dfd650368d7319
|
data/lib/cnvrg/cli.rb
CHANGED
@@ -1905,7 +1905,7 @@ module Cnvrg
|
|
1905
1905
|
log_message("Remove dir in order to clone #{project_name}", Thor::Shell::Color::RED)
|
1906
1906
|
exit(1)
|
1907
1907
|
end
|
1908
|
-
|
1908
|
+
|
1909
1909
|
end
|
1910
1910
|
clone_resp = Project.clone_dir(slug, owner, project_name,git)
|
1911
1911
|
project_home = Dir.pwd + "/" + project_name
|
data/lib/cnvrg/files.rb
CHANGED
@@ -115,7 +115,7 @@ module Cnvrg
|
|
115
115
|
#upload files
|
116
116
|
blob_id_chunk = Parallel.map(files.keys, in_threads: ParallelThreads) do |file|
|
117
117
|
begin
|
118
|
-
|
118
|
+
upload_single_file(files[file].merge(parsed_chunk_of_files[file]))
|
119
119
|
rescue => e
|
120
120
|
Cnvrg::CLI.log_message("Failed to upload #{file}: #{e.message}", 'red') unless suppress_exceptions
|
121
121
|
Cnvrg::Logger.log_error(e)
|
@@ -188,7 +188,7 @@ module Cnvrg
|
|
188
188
|
def upload_single_file(file)
|
189
189
|
path = file['path']
|
190
190
|
absolute_path = file[:absolute_path]
|
191
|
-
@client.
|
191
|
+
@client.safe_upload(path, absolute_path)
|
192
192
|
end
|
193
193
|
|
194
194
|
def parse_file(file)
|
data/lib/cnvrg/helpers.rb
CHANGED
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.2
|
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-
|
13
|
+
date: 2020-11-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -453,7 +453,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
453
453
|
- !ruby/object:Gem::Version
|
454
454
|
version: '0'
|
455
455
|
requirements: []
|
456
|
-
rubygems_version: 3.
|
456
|
+
rubygems_version: 3.0.4
|
457
457
|
signing_key:
|
458
458
|
specification_version: 4
|
459
459
|
summary: A CLI tool for interacting with cnvrg.io.
|