pkgsrc/devel/ruby-activejob51/Makefile
taca 432d810e9f devel/ruby-activejob51: add version 5.1.5 package
Active Job is a framework for declaring jobs and making them run on a
variety of queueing 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, really.

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 of 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.

This is for Ruby on Rails 5.1.
2018-03-21 09:50:44 +00:00

19 lines
563 B
Makefile

# $NetBSD: Makefile,v 1.1 2018/03/21 09:50:44 taca Exp $
DISTNAME= activejob-${RAILS_VERSION}
PKGNAME= ${RUBY_PKGPREFIX}-activejob${RUBY_RAILS}-${RAILS_VERSION}
CATEGORIES= devel
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://www.rubyonrails.org/
COMMENT= Job classes that can be run by a variety of queueing backends
LICENSE= mit
DEPENDS+= ${RUBY_ACTIVESUPPORT_DEPENDS}
DEPENDS+= ${RUBY_PKGPREFIX}-globalid>=0.3.6:../../devel/ruby-globalid
RUBY_RAILS_ACCEPTED= 51
RUBY_RAILS_STRICT_DEP= yes
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"