dpl 1.8.26.travis.1776.3 → 1.8.26.travis.1777.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9465c1dab155c9ccf06b79e582b51d726248a1c3
4
- data.tar.gz: 6a169b68a6b3508d914772db0b4df5b4d5bf1bb5
3
+ metadata.gz: 607c811d9349e70f038e41c493f8371c7d335158
4
+ data.tar.gz: 02c610c3c4e9786bd0bb545d435b9186c4212a63
5
5
  SHA512:
6
- metadata.gz: baaf228c06ec012f2d7949c32224e2d613ffe9bf06e2bd220a4ed9e20fe49586e0a3d7e78a328c7ed7dd8bd468eaf9ecc8f7f02c21920414e01a82a1f51dc736
7
- data.tar.gz: eaf9163f3c9a5914702e73d970153abb6184ae50b6df15663c87d3362df64f3c66b04a7e4bf728531c81350344c66e17c62d7acb0b4a58a30933a9905f770d26
6
+ metadata.gz: aeaf7fe17dfc67bfeea54bd9bb8038f58b8d5aea82332d2ebc6c3a3a9bbe35d964eceba9fc45967673d7f602a967b7719bae039e74ac1e3d82eced13c31e0d37
7
+ data.tar.gz: 8adf8240a6edb78c3da1cb8d15c9ad86cdf0ba76c1e67a8d40941f0f07b87d3f8c260ab834bd6b8a9180e21aa9806530e100a814b714a55290e4466394c8aab2
@@ -47,7 +47,7 @@ module DPL
47
47
  end
48
48
 
49
49
  def version
50
- options[:version] || ''
50
+ options[:version]
51
51
  end
52
52
 
53
53
  def config
@@ -72,7 +72,7 @@ module DPL
72
72
  command << " --verbosity \"#{verbosity}\""
73
73
  command << " --project \"#{project}\""
74
74
  command << " app deploy \"#{config}\""
75
- command << " --version \"#{version}\""
75
+ command << (version ? " --version \"#{version}\"" : '')
76
76
  command << " --#{no_promote ? 'no-' : ''}promote"
77
77
  command << (no_stop_previous_version ? ' --no-stop-previous-version' : '')
78
78
  unless context.shell(command)
@@ -8,7 +8,7 @@ describe DPL::Provider::GAE do
8
8
 
9
9
  describe '#push_app' do
10
10
  example 'with defaults' do
11
- allow(provider.context).to receive(:shell).with("#{DPL::Provider::GAE::GCLOUD} --quiet --verbosity \"warning\" --project \"test\" app deploy \"app.yaml\" --version \"\" --promote").and_return(true)
11
+ allow(provider.context).to receive(:shell).with("#{DPL::Provider::GAE::GCLOUD} --quiet --verbosity \"warning\" --project \"test\" app deploy \"app.yaml\" --promote").and_return(true)
12
12
  provider.push_app
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.26.travis.1776.3
4
+ version: 1.8.26.travis.1777.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase