capistrano-ikachan 0.0.3 → 0.0.4

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: c9c1de7a16b6e89b8f1c42639be59965c80f32b9
4
- data.tar.gz: 66357471831d4c5a89ea5998cb053ac4884b1e43
3
+ metadata.gz: 2ff10ed9721ce67c71f6b384fb095b068a533b33
4
+ data.tar.gz: fc9de388017a828448904f1f36b3c68505be3244
5
5
  SHA512:
6
- metadata.gz: 58a056c97a57a645435c95176352f06be03be3b2fb3f91be7ba3a24af37bd69c1280b24be56742816486f89900934e982f710a629a4f0ce18ffe2a931f33aadb
7
- data.tar.gz: edf5bc7b6f09bb39c4f3c754b461144972cc89e88075276fb93b84aeda1cf2b10c1fdbb8776a08d444b0a051f75bde3e6eaaea304a651bee2900e984ab5df0be
6
+ metadata.gz: ff42f490814ee20982d054d2029d631ad09fbc689bc623cd060a3bc485c3ab3946a3c6a5d931196b558c2c9193093b7c43754776e9f1ba9bc689dfdb5341d6f1
7
+ data.tar.gz: bee1f10f0bb536d88e42f6fc6625a51083b1c49ed603ce2acfe3b99648f56ed06a9652422cb69be9dadc57e816ffba22f702abd1d77e5754f2c5152eec6f6f2a
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Ikachan
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4'
4
4
  end
5
5
  end
@@ -30,10 +30,11 @@ namespace :ikachan do
30
30
  }
31
31
 
32
32
  set :ikachan_start_message, -> {
33
- "#{fetch(:application)}: #{fetch(:start_icon)} started deploying to #{fetch(:destination)} of #{fetch(:branch)} by #{fetch(:username)} #{elapse_time}"
33
+ "#{fetch(:application)}: #{fetch(:start_icon)} started deploying to #{fetch(:destination)} of #{fetch(:branch)} by #{fetch(:username)}"
34
34
  }
35
35
 
36
36
  set :ikachan_failure_message, -> {
37
+ elapse_time = "(#{sprintf('%.2f', Time.now - start)} sec)"
37
38
  "#{fetch(:application)}: #{fetch(:failure_icon)} failed deploying to #{fetch(:destination)} of #{fetch(:branch)} by #{fetch(:username)} #{elapse_time}"
38
39
  }
39
40
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-ikachan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - linyows