dpl 1.8.40.travis.2194.5 → 1.8.40.travis.2195.5

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: 0e39bda40308eccba9ad22c58b8ee91dc2c2ddfb
4
- data.tar.gz: 9d85ccaea5881c292e61675ac907536882b955d3
3
+ metadata.gz: 86485cc78278edda21ddc764d8376e380780281d
4
+ data.tar.gz: 1681c2999a5a341f2ec925e1a1b1e762f75ba65c
5
5
  SHA512:
6
- metadata.gz: 3d86354c16131e024e367fc9dd0dcb134534819e845fc40ca86b530220f23d0938dde32f9cc43e937b9f768db82e8d9f1f51f6b186a4892c229f5101ceb541cf
7
- data.tar.gz: 89e0dd3cd4ef3e6d30558a73080ba8f3a175e33ee356ee5d287f780e1a06b5c74e1948966ec83dbebfc694473d6a354b727a4f389902835a1a86d26ff72919d3
6
+ metadata.gz: ebe4b77a4810312b217ada1179e873e157b39b0bb2c845dedf75a421430c21cb9e59e5f786b11664b542d138c3f7cd331e672c56e5b12e50f0332fff495aaaf5
7
+ data.tar.gz: 5d6d51d05837f3bab7578cf6775203ed0da46bc589c26429198febe2173074a79cb9383f0579622c74e4184dcf536546993fd906ecd980ccd63c59cfee492591
data/README.md CHANGED
@@ -881,10 +881,11 @@ In order to use this provider, please make sure you have the [App Engine Admin A
881
881
 
882
882
  * **token**: Your Firebase CI access token (generate with `firebase login:ci`)
883
883
  * **project**: Deploy to a different Firebase project than specified in your `firebase.json` (e.g. `myapp-staging`)
884
+ * **message**: Optional. The message describing this deploy.
884
885
 
885
886
  #### Examples:
886
887
 
887
- dpl --provider=firebase --token=<token> --project=<project>
888
+ dpl --provider=firebase --token=<token> --project=<project> --message=<message>
888
889
 
889
890
 
890
891
 
@@ -18,6 +18,7 @@ module DPL
18
18
  def push_app
19
19
  command = "firebase deploy --non-interactive"
20
20
  command << " --project #{options[:project]}" if options[:project]
21
+ command << " --message '#{options[:message]}'" if options[:message]
21
22
  command << " --token '#{options[:token]}'" if options[:token]
22
23
  context.shell command
23
24
  end
@@ -26,6 +26,12 @@ describe DPL::Provider::Firebase do
26
26
  provider.push_app
27
27
  end
28
28
 
29
+ it 'should include the message specified' do
30
+ provider.options.update(:message => 'test message')
31
+ expect(provider.context).to receive(:shell).with("firebase deploy --non-interactive --message 'test message' --token 'abc123'")
32
+ provider.push_app
33
+ end
34
+
29
35
  it 'should default to no project override' do
30
36
  expect(provider.context).to receive(:shell).with("firebase deploy --non-interactive --token 'abc123'")
31
37
  provider.push_app
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.40.travis.2194.5
4
+ version: 1.8.40.travis.2195.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase