README.md in workless_revived-1.2.5 vs README.md in workless_revived-2.0.0
- old
+ new
@@ -9,12 +9,17 @@
This is an addon for delayed_job (> 2.0.0) http://github.com/collectiveidea/delayed_job
It is designed to be used when you're using Heroku as a host and have the need to do background work with delayed job but you don't want to leave the workers running all the time as it costs money.
By adding the gem to your project and configuring our Heroku app with some config variables workless should do the rest.
+:warning: **[The Legacy API will be sunset on April 15th, 2017](https://devcenter.heroku.com/changelog-items/862)** :warning:
+Please upgrade to version 2.0.0 as soon as you can. Version 2.0.0 is released on March 1st, 2017.
+
## Updates
+* Version 2.0.0 Updated to use latest version of the Heroku API. Drops support for old style Heroku
+* Version 1.3.0 DROPS SUPPORT FOR OLDER RUBY AND RAILS VERSIONS!
* Version 1.2.5 Added middleware to check on delayed jobs, fixed Rails 5 support
* Version 1.2.4 drops support for older versions!
* Version 1.2.3 replaces multiple commit callback with two callbacks for compatibility by @lostboy
* Version 1.2.2 includes after_commit fix by @collectiveip
* Version 1.2.1 includes support for Rails 4 & DJ 4 by @florentmorin
@@ -29,25 +34,17 @@
Workless should work correctly with Rubies 2.0.0 and up. It is compatible with Delayed Job since version 2.0.7 up to the latest version 4.1.2, the table below shows tested compatibility with ruby, rails and delayed_job
Ruby | Rails | Delayed Job
---------- | ------ | -----
-2.0.0 | 3.2.22 | 2.0.7
-2.2.4 | 4.2 | 2.1.4
-2.3.0 | 5.0 | 4.1.2
+2.2.5 | 4.2 | 2.1.4
+2.3.1 | 5.0 | 4.1.2
## Installation
Add the workless gem and the delayed_job gem to your project Gemfile and update your bundle. Its is recommended to specify the gem version for delayed_job
-### For rails 3.x with latest delayed_job 3.x using active record
-
-<pre>
-gem "delayed_job_active_record"
-gem "workless", "~> 1.1.3"
-</pre>
-
### For rails 4.x with latest delayed_job 3.x using active record
<pre>
gem "delayed_job_active_record"
gem "workless_revived", "~> 1.2.4"
@@ -85,10 +82,10 @@
There are three other scalers included. Note that if you are running on the Aspen or Bamboo stacks on Heroku and you don't explicitly specify the scaler, the heroku scaler will be used automatically.
<pre>
Delayed::Job.scaler = :heroku
-Delayed::Job.scaler = :heroku_cedar
+Delayed::Job.scaler = :heroku
Delayed::Job.scaler = :local
</pre>
The local scaler uses @adamwiggins rush library http://github.com/adamwiggins/rush to start and stop workers on a local machine. The local scaler also relies on script/delayed_job (which in turn requires the daemon gem). If you have been using foreman to run your workers, go back and see the delayed_job [setup instructions](https://github.com/collectiveidea/delayed_job/blob/master/README.md).