cnvrg 0.0.1424 → 0.0.1425
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 +0 -4
- data/lib/cnvrg/dataset.rb +0 -2
- data/lib/cnvrg/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 790e38ee4fcc3afbf61334057dcbeade70d043f5
|
4
|
+
data.tar.gz: b35c764d815b66408048c10938ce70953d4a41b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e22df4891aecdacefe9c1484637bb5091be498b16c789759964123563f8b29cba2619493a385d31204c898c0f1cbb815eec58ad6a36061ad15899e114e3a5a8d
|
7
|
+
data.tar.gz: 7c267c5472292388580ee81e4386f91773e3646e1c33d0ff4ed68e4e4e1d8853147a686b2559d3abdeb921aa5b788c2db67bf7e3cd4144a691262f5c2a8f1370
|
data/lib/cnvrg/cli.rb
CHANGED
@@ -1196,12 +1196,8 @@ module Cnvrg
|
|
1196
1196
|
exit(1)
|
1197
1197
|
end
|
1198
1198
|
say "Uploading data", Thor::Shell::Color::BLUE
|
1199
|
-
eta = Time.now + 600
|
1200
|
-
start = Time.now
|
1201
1199
|
res = false
|
1202
|
-
with_progress_bar do
|
1203
1200
|
res = @files.upload_tar_file(tar_path, tar_path, commit_sha1)
|
1204
|
-
end
|
1205
1201
|
|
1206
1202
|
if res
|
1207
1203
|
cur_idx = @dataset.get_idx.to_h
|
data/lib/cnvrg/dataset.rb
CHANGED
@@ -104,7 +104,6 @@ module Cnvrg
|
|
104
104
|
cnvrgignore = Helpers.cnvrgignore_content
|
105
105
|
begin
|
106
106
|
response = Cnvrg::API.request("cli/create_dataset", 'POST', {title: dataset_name, owner: owner, is_public: is_public})
|
107
|
-
|
108
107
|
Cnvrg::CLI.is_response_success(response)
|
109
108
|
response = JSON.parse response["result"]
|
110
109
|
dataset_slug = response["slug"]
|
@@ -117,7 +116,6 @@ module Cnvrg
|
|
117
116
|
File.open(".cnvrg/config.yml", "w+") { |f| f.write config.to_yaml }
|
118
117
|
File.open(".cnvrgignore", "w+") { |f| f.write cnvrgignore } unless File.exist? ".cnvrgignore"
|
119
118
|
rescue => e
|
120
|
-
|
121
119
|
return false
|
122
120
|
end
|
123
121
|
return true
|
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: 0.0.
|
4
|
+
version: 0.0.1425
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yochay Ettun
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-06-
|
12
|
+
date: 2017-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|