appfog-vmc-plugin 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NGNmZWI2YzAzNzU2N2NhMzc4MTVmYmZmMzQzM2JlMjQyN2EzZmRmNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MzAyNjdhYmRiMzU2NjE3OWI3ZGFhM2RmOWExODg1M2QzNzhiODE5Yg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTA4MzdkM2FhNjNlN2Q3M2Q0YThkYzc0NTEzOGQ3M2ZmZTQ2OGMwZTVjYzkz
|
10
|
+
MzNkN2ZkNjc3NDBmNDM2MzIyYWVkZTdhZGM0Yzk3YjY2OWU5MWI2N2E5ZmZl
|
11
|
+
NjVjMjNjNDdjN2RmNWY0YjM0NTQxNTY1NmUyYzU2MjI2MjljOTE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDVkMjlhMTE1NzM3NTc4N2EyY2M5MzMxZmVkNThhMjM3Yjk0ODYyYzU0ZTg3
|
14
|
+
ZDEzODRmYzBkOWViNGE5N2QwMmVhMGMwZGIxNzM3NjJkZTE1YzJhZjNmODg0
|
15
|
+
OGNiNjA3NjNlNGIwMjg5ZjhkOGUyMTA1NTA3YjM3NTkxNWI4NTg=
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module CFoundry
|
2
|
+
class Client < BaseClient
|
3
|
+
def self.new(*args)
|
4
|
+
target, _ = args
|
5
|
+
|
6
|
+
base = super(target)
|
7
|
+
|
8
|
+
# case base.info[:version]
|
9
|
+
# when 2
|
10
|
+
# CFoundry::V2::Client.new(*args)
|
11
|
+
# else
|
12
|
+
CFoundry::V1::Client.new(*args)
|
13
|
+
# end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -2,10 +2,10 @@ module VMC::App
|
|
2
2
|
class Apps < Base
|
3
3
|
def display_apps_table(apps)
|
4
4
|
table(
|
5
|
-
["name", "infra", "status", "usage", v2? && "plan", "runtime", "urls", "services"],
|
5
|
+
["name", infras_enabled? && "infra", "status", "usage", v2? && "plan", "runtime", "urls", "services"],
|
6
6
|
apps.collect { |a|
|
7
7
|
[ c(a.name, :name),
|
8
|
-
c(a.infra.name, :infra),
|
8
|
+
infras_enabled? && c(a.infra.name, :infra),
|
9
9
|
app_status(a),
|
10
10
|
"#{a.total_instances} x #{human_mb(a.memory)}",
|
11
11
|
v2? && (a.production ? "prod" : "dev"),
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appfog-vmc-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Santeford
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cfoundry
|
@@ -34,6 +34,7 @@ extra_rdoc_files: []
|
|
34
34
|
files:
|
35
35
|
- Rakefile
|
36
36
|
- lib/appfog-vmc-plugin/cfoundry/baseclient.rb
|
37
|
+
- lib/appfog-vmc-plugin/cfoundry/client.rb
|
37
38
|
- lib/appfog-vmc-plugin/cfoundry/upload_helpers.rb
|
38
39
|
- lib/appfog-vmc-plugin/cfoundry/v1/app.rb
|
39
40
|
- lib/appfog-vmc-plugin/cfoundry/v1/base.rb
|