blockspring-cli 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4060661d1bbb9771a428022b003a7fd004b5a514
4
- data.tar.gz: 8ce83e546e1756c4f64647a30645d50ec6e272dc
3
+ metadata.gz: 2f55c900c367b742fcafa77dbba5fd57ec58aeb3
4
+ data.tar.gz: 4fa104238d2ec72b7c0d4ab3218e582916b948a2
5
5
  SHA512:
6
- metadata.gz: a20065e1cb01b39504754e3d43f7159ce5e6390916da649a66c10bbf02f83a14f03fc4278772c6db0e9181d550f66b9f50a1b0c11efd66fceae686d681008817
7
- data.tar.gz: c9b281cc0fa15dde977720e7ef3b13282985f3a5da2b711ef69e6645732d2d9266de9cacf29da77df2c3bb016b49cacdc00798743d2c3827f0d2b91ce48687c3
6
+ metadata.gz: f45471dc6b65da042ca8a6d94d1f36d074fec18d1edd7c8ba420885b483f28f70995078d9dfbff9cb8fe0b9605892241789895c98fe1b328da1d6ca8ea10595e
7
+ data.tar.gz: c194e8ffa67e470abb93de9347e8b2430ee3159edf65e34cf2a74a194a8609ea8df824e31cb02f0b2c7e7068f7615cd490e1f07010a99fca0802733af5c105cc
@@ -9,7 +9,10 @@ class Blockspring::CLI::Command::Auth < Blockspring::CLI::Command::Base
9
9
  end
10
10
 
11
11
  def login
12
- Blockspring::CLI::Auth.reauthorize
12
+ user, _key = Blockspring::CLI::Auth.reauthorize
13
+ if user
14
+ puts "You are logged in as #{user}"
15
+ end
13
16
  end
14
17
 
15
18
  def logout
@@ -1,5 +1,5 @@
1
1
  module Blockspring
2
2
  module CLI
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blockspring-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blockspring