Skip to content

Commit

Permalink
Bump to 2.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebarrie committed Jun 12, 2024
1 parent 547bc8e commit 93a5067
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
maintenance_tasks (2.7.0)
maintenance_tasks (2.7.1)
actionpack (>= 6.0)
activejob (>= 6.0)
activerecord (>= 6.0)
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,10 @@ end

### Subscribing to instrumentation events

If you are interested in actioning a specific task event, please refer to the [Using Task Callbacks](#using-task-callbacks) section below. However, if you want to subscribe to all events, irrespective of the task, you can use the following Active Support notifications:
If you are interested in actioning a specific task event, please refer to the
[Using Task Callbacks](#using-task-callbacks) section below. However, if you
want to subscribe to all events, irrespective of the task, you can use the
following Active Support notifications:

```ruby
enqueued.maintenance_tasks # This event is published when a task has been enqueued by the user.
Expand All @@ -507,7 +510,8 @@ paused.maintenance_tasks # This event is published when a task is paused by
errored.maintenance_tasks # This event is published when the task's code produces an unhandled exception.
```

These notifications offer a way to monitor the lifecycle of maintenance tasks in your application.
These notifications offer a way to monitor the lifecycle of maintenance tasks in
your application.

Usage example:

Expand Down
2 changes: 1 addition & 1 deletion maintenance_tasks.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "maintenance_tasks"
spec.version = "2.7.0"
spec.version = "2.7.1"
spec.author = "Shopify Engineering"
spec.email = "[email protected]"
spec.homepage = "https://github.com/Shopify/maintenance_tasks"
Expand Down

0 comments on commit 93a5067

Please sign in to comment.