cnvrg 1.11.25 → 1.11.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: 4fa2d41b1f7a80c14522b607d157762fccbee612e2b5663e41f102dde8ea8b50
4
- data.tar.gz: 1d8acf0aaeb2e47c9d9bb424a1a7f8cba2e75cddb0dced119309aa49702f21d8
3
+ metadata.gz: d5b1b849c4b05132d0dbdd9f23e767ecd0080b7ae01a96a9aad5bd5b0c7327e6
4
+ data.tar.gz: e4d57db1c3dede3fe7907ade6be0787d950d5b17db380c7032b41a7df12de577
5
5
  SHA512:
6
- metadata.gz: 86fa4e56ddb38cce2b6e18efdeab1316570a42bfe3f450c1eb497dba99a2444a10c2042c51ff3d5da3507c1ce22a2e7cedadd203e3514b93dd0c9c494dcab785
7
- data.tar.gz: c3388652c80427fd5e8e3e89289c853f238a2a01eddd46a04263e9e6df44feb64f2c315307ccad055ba7dad6dc8dad0c6619183fb7adcc0cf1a67e36553717d5
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
- "updated_on_server" => [],
527
- "updated_on_local" => [],
528
- "update_local" => [],
529
- "deleted" => [],
530
- "conflicts" => []}}}
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
@@ -1,3 +1,3 @@
1
1
  module Cnvrg
2
- VERSION = '1.11.25'
2
+ VERSION = '1.11.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.11.25
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-02-27 00:00:00.000000000 Z
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.0.9
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.