I updated setup info in README to include Rails 3 #41

Open
wants to merge 352 commits into
from

Projects

None yet
@brandondrew

If I come across any more outdated info I'll try to update that too

jqr and others added some commits Feb 5, 2010
@jqr jqr Referencing the right gem. a533c41
@jqr jqr Instructing user to setup a backend as part of installation. 7bec196
@bkeepers bkeepers Fix error message when trying to send_later on a method that doesn't …
…exist
c7ce97a
@bkeepers bkeepers Allow class methods to be queued on ActiveRecord objects. Closes #41 782ceb8
@bkeepers bkeepers Use current float time for finding available jobs 757a614
@bkeepers bkeepers Clean up priority spec 7369923
@bkeepers bkeepers Make spec pass when run on machines with the TZ set to UTC a00f01e
@zbelzer zbelzer Updates to the backend test structure
* Moved specific backend tests to a backend directory
* Conditionally testing mongo adapter
* Renamed mongo to mongo_mapper since there are other mongo ORMs
4096c47
@zbelzer zbelzer Updating MongoMapper backend
* Added tests for limit in find_available
* Added priority back in to MM backend and added tests
* Modified MM to query more efficiently

Worked on by: dresselm, belzerz
80c2ee7
@zbelzer zbelzer Adding very important indexes. Can't believe I forgot them 770373a
@zbelzer zbelzer Pushing new gemspec to make bundler happier 5b49817
@zbelzer zbelzer Bugfix: No update_attribute in mongo_mapper 32ead61
@bkeepers bkeepers Only set auto_flushing=true if logger responds to it. closes #47 98b0f90
@bkeepers bkeepers Fix test for daylight saving time 0bb9b3e
@bkeepers bkeepers Regenerated gemspec for version 1.8.5 8125b2a
@bkeepers bkeepers Merge remote branch 'moneypools/master'
* moneypools/master:
  Bugfix: No update_attribute in mongo_mapper
  Pushing new gemspec to make bundler happier
  Adding very important indexes. Can't believe I forgot them
  Updating MongoMapper backend
  Updates to the backend test structure

Conflicts:
	delayed_job.gemspec
980cb22
@bkeepers bkeepers Fix formatting in README. closes #46 800755a
@bkeepers bkeepers Added #before_fork and #after_fork on the backends that is called bef…
…ore and after forking the background process
855f1ba
@bkeepers bkeepers Version bump to 1.9.0pre fa64cac
@bkeepers bkeepers Only run generator if ActiveRecord is defined 59c1544
@fredwu fredwu Syntax error on some systems due to the encoding. d848ae2
@fredwu fredwu Refactored before_save, so that it's compatible with rails 3. bcd8d72
@fredwu fredwu Rails 3 compatibility. 418423c
@bkeepers bkeepers Move backend setup into config.after_initialize 0a4ffb4
@bkeepers bkeepers Add note in gemspec that this is collectiveidea's fork 54c2e27
@bkeepers bkeepers remove moneypools gemspec b8bcefe
@bkeepers bkeepers Regenerated gemspec for version cff0fd2
@bkeepers bkeepers Apparently Jeweler doesn't like pre-release gems
This reverts commit cff0fd2.
42c07cc
@bkeepers bkeepers Re-added Delayed::Job.work_off and deprecated it 36b558d
@bkeepers bkeepers Run the worker specs with each backend b5cabbd
@bkeepers bkeepers Require all backends for running the tests (sorry, if you're gonna co…
…ntribute, then you gotta make sure all the tests pass)
3a7c29e
@lpetre lpetre * new datamapper backend for delayed job 3a80488
@lpetre lpetre * code cleanup / comments 97862c3
@lpetre lpetre * better support for Delayed::Worker.backed = :data_mapper a6f4716
@lpetre lpetre * code cleanup 7ea606a
@lpetre lpetre * moving code from specs into main Job backend 1a5c5d9
@bkeepers bkeepers Move datamapper specs into backends directory 452a040
@bkeepers bkeepers Use database_cleaner in specs 7605ed0
@lpetre lpetre * making datamapper work through all the worker_specs a31f907
@lpetre lpetre * gracefully handling gems that do not load dd81b03
@bkeepers bkeepers Use local time since DM ignores timezones 6329fcb
@bkeepers bkeepers README updates d98d6e4
@bkeepers bkeepers Tell DataMapper folks to run auto_upgrade 39bfbe8
@bkeepers bkeepers Version bump to 2.0.0 39b675f
@bkeepers bkeepers Add index to AR spec setup aff5cd5
@bkeepers bkeepers Adding benchmark script ec7e409
@bkeepers bkeepers Regenerated gemspec for version 2.0.0 7b05a2d
@martinbtt martinbtt bugfix - reference active record in the global namespace scope after_…
…fork
b3df972
@bkeepers bkeepers specs to ensure before_fork and after_fork are working 764cba7
@bkeepers bkeepers Version bump to 2.0.1 b8a14fd
@bkeepers bkeepers Regenerated gemspec for version 2.0.1 f5afff4
Phil Darnowsky MongoMapper.time_class is gone, substituted Time 54d4091
Phil Darnowsky Added on_permanent_failure hook d2f14cd
@lpetre lpetre * supporting handlers > 50 characters 803f2bf
@lpetre lpetre * supporting last_error > 50 characters
 * supporting DataMapper backend while dm-validations is in play
