Rakefile in damagecontrol-0.5.0 vs Rakefile in damagecontrol-0.5.0.1391
- old
+ new
@@ -14,15 +14,20 @@
desc "Default Task"
task :default => [ :all ]
# Run the unit tests
# To run a specific test: rake test TEST=path/to/test
-fl = FileList.new('test/**/*_test.rb')
+fl = FileList.new('test/**/*_test.rb')
+# Work around annoying LoadError - run this test alone
+fl.exclude('test/**/email_test.rb')
+fl.exclude('test/functional/*')
# TODO: figure out how to add all the stuff in app.
Rake::TestTask.new { |t|
- # We need some of the test utils from rscm
- t.libs << "test" << File.expand_path(File.dirname(__FILE__) + "/../rscm/test") << File.expand_path(File.dirname(__FILE__) + "/../rscm/lib")
+ t.libs << "test"
+ # We need some of the test utils from rscm. add them in 2 ways so they can be found when built by dc too.
+ t.libs << File.expand_path(File.dirname(__FILE__) + "/../rscm/test") << File.expand_path(File.dirname(__FILE__) + "/../rscm/lib")
+ t.libs << File.expand_path(File.dirname(__FILE__) + "/../../RSCM/checkout/test") << File.expand_path(File.dirname(__FILE__) + "/../../RSCM/checkout/lib")
t.test_files = fl
t.verbose = true
}
rd = Rake::RDocTask.new { |rdoc|
@@ -63,12 +68,16 @@
DamageControl.
EOF
#### Dependencies and requirements.
- s.add_dependency('log4r', '> 1.0.4')
- s.add_dependency('rscm')
- s.add_dependency('needle')
+ s.add_dependency('rscm', '0.2.0')
+ s.add_dependency('rails', '0.10.0')
+ s.add_dependency('log4r', '1.0.5')
+ s.add_dependency('needle', '1.2.0')
+ s.add_dependency('jabber4r', '0.7.0')
+ s.add_dependency('rake', '0.4.5')
+ s.add_dependency('ruby-growl', '1.0.0')
# s.add_dependency('rgl')
#s.requirements << ""
#### Which files are to be included in this gem? Everything! (Except CVS directories.)