ciquantum 0.0.19 → 0.0.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,8 +25,11 @@ module CIQuantum
25
25
  def commit_from_request body
26
26
  begin
27
27
  hash = JSON.parse body
28
- return (hash["repository"]["name"] == config.project) ? hash["after"] : nil
29
- rescue
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
@@ -1,3 +1,3 @@
1
1
  module CIQuantum
2
- Version = VERSION = "0.0.19"
2
+ Version = VERSION = "0.0.20"
3
3
  end
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.19
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-06 00:00:00.000000000 Z
14
+ date: 2012-07-12 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler