kitchen_hooks 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/kitchen_hooks/helpers.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f53d2fc0be5382749dc1fdea991bbbeeea94ec0
|
4
|
+
data.tar.gz: 3d04c7e25053c5462b0759b35603ce74f7896f21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23a54b5efb5d6cee545b1a95927f8891573db8e8688cbf2703f26cc69e196010c69a4215be4c101e6b0c2540155dd71acc95337cf515cec5961bfe919bcb8bfb
|
7
|
+
data.tar.gz: 5f9a71504316534dcc798f794ab4a915010df9713a1c966cf8f1587ebecd120965010cf812adc698ff25c3baef49bb27aa864e9b97d713934d14cd3eaeec80c6
|
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.1
|
@@ -154,7 +154,11 @@ module KitchenHooks
|
|
154
154
|
|
155
155
|
def gitlab_url event, commit_method
|
156
156
|
url = git_daemon_style_url(event).sub(/^git/, 'http').sub(/\.git$/, '')
|
157
|
-
|
157
|
+
if commit_method == :tagged_commit
|
158
|
+
"#{url}/commits/#{self.send(commit_method, event)}"
|
159
|
+
else
|
160
|
+
"#{url}/commit/#{self.send(commit_method, event)}"
|
161
|
+
end
|
158
162
|
end
|
159
163
|
|
160
164
|
def latest_commit event
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen_hooks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kelly Wong
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: daybreak
|