capistrano-slack-notify 1.3.1 → 1.3.2
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 +5 -1
- 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: c7b90a65b741bbea86a5d11ea726d16041d3b1d1
|
4
|
+
data.tar.gz: 4e3e33c0190a54141b512ccf74c81919a0a2707f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3361b70a78c1c5e0637486925ea62eec069b21315db382b1e750e912ff32fc703f697b192f2953aadd9641833e1c28452626489209b8357dd2d3b5f84459672d
|
7
|
+
data.tar.gz: b785489263cb58406481c0225e0759094f0f4cea4d2ff12a15d05ec43e8d77049ce5552c34581aa6030a5ebd2f76028ae9c055639ae634d47832ceb9ccb00dce
|
@@ -91,8 +91,12 @@ module Capistrano
|
|
91
91
|
fetch(:slack_destination, stage)
|
92
92
|
end
|
93
93
|
|
94
|
+
def repository
|
95
|
+
fetch(:repository, 'origin')
|
96
|
+
end
|
97
|
+
|
94
98
|
def revision
|
95
|
-
@revision ||= `git
|
99
|
+
@revision ||= `git ls-remote #{repository} #{branch}`.split(" ").first
|
96
100
|
end
|
97
101
|
|
98
102
|
def deploy_target
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Parker Moore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-03 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.2.
|
84
|
+
rubygems_version: 2.2.5
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: Minimalist Capistrano 2 notifier for Slack.
|