cnvrg 1.11.25 → 1.11.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 +0 -1
- data/lib/cnvrg/project.rb +8 -7
- data/lib/cnvrg/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d5b1b849c4b05132d0dbdd9f23e767ecd0080b7ae01a96a9aad5bd5b0c7327e6
|
|
4
|
+
data.tar.gz: e4d57db1c3dede3fe7907ade6be0787d950d5b17db380c7032b41a7df12de577
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a8755391132d2f30c2a7c35ab4fb3c12bbb3a6f3e29df282ca884c4a8917c03944e45639b5b03f9b1a576d65c7d57c9f3323d969271cff15ce973a0f5b42b66
|
|
7
|
+
data.tar.gz: 0e22fb319eee5086097ed6108c21e333048ac443b9a1b4813475eb1932aa0857aba97722cdef42a9c4fe0d26784c8a95efd628e5ac4def95f785458750851b95
|
data/lib/cnvrg/cli.rb
CHANGED
|
@@ -2320,7 +2320,6 @@ module Cnvrg
|
|
|
2320
2320
|
@project = Project.new(get_project_home)
|
|
2321
2321
|
chunk_size = chunk_size ? chunk_size : options["chunk_size"]
|
|
2322
2322
|
|
|
2323
|
-
|
|
2324
2323
|
# Enable local/experiment exception logging
|
|
2325
2324
|
suppress_exceptions = suppress_exceptions ? suppress_exceptions : options[:suppress_exceptions]
|
|
2326
2325
|
if in_exp
|
data/lib/cnvrg/project.rb
CHANGED
|
@@ -517,17 +517,17 @@ module Cnvrg
|
|
|
517
517
|
commit = local_idx[:commit]
|
|
518
518
|
tree = local_idx[:tree]
|
|
519
519
|
ignore_list = self.send_ignore_list()
|
|
520
|
-
if force
|
|
520
|
+
if force or specific_files.present?
|
|
521
521
|
added = []
|
|
522
522
|
if tree.present?
|
|
523
523
|
added += local_idx[:tree].keys
|
|
524
524
|
end
|
|
525
|
-
response = {"result" => {"commit" => nil, "tree" => {"added" => added,
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
525
|
+
response = { "result" => { "commit" => nil, "tree" => { "added" => added,
|
|
526
|
+
"updated_on_server" => [],
|
|
527
|
+
"updated_on_local" => [],
|
|
528
|
+
"update_local" => [],
|
|
529
|
+
"deleted" => [],
|
|
530
|
+
"conflicts" => [] } } }
|
|
531
531
|
return response
|
|
532
532
|
end
|
|
533
533
|
#we dont want to send it on download - we only compare between commits sha1 in download.
|
|
@@ -535,6 +535,7 @@ module Cnvrg
|
|
|
535
535
|
#the new server doesnt need the tree, but the old probably needs :X
|
|
536
536
|
local_idx[:tree] = {} if Cnvrg::Helpers.server_version > 0
|
|
537
537
|
end
|
|
538
|
+
|
|
538
539
|
response = Cnvrg::API.request(@base_resource + "status", 'POST', {idx: local_idx, new_branch: new_branch,
|
|
539
540
|
current_commit: commit, ignore: ignore_list, force: force, in_exp: in_exp, download: download})
|
|
540
541
|
|
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.11.
|
|
4
|
+
version: 1.11.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: 2021-
|
|
13
|
+
date: 2021-03-08 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: bundler
|
|
@@ -453,7 +453,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
453
453
|
- !ruby/object:Gem::Version
|
|
454
454
|
version: '0'
|
|
455
455
|
requirements: []
|
|
456
|
-
rubygems_version: 3.
|
|
456
|
+
rubygems_version: 3.1.2
|
|
457
457
|
signing_key:
|
|
458
458
|
specification_version: 4
|
|
459
459
|
summary: A CLI tool for interacting with cnvrg.io.
|