Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 7604B1A9239 for ; Sun, 16 Jan 2022 14:06:16 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id A1D8E84E85; Sun, 16 Jan 2022 14:06:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DD59884DC2 for ; Sun, 16 Jan 2022 14:06:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id puX9-SEoNCCg for ; Sun, 16 Jan 2022 14:06:14 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 5170984D59 for ; Sun, 16 Jan 2022 14:06:14 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 4F879FB24; Sun, 16 Jan 2022 14:06:14 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_164234197455550" MIME-Version: 1.0 Date: Sun, 16 Jan 2022 14:06:14 +0000 From: "Takahiro Kambe" Subject: CVS commit: pkgsrc/devel/ruby-activejob70 To: pkgsrc-changes@NetBSD.org Reply-To: taca@netbsd.org X-Mailer: log_accum Message-Id: <20220116140614.4F879FB24@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_164234197455550 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: taca Date: Sun Jan 16 14:06:14 UTC 2022 Modified Files: pkgsrc/devel/ruby-activejob70: distinfo Log Message: devel/ruby-activejob70: update to 7.0.1 7.0.1 (2021-01-06) * Allow testing discard_on/retry_on ActiveJob::DeserializationError Previously in perform_enqueued_jobs, deserialize_arguments_if_needed was called before calling perform_now. When a record no longer exists and is serialized using GlobalID this led to raising an ActiveJob::DeserializationError before reaching perform_now call. This behaviour makes difficult testing the job discard_on/retry_on logic. Now deserialize_arguments_if_needed call is postponed to when perform_now is called. Example: class UpdateUserJob < ActiveJob::Base discard_on ActiveJob::DeserializationError def perform(user) # ... end end # In the test User.destroy_all assert_nothing_raised do perform_enqueued_jobs only: UpdateUserJob end Jacopo Beschi To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/ruby-activejob70/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_164234197455550 Content-Disposition: inline Content-Length: 1030 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/ruby-activejob70/distinfo diff -u pkgsrc/devel/ruby-activejob70/distinfo:1.1 pkgsrc/devel/ruby-activejob70/distinfo:1.2 --- pkgsrc/devel/ruby-activejob70/distinfo:1.1 Sun Dec 19 05:53:19 2021 +++ pkgsrc/devel/ruby-activejob70/distinfo Sun Jan 16 14:06:14 2022 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1 2021/12/19 05:53:19 taca Exp $ +$NetBSD: distinfo,v 1.2 2022/01/16 14:06:14 taca Exp $ -BLAKE2s (activejob-7.0.0.gem) = ecda540ba6c4bc1856933ba7ac22fedc3fff9e08b9a1b16eff07b54a78850882 -SHA512 (activejob-7.0.0.gem) = 19de95c908c6b4d6670ae23de63d40d595380ece98f7e067694d02b6e9b506a68d841c8e5b08ad844c4938a2d09fa2bc493b2097916a464c9c9ad1551e22e88e -Size (activejob-7.0.0.gem) = 32768 bytes +BLAKE2s (activejob-7.0.1.gem) = f74aa4a6f5c85da71327a8114ac6219882571346074bf8c87987a146981199cb +SHA512 (activejob-7.0.1.gem) = b73f284bd7ed9ddf90e2a44d154d20262dc64573f53571cccc700f221c199d0862ecd196cdd145189cce7d8ceebecb14799710aab2e64fa5bc15b86eb6550f49 +Size (activejob-7.0.1.gem) = 32768 bytes --_----------=_164234197455550--