cf_light_api 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cf_light_api/worker.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9be10be33cf01b43330ee3aaee4f001f0f247437
|
4
|
+
data.tar.gz: 9df2e44bac564c56b13da916bfeb8a251e037c5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e275f663dd7baa03b7c4f61d9f477b943d9e9ca50c79d44bd6a47a897dd7ad2aa7bdf928fb384197162ac3d0092b9920341928da1d68841f5aa487f19c2f5671
|
7
|
+
data.tar.gz: 7d113cc505ae09a1922bc2b1202f99bdff42c21659215cc6b89d23a6ee148e8fd51890f0f8810fc5b451d15eb56b0524efbc315bb312779579da71e891d17133
|
data/lib/cf_light_api/worker.rb
CHANGED
@@ -86,7 +86,7 @@ def get_org_data(cf_client)
|
|
86
86
|
Parallel.map( cf_client.organizations, :in_processes => PARALLEL_MAPS) do |org|
|
87
87
|
org_name = org.name
|
88
88
|
@logger.info "Getting org data for #{org_name}..."
|
89
|
-
# The CFoundry client returns memory_limit in MB, so we need to normalise to
|
89
|
+
# The CFoundry client returns memory_limit in MB, so we need to normalise to bytes to match the Apps.
|
90
90
|
{
|
91
91
|
:name => org_name,
|
92
92
|
:quota => {
|
@@ -104,6 +104,7 @@ def format_app_data(app, org_name, space_name)
|
|
104
104
|
:org => org_name,
|
105
105
|
:space => space_name,
|
106
106
|
:stack => app.stack.name,
|
107
|
+
:buildpack => app.buildpack,
|
107
108
|
:routes => app.routes.map {|route| route.name},
|
108
109
|
:data_from => Time.now.to_i,
|
109
110
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cf_light_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Springer Platform Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cfoundry
|