README.markdown in simple_worker-0.5.8 vs README.markdown in simple_worker-0.6.0
- old
+ new
@@ -109,10 +109,11 @@
"start_time"=>"2010-12-28T23:19:36+00:00",
"end_time"=>nil,
"duration"=>nil,
"progress"=>{"percent"=>25}}
+There is also a convenience method `worker.wait_until_complete` that will wait until the status returned is completed or error.
Logging
-------
In your worker, just call the log method with the string you want logged:
@@ -225,11 +226,15 @@
Merging Gems
---------------------
This allows you to use any gem you'd like with SimpleWorker. This uses the same syntax as bundler gem files.
+ # merge latest version of the gem
merge_gem "some_gem"
+ # or specify specific version
merge_gem "some_gem_with_version", "1.2.3"
+ # or if gem has poor naming scheme
+ merge_gem 'mongoid_i18n', :require => 'mongoid/i18n'
[Check here for more info on merge_gem](http://support.simpleworker.com/kb/working-with-simpleworker/merging-gems-into-your-worker).
Configuration Options