cf_light_api 3.1.0.pre1 → 3.1.0.pre2

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/cf_light_api/worker.rb +4 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03af503b7c5d152f5929036c82bd9ad4ef1a750c
4
- data.tar.gz: cded94cbf4dbdbd7e9bdcf941150946e630a5491
3
+ metadata.gz: 7ff78a68989ce35ccf9869ef70ae1b6e4d1d3e4c
4
+ data.tar.gz: 006fd1b13c50b3c6fa3f502df3ebe19fab613332
5
5
  SHA512:
6
- metadata.gz: de6c455dbebf3c3261f8ddbf7cfdfa43f2f5ba725de02587147aa6e9141907bdb0db66738d8ff9b33c9d9c3451d1a515c2933c2db9d49ab6b973e6ca31dde0e2
7
- data.tar.gz: cd9cbc6c8172285bf197dfd5e7c3899e4597a75bc1f5aa8176a2d3cfa0e3d46317f677dfd7b9917829f29a63f76157c6084a87c71bd4e6bd49a4758006b142a7
6
+ metadata.gz: 1d73e55f15c3c80fa249d018ea4c140e21e018b0cec9195bfbf02283a370af54f2adca9b52a91719b235f5ae3dfca79a06a0413fa4905a62fb2d60bdb4b8027a
7
+ data.tar.gz: c10d31c86449d42217af2af3db5e9bfbf40923f48e5d29e47ce4be6899ea515afd689165ae1f4cb649c5b356116168be854956e1cb3ace8fe6a101705ca1cf48
@@ -337,10 +337,10 @@ class CFLightAPIWorker
337
337
  buildpack_name = app['entity']['buildpack']
338
338
  buildpack_guid = app['entity']['detected_buildpack_guid']
339
339
 
340
- v2_document['buildpack_name'] = buildpack_name
341
-
342
- if buildpack_name.nil? or buildpack_name.empty?
343
- v2_document['buildpack_name'] = @buildpacks[buildpack_guid]['entity']['name']
340
+ v2_document['buildpack_name'] = if buildpack_name.nil? or buildpack_name.empty?
341
+ @buildpacks[buildpack_guid]['entity']['name']
342
+ else
343
+ buildpack_name
344
344
  end
345
345
 
346
346
  # Add space, stack and org names as a top level string attribute for ease of use:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cf_light_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.pre1
4
+ version: 3.1.0.pre2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Springer Platform Engineering