capistrano-slack-notify 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/slack_notify.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c9d876cacd0930358b88ea764e8ce08f7fa8c66
|
4
|
+
data.tar.gz: 932471917989dd5d0880fbd9d1a43bbba2c8da58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 831773b7cc6134d67eb8342d5849d87c69107c7e84ce6e6efb81d50c2ec722430a8852f4cbe87be7c7fd633ee75fc45f67f976a3e2148cee3273194e34e8faab
|
7
|
+
data.tar.gz: 26ea4854388dcb8ff287857ab2ec639664b272bed4614c772d2704f90ec0ef4ae108ce37d8fd47da72492045999586a03a2df605ebf7d2195f714ee6a1b0305b
|
@@ -95,12 +95,12 @@ module Capistrano
|
|
95
95
|
fetch(:repository, 'origin')
|
96
96
|
end
|
97
97
|
|
98
|
-
def
|
99
|
-
@
|
98
|
+
def rev
|
99
|
+
@rev ||= `git ls-remote #{repository} #{branch}`.split(" ").first
|
100
100
|
end
|
101
101
|
|
102
102
|
def deploy_target
|
103
|
-
[slack_app_name, branch].join('/') + (
|
103
|
+
[slack_app_name, branch].join('/') + (rev ? " (#{rev[0..5]})" : "")
|
104
104
|
end
|
105
105
|
|
106
106
|
def self.extended(configuration)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-slack-notify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Parker Moore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.5.1
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: Minimalist Capistrano 2 notifier for Slack.
|