git: a180c280168a - main - devel/rubygem-activejob72: Add rubygem-activejob72 7.2.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 18 Sep 2024 06:18:25 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a180c280168a6f57629d84368487d0c0cdb38b4c

commit a180c280168a6f57629d84368487d0c0cdb38b4c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-18 05:51:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-18 06:13:01 +0000

    devel/rubygem-activejob72: Add rubygem-activejob72 7.2.1
    
    Active Job is a framework for declaring jobs and making them run on a variety of
    queuing backends. These jobs can be everything from regularly scheduled
    clean-ups, to billing charges, to mailings -- anything that can be chopped up
    into small units of work and run in parallel.
    
    It also serves as the backend for Action Mailer's #deliver_later functionality
    that makes it easy to turn any mailing into a job for running later. That's one
    of the most common jobs in a modern web application: sending emails outside the
    request-response cycle, so the user doesn't have to wait on it.
    
    The main point is to ensure that all Rails apps will have a job infrastructure
    in place, even if it's in the form of an "immediate runner". We can then have
    framework features and other gems build on top of that, without having to worry
    about API differences between Delayed Job and Resque. Picking your queuing
    backend becomes more of an operational concern, then. And you'll be able to
    switch between them without having to rewrite your jobs.
---
 devel/Makefile                      |  1 +
 devel/rubygem-activejob72/Makefile  | 27 +++++++++++++++++++++++++++
 devel/rubygem-activejob72/distinfo  |  3 +++
 devel/rubygem-activejob72/pkg-descr | 16 ++++++++++++++++
 4 files changed, 47 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 2d4b5de7837a..8108c0b7d1a6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6317,6 +6317,7 @@
     SUBDIR += rubygem-activejob61
     SUBDIR += rubygem-activejob70
     SUBDIR += rubygem-activejob71
+    SUBDIR += rubygem-activejob72
     SUBDIR += rubygem-activemessaging
     SUBDIR += rubygem-activerecord-deprecated_finders
     SUBDIR += rubygem-activesupport4
diff --git a/devel/rubygem-activejob72/Makefile b/devel/rubygem-activejob72/Makefile
new file mode 100644
index 000000000000..78d41b1ab916
--- /dev/null
+++ b/devel/rubygem-activejob72/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	activejob
+PORTVERSION=	7.2.1
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	72
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Declare job classes that can be run by a variety of queuing backends
+WWW=		https://github.com/rails/rails/tree/main/activejob \
+		https://rubyonrails.org/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-activesupport72>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport72 \
+		rubygem-globalid-rails72>=0.3.6:databases/rubygem-globalid-rails72
+
+USES=		cpe gem
+
+NO_ARCH=	yes
+
+CPE_VENDOR=	rubyonrails
+CPE_PRODUCT=	active_job
+
+PORTSCOUT=	limit:^7\.2\.
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-activejob72/distinfo b/devel/rubygem-activejob72/distinfo
new file mode 100644
index 000000000000..34d39946ac4f
--- /dev/null
+++ b/devel/rubygem-activejob72/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1726487286
+SHA256 (rubygem/activejob-7.2.1.gem) = eb145f5aaf8276f37b9e4e9f72f3d56b1733172b4be680e836c765f2e6a3c503
+SIZE (rubygem/activejob-7.2.1.gem) = 36352
diff --git a/devel/rubygem-activejob72/pkg-descr b/devel/rubygem-activejob72/pkg-descr
new file mode 100644
index 000000000000..d618ca834e3c
--- /dev/null
+++ b/devel/rubygem-activejob72/pkg-descr
@@ -0,0 +1,16 @@
+Active Job is a framework for declaring jobs and making them run on a variety of
+queuing backends. These jobs can be everything from regularly scheduled
+clean-ups, to billing charges, to mailings -- anything that can be chopped up
+into small units of work and run in parallel.
+
+It also serves as the backend for Action Mailer's #deliver_later functionality
+that makes it easy to turn any mailing into a job for running later. That's one
+of the most common jobs in a modern web application: sending emails outside the
+request-response cycle, so the user doesn't have to wait on it.
+
+The main point is to ensure that all Rails apps will have a job infrastructure
+in place, even if it's in the form of an "immediate runner". We can then have
+framework features and other gems build on top of that, without having to worry
+about API differences between Delayed Job and Resque. Picking your queuing
+backend becomes more of an operational concern, then. And you'll be able to
+switch between them without having to rewrite your jobs.