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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 760843807d63eaef7ed7404f29a3753a31bf87cb
4
- data.tar.gz: b4f84ca3eb75f8186a98aaf18627861fba741218
3
+ metadata.gz: 8f53d2fc0be5382749dc1fdea991bbbeeea94ec0
4
+ data.tar.gz: 3d04c7e25053c5462b0759b35603ce74f7896f21
5
5
  SHA512:
6
- metadata.gz: 94fc3e2fa4ecdd92622de6bcd529572b18d4f75ed72cf98dd236d80fa09643291f41cebc1fb76ecb95523d5696e12c28d1382f097bab71f009168e7cfb0ab14e
7
- data.tar.gz: 51951023a68f5fc43cd22cae3989e43d6f937f8d069ef5dad4ae8c4ea545ce5c8b7840d591344f4a12088c39466a0297b6b663fb3ee6ba1805dfad7d16c8f293
6
+ metadata.gz: 23a54b5efb5d6cee545b1a95927f8891573db8e8688cbf2703f26cc69e196010c69a4215be4c101e6b0c2540155dd71acc95337cf515cec5961bfe919bcb8bfb
7
+ data.tar.gz: 5f9a71504316534dcc798f794ab4a915010df9713a1c966cf8f1587ebecd120965010cf812adc698ff25c3baef49bb27aa864e9b97d713934d14cd3eaeec80c6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kitchen_hooks (1.2.0)
4
+ kitchen_hooks (1.3.0)
5
5
  berkshelf (~> 3)
6
6
  chef (~> 11.16.4)
7
7
  daybreak (~> 0.3)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
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
- "#{url}/commit/#{self.send(commit_method, event)}"
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.0
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-04 00:00:00.000000000 Z
11
+ date: 2014-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: daybreak