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
- MzFlNWE1ZGY2M2RhYzE5YzhhMDQ0YzlmZTU1NTdhNDE3MjY5MTEzZg==
4
+ NGNmZWI2YzAzNzU2N2NhMzc4MTVmYmZmMzQzM2JlMjQyN2EzZmRmNg==
5
5
  data.tar.gz: !binary |-
6
- MGVhMzA0NTE3MzcxMjhiYjZiY2E0YTczYWEzNzZiZGU1ODY5ZjU2Ng==
6
+ MzAyNjdhYmRiMzU2NjE3OWI3ZGFhM2RmOWExODg1M2QzNzhiODE5Yg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MmU1YmM0MWE0MGQ5YWEwMDIwZTczOTMyNWRmMTUxYWQ4YzVjYzdlM2IwZmE0
10
- MTZjNjYwYmUyNTk2ODYxMGE4OTg4MjkzZDBmYTkxOWRjN2U0ZTc3OWY2YTI2
11
- NjIyZmI1OTMxNzgzOGZmMThiYjIwODQ1MDk5ZDhjMDhlMmU4ZWI=
9
+ MTA4MzdkM2FhNjNlN2Q3M2Q0YThkYzc0NTEzOGQ3M2ZmZTQ2OGMwZTVjYzkz
10
+ MzNkN2ZkNjc3NDBmNDM2MzIyYWVkZTdhZGM0Yzk3YjY2OWU5MWI2N2E5ZmZl
11
+ NjVjMjNjNDdjN2RmNWY0YjM0NTQxNTY1NmUyYzU2MjI2MjljOTE=
12
12
  data.tar.gz: !binary |-
13
- Mzg3NDllNWE0ZjNhZTdmMzc1Y2QzOTBhMmY2NGEyMGEyYTU0NDE0ZDczNDE2
14
- NWM2OGE2ZjgzYjQ0ODgxMjY0NWNkMTI5MTViNTc0ZTFkNzNiMTAwMTViMDZl
15
- YTI3MTEzMGQ1MjBhODM2ZDUwNjYzOWNmMTAwMjM1MWMyNDhlOWE=
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
@@ -9,8 +9,6 @@ module VMCAppfog
9
9
  app = input[:app]
10
10
  path = File.expand_path(input[:path] || app.name)
11
11
 
12
- app = filter(:pull_app, app)
13
-
14
12
  with_progress("Pulling last pushed source code to #{c(app.name, :name)}") do
15
13
  client.app_pull(app.name, path)
16
14
  end
@@ -1,3 +1,3 @@
1
1
  module VMCAppfog
2
- VERSION = "0.1.9".freeze
2
+ VERSION = "0.1.10".freeze
3
3
  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"),
@@ -29,10 +29,6 @@ class ManifestsPlugin < VMC::App::Base
29
29
  wrap_push(push, input)
30
30
  end
31
31
 
32
- # around(:pull) do |push, input|
33
- # wrap_push(push, input)
34
- # end
35
-
36
32
  private
37
33
 
38
34
  def wrap_with_optional_name(name_made_optional, cmd, input)
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.9
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-17 00:00:00.000000000 Z
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