summaryrefslogtreecommitdiff
path: root/devel/rubygem-activejob-gitlab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/rubygem-activejob-gitlab')
-rw-r--r--devel/rubygem-activejob-gitlab/Makefile28
-rw-r--r--devel/rubygem-activejob-gitlab/distinfo3
-rw-r--r--devel/rubygem-activejob-gitlab/pkg-descr16
3 files changed, 47 insertions, 0 deletions
diff --git a/devel/rubygem-activejob-gitlab/Makefile b/devel/rubygem-activejob-gitlab/Makefile
new file mode 100644
index 000000000000..e7d9e5c7550f
--- /dev/null
+++ b/devel/rubygem-activejob-gitlab/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= activejob
+PORTVERSION= ${RAILS_VERSION}
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -gitlab
+
+MAINTAINER= mfechner@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-activesupport-gitlab>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport-gitlab \
+ rubygem-globalid-rails-gitlab>=0.3.6:databases/rubygem-globalid-rails-gitlab
+
+USES= cpe gem
+
+NO_ARCH= yes
+
+CPE_VENDOR= rubyonrails
+CPE_PRODUCT= active_job
+
+PORTSCOUT= limit:^7\.1\.
+
+.include "${.CURDIR}/../../www/gitlab/Makefile.common"
+.include <bsd.port.mk>
diff --git a/devel/rubygem-activejob-gitlab/distinfo b/devel/rubygem-activejob-gitlab/distinfo
new file mode 100644
index 000000000000..dccec58750c5
--- /dev/null
+++ b/devel/rubygem-activejob-gitlab/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1734888810
+SHA256 (rubygem/activejob-7.1.5.1.gem) = 7633376c857f4c491d06b5a7f5d86d9f07afc595398354a3f1abe80eb7e35767
+SIZE (rubygem/activejob-7.1.5.1.gem) = 37376
diff --git a/devel/rubygem-activejob-gitlab/pkg-descr b/devel/rubygem-activejob-gitlab/pkg-descr
new file mode 100644
index 000000000000..d618ca834e3c
--- /dev/null
+++ b/devel/rubygem-activejob-gitlab/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.