Fri Apr 21 21:20:33 2017 UTC ()
Import ruby-activejob-4.2.8 as devel/ruby-activejob42

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.


(minskim)
diff -r0 -r1.1 pkgsrc/devel/ruby-activejob42/DESCR
diff -r0 -r1.1 pkgsrc/devel/ruby-activejob42/Makefile
diff -r0 -r1.1 pkgsrc/devel/ruby-activejob42/PLIST
diff -r0 -r1.1 pkgsrc/devel/ruby-activejob42/distinfo

File Added: pkgsrc/devel/ruby-activejob42/Attic/DESCR
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.

File Added: pkgsrc/devel/ruby-activejob42/Attic/Makefile
# $NetBSD: Makefile,v 1.1 2017/04/21 21:20:33 minskim Exp $

DISTNAME=	activejob-${RUBY_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.0:../../devel/ruby-globalid

RUBY_RAILS_SUPPORTED=	42
RUBY_RAILS_STRICT_DEP=	yes

.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/ruby-activejob42/Attic/PLIST
@comment $NetBSD: PLIST,v 1.1 2017/04/21 21:20:33 minskim Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/CHANGELOG.md
${GEM_LIBDIR}/MIT-LICENSE
${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/lib/active_job.rb
${GEM_LIBDIR}/lib/active_job/arguments.rb
${GEM_LIBDIR}/lib/active_job/base.rb
${GEM_LIBDIR}/lib/active_job/callbacks.rb
${GEM_LIBDIR}/lib/active_job/configured_job.rb
${GEM_LIBDIR}/lib/active_job/core.rb
${GEM_LIBDIR}/lib/active_job/enqueuing.rb
${GEM_LIBDIR}/lib/active_job/execution.rb
${GEM_LIBDIR}/lib/active_job/gem_version.rb
${GEM_LIBDIR}/lib/active_job/logging.rb
${GEM_LIBDIR}/lib/active_job/queue_adapter.rb
${GEM_LIBDIR}/lib/active_job/queue_adapters.rb
${GEM_LIBDIR}/lib/active_job/queue_adapters/backburner_adapter.rb
${GEM_LIBDIR}/lib/active_job/queue_adapters/delayed_job_adapter.rb
${GEM_LIBDIR}/lib/active_job/queue_adapters/inline_adapter.rb
${GEM_LIBDIR}/lib/active_job/queue_adapters/qu_adapter.rb
${GEM_LIBDIR}/lib/active_job/queue_adapters/que_adapter.rb
${GEM_LIBDIR}/lib/active_job/queue_adapters/queue_classic_adapter.rb
${GEM_LIBDIR}/lib/active_job/queue_adapters/resque_adapter.rb
${GEM_LIBDIR}/lib/active_job/queue_adapters/sidekiq_adapter.rb
${GEM_LIBDIR}/lib/active_job/queue_adapters/sneakers_adapter.rb
${GEM_LIBDIR}/lib/active_job/queue_adapters/sucker_punch_adapter.rb
${GEM_LIBDIR}/lib/active_job/queue_adapters/test_adapter.rb
${GEM_LIBDIR}/lib/active_job/queue_name.rb
${GEM_LIBDIR}/lib/active_job/railtie.rb
${GEM_LIBDIR}/lib/active_job/test_case.rb
${GEM_LIBDIR}/lib/active_job/test_helper.rb
${GEM_LIBDIR}/lib/active_job/translation.rb
${GEM_LIBDIR}/lib/active_job/version.rb
${GEM_LIBDIR}/lib/rails/generators/job/job_generator.rb
${GEM_LIBDIR}/lib/rails/generators/job/templates/job.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec

File Added: pkgsrc/devel/ruby-activejob42/Attic/distinfo
$NetBSD: distinfo,v 1.1 2017/04/21 21:20:33 minskim Exp $

SHA1 (activejob-4.2.8.gem) = 5743c76b7ebcb91e93c6ed1af3bf97e5888253fa
RMD160 (activejob-4.2.8.gem) = 66abbebf9b2068a7d29047b4fe2eeab9f937617a
SHA512 (activejob-4.2.8.gem) = 9076f3b43b1d14dc7658831a594e9bddfd267ce4d7b11bcfcec8364b5179a8747de001d67844c3324258379b531994db5050dc1228bdb4f7c843b5915c81bad4
Size (activejob-4.2.8.gem) = 19456 bytes