README.md in active_job_channel-0.0.1 vs README.md in active_job_channel-0.0.2
- old
+ new
@@ -11,10 +11,13 @@
2. Setup an [`ActionCable` subscription adapter](http://edgeguides.rubyonrails.org/action_cable_overview.html#subscription-adapter)
* Note: A persisted subscription adapter is required for handling notifications
from background `ActiveJob` processes. Currently only PostgreSQL and Redis
are supported.
+3. (Optional) If you need authorization for notifications, [set up your own
+ `ApplicationCable::Connection`](http://guides.rubyonrails.org/action_cable_overview.html#server-side-components-connections)
+
3. Include `active_job_channel.js` in your layouts
```ruby
javascript_include_tag 'active_job_channel'
```
@@ -57,8 +60,11 @@
* A persisted [subscription adapter](http://guides.rubyonrails.org/action_cable_overview.html#subscription-adapter)
is required for `ActionCable` to handle notifications from background
`ActiveJob` processes
* Because `ActiveJob` does not know when a job has permanently failed,
`ActiveJobChannel` sends notfications for each failure, retried or final
+
+## Todo
+- Better default front-end notification behavior
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).