cnvrg 2.0.15 → 2.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Readme.md +3 -0
- data/lib/cnvrg/cli.rb +2 -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: 7c04990b9e466d74e4ba90092109234a5488f1845db38bac6e3c121d8e6a7508
|
4
|
+
data.tar.gz: 253358287a518824c5d22aeda7f4b9c2a9197e57d14177c8757806470258021a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df209c738e03b869cc5ccc50694a2ce705fe3c9ba2459a1ddbbeb64b9ab433fdf8bd880bbd4f1d24ce2420ebbf0180b53c87b564e89d3b41df86c55a3b6a5ede
|
7
|
+
data.tar.gz: 9bcd79dafb0d9b00626df5b873e8c787731afe2e297292bb184c2e2250062e4ccf5766539a9600d1c078568e2db8c13e9e88842dc6262c8a0c40cc75c80ab07a
|
data/Readme.md
CHANGED
@@ -65,4 +65,7 @@
|
|
65
65
|
* DEV-11834 - Sub-task: add device name to hpu metrics
|
66
66
|
## Version v2.0.15
|
67
67
|
2021-12-12
|
68
|
+
* DEV-12316 - Improvement: cli login should identify saas users automatically
|
69
|
+
## Version v2.0.16
|
70
|
+
2021-12-16
|
68
71
|
* DEV-12316 - Improvement: cli login should identify saas users automatically
|
data/lib/cnvrg/cli.rb
CHANGED
@@ -518,7 +518,8 @@ module Cnvrg
|
|
518
518
|
end
|
519
519
|
@email = ask("Enter your email:")
|
520
520
|
url = Cnvrg::API.endpoint_uri()
|
521
|
-
|
521
|
+
use_token = true if url.include?("cloud.cnvrg.io")
|
522
|
+
if use_token
|
522
523
|
@token = cmd.ask("Enter your token (hidden):") {|q| q.echo = "*"}
|
523
524
|
netrc[Cnvrg::Helpers.netrc_domain] = @email, @token
|
524
525
|
netrc.save
|
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.16
|
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-12-
|
13
|
+
date: 2021-12-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|