Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Commit

Permalink
Added DelayedJob and Facebooker gem dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nbibler committed Mar 4, 2010
1 parent 2dc63c3 commit f0ca7b5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ begin
gem.authors = ["Nathaniel Bibler"]

gem.add_dependency "facebooker", '=1.0.62'
gem.add_dependency "delayed_job", '=1.8.4'

gem.add_development_dependency "shoulda", ">= 0"
end
Expand All @@ -22,12 +23,13 @@ rescue LoadError
end

namespace :test do
Rake::TestTask.new(:basic => ["generator:cleanup",
Rake::TestTask.new(:basic => ["check_dependencies",
"generator:cleanup",
"generator:blue_light_special",
"generator:blue_light_special_tests"]) do |task|
task.libs << "lib"
task.libs << "test"
task.pattern = "test/**/*_test.rb"
task.pattern = "test/{controllers,models}/*_test.rb"
task.verbose = false
end
end
Expand All @@ -49,7 +51,7 @@ namespace :generator do

desc "Run the blue_light_special generator"
task :blue_light_special do
system "cd test/rails_root && ./script/generate blue_light_special -f && rake db:migrate db:test:prepare"
system "cd test/rails_root && ./script/generate blue_light_special -f && rake gems:unpack && rake db:migrate db:test:prepare"
end

desc "Run the blue_light_special tests generator"
Expand Down
6 changes: 6 additions & 0 deletions test/rails_root/config/environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
config.gem "justinfrench-formtastic",
:lib => 'formtastic',
:source => 'http://gems.github.com'

config.gem "facebooker",
:version => '=1.0.62'

config.gem "delayed_job",
:version => '=1.8.4'

config.action_mailer.default_url_options = { :host => 'localhost:3000' }
end

0 comments on commit f0ca7b5

Please sign in to comment.