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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8009827a102d9ea4bda3e07d95ad52a23fe7202b2670850952fb345acac7b906
4
- data.tar.gz: aa91b22c83120d50f0631945d06f4d878e1cea4d2f9d950f6e29fbba17305f21
3
+ metadata.gz: 057f3283dffe548f882ed6cbdcfbc176e12fa75291f8a4867c8eee74fefd701f
4
+ data.tar.gz: fe30a40d86418cca0c98156ed89212ccfb159ead16dd248388a05f9d5bb3a05f
5
5
  SHA512:
6
- metadata.gz: 2159ce3f1e3b55390b599a72b80c1b6de559554380d5b294922ddd001cff2c944cf6614bb582f184c62be6299826f4a1860257a5426c6534a254ea195bb9910c
7
- data.tar.gz: ccb989d604602dbcfcee6f40725ae8a45875744f222b7aa717ddfe2760483361d03a16f6e016179acf82c0c493d9a3518a548d18dbb850a7cf0fc0b99aef0120
6
+ metadata.gz: 5b5ccc6f603a06affd160bc928c8ee99acf045eccf3905dcc1c23ceca8b4efdb185c3f78716bb111973df0420a5356dbf3565c52a9fe298f4fccdc886f3b07d7
7
+ data.tar.gz: 1cc6cbaa4737fb0151bed559352292908479ffce6e2bb1ba65812aef19d91b935265ec80f8a2a0f52111c02b3944aecb79d89e8d72518f4db094c75766834228
@@ -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 commitc")
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
@@ -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.map{|p| p.gsub(/^\.\//, '')}
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)
@@ -14,7 +14,7 @@ module Cnvrg
14
14
  end
15
15
 
16
16
  def extract_key_iv(sts_path)
17
- sts = open(sts_path).read rescue nil
17
+ sts = open(sts_path, {ssl_verify_mode: 0}).read rescue nil
18
18
  raise StandardError.new("Cant open sts") if sts.blank?
19
19
  sts.split("\n")
20
20
  end
@@ -1,3 +1,3 @@
1
1
  module Cnvrg
2
- VERSION = '1.10.18'
2
+ VERSION = '1.10.19'
3
3
  end
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.18
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-15 00:00:00.000000000 Z
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: []