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 +4 -4
- data/lib/dpl/provider/gae.rb +2 -2
- data/spec/provider/gae_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 607c811d9349e70f038e41c493f8371c7d335158
|
4
|
+
data.tar.gz: 02c610c3c4e9786bd0bb545d435b9186c4212a63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aeaf7fe17dfc67bfeea54bd9bb8038f58b8d5aea82332d2ebc6c3a3a9bbe35d964eceba9fc45967673d7f602a967b7719bae039e74ac1e3d82eced13c31e0d37
|
7
|
+
data.tar.gz: 8adf8240a6edb78c3da1cb8d15c9ad86cdf0ba76c1e67a8d40941f0f07b87d3f8c260ab834bd6b8a9180e21aa9806530e100a814b714a55290e4466394c8aab2
|
data/lib/dpl/provider/gae.rb
CHANGED
@@ -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)
|
data/spec/provider/gae_spec.rb
CHANGED
@@ -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\" --
|
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
|