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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4092be1be35506977a7f1b4778b5bb1dfa234a02fc572812e773069f38e3d518
4
- data.tar.gz: f8e954f4bbcbb4b735966c1391c3570c6ab7bf32036c825b7fd6a25460a7d5ef
3
+ metadata.gz: 7c04990b9e466d74e4ba90092109234a5488f1845db38bac6e3c121d8e6a7508
4
+ data.tar.gz: 253358287a518824c5d22aeda7f4b9c2a9197e57d14177c8757806470258021a
5
5
  SHA512:
6
- metadata.gz: 8e80a6d6d66eb5101eaa82c339c9c3862d4e39fbaaff7ba6e6d2278d0be5ef1cfc1b7b029e50dd567bf79af389911e2d27ad0d056e33110d1c56b4d613008b33
7
- data.tar.gz: ab28db04b2d89b4170c1df63c7fec38c0027538f0e5620672a8ca358fd3234e4d177cdadaf46f5ebb8fe0c5c90f20cfd97179d1456201432b14b094b1555b666
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
- if use_token or url.include?("cloud.cnvrg.io")
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
@@ -1,3 +1,3 @@
1
1
  module Cnvrg
2
- VERSION = '2.0.15'
2
+ VERSION = '2.0.16'
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: 2.0.15
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-12 00:00:00.000000000 Z
13
+ date: 2021-12-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler