cerberus 0.7.8 → 0.7.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,11 @@
1
1
  = Cerberus Changelog
2
2
 
3
+ == Veresion 0.7.9
4
+ Bugfixes
5
+
6
+ * Fix issue with tests and mailer with Rails 3 installed
7
+ * Fix error with checking if build status was successful
8
+
3
9
  == Version 0.7.8
4
10
  Added channel password option to IRC publisher
5
11
 
@@ -16,4 +16,6 @@ Andrew Timberlake
16
16
  Paul Hinze
17
17
  McClain Looney
18
18
  Peter Fitzgibbons
19
- Kai Chen
19
+ Kai Chen
20
+ Hans de Graaff
21
+ Neng Xu
data/Rakefile CHANGED
@@ -78,10 +78,12 @@ Rake::GemPackageTask.new(GEM_SPEC) do |p|
78
78
  p.need_zip = true
79
79
  end
80
80
 
81
+ desc "install gem from pkg/ directory after running clean and test"
81
82
  task :install => [:clean, :test, :package] do
82
83
  system "gem install pkg/#{PKG_NAME}-#{PKG_VERSION}.gem"
83
84
  end
84
85
 
86
+ desc "uninstall gem"
85
87
  task :uninstall => [:clean] do
86
88
  system "gem uninstall #{PKG_NAME}"
87
89
  end
@@ -91,6 +93,7 @@ task :todo do
91
93
  FileList.new(File.dirname(__FILE__)+'/lib/cerberus/**/*.rb').egrep(/#.*(FIXME|TODO|TBD|DEPRECATED)/i)
92
94
  end
93
95
 
96
+ desc "uninstall and reinstall gem"
94
97
  task :reinstall => [:uninstall, :install]
95
98
 
96
99
  begin
@@ -103,10 +106,12 @@ begin
103
106
  rescue Object
104
107
  end
105
108
 
109
+ desc "copy coverage directory to RubyForge site"
106
110
  task :site_coverage => [:rcov] do
107
111
  sh %{ scp -r coverage/* #{RUBYFORGE_USER}@rubyforge.org:/var/www/gforge-projects/#{RUBYFORGE_PROJECT}/coverage/ }
108
112
  end
109
113
 
114
+ desc "Release files to RubyForge"
110
115
  task :release_files => [:clean, :package] do
111
116
  require 'meta_project'
112
117
  project = MetaProject::Project::XForge::RubyForge.new(RUBYFORGE_PROJECT)
@@ -127,6 +132,7 @@ task :release_files => [:clean, :package] do
127
132
 
128
133
  end
129
134
 
135
+ desc "Publish news update to RubyForge"
130
136
  task :publish_news do
131
137
  require 'meta_project'
132
138
 
@@ -151,8 +157,10 @@ rescue Gem::LoadError
151
157
  puts "webgen gem is required to build website output"
152
158
  end
153
159
 
160
+ desc "Update cerberus.rubyforge.org website"
154
161
  task :publish_site => :webgen do
155
162
  sh %{scp -r -q doc/site/out/* #{RUBYFORGE_USER}@rubyforge.org:/var/www/gforge-projects/#{RUBYFORGE_PROJECT}/}
156
163
  end
157
164
 
165
+ desc "Run release_files, publish_news, publish_site"
158
166
  task :release => [:release_files, :publish_news, :publish_site]
@@ -4,5 +4,5 @@ module Cerberus
4
4
 
5
5
  LOCK_WAIT = 30 * 60 # 30 minutes
6
6
 
7
- VERSION = '0.7.8'
7
+ VERSION = '0.7.9'
8
8
  end
@@ -111,8 +111,7 @@ module Cerberus
111
111
  begin
112
112
  Latch.lock("#{HOME}/work/#{@config[:application_name]}/.lock", :lock_ttl => 2 * LOCK_WAIT) do
113
113
  @scm.update!
114
-
115
- if @scm.has_changes? or @config[:force] or @status.previous_build_successful.nil?
114
+ if @scm.has_changes? or @config[:force] or !@status.previous_build_successful
116
115
  Dir.chdir File.join(@config[:application_root], @config[:build_dir] || '')
117
116
  @setup_script_output = `#{@config[:setup_script]}` if @config[:setup_script]
118
117
 
@@ -1,4 +1,6 @@
1
1
  require 'rubygems'
2
+ gem 'activesupport', '~>2.0'
3
+ gem 'actionpack', '~>2.0'
2
4
  gem 'actionmailer', '~> 2.0'
3
5
  require 'action_mailer'
4
6
  require 'cerberus/publisher/base'
@@ -2,6 +2,7 @@ require File.dirname(__FILE__) + '/test_helper'
2
2
  require 'mock/marshmallow'
3
3
  require 'cerberus/cli'
4
4
 
5
+ gem 'actionmailer', '~> 2.0'
5
6
  require 'action_mailer'
6
7
 
7
8
  class FunctionalTest < Test::Unit::TestCase
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cerberus
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 17
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 7
8
- - 8
9
- version: 0.7.8
9
+ - 9
10
+ version: 0.7.9
10
11
  platform: ruby
11
12
  authors:
12
13
  - Craig P Jolicoeur
@@ -14,16 +15,18 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-05-01 00:00:00 -04:00
18
+ date: 2011-01-25 00:00:00 -05:00
18
19
  default_executable: cerberus
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: actionmailer
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ~>
26
28
  - !ruby/object:Gem::Version
29
+ hash: 3
27
30
  segments:
28
31
  - 2
29
32
  - 0
@@ -34,9 +37,11 @@ dependencies:
34
37
  name: activesupport
35
38
  prerelease: false
36
39
  requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
37
41
  requirements:
38
42
  - - ~>
39
43
  - !ruby/object:Gem::Version
44
+ hash: 3
40
45
  segments:
41
46
  - 2
42
47
  - 0
@@ -47,9 +52,11 @@ dependencies:
47
52
  name: rake
48
53
  prerelease: false
49
54
  requirement: &id003 !ruby/object:Gem::Requirement
55
+ none: false
50
56
  requirements:
51
57
  - - ">="
52
58
  - !ruby/object:Gem::Version
59
+ hash: 5
53
60
  segments:
54
61
  - 0
55
62
  - 7
@@ -437,25 +444,29 @@ rdoc_options: []
437
444
  require_paths:
438
445
  - lib
439
446
  required_ruby_version: !ruby/object:Gem::Requirement
447
+ none: false
440
448
  requirements:
441
449
  - - ">="
442
450
  - !ruby/object:Gem::Version
451
+ hash: 51
443
452
  segments:
444
453
  - 1
445
454
  - 8
446
455
  - 2
447
456
  version: 1.8.2
448
457
  required_rubygems_version: !ruby/object:Gem::Requirement
458
+ none: false
449
459
  requirements:
450
460
  - - ">="
451
461
  - !ruby/object:Gem::Version
462
+ hash: 3
452
463
  segments:
453
464
  - 0
454
465
  version: "0"
455
466
  requirements: []
456
467
 
457
468
  rubyforge_project: cerberus
458
- rubygems_version: 1.3.6
469
+ rubygems_version: 1.3.7
459
470
  signing_key:
460
471
  specification_version: 3
461
472
  summary: Cerberus is a Continuous Integration tool that could be easily run from Cron.