pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ruby-activejob71



Module Name:    pkgsrc
Committed By:   taca
Date:           Thu Nov 30 15:17:21 UTC 2023

Added Files:
        pkgsrc/devel/ruby-activejob71: DESCR Makefile PLIST distinfo
        pkgsrc/devel/ruby-activejob71/patches: patch-lib_active__job.rb

Log Message:
devel/ruby-activejob71: add version 7.1.2

Active Job - Make work happen later

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.

This is for Ruby on Rails 7.1.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ruby-activejob71/DESCR \
    pkgsrc/devel/ruby-activejob71/Makefile \
    pkgsrc/devel/ruby-activejob71/PLIST \
    pkgsrc/devel/ruby-activejob71/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/ruby-activejob71/patches/patch-lib_active__job.rb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/ruby-activejob71/DESCR
diff -u /dev/null pkgsrc/devel/ruby-activejob71/DESCR:1.1
--- /dev/null   Thu Nov 30 15:17:21 2023
+++ pkgsrc/devel/ruby-activejob71/DESCR Thu Nov 30 15:17:21 2023
@@ -0,0 +1,22 @@
+Active Job - Make work happen later
+
+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.
+
+This is for Ruby on Rails 7.1.
Index: pkgsrc/devel/ruby-activejob71/Makefile
diff -u /dev/null pkgsrc/devel/ruby-activejob71/Makefile:1.1
--- /dev/null   Thu Nov 30 15:17:21 2023
+++ pkgsrc/devel/ruby-activejob71/Makefile      Thu Nov 30 15:17:21 2023
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2023/11/30 15:17:21 taca Exp $
+
+DISTNAME=      activejob-${RAILS_VERSION}
+PKGNAME=       ${RUBY_PKGPREFIX}-activejob${RUBY_RAILS}-${RAILS_VERSION}
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%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.6:../../devel/ruby-globalid
+
+USE_LANGUAGES= # none
+
+RUBY_RAILS_ACCEPTED=   71
+RUBY_RAILS_STRICT_DEP= yes
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/ruby-activejob71/PLIST
diff -u /dev/null pkgsrc/devel/ruby-activejob71/PLIST:1.1
--- /dev/null   Thu Nov 30 15:17:21 2023
+++ pkgsrc/devel/ruby-activejob71/PLIST Thu Nov 30 15:17:21 2023
@@ -0,0 +1,56 @@
+@comment $NetBSD: PLIST,v 1.1 2023/11/30 15:17:21 taca 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/deprecator.rb
+${GEM_LIBDIR}/lib/active_job/enqueuing.rb
+${GEM_LIBDIR}/lib/active_job/exceptions.rb
+${GEM_LIBDIR}/lib/active_job/execution.rb
+${GEM_LIBDIR}/lib/active_job/gem_version.rb
+${GEM_LIBDIR}/lib/active_job/instrumentation.rb
+${GEM_LIBDIR}/lib/active_job/log_subscriber.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/async_adapter.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/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/queue_priority.rb
+${GEM_LIBDIR}/lib/active_job/railtie.rb
+${GEM_LIBDIR}/lib/active_job/serializers.rb
+${GEM_LIBDIR}/lib/active_job/serializers/big_decimal_serializer.rb
+${GEM_LIBDIR}/lib/active_job/serializers/date_serializer.rb
+${GEM_LIBDIR}/lib/active_job/serializers/date_time_serializer.rb
+${GEM_LIBDIR}/lib/active_job/serializers/duration_serializer.rb
+${GEM_LIBDIR}/lib/active_job/serializers/module_serializer.rb
+${GEM_LIBDIR}/lib/active_job/serializers/object_serializer.rb
+${GEM_LIBDIR}/lib/active_job/serializers/range_serializer.rb
+${GEM_LIBDIR}/lib/active_job/serializers/symbol_serializer.rb
+${GEM_LIBDIR}/lib/active_job/serializers/time_object_serializer.rb
+${GEM_LIBDIR}/lib/active_job/serializers/time_serializer.rb
+${GEM_LIBDIR}/lib/active_job/serializers/time_with_zone_serializer.rb
+${GEM_LIBDIR}/lib/active_job/test_case.rb
+${GEM_LIBDIR}/lib/active_job/test_helper.rb
+${GEM_LIBDIR}/lib/active_job/timezones.rb
+${GEM_LIBDIR}/lib/active_job/translation.rb
+${GEM_LIBDIR}/lib/active_job/version.rb
+${GEM_LIBDIR}/lib/rails/generators/job/USAGE
+${GEM_LIBDIR}/lib/rails/generators/job/job_generator.rb
+${GEM_LIBDIR}/lib/rails/generators/job/templates/application_job.rb.tt
+${GEM_LIBDIR}/lib/rails/generators/job/templates/job.rb.tt
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
Index: pkgsrc/devel/ruby-activejob71/distinfo
diff -u /dev/null pkgsrc/devel/ruby-activejob71/distinfo:1.1
--- /dev/null   Thu Nov 30 15:17:21 2023
+++ pkgsrc/devel/ruby-activejob71/distinfo      Thu Nov 30 15:17:21 2023
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2023/11/30 15:17:21 taca Exp $
+
+BLAKE2s (activejob-7.1.2.gem) = 5f4fdf62de8ec25dc2fecfd8cffedce11a67fce83a0e1bf6dfb14d037f92a98e
+SHA512 (activejob-7.1.2.gem) = 82dfca9de204a3647d6c88189c390561e5ce8747a3d146d9df97af3c3a0bad32279be4a76711a0b4b03dfd7455f8f932f72dd7b37701311103df1dbad694e3aa
+Size (activejob-7.1.2.gem) = 37376 bytes
+SHA1 (patch-lib_active__job.rb) = 389aa24faa739974e9b31bdccfb3ed0feff2938b

Index: pkgsrc/devel/ruby-activejob71/patches/patch-lib_active__job.rb
diff -u /dev/null pkgsrc/devel/ruby-activejob71/patches/patch-lib_active__job.rb:1.1
--- /dev/null   Thu Nov 30 15:17:21 2023
+++ pkgsrc/devel/ruby-activejob71/patches/patch-lib_active__job.rb      Thu Nov 30 15:17:21 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_active__job.rb,v 1.1 2023/11/30 15:17:21 taca Exp $
+
+* Fix rdoc error.
+
+--- lib/active_job.rb.orig     2023-10-08 14:55:54.336244357 +0000
++++ lib/active_job.rb
+@@ -30,7 +30,7 @@ require "active_job/deprecator"
+ require "global_id"
+ 
+ # :markup: markdown
+-# :include: activejob/README.md
++# :include: ../README.md
+ module ActiveJob
+   extend ActiveSupport::Autoload
+ 



Home | Main Index | Thread Index | Old Index