cnvrg 2.0.16 → 2.0.17
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/Readme.md +4 -1
- data/lib/cnvrg/cli.rb +1 -2
- 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: 8498090d7edb55682fcc70778016643eba8e37e8a4b588e149ee318b1beecfd8
|
|
4
|
+
data.tar.gz: 3413d316dbf02cd6e4e8b3adc8f3d3760da0e1e7b39c60c322a8293b63ebb921
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db819d57216a924cdbe8eacff8b1c5fdf6d95c082da67b7b54d21e5958ab7ca1fd3c9c636c461b86d5f04bb3c31c85b3ab2ed92679267d98c9d0b913df986c54
|
|
7
|
+
data.tar.gz: 14575293bf59438342f840ab230327be08b088ced95aafd51429dd046370b27337f99b520ff4c224355bf8477e7d0d5490a87476937c68cb2b42a8d88b1d983b
|
data/Readme.md
CHANGED
|
@@ -68,4 +68,7 @@
|
|
|
68
68
|
* DEV-12316 - Improvement: cli login should identify saas users automatically
|
|
69
69
|
## Version v2.0.16
|
|
70
70
|
2021-12-16
|
|
71
|
-
* DEV-12316 - Improvement: cli login should identify saas users automatically
|
|
71
|
+
* DEV-12316 - Improvement: cli login should identify saas users automatically
|
|
72
|
+
## Version v2.0.17
|
|
73
|
+
2021-12-19
|
|
74
|
+
* DEV-10581 - Bug: CLI - getting 404 response in "cnvrg set_default_owner"
|
data/lib/cnvrg/cli.rb
CHANGED
|
@@ -363,7 +363,7 @@ module Cnvrg
|
|
|
363
363
|
config = YAML.load_file(path)
|
|
364
364
|
|
|
365
365
|
username = config.to_h[:username]
|
|
366
|
-
res = Cnvrg::API.request("/users/#{username}/get_possible_owners", 'GET')
|
|
366
|
+
res = Cnvrg::API.request("/api/v1/users/#{username}/get_possible_owners", 'GET')
|
|
367
367
|
if Cnvrg::CLI.is_response_success(res)
|
|
368
368
|
owner = username
|
|
369
369
|
result = res["result"]
|
|
@@ -372,7 +372,6 @@ module Cnvrg
|
|
|
372
372
|
choose_owner = result["username"]
|
|
373
373
|
if owners.empty?
|
|
374
374
|
else
|
|
375
|
-
owners << choose_owner
|
|
376
375
|
chosen = false
|
|
377
376
|
while !chosen
|
|
378
377
|
owners_id = owners.each_with_index.map {|x, i| "#{i + 1}. #{x}"}
|
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: 2.0.
|
|
4
|
+
version: 2.0.17
|
|
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:
|
|
13
|
+
date: 2022-01-06 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: bundler
|
|
@@ -488,7 +488,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
488
488
|
- !ruby/object:Gem::Version
|
|
489
489
|
version: '0'
|
|
490
490
|
requirements: []
|
|
491
|
-
rubygems_version: 3.
|
|
491
|
+
rubygems_version: 3.0.3
|
|
492
492
|
signing_key:
|
|
493
493
|
specification_version: 4
|
|
494
494
|
summary: A CLI tool for interacting with cnvrg.io.
|