capistrano-idobata 0.2.0 → 0.3.0

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: 08701cd00b326ba723602a6124bdfebc7dcf9ed4
4
- data.tar.gz: 2d5663aff58748610bd02c8aeb5c454cb4b1fd43
3
+ metadata.gz: 78046057ca24122ab20c94a0b0ebe8a33ade06ad
4
+ data.tar.gz: 9ceebe720ae98e012562ead45ce0ca75bc5508ec
5
5
  SHA512:
6
- metadata.gz: 3a8ab97d8e9be9470ad8dd1f3cf600b563c5b38f0b42da32e1b8045d021a7c3b3805068b0ee9e00c1a041b222a65d7bcb30dbdbc6354c612c4805341b811cee0
7
- data.tar.gz: 76cc2d8ecdaf17ab27cbda441c9510158dc3664e9360fbfcd54718533b34f19fa9318a79eba1ea39d92ebc67285ece088b5b394e8757e60db00fa6d8d2e349f6
6
+ metadata.gz: 8313c6d127e2505228700f52d4aa048bad8e6baddbf281216d67acab7bd9e8aa9659fd577864f13269b1b315e933fa01762dd5a711e5a1a120f532c9c8e14744
7
+ data.tar.gz: b476275f0da19cdf54bbbcd19140ecec93dfa5d96f907a1c585833db1e301cbdd7aa83f8b526eea51fed1d9c6784090e8c89c3053b63df7bcf34963606528b88
@@ -11,7 +11,7 @@ namespace :idobata do
11
11
  end
12
12
 
13
13
  task :starting do
14
- if @idobata_client.valid?
14
+ if @idobata_client && @idobata_client.valid?
15
15
  message = if @deploy_information.branch
16
16
  "deploy #{@deploy_information.application}'s #{@deploy_information.branch} to #{@deploy_information.stage} start !! :rocket:"
17
17
  else
@@ -23,7 +23,7 @@ namespace :idobata do
23
23
  end
24
24
 
25
25
  task :finished do
26
- if @idobata_client.valid?
26
+ if @idobata_client && @idobata_client.valid?
27
27
  message = if @deploy_information.branch
28
28
  ":white_check_mark: deploy #{@deploy_information.application}'s #{@deploy_information.branch} to #{@deploy_information.stage} success !!"
29
29
  else
@@ -35,7 +35,7 @@ namespace :idobata do
35
35
  end
36
36
 
37
37
  task :failed do
38
- if @idobata_client.valid?
38
+ if @idobata_client && @idobata_client.valid?
39
39
  message = if @deploy_information.branch
40
40
  ":broken_heart: deploy #{@deploy_information.application}'s #{@deploy_information.branch} to #{@deploy_information.stage} failed !!"
41
41
  else
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Idobata
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-idobata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mitsutaka Mimura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-22 00:00:00.000000000 Z
11
+ date: 2017-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  version: '0'
89
89
  requirements: []
90
90
  rubyforge_project:
91
- rubygems_version: 2.5.1
91
+ rubygems_version: 2.5.2
92
92
  signing_key:
93
93
  specification_version: 4
94
94
  summary: Capistrano 3 integration with Idobata