ciquantum 0.0.15 → 0.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57,7 +57,7 @@ module CIQuantum
57
57
 
58
58
  def test_results
59
59
  stat = { success: 0, failures:0, pending:0 }
60
- clean_output.gsub(/(\d+) examples, (\d+) failures(?:, (\d+) pending)?/) do
60
+ clean_output.gsub(/(\d+) examples?, (\d+) failures?(?:, (\d+) pending)?/) do
61
61
  stat[:success] += $1.to_i
62
62
  stat[:failures] += $2.to_i
63
63
  stat[:pending] += $3.to_i
@@ -104,11 +104,11 @@ module CIQuantum
104
104
  @git_branch = branch
105
105
  build = @current_build
106
106
  git_update
107
- run_hook "prebuild"
108
107
  output = ''
109
108
  build.sha = git_sha
110
109
  build.branch = git_branch
111
110
  write_build 'current', build
111
+ run_hook "prebuild"
112
112
 
113
113
  open_pipe("cd #{@project_path} && #{runner_command} 2>&1") do |pipe, pid|
114
114
  puts "#{Time.now.to_i}: Building #{build.branch} at #{build.short_sha}: pid=#{pid}"
@@ -1,3 +1,3 @@
1
1
  module CIQuantum
2
- Version = VERSION = "0.0.15"
2
+ Version = VERSION = "0.0.16"
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.15
4
+ version: 0.0.16
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-06-01 00:00:00.000000000 Z
14
+ date: 2012-06-06 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler