job_boss 0.5.5 → 0.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.markdown CHANGED
@@ -56,13 +56,13 @@ You can get command line options with the command:
56
56
  But since you don't want to do that right now, it looks something like this:
57
57
 
58
58
  Usage: job_boss [start|stop|restart|run|zap] [-- <options>]
59
- -r, --application-root PATH Path for the application root upon which other paths depend (defaults to .)
60
- -d, --database-yaml PATH Path for database YAML (defaults to <application-root>/config/database.yml)
61
- -l, --log-path PATH Path for log file (defaults to <application-root>/log/job_boss.log)
62
- -j, --jobs-path PATH Path to folder with job classes (defaults to <application-root>/app/jobs)
63
- -e, --environment ENV Environment to use in database YAML file (defaults to 'development')
64
- -s, --sleep-interval INTERVAL Number of seconds for the boss to sleep between checks of the queue (default 0.5)
65
- -c, --employee-limit LIMIT Maximum number of employees (default 4)
59
+ -r, --application-root PATH Path for the application root upon which other paths depend (defaults to .) Environment variable: JB_APPLICATION_ROOT
60
+ -d, --database-yaml PATH Path for database YAML (defaults to <application-root>/config/database.yml) Environment variable: JB_DATABASE_YAML_PATH
61
+ -l, --log-path PATH Path for log file (defaults to <application-root>/log/job_boss.log) Environment variable: JB_LOG_PATH
62
+ -j, --jobs-path PATH Path to folder with job classes (defaults to <application-root>/app/jobs) Environment variable: JB_JOBS_PATH
63
+ -e, --environment ENV Environment to use in database YAML file (defaults to 'development') Environment variable: JB_ENVIRONMENT
64
+ -s, --sleep-interval INTERVAL Number of seconds for the boss to sleep between checks of the queue (default 0.5) Environment variable: JB_SLEEP_INTERVAL
65
+ -c, --employee-limit LIMIT Maximum number of employees (default 4) Environment variable: JB_EMPLOYEE_LIMIT
66
66
 
67
67
  From your Rails code or in a console:
68
68
 
@@ -423,7 +423,7 @@
423
423
  <div class="method-heading">
424
424
 
425
425
  <span class="method-name">start_daemon</span><span
426
- class="method-args">(options)</span>
426
+ class="method-args">(options = {})</span>
427
427
  <span class="method-click-advice">click to toggle source</span>
428
428
 
429
429
  </div>
@@ -438,7 +438,7 @@
438
438
  id="start-daemon-source">
439
439
  <pre>
440
440
  <span class="ruby-comment cmt"># File test/test_helper.rb, line 55</span>
441
- 55: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start_daemon</span>(<span class="ruby-identifier">options</span>)
441
+ 55: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start_daemon</span>(<span class="ruby-identifier">options</span> = {})
442
442
  56: <span class="ruby-identifier">clean_app_environment</span>
443
443
  57:
444
444
  58: <span class="ruby-identifier">stop_daemon</span>