README.md in sidekiq-belt-0.2.0 vs README.md in sidekiq-belt-0.3.0

- old
+ new

@@ -1,7 +1,15 @@ # Sidekiq::Belt + +<a href='http://badge.fury.io/rb/sidekiq-belt'> + <img src="https://badge.fury.io/rb/sidekiq-belt.png" alt="Gem Version" /> +</a> +<a href='https://github.com/dannnylo/sidekiq-belt/workflows/CI/badge.svg'> + <img src="https://github.com/dannnylo/sidekiq-belt/workflows/CI/badge.svg" alt="Build Status" /> +</a> + This Ruby gem enhances the capabilities of Sidekiq, Sidekiq Pro, and Sidekiq Enterprise by adding essential utilities. ## Installation Install the gem and add to the application's Gemfile by executing: @@ -57,17 +65,22 @@ To enable this feature, pass the `periodic_pause` option: ```ruby Sidekiq::Belt.use!([:periodic_pause]) ``` +![periodic_pause](https://github.com/dannnylo/sidekiq-belt/assets/20794/41fbcee4-9c5b-45cd-b6f7-c359a22f3979) +![periodic_unpause](https://github.com/dannnylo/sidekiq-belt/assets/20794/ea06ae37-068e-4f66-ab10-d83970545a59) ### Delete an Unfinished Batch (sidekiq-pro) -This feature is not yet implemented. +This option adds a button to remove failed batches. -### Delete a not finished Batch (sidekiq-pro) +To enable this feature, pass the `failed_batch_remove` option: +```ruby +Sidekiq::Belt.use!([:failed_batch_remove]) +``` +![failed_batch_remove](https://github.com/dannnylo/sidekiq-belt/assets/20794/e285a8b2-4626-48e1-b04a-5190ae51d43b) -It will be implemented in upcoming versions. ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.