appfront 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/appfront/command/flows.rb +12 -12
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: adaee53b066fd818cefd758ffdbc09e81c43e688
4
- data.tar.gz: 33cf0053028244547452efcdcba11271141682bd
3
+ metadata.gz: 06392c05b9fbc4af47f11da4ba8ca7e1f277bbf0
4
+ data.tar.gz: 63710f91a84ce914b7b5de732b3771ea6af42ab7
5
5
  SHA512:
6
- metadata.gz: e7a64a3d4181002c11c45142729e25328775b2b7977b2b127c0eac36529f85e116c262591a12bdc9054c4b4bd07087f2f9f6993de0c1b56d961adc7603f844b1
7
- data.tar.gz: a66b2cc424506296d3fa484aab4f205b76bf52139e726dfeccbb004da6a79cd07dec9ada52a3b138ca28c00414bc1588e4f3309b1406e3613df758101220f46f
6
+ metadata.gz: 3037ee23a076c0c0a752965175d520f397d23df6a82a397a30003786168336240d3ae78551749474c88f0cd1f5873581c0079f46c2dd0ea8c420405c2601b7bd
7
+ data.tar.gz: 6e8c922e405285495198203915d866413328a4b593554fefa537f1342dafd41dd9c913d24e038470854b6da7d7132e7c80c5842e76f58fd4852aa6bd40cbbcae
@@ -37,20 +37,20 @@ class Appfront::Command::Flows < Appfront::Command::Base
37
37
 
38
38
  h = api.get "/flow/#{@flow}"
39
39
 
40
- puts "=== #{@flow}"
40
+ puts "=== Flow: #{h['name']}"
41
41
  puts
42
- puts "Git URL:\t#{h['git_repo']}"
43
- puts "Owner Email:\t#{h['owner_email']}"
44
- puts "Region:\t\tEU"
45
- # puts "Slug Size:\t#{h['slug_size']}"
46
- puts "Web URL:\thttp://#{h['live_address']}"
47
-
48
- return unless (db = h['db'])
42
+ puts "\t Flow uuid: #{h['uuid']}"
43
+ puts "\t Status: #{h['status']} "
44
+ puts "\t Running instances: #{h['instances']}"
45
+ puts
46
+ puts "=== Cluster: #{h['cluster']}"
47
+
48
+ h['boxes'].each do |box|
49
+ puts "\t Box address:\t#{box['box']}"
50
+ end
51
+
52
+ puts "\n"
49
53
 
50
- puts
51
- puts "=== Database #{db['identifier']}"
52
- puts "Plan: \t#{db['plan']['name']}"
53
- puts "Nodes: \t#{db['plan']['nodes']}" unless db['plan']['shared']
54
54
  end
55
55
 
56
56
  def self.list
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appfront
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Appfront
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-22 00:00:00.000000000 Z
11
+ date: 2015-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: netrc