cnvrg 1.10.18 → 1.10.19
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 -2
- data/lib/cnvrg/datafiles.rb +4 -1
- data/lib/cnvrg/downloader/client.rb +1 -1
- data/lib/cnvrg/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 057f3283dffe548f882ed6cbdcfbc176e12fa75291f8a4867c8eee74fefd701f
|
4
|
+
data.tar.gz: fe30a40d86418cca0c98156ed89212ccfb159ead16dd248388a05f9d5bb3a05f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b5ccc6f603a06affd160bc928c8ee99acf045eccf3905dcc1c23ceca8b4efdb185c3f78716bb111973df0420a5356dbf3565c52a9fe298f4fccdc886f3b07d7
|
7
|
+
data.tar.gz: 1cc6cbaa4737fb0151bed559352292908479ffce6e2bb1ba65812aef19d91b935265ec80f8a2a0f52111c02b3944aecb79d89e8d72518f4db094c75766834228
|
data/lib/cnvrg/cli.rb
CHANGED
@@ -1194,7 +1194,6 @@ module Cnvrg
|
|
1194
1194
|
desc '', '', :hide => true
|
1195
1195
|
def data_put(dataset_url, files: [], dir: '', commit: '', chunk_size: 1000, force: false, override: false, threads: 15, message: nil)
|
1196
1196
|
begin
|
1197
|
-
verify_logged_in(false)
|
1198
1197
|
log_start(__method__, args, options)
|
1199
1198
|
|
1200
1199
|
owner, slug = get_owner_slug(dataset_url)
|
@@ -1218,7 +1217,7 @@ module Cnvrg
|
|
1218
1217
|
Cnvrg::Logger.info("Put files in latest commit")
|
1219
1218
|
response = @datafiles.last_valid_commit()
|
1220
1219
|
unless response #means we failed in the start commit.
|
1221
|
-
raise SignalException.new(1, "Cant put files into commit:#{commit}, check the dataset id and
|
1220
|
+
raise SignalException.new(1, "Cant put files into commit:#{commit}, check the dataset id and commit")
|
1222
1221
|
end
|
1223
1222
|
@commit = response['result']['sha1']
|
1224
1223
|
else
|
data/lib/cnvrg/datafiles.rb
CHANGED
@@ -52,7 +52,10 @@ module Cnvrg
|
|
52
52
|
end
|
53
53
|
raise SignalException.new(1, "Cant find file #{file}") unless File.exists? "#{Dir.pwd}/#{file}"
|
54
54
|
end
|
55
|
-
paths.
|
55
|
+
paths.each_slice(1000) do |chunk|
|
56
|
+
chunk.each { |p| p.gsub!(/^\.\//, '') }
|
57
|
+
end
|
58
|
+
paths
|
56
59
|
end
|
57
60
|
|
58
61
|
def get_files_and_folders(paths)
|
data/lib/cnvrg/version.rb
CHANGED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cnvrg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.
|
4
|
+
version: 1.10.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yochay Ettun
|
8
8
|
- Leah Kolben
|
9
9
|
- Omer Shacham
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-09-
|
13
|
+
date: 2020-09-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -438,7 +438,7 @@ files:
|
|
438
438
|
homepage: https://cnvrg.io
|
439
439
|
licenses: []
|
440
440
|
metadata: {}
|
441
|
-
post_install_message:
|
441
|
+
post_install_message:
|
442
442
|
rdoc_options: []
|
443
443
|
require_paths:
|
444
444
|
- lib
|
@@ -454,7 +454,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
454
454
|
version: '0'
|
455
455
|
requirements: []
|
456
456
|
rubygems_version: 3.1.2
|
457
|
-
signing_key:
|
457
|
+
signing_key:
|
458
458
|
specification_version: 4
|
459
459
|
summary: A CLI tool for interacting with cnvrg.io.
|
460
460
|
test_files: []
|