morpheus-cli 3.5.1.2 → 3.5.1.3

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
  SHA256:
3
- metadata.gz: a2c377489b360bdecb8e09beb55f26f0132f86fdfe9de85b7199f185640290d3
4
- data.tar.gz: 98a031f9eb75699ff0e6f7420fead42ba257e47a5876503b6c1bc36f1f355617
3
+ metadata.gz: 5e9f063e72c623f8a392db49dc77b94b06415473c2c18c7bff94ccc5218a022c
4
+ data.tar.gz: 6a66477f1c7c240ab9ddb4aec6179f6b25f1422005d85ceedbd5de32631097be
5
5
  SHA512:
6
- metadata.gz: 36d00338167560525f3110e7c931d22d20f8d5c036cab21df50ac84b1a0ec2487978f02f3692256fb27227def5e1051fdd941736b08974f869accff76b4de8c0
7
- data.tar.gz: b351fac642c9a816da640331e97482ece7d4d27b4a018d5a1f89344c2061e0385b3820f84ca41d09ff236ce702ecad1af8a421a627abf15ac6ce9b268b6cfdc5
6
+ metadata.gz: 42f2e77de921b17cd70a69f643df6af7e8f4545aea5008a9ba0f35db4c505e3ef303cfa34c0253e4de4438a804efc3e1e78252fe1b0aae6bdac104760f9af3d3
7
+ data.tar.gz: 6d8400cff18682f4274aeafac9f5ade199cc037106efe03b7a980e7151fba23fbc807e9ef3b0e1856a9528547c51949cef983bcf439b211acea8c1c490205f6c
@@ -40,16 +40,9 @@ module Morpheus
40
40
  end
41
41
  rescue ::RestClient::Exception => e
42
42
  #raise e
43
- if (e.response && e.response.code == 400)
44
- print_red_alert "Token not valid."
45
- if opts[:json]
46
- whoami_response = JSON.parse(e.response.to_s)
47
- print JSON.pretty_generate(whoami_response)
48
- print reset, "\n"
49
- end
50
- else
51
- #print_rest_exception(e, opts)
52
- print_red_alert "Token not valid."
43
+ print_red_alert "Token not valid."
44
+ if opts[:debug] || opts[:debug]
45
+ print_rest_exception(e, opts)
53
46
  end
54
47
  access_token = nil
55
48
  end
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Morpheus
3
3
  module Cli
4
- VERSION = "3.5.1.2"
4
+ VERSION = "3.5.1.3"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: morpheus-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.1.2
4
+ version: 3.5.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Estes
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2018-09-21 00:00:00.000000000 Z
14
+ date: 2018-09-24 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler