ciquantum 0.0.20 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ciquantum/adapter/gitlab.rb +3 -2
- data/lib/ciquantum/version.rb +2 -2
- metadata +1 -1
@@ -25,7 +25,7 @@ module CIQuantum
|
|
25
25
|
def commit_from_request body
|
26
26
|
begin
|
27
27
|
hash = JSON.parse body
|
28
|
-
res = (hash["repository"]["name"].downcase == config.project.downcase) ? hash["after"] : nil
|
28
|
+
res = (hash["repository"]["name"].downcase == config.project.to_s.downcase) ? hash["after"] : nil
|
29
29
|
puts "CIQuantum::Adapter::GitLab#commit_from_request: New commit state \"#{res}\""
|
30
30
|
res
|
31
31
|
rescue => ex
|
@@ -36,4 +36,5 @@ module CIQuantum
|
|
36
36
|
|
37
37
|
end
|
38
38
|
end
|
39
|
-
end
|
39
|
+
end
|
40
|
+
|
data/lib/ciquantum/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module CIQuantum
|
2
|
-
Version = VERSION = "0.0.
|
3
|
-
end
|
2
|
+
Version = VERSION = "0.0.21"
|
3
|
+
end
|