nex_client 0.15.0.pre2 → 0.15.0

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
  SHA1:
3
- metadata.gz: 4623d879686e7a0ba5588bb81ff60fccb49166f0
4
- data.tar.gz: 9ecb670afcc265e4ddbbbdef066e44616b42f47a
3
+ metadata.gz: 3cf9ee63f05c80c764ea3e0007a4933f40b62542
4
+ data.tar.gz: 1a0da520b96e8f0e29400bce6abc6c506091d63e
5
5
  SHA512:
6
- metadata.gz: 57621a0f904473f7db5edb7cd9c41d345cc4eab5d18e3168e8395d75618f11bce68a5b60e36ab440b01ee0af5ce83e2512b70005fa45e0f3e65366aaf2e5b938
7
- data.tar.gz: 634af28770112f3ae4e3cd19cca0ea36e2a02544b7c8d64cb3f8f0716459d7258d9f204ec9540bbec2089eccfb7b89810186288f532e1f35c47de33155217307
6
+ metadata.gz: 2e15e0f441bd717a8684f8a466223d79717feca4ac2cb4ad097f38c3b0db02382a64730ee2fa16d5110cb5e3c189fc420fba5a7ea598364af1ebf17e0b6389dc
7
+ data.tar.gz: 20f12b7be4e354f786939d0a639f717ad394ed197225429bb7d4e96fa7bf8ba137ee6d6a518922df5985ecf96258d9a7c89fd457121898226d3020abc173cc70
@@ -45,7 +45,7 @@ module NexClient
45
45
 
46
46
  def self.info(args,opts)
47
47
  name = args.first
48
- e = NexClient::App.includes(:addons,:owner,:domains,:ssl_certificates).find(name: name).first
48
+ e = NexClient::App.includes(:addons,:owner,:domains,:ssl_certificates, :cube_instances).find(name: name).first
49
49
 
50
50
  # Display error
51
51
  unless e
@@ -76,6 +76,9 @@ module NexClient
76
76
 
77
77
  # Display all addons
78
78
  Addons.display_addons(e.addons.select { |a| a.status == 'active'})
79
+
80
+ # Display Cubes
81
+ CubeInstances.display_cubes(e.cube_instances)
79
82
  end
80
83
 
81
84
  # Retrieve application logs from all containers
@@ -438,6 +441,7 @@ module NexClient
438
441
  puts "\n"
439
442
  end
440
443
 
444
+
441
445
  def self.format_record(record)
442
446
  owner = self.format_owner(record)
443
447
  node_count = self.format_node_count(record)
@@ -1,3 +1,3 @@
1
1
  module NexClient
2
- VERSION ||= '0.15.0.pre2'
2
+ VERSION ||= '0.15.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nex_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0.pre2
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Lachaume
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-07 00:00:00.000000000 Z
11
+ date: 2016-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json_api_client
@@ -167,9 +167,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
167
167
  version: '0'
168
168
  required_rubygems_version: !ruby/object:Gem::Requirement
169
169
  requirements:
170
- - - ">"
170
+ - - ">="
171
171
  - !ruby/object:Gem::Version
172
- version: 1.3.1
172
+ version: '0'
173
173
  requirements: []
174
174
  rubyforge_project:
175
175
  rubygems_version: 2.5.1