cnvrg 1.6.25 → 1.6.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/cnvrg/cli.rb +7 -7
- data/lib/cnvrg/datafiles.rb +1 -1
- data/lib/cnvrg/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b90d814761168667e43372f1966e30a2d5a821568bcf28d913dffcbda6b033c7
|
|
4
|
+
data.tar.gz: c72d65d79f183cad5002bd2c14f940e6d51a9ef7a869bac12172a5bcc4ddbc76
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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
|
-
|
|
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
|
data/lib/cnvrg/datafiles.rb
CHANGED
|
@@ -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
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.
|
|
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-
|
|
13
|
+
date: 2020-02-23 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: bundler
|