git: 31653a3a7335 - main - devel/rubygem-activejob80: Add rubygem-activejob80 8.0.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Jan 2025 16:30:16 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=31653a3a73350b3dc261a46b27cba52d395646cb
commit 31653a3a73350b3dc261a46b27cba52d395646cb
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-01-02 16:28:02 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-01-02 16:28:02 +0000
devel/rubygem-activejob80: Add rubygem-activejob80 8.0.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-activejob80/Makefile | 27 +++++++++++++++++++++++++++
devel/rubygem-activejob80/distinfo | 3 +++
devel/rubygem-activejob80/pkg-descr | 16 ++++++++++++++++
4 files changed, 47 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 924edaeb1768..23fd42b62365 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6413,6 +6413,7 @@
SUBDIR += rubygem-activejob70
SUBDIR += rubygem-activejob71
SUBDIR += rubygem-activejob72
+ SUBDIR += rubygem-activejob80
SUBDIR += rubygem-activemessaging
SUBDIR += rubygem-activerecord-deprecated_finders
SUBDIR += rubygem-activesupport4
diff --git a/devel/rubygem-activejob80/Makefile b/devel/rubygem-activejob80/Makefile
new file mode 100644
index 000000000000..7703617cc31a
--- /dev/null
+++ b/devel/rubygem-activejob80/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= activejob
+PORTVERSION= 8.0.1
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 80
+
+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-activesupport80>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport80 \
+ rubygem-globalid-rails80>=0.3.6:databases/rubygem-globalid-rails80
+
+USES= cpe gem
+
+NO_ARCH= yes
+
+CPE_VENDOR= rubyonrails
+CPE_PRODUCT= active_job
+
+PORTSCOUT= limit:^8\.0\.
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-activejob80/distinfo b/devel/rubygem-activejob80/distinfo
new file mode 100644
index 000000000000..0e156de358e7
--- /dev/null
+++ b/devel/rubygem-activejob80/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1735802474
+SHA256 (rubygem/activejob-8.0.1.gem) = 95acd9a32d498d3a458efbb317f6191fb678758cde0ebb6c68f0b25e0fe3477f
+SIZE (rubygem/activejob-8.0.1.gem) = 35840
diff --git a/devel/rubygem-activejob80/pkg-descr b/devel/rubygem-activejob80/pkg-descr
new file mode 100644
index 000000000000..d618ca834e3c
--- /dev/null
+++ b/devel/rubygem-activejob80/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.