cerberus 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,5 +1,10 @@
1
1
  = Cerberus Changelog
2
2
 
3
+ == Version 0.4.5
4
+ Update to Maven2 builder
5
+
6
+ * Fix potential cerberus failure due to missing file
7
+
3
8
  == Version 0.4.4
4
9
  Custom Publisher Support
5
10
 
@@ -31,9 +31,10 @@ class Cerberus::Builder::Maven2
31
31
  $` =~ /^(.|\n)*Running (.*)$/
32
32
  failed_class = $2
33
33
  @output << $` << $& << ' <<< FAILURE!'
34
- @output << "\n" << IO.readlines("#{@config[:application_root]}/target/surefire-reports/#{failed_class}.txt")[4..-1].join.lstrip #map{|str| ' ' + str}..gsub(' <<< FAILURE!','')
34
+ surefire_report_filename = "#{@config[:application_root]}/target/surefire-reports/#{failed_class}.txt"
35
+ @output << "\n" << IO.readlines(surefire_report_filename)[4..-1].join.lstrip if test(?e, surefire_report_filename)
35
36
  str = s
36
37
  end
37
38
  @output << str
38
39
  end
39
- end
40
+ end
@@ -4,5 +4,5 @@ module Cerberus
4
4
 
5
5
  LOCK_WAIT = 30 * 60 #30 minutes
6
6
 
7
- VERSION = '0.4.4'
7
+ VERSION = '0.4.5'
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cerberus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatol Pomozov
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-15 00:00:00 -05:00
12
+ date: 2009-03-10 00:00:00 -04:00
13
13
  default_executable: cerberus
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency