From 1481f67cabe3ebccfbf7dd6c3fd95b211c3e85f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Barri=C3=A9?= Date: Wed, 12 Jun 2024 16:05:29 +0200 Subject: [PATCH] Bump to 2.7.1 (#1042) --- Gemfile.lock | 2 +- README.md | 8 ++++++-- maintenance_tasks.gemspec | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index bf1c02f9..a9d26e4c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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) diff --git a/README.md b/README.md index 2a5a61d1..70468a5e 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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: diff --git a/maintenance_tasks.gemspec b/maintenance_tasks.gemspec index 814ca6a5..2ba9a249 100644 --- a/maintenance_tasks.gemspec +++ b/maintenance_tasks.gemspec @@ -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 = "gems@shopify.com" spec.homepage = "https://github.com/Shopify/maintenance_tasks"