Permalink
Browse files

adding background job as a plugin, trying to reduce external dependen…

…cies, migrating away from BackgroundRB
  • Loading branch information...
mikehelmick committed Aug 3, 2009
1 parent 91a6919 commit 5cfdee3b74121856e5c97510a5290800c11ad853
Showing with 6,820 additions and 0 deletions.
  1. +8 −0 db/migrate/20090803034724_bj_migration0.rb
  2. +679 −0 script/bj
  3. +3 −0 vendor/plugins/bj/HISTORY
  4. +142 −0 vendor/plugins/bj/README
  5. +22 −0 vendor/plugins/bj/Rakefile
  6. +679 −0 vendor/plugins/bj/bin/bj
  7. +33 −0 vendor/plugins/bj/init.rb
  8. +95 −0 vendor/plugins/bj/install.rb
  9. +443 −0 vendor/plugins/bj/lib/arrayfields.rb
  10. +118 −0 vendor/plugins/bj/lib/attributes.rb
  11. +87 −0 vendor/plugins/bj/lib/bj.rb
  12. +161 −0 vendor/plugins/bj/lib/bj/api.rb
  13. +120 −0 vendor/plugins/bj/lib/bj/attributes.rb
  14. +72 −0 vendor/plugins/bj/lib/bj/bj.rb
  15. +4 −0 vendor/plugins/bj/lib/bj/errors.rb
  16. +112 −0 vendor/plugins/bj/lib/bj/joblist.rb
  17. +50 −0 vendor/plugins/bj/lib/bj/logger.rb
  18. +357 −0 vendor/plugins/bj/lib/bj/runner.rb
  19. +86 −0 vendor/plugins/bj/lib/bj/stdext.rb
  20. +384 −0 vendor/plugins/bj/lib/bj/table.rb
  21. +111 −0 vendor/plugins/bj/lib/bj/util.rb
  22. +153 −0 vendor/plugins/bj/lib/fattr.rb
  23. +60 −0 vendor/plugins/bj/lib/main.rb
  24. +515 −0 vendor/plugins/bj/lib/main/base.rb
  25. +100 −0 vendor/plugins/bj/lib/main/cast.rb
  26. +20 −0 vendor/plugins/bj/lib/main/factories.rb
  27. +470 −0 vendor/plugins/bj/lib/main/getoptlong.rb
  28. +51 −0 vendor/plugins/bj/lib/main/logger.rb
  29. +42 −0 vendor/plugins/bj/lib/main/mode.rb
  30. +699 −0 vendor/plugins/bj/lib/main/parameter.rb
  31. +12 −0 vendor/plugins/bj/lib/main/softspoken.rb
  32. +38 −0 vendor/plugins/bj/lib/main/stdext.rb
  33. +211 −0 vendor/plugins/bj/lib/main/usage.rb
  34. +91 −0 vendor/plugins/bj/lib/main/util.rb
  35. +25 −0 vendor/plugins/bj/lib/orderedautohash.rb
  36. +200 −0 vendor/plugins/bj/lib/orderedhash.rb
  37. +299 −0 vendor/plugins/bj/lib/systemu.rb
  38. +55 −0 vendor/plugins/bj/script/bj
  39. +4 −0 vendor/plugins/bj/tasks/bj_tasks.rake
  40. +8 −0 vendor/plugins/bj/test/bj_test.rb
  41. +1 −0 vendor/plugins/bj/uninstall.rb
@@ -0,0 +1,8 @@
+ class BjMigration0 < ActiveRecord::Migration
+ def self.up
+ Bj::Table.each{|table| table.up}
+ end
+ def self.down
+ Bj::Table.reverse_each{|table| table.down}
+ end
+ end
Oops, something went wrong.

0 comments on commit 5cfdee3

Please sign in to comment.