37a16d1
@bkeepers bkeepers Merge remote branch 'phildarnowsky/master'
* phildarnowsky/master:
  Added on_permanent_failure hook
  MongoMapper.time_class is gone, substituted Time
7e9b9c0
@lpetre lpetre * adding index to datamapper table e9b1573
@lpetre lpetre * DM performance improvements 93833cc
@lpetre lpetre * making benchmarks friendly to missing backends 2ddebdb
@yabawock yabawock Railtie to perform Rails 3 initialization 3e0fc41
@bkeepers bkeepers Remove duplicate in Rails 2 & 3 initializers c40c7f9
@bkeepers bkeepers Remove fragile expectation 91cbb24
@bkeepers bkeepers Merge remote branch 'lpetre/master'
* lpetre/master:
  * making benchmarks friendly to missing backends
  * DM performance improvements
be12e60
Denis Ahearn Fixed Delayed::Command daemonize to create tmp/pids directory (if it …
…doesn't exist) before launching worker processes.
8ec8ca4
@zbelzer zbelzer Connect to master doesn't reauthenticate on our behalf dafd5f4
@zbelzer zbelzer MongoMapper can't assume that the inputs are of an Integer type 14be7a2
@bkeepers bkeepers Version bump to 2.0.2 72b02e4
@bkeepers bkeepers Regenerated gemspec for version 2.0.2 2558b48
@bgreenlee bgreenlee Allow for a custom pid directory to be specified on the command line.
The problem with using #{RAILS_ROOT}/tmp/pids is that this dir changes with each deploy, so you have to make sure DJ is stopped before deploy and restarted after. Allowing for a pid dir that is stable makes it easier to use monitoring tools like Monit.
bd8c4ae
@zmoazeni zmoazeni Adding identifier an as option and including sample monit file. Credi…
…t to http://github.com/mguterl for the code.
82809a0
@bkeepers bkeepers Reopen files to their original path. Create new logger for delayed_jo…
…b.log
9c84276
@bkeepers bkeepers Fix mongo mapper setup in specs 77e8df4
@bkeepers bkeepers Fix initialization for Rails 2.x 9347c15
@bkeepers bkeepers Version bump to 2.0.3 8575f33
@bkeepers bkeepers Regenerated gemspec for version 2.0.3 695d259
@skyeagle skyeagle rake tasks for rails3 62c4a4c
@bkeepers bkeepers Added #delay method to Object that allows you to delay any method and…
… pass options:

  UserMailer.delay(:priority => 19, :run_at => 5.minutes.from_now).deliver_confirmation(@user)
7ec5ded
@bkeepers bkeepers Deprecate #send_later and #send_at in favor of new #delay method eb94694
@bkeepers bkeepers Run specs with Rails 2.3.5 and 3 244cf9c
@bkeepers bkeepers require specific activesupport extensions for Rails 3 c96da5f
Darrin Wortlehock Added Rails 3 compatible generator 03f2a69
Darrin Wortlehock Set chmod on script correctly 69d26d4
@bkeepers bkeepers Remove outdated changelog 31e6d07
@bkeepers bkeepers Replace custom serialization code with YAML magic 481d123
@bkeepers bkeepers Cleaner implementation for yaml serialization e22ac4e
@bkeepers bkeepers specs and tweaks for yaml serialization 0885b19
@bkeepers bkeepers Rearrange some specs 69d6de4
@rbriank rbriank added skeleton for couchdb 3a11caf
@bkeepers bkeepers dm-serializer no longer required 7664510
@rbriank rbriank added code from http://gist.github.com/389006 b5aeeec
@nightshade427 nightshade427 added couch_rest backend adapter 7f5432d
@rbriank rbriank added test files but they do not work yet 7e41b4e
@bkeepers bkeepers Update files in gemspec
Closes #64
fe36951
@bkeepers bkeepers normalize logging in worker f3cf960
@nightshade427 nightshade427 added specs and made them pass for couchrest adapter 5594fcc
@nightshade427 nightshade427 clean up code. removed unneeded parameters 5a3b462
@nightshade427 nightshade427 refactored some methods out 123488c
@nightshade427 nightshade427 use couchrest property default 6bca5a2
@nightshade427 nightshade427 remove unneeded methods 3864d28
@nightshade427 nightshade427 changed to work with the new YAML serialization 36bee22
bkeepers and others added some commits Sep 6, 2010
@bkeepers bkeepers remove old init.rb from gemspec 2bcbb50
@bkeepers bkeepers Remove arg from sample job 1b5c586
@bkeepers bkeepers load active_record and action_mailer before requiring delayed_job 0af736e
@bkeepers bkeepers Added #enqueue hook 3e8a196
@bkeepers bkeepers Don't depend on arity, which returns negative numbers when there are …
…variable arguments
5dc030e
@bkeepers bkeepers Added ruby-debug to development dependencies 0278846
@bkeepers bkeepers Update Delayed::Job.enqueue to take a hash 2cc1573
@bkeepers bkeepers Fix hooks on PerformableMethod and PerformableMailer [Closes #113] e132b5d
@bkeepers bkeepers Update spec 83fe8d8
@bkeepers bkeepers DRY up Gemfile d04dd79
@bkeepers bkeepers Require activesupport delegation b15e93d
@bkeepers bkeepers Fix spec to use API method instead of #reload a92ee5c
@bkeepers bkeepers Use ActiveRecord::Base.establish_connection to reconnect after forking 0b866f9
@danielmorrison danielmorrison Added note about Rails versions to the README. 234fcf8
@betamatt betamatt Changed @@sleep_delay to self.class.sleep_delay to be consistent with…
… other class variable usage
7093c26
@betamatt betamatt Add support for sleep_delay command line option 34fc406
@betamatt betamatt Reschedule jobs using a time provided by the handler, or fall back to…
… default
1fea4b0
@betamatt betamatt Remove broken spec that should not have been committed 92d7e31
@bkeepers bkeepers Use mysql to run specs dca7dd7
@bkeepers bkeepers Update benchmark to just run AR backend 4add3ba
David Genord II Added options to handle_asynchronously 4784f9d
@bkeepers bkeepers Merge remote branch 'Viximo/rescheduling'
* Viximo/rescheduling:
  Remove broken spec that should not have been committed
  Reschedule jobs using a time provided by the handler, or fall back to default
4a98683
@bkeepers bkeepers Merge remote branch 'Viximo/ci-sleep-patch'
* Viximo/ci-sleep-patch:
  Add support for sleep_delay command line option
  Changed @@sleep_delay to self.class.sleep_delay to be consistent with other class variable usage
aba9905
@edwinv edwinv Add delayed_job_args variable for Capistrano recipe to allow configur…
…ation of started workers (e.g. "-n 2 --max-priority 10")
08e498f
@jorgemanrubia jorgemanrubia Changed the way the error message is composed when a job fails. Whith…
… the previous implementation, if the raised error has a nil message, it will fail with a `<NoMethodError: undefined method '+' for nil:NilClass>`. Now it is using normal Ruby interpolation that will default to an empty String with nil messages.

Having an exception with a nil message is not a normal Ruby behaviour (Exceptions usually default to its class name when no message is provided), but it is possible. I am experiencing this problem because I am using the Ruby EDAM implementation of a commercial API, that doesn't set a message for its errors. The problem with delayed_job is quite serious, since it makes the jobs worker to crash completely (it kills the process).
2b23b80
@iamnader iamnader added log_queries option, which if set to false will silence the db q…
…ueries from showing up in the log every 5 seconds
2c42671
@iamnader iamnader forgot to commit a method 6797944
@iamnader iamnader forgot to commit a method f054208
@iamnader iamnader fixing documentation typo 2293667
@bkeepers bkeepers Merge branch 'master' of https://github.com/jorgemanrubia/delayed_job
* 'master' of https://github.com/jorgemanrubia/delayed_job:
  Changed the way the error message is composed when a job fails. Whith the previous implementation, if the raised error has a nil message, it will fail with a `<NoMethodError: undefined method '+' for nil:NilClass>`. Now it is using normal Ruby interpolation that will default to an empty String with nil messages.
6e8b218
@bkeepers bkeepers quiet down the specs 6d654ce
@bkeepers bkeepers Merge branch 'master' of https://github.com/bluetools/delayed_job
* 'master' of https://github.com/bluetools/delayed_job:
  Add delayed_job_args variable for Capistrano recipe to allow configuration of started workers (e.g. "-n 2 --max-priority 10")
d5beb84
@bkeepers bkeepers rescue argument error when deserializing job b64962d
@bkeepers bkeepers upgrade to rspec2 def384c
@bkeepers bkeepers Added Delayed::Job.reserve for a cleaner way to find and lock one ava…
…ilable job
1febad8
@bkeepers bkeepers fix deprecation warnings 488aaae
@bkeepers bkeepers Use new #reserve method in the worker 8e09ec0
@bkeepers bkeepers remove log_queries option. It will be replaced with better logger set…
…tings
626b5e2
@bkeepers bkeepers whitespace b0e1c7e
@bkeepers bkeepers move around serialization code 7b00063
@bkeepers bkeepers raise deserialization error when active record is not found 09bab8a
@bkeepers bkeepers rescue DeserializationError and mark job as failed
Closes #77
e090d3f
@bkeepers bkeepers Rework yaml serialization to make it less obtrusive cbde340
@bkeepers bkeepers Update README 3ff9711
@bkeepers bkeepers Added CHANGELOG e532041
@bkeepers bkeepers update README 3655aab
@bkeepers bkeepers update link to v2.0 branch in README 1a39108
@bkeepers bkeepers Fix issue where dirty tracking prevented job from being properly unlo…
…cked

Closes #63
e03a584
@bkeepers bkeepers Prepare for 2.1.0 release 5cbc4b3
@bkeepers bkeepers Fix #reserve method to call Worker#name c03b065
@bkeepers bkeepers failing spec for serialization issue f99439a
@bkeepers bkeepers Revert serialization refactoring that had some major issues
This reverts commit cbde340.
ffd1173
@bkeepers bkeepers Prepare for 2.1.1 release fcca64c
@andrehjr andrehjr Add :quiet => false to rake jobs:work d682535
@sekrett sekrett Documentation patch for actionmailer example c642f28
@bkeepers bkeepers Update shared spec to only call #reserve method on job
#reserve will become part of the public backend API. Other backends can still implement #find_available and #lock_exclusively and call them, but they must implement #reserve.
f4fc9a2
@bkeepers bkeepers bundle update 8787a11
@bkeepers bkeepers Fix dependencies for Ruby 1.9 8c5dff6
@bkeepers bkeepers Passing multiple arguments to `#enqueue` is deprecated
Pass a hash with :priority and :run_at.
03c8070
@bkeepers bkeepers Merge branch 'master' of https://github.com/andrehjr/delayed_job
* 'master' of https://github.com/andrehjr/delayed_job:
  Add :quiet => false to rake jobs:work
4f6ee92
@bkeepers bkeepers update CHANGELOG 8ea6cb4
@edwinv edwinv Added 'delayed_job_server_role' Capistrano variable to allow delayed_…
…job to run on its own worker server.
146fe98
@bkeepers bkeepers Merge branch 'master' of https://github.com/bluetools/delayed_job
* 'master' of https://github.com/bluetools/delayed_job:
  Added 'delayed_job_server_role' Capistrano variable to allow delayed_job to run on its own worker server.
d4c1a93
@bkeepers bkeepers Update CHANGELOG 48d1281
Elomar Souza Inject behavior into ActionMailer only after it's loaded 89ef669
@betamatt betamatt When using the activerecord backend, reserve jobs with an update quer…
…y instead of trying to lock a batch of available jobs. This causes workers to serialize on the database and avoids contention between them.
deb329b
@betamatt betamatt Fix use of limit for Rails 3 6b0e480
@betamatt betamatt Job payloads may implement #max_attempts to control how many times th…
…ey are retried
7d7bf45
@bkeepers bkeepers Merge branch 'v2.1-reserve' of https://github.com/Viximo/delayed_job
* 'v2.1-reserve' of https://github.com/Viximo/delayed_job:
  Fix use of limit for Rails 3
  When using the activerecord backend, reserve jobs with an update query instead of trying to lock a batch of available jobs.  This causes workers to serialize on the database and avoids contention between them.
1ad4453
@bkeepers bkeepers Remove .find_available and #lock_exclusively! from ActiveRecord backe…
…nd now that .reserve is doing it in one step.
3121164
@bkeepers bkeepers Merge branch 'v2.1-per-job-retry' of https://github.com/Viximo/delaye…
…d_job

* 'v2.1-per-job-retry' of https://github.com/Viximo/delayed_job:
  Job payloads may implement #max_attempts to control how many times they are retried
02d2e14
@bkeepers bkeepers Merge branch 'master' of https://github.com/elomar/delayed_job
* 'master' of https://github.com/elomar/delayed_job:
  Inject behavior into ActionMailer only after it's loaded
b3d8834
@bkeepers bkeepers Merge branch 'master' of https://github.com/sekrett/delayed_job
* 'master' of https://github.com/sekrett/delayed_job:
  Documentation patch for actionmailer example
c464744
@bkeepers bkeepers Add section in README specifically for Rails 3 mailers a1b8b56
@bkeepers bkeepers Update CHANGELOG cb52677
@bkeepers bkeepers Prepare for 2.1.2 release 2a9beb3
@bkeepers bkeepers Update Gemfile.lock a91f4c3
@sunkencity sunkencity fixed typo 78b6e81
@betamatt betamatt Revert "Remove .find_available and #lock_exclusively! from ActiveReco…
…rd backend now that .reserve is doing it in one step."

This reverts commit 3121164.
d3acec0
@betamatt betamatt Revert "Merge branch 'v2.1-reserve' of https://github.com/Viximo/dela…
…yed_job"

This reverts commit 1ad4453, reversing
changes made to 48d1281.
ddc0d20
@betamatt betamatt Add 2.1.3 to changelog 0cadb1a
@betamatt betamatt Merge branch 'master' of https://github.com/sunkencity/delayed_job c933ffc
@bryckbost bryckbost Added a couple extra tests for reserving jobs. 411719b
@edwinv edwinv Added Delay::Worker.delay_jobs configuration to allow delayed job to …
…operate in a test mode. When delay_jobs=false, all jobs are executed realtime; delay_jobs=true gives normal behavior with database backend.
b8a0cc5
@edwinv edwinv Added Delay::Worker.delay_jobs configuration to allow delayed job to …
…operate in a test mode. When delay_jobs=false, all jobs are executed realtime; delay_jobs=true gives normal behavior with database backend.
6c11015
@gaffneyc gaffneyc Add bundler rake tasks for releases. 8a3836f
@gaffneyc gaffneyc Preparing release of 2.1.3 7b945b2
@gaffneyc gaffneyc Updating Gemfile.lock 3ad2a3c
@gaffneyc gaffneyc Add 2.0.5 changelog entries to master branch. bb1e780
@gaffneyc gaffneyc Add 2.0.7 release notes to master changelog. 00ad3ad
@benhoskings benhoskings Only remove Class#to_yaml if it was defined there (fixes bundler-1.0.…
…10 incompatibility).
374c3fe
@pda pda Force YAML to use syck rather than psych. Eventually delayed_job shou…
…ld be made compatible with both.
cbb4060
@pda pda Guard against attempting YAML::ENGINE.yamler = "syck" in older rubies. 0563577
@gaffneyc gaffneyc Updating changelog for psych fixes. fc5bdcf
@pwnall pwnall Option -p / --prefix prepends identifier to worker process names. e4c91da
@gaffneyc gaffneyc Updated changelog with process name prefix support. e080182
@gaffneyc gaffneyc Remove Gemfile.lock. Following suggestions that it shouldn't be part …
…of the repo for a gem.
a35f577
@gaffneyc gaffneyc Prepare for 2.1.4 release. 8d302a7
@gaffneyc gaffneyc Add failing test for deserializing poorly formatted, non-delayed job …
…based yaml loading.
4513aee
@brandondrew brandondrew Fixed typo in README cdae1d2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment