capistrano-syslog 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 42b9bee4486b24333c03f0ee380c72e5ccd4a0bc46855db8ccdb5edbdaae796f
4
- data.tar.gz: 7849b24e57e79835dedacf07c39d4ce9ffddf7f30721404c3c8ee80a7c213b8c
3
+ metadata.gz: 53e07331c3b4fe5ced8f510f5ce7826569fc9c30b49c12f7cffa85c0870f711d
4
+ data.tar.gz: edd9e8c0c18534bbafcc88560e244af3dcfea4cb69ce35ae9240e7c751703835
5
5
  SHA512:
6
- metadata.gz: cad8a86f6a3d57915eb6adf287e45a629dee4f1d2c6c45531df4c2131c20707a666fd81c9f2ea875adff205ee9fff18b7f9e1c62f2620f8fe90287920c904b8d
7
- data.tar.gz: d4185a2e0640d913386a10ccccca5696f3bd36489fa168d03f1e984fdeff4ae1a36b4c2ed29b1048a33ecf3a1f1a2e833542c6ae44921653082fb371c70502c4
6
+ metadata.gz: da6e093fe5d065510b16bfe60eeb05b4400a20821920d5bd093c9931e4200c1c4af24ebb821b819aae60a289e0a14cefe7ddcfa3bd1115b75148a0d2bc6af980
7
+ data.tar.gz: '029590ddab263e223a36d88b536059654d39a028ccf5306c26fd2fe0cd48b48760aa1a09ed50af70f52c435a1212b83bb25284a15dfb2a0a5c01e1e6f7607d26'
data/README.md CHANGED
@@ -3,6 +3,8 @@ Capistrano Syslog
3
3
 
4
4
  capistrano plugin to log revison by syslog
5
5
 
6
+ [![Gem Version](https://badge.fury.io/rb/capistrano-syslog.svg)](https://badge.fury.io/rb/capistrano-syslog)
7
+
6
8
  Installation
7
9
  ------------
8
10
 
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Syslog
3
- VERSION = '0.1.0'
3
+ VERSION = '0.2.0'
4
4
  end
5
5
  end
@@ -3,11 +3,17 @@ namespace :syslog do
3
3
  set :tag, 'capistrano'
4
4
 
5
5
  set :starting_format, -> {
6
- "deploy starting revision:%s" % fetch(:current_revision)
6
+ "deploy starting repository:%s revision:%s" % [
7
+ fetch(:repo_url),
8
+ fetch(:current_revision),
9
+ ]
7
10
  }
8
11
 
9
12
  set :finishing_format, -> {
10
- "deploy finishing revision:%s" % fetch(:current_revision)
13
+ "deploy finishing repository:%s revision:%s" % [
14
+ fetch(:repo_url),
15
+ fetch(:current_revision),
16
+ ]
11
17
  }
12
18
 
13
19
  desc 'syslog current revision after deploy:starting ( `deploy:set_current_revision` is actual )'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-syslog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - hiboma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-27 00:00:00.000000000 Z
11
+ date: 2021-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano