BSD Ports

devel/rubygem-activejob-gitlab ${RAILS_VERSION} MidnightBSD

Declare job classes that can be run by a variety of queuing backends

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
devel, rubygems

Description

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.

In the other systems

SystemPortVersion
MidnightBSDdevel/rubygem-activejob-gitlab${RAILS_VERSION}
FreeBSDdevel/rubygem-activejob-gitlab7.2.3.1
DragonFlydevel/rubygem-activejob-gitlab7.1.5.1
HardenedBSDdevel/rubygem-activejob-gitlab7.2.3.1
GhostBSDdevel/rubygem-activejob-gitlab7.2.3.1

Install

Binary package:

mport install activejob-gitlab

From mports:

cd /usr/mports/devel/rubygem-activejob-gitlab && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	activejob-gitlab>0:devel/rubygem-activejob-gitlab

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
cpe gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/activejob-7.2.3.gem36352e44964472de267b69e93752f088193c8ad2e56d2ef451d059dd7a53761e5ffb0
Master sites 1
  • RG