pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-activejob42 Import ruby-activejob-4.2.8 as ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/82ae829c272b
branches:  trunk
changeset: 361423:82ae829c272b
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Apr 21 21:20:33 2017 +0000

description:
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.

diffstat:

 devel/ruby-activejob42/DESCR    |  19 +++++++++++++++++++
 devel/ruby-activejob42/Makefile |  18 ++++++++++++++++++
 devel/ruby-activejob42/PLIST    |  37 +++++++++++++++++++++++++++++++++++++
 devel/ruby-activejob42/distinfo |   6 ++++++
 4 files changed, 80 insertions(+), 0 deletions(-)

diffs (96 lines):

diff -r 8bb4a921fa0b -r 82ae829c272b devel/ruby-activejob42/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-activejob42/DESCR      Fri Apr 21 21:20:33 2017 +0000
@@ -0,0 +1,19 @@
+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.
diff -r 8bb4a921fa0b -r 82ae829c272b devel/ruby-activejob42/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-activejob42/Makefile   Fri Apr 21 21:20:33 2017 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2017/04/21 21:20:33 minskim Exp $
+
+DISTNAME=      activejob-${RUBY_RAILS_VERSION}
+CATEGORIES=    devel
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+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"
diff -r 8bb4a921fa0b -r 82ae829c272b devel/ruby-activejob42/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-activejob42/PLIST      Fri Apr 21 21:20:33 2017 +0000
@@ -0,0 +1,37 @@
+@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
diff -r 8bb4a921fa0b -r 82ae829c272b devel/ruby-activejob42/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-activejob42/distinfo   Fri Apr 21 21:20:33 2017 +0000
@@ -0,0 +1,6 @@
+$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



Home | Main Index | Thread Index | Old Index