ciquantum 0.0.19 → 0.0.20
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ciquantum/adapter/gitlab.rb +5 -2
- data/lib/ciquantum/version.rb +1 -1
- metadata +2 -2
@@ -25,8 +25,11 @@ module CIQuantum
|
|
25
25
|
def commit_from_request body
|
26
26
|
begin
|
27
27
|
hash = JSON.parse body
|
28
|
-
|
29
|
-
|
28
|
+
res = (hash["repository"]["name"].downcase == config.project.downcase) ? hash["after"] : nil
|
29
|
+
puts "CIQuantum::Adapter::GitLab#commit_from_request: New commit state \"#{res}\""
|
30
|
+
res
|
31
|
+
rescue => ex
|
32
|
+
puts "CIQuantum::Adapter::GitLab#commit_from_request error: #{ex.to_s}"
|
30
33
|
nil
|
31
34
|
end
|
32
35
|
end
|
data/lib/ciquantum/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ciquantum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.20
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2012-07-
|
14
|
+
date: 2012-07-12 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|