dpl-cloud_foundry 1.10.5.travis.3062.5 → 1.10.5.travis.3069.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a6aa187813b515d7ec38f74b3de7b95ef832ddbf963b29ec40bc7f76cd81a9a
4
- data.tar.gz: 4f464c72f6f336cac5421f7caaea30cf1a357d298d884c5b32aef33c0e04db29
3
+ metadata.gz: d90806cf26b5233924f88a2a2b72d771e3e08f41928a717e9b43545aff5a04ac
4
+ data.tar.gz: 3a199627cab50d0f7c9ad293c43dc5fd395b0169dbadec15a052276f094d2f2c
5
5
  SHA512:
6
- metadata.gz: 8a0c63a4983e3a9b6101e199b2195ab33bd30a6347a63d0b67b1f73545a710fc901c252c42551f92d945febc87f7641f2b8bc81cab239478e6e6b1bc1a4d7fd3
7
- data.tar.gz: 1387f4625e98ed833e245de7755970dcb7cf0a2a527721786674515bf817813c5b48e49b612694ce12a6875154a1114893c6fa9a3c62659f3781484abd7468c3
6
+ metadata.gz: cb4754d3b160ceade5846fa6a490625cff3aa51e6f52786bff335bbaf1d577defc3463477a9181e0619ab35978882721ef39868e08db61e8c43975cb4474590f
7
+ data.tar.gz: 485254f560614a348a5a79b42ed510f78d6d2cc00c38a26c8f5352e8116c17c21b4caa12d2ec102b8ee04bd00e6f81777e05fc5f1ca23ea49fc93988b9bbc339
@@ -37,7 +37,7 @@ module DPL
37
37
  end
38
38
 
39
39
  def push_app
40
- error 'Failed to push app' unless context.shell("./cf push#{manifest}")
40
+ error 'Failed to push app' unless context.shell("./cf push#{app_name}#{manifest}")
41
41
 
42
42
  ensure
43
43
  context.shell "./cf logout"
@@ -49,6 +49,10 @@ module DPL
49
49
  def uncleanup
50
50
  end
51
51
 
52
+ def app_name
53
+ options[:app_name].nil? ? "" : " '#{options[:app_name]}'"
54
+ end
55
+
52
56
  def manifest
53
57
  options[:manifest].nil? ? "" : " -f #{options[:manifest]}"
54
58
  end
@@ -23,7 +23,7 @@ module DPL
23
23
  end
24
24
 
25
25
  def push_app
26
- error 'Failed to push app' unless context.shell("./cf push#{manifest}")
26
+ error 'Failed to push app' unless context.shell("./cf push#{app_name}#{manifest}")
27
27
 
28
28
  ensure
29
29
  context.shell "./cf logout"
@@ -35,6 +35,10 @@ module DPL
35
35
  def uncleanup
36
36
  end
37
37
 
38
+ def app_name
39
+ options[:app_name].nil? ? "" : " '#{options[:app_name]}'"
40
+ end
41
+
38
42
  def manifest
39
43
  options[:manifest].nil? ? "" : " -f #{options[:manifest]}"
40
44
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl-cloud_foundry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.5.travis.3062.5
4
+ version: 1.10.5.travis.3069.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-29 00:00:00.000000000 Z
11
+ date: 2018-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dpl
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.10.5.travis.3062.5
19
+ version: 1.10.5.travis.3069.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.10.5.travis.3062.5
26
+ version: 1.10.5.travis.3069.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  version: 1.3.1
183
183
  requirements: []
184
184
  rubyforge_project:
185
- rubygems_version: 2.7.7
185
+ rubygems_version: 2.7.8
186
186
  signing_key:
187
187
  specification_version: 4
188
188
  summary: deploy tool