cnvrg 1.6.25 → 1.6.26

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: ab26532233ba8d24852e3e27ff91720b61105219cdacc7c17b9a2ef1326b6e94
4
- data.tar.gz: 483b9aa7d431552ecc8f27e7dfdb9b8810ff9f93c1384899c6fca9769258d6a3
3
+ metadata.gz: b90d814761168667e43372f1966e30a2d5a821568bcf28d913dffcbda6b033c7
4
+ data.tar.gz: c72d65d79f183cad5002bd2c14f940e6d51a9ef7a869bac12172a5bcc4ddbc76
5
5
  SHA512:
6
- metadata.gz: 1045d2abd4124902578ab2f82dfc493e9608e94f65a4413b16172fbb083a673b14e66d967573ba0a6e47dfbe0d8c89518f1ed2c21a72872ad7823f06b8b07f92
7
- data.tar.gz: 3d15023d9d8fdf87569400f2ba5fffffe990ceb5a9795b21906e35784d3f4bb9ab7bc4a83c5e22b56f48f04cef5b7048488eb4ffbe492d4f4b260c338a9946b5
6
+ metadata.gz: d093bd678b362dc9297e69a3b1454811e036c2eaf476aab4083df5da5e18492d6951fda662f02818b52776c43c6b6881c624db205066b5cf0ee314ec6a187588
7
+ data.tar.gz: 06f86968182f724358ffe7d241afaa8dfcc9c6b834cabae3c75b82e2326b286abc547dd9458b9a3c1a984d846abc7611b54379dadea934ca0c5d767d61b721d0
data/lib/cnvrg/cli.rb CHANGED
@@ -1229,14 +1229,14 @@ module Cnvrg
1229
1229
  end
1230
1230
  if commit.blank?
1231
1231
  res = @datafiles.put_commit(@commit)
1232
- unless res.is_success?
1233
- raise SignalException.new(1, res.msg)
1234
- end
1232
+ #unless res.is_success?
1233
+ # raise SignalException.new(1, res.msg)
1234
+ #end
1235
1235
  else
1236
1236
  res = @datafiles.end_commit(@commit,false, success: true )
1237
- unless res.is_success?
1238
- raise SignalException.new(1, res.msg)
1239
- end
1237
+ #unless res.is_success?
1238
+ # raise SignalException.new(1, res.msg)
1239
+ #end
1240
1240
  end
1241
1241
  log_message("Uploading files finished Successfully", Thor::Shell::Color::GREEN)
1242
1242
  rescue SignalException => e
@@ -2953,7 +2953,7 @@ module Cnvrg
2953
2953
  method_option :image, :type => :string, :aliases => ["--image"], :default => nil
2954
2954
  method_option :grid, :type => :string, :aliases => ["-g", "--grid"], :default => ""
2955
2955
  method_option :data, :type => :string, :aliases => ["-d", "--data"], :default => ""
2956
- method_option :datasets, :type => :string, :aliases => ["--datasets"], :desc => "'[{\"id\": \"dataset id\", \"commit\": \"commit id\", \"query\": \"query name\", \"tree_only\": true]'", :default => ""
2956
+ method_option :datasets, :type => :string, :aliases => ["--datasets"], :desc => "'[{\"id\": \"dataset id\", \"commit\": \"commit id\", \"query\": \"query name\", \"tree_only\": true, \"use_cached\": true]'", :default => ""
2957
2957
  method_option :data_commit, :type => :string, :aliases => ["--data_commit"], :default => ""
2958
2958
  method_option :ignore, :type => :string, :aliases => ["-i", "--ignore"], :desc => "ignore following files", :default => ""
2959
2959
  method_option :force, :type => :boolean, :aliases => ["-f", "--force"], :default => false
@@ -914,7 +914,7 @@ module Cnvrg
914
914
  begin
915
915
  response = Cnvrg::API.request("#{base_resource}/commit/end", 'POST', {commit_sha1: commit_sha1,force:force, success: success, uploaded_files: uploaded_files})
916
916
  Cnvrg::CLI.is_response_success(response, true)
917
- return response
917
+ #return response
918
918
  rescue => e
919
919
  return false
920
920
  end
data/lib/cnvrg/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Cnvrg
2
- VERSION = '1.6.25'
2
+ VERSION = '1.6.26'
3
3
  end
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.6.25
4
+ version: 1.6.26
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-02-22 00:00:00.000000000 Z
13
+ date: 2020-02-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler