./devel/ruby-activejob70, Job classes that can be run by a variety of queueing backends

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2022Q4, Version: 7.0.4.2, Package name: ruby31-activejob70-7.0.4.2, Maintainer: pkgsrc-users

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


Master sites:

Filesize: 32.5 KB

Version history: (Expand)


CVS history: (Expand)


   2023-03-04 15:26:46 by S.P.Zeidler | Files touched by this commit (14) | Package updated
Log message:
Pullup ticket #6734 - requested by taca
databases/ruby-activerecord70: security update
devel/ruby-activejob70: distinfo update
devel/ruby-activemodel70: distinfo update
devel/ruby-activestorage70: distinfo update
devel/ruby-activesupport70: security update
devel/ruby-railties70: distinfo update
mail/ruby-actionmailbox70: distinfo update
mail/ruby-actionmailer70: distinfo update
textproc/ruby-actiontext70: distinfo update
www/ruby-actioncable70: distinfo update
www/ruby-actionpack70: security update
www/ruby-actionview70: distinfo update
www/ruby-rails70: distinfo update

Revisions pulled up:
- databases/ruby-activerecord70/distinfo                        1.9-1.10
- devel/ruby-activejob70/distinfo                               1.9-1.10
- devel/ruby-activemodel70/distinfo                             1.9-1.10
- devel/ruby-activestorage70/distinfo                           1.9-1.10
- devel/ruby-activesupport70/distinfo                           1.9-1.10
- devel/ruby-railties70/distinfo                                1.9-1.10
- lang/ruby/rails.mk                                            1.140,1.142
- mail/ruby-actionmailbox70/distinfo                            1.9-1.10
- mail/ruby-actionmailer70/distinfo                             1.9-1.10
- textproc/ruby-actiontext70/distinfo                           1.9-1.10
- www/ruby-actioncable70/distinfo                               1.9-1.10
- www/ruby-actionpack70/distinfo                                1.9-1.10
- www/ruby-actionview70/distinfo                                1.9-1.10
- www/ruby-rails70/distinfo                                     1.9-1.10

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Thu Jan 19 14:34:27 UTC 2023

   Modified Files:
   	pkgsrc/databases/ruby-activerecord70: distinfo
   	pkgsrc/devel/ruby-activejob70: distinfo
   	pkgsrc/devel/ruby-activemodel70: distinfo
   	pkgsrc/devel/ruby-activestorage70: distinfo
   	pkgsrc/devel/ruby-activesupport70: distinfo
   	pkgsrc/devel/ruby-railties70: distinfo
   	pkgsrc/lang/ruby: rails.mk
   	pkgsrc/mail/ruby-actionmailbox70: distinfo
   	pkgsrc/mail/ruby-actionmailer70: distinfo
   	pkgsrc/textproc/ruby-actiontext70: distinfo
   	pkgsrc/www/ruby-actioncable70: distinfo
   	pkgsrc/www/ruby-actionpack70: Makefile distinfo
   	pkgsrc/www/ruby-actionview70: distinfo
   	pkgsrc/www/ruby-rails70: distinfo

   Log message:
   www/ruby-rails70: update to 7.0.4.1

   Rails 7.0.4.1 (2023-01-17)

   devel/ruby-activesupport70

   * Avoid regex backtracking in Inflector.underscore

     [CVE-2023-22796]

   www/ruby-actionpack70

   * Fix sec issue with _url_host_allowed?

     Disallow certain strings from `_url_host_allowed?` to avoid a redirect
     to malicious sites.

     [CVE-2023-22797]

   * Avoid regex backtracking on If-None-Match header

     [CVE-2023-22795]

   * Use string#split instead of regex for domain parts

     [CVE-2023-22792]

   databases/ruby-activerecord70

   * Make sanitize_as_sql_comment more strict

     Though this method was likely never meant to take user input, it was
     attempting sanitization. That sanitization could be bypassed with
     carefully crafted input.

     This commit makes the sanitization more robust by replacing any
     occurrances of "/*" or "*/" with "/ *" or \ 
"* /". It also performs a
     first pass to remove one surrounding comment to avoid compatibility
     issues for users relying on the existing removal.

     This also clarifies in the documentation of annotate that it should not
     be provided user input.

     [CVE-2023-22794]

   * Added integer width check to PostgreSQL::Quoting

     Given a value outside the range for a 64bit signed integer type
     PostgreSQL will treat the column type as numeric. Comparing
     integer values against numeric values can result in a slow
     sequential scan.

     This behavior is configurable via
     ActiveRecord::Base.raise_int_wider_than_64bit which defaults to true.

     [CVE-2022-44566]

   To generate a diff of this commit:
   cvs rdiff -u -r1.8 -r1.9 pkgsrc/databases/ruby-activerecord70/distinfo
   cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/ruby-activejob70/distinfo
   cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/ruby-activemodel70/distinfo
   cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/ruby-activestorage70/distinfo
   cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/ruby-activesupport70/distinfo
   cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/ruby-railties70/distinfo
   cvs rdiff -u -r1.139 -r1.140 pkgsrc/lang/ruby/rails.mk
   cvs rdiff -u -r1.8 -r1.9 pkgsrc/mail/ruby-actionmailbox70/distinfo
   cvs rdiff -u -r1.8 -r1.9 pkgsrc/mail/ruby-actionmailer70/distinfo
   cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/ruby-actiontext70/distinfo
   cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/ruby-actioncable70/distinfo
   cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/ruby-actionpack70/Makefile
   cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/ruby-actionpack70/distinfo
   cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/ruby-actionview70/distinfo
   cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/ruby-rails70/distinfo

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Wed Jan 25 13:31:17 UTC 2023

   Modified Files:
   	pkgsrc/databases/ruby-activerecord70: distinfo
   	pkgsrc/devel/ruby-activejob70: distinfo
   	pkgsrc/devel/ruby-activemodel70: distinfo
   	pkgsrc/devel/ruby-activestorage70: distinfo
   	pkgsrc/devel/ruby-activesupport70: distinfo
   	pkgsrc/devel/ruby-railties70: distinfo
   	pkgsrc/lang/ruby: rails.mk
   	pkgsrc/mail/ruby-actionmailbox70: distinfo
   	pkgsrc/mail/ruby-actionmailer70: distinfo
   	pkgsrc/textproc/ruby-actiontext70: distinfo
   	pkgsrc/www/ruby-actioncable70: distinfo
   	pkgsrc/www/ruby-actionpack70: distinfo
   	pkgsrc/www/ruby-actionview70: distinfo
   	pkgsrc/www/ruby-rails70: distinfo

   Log message:
   www/ruby-rails70: update to 7.0.4.2

   Rails 7.0.4.2 (2023-01-24)

   *   Fix `domain: :all` for two letter TLD

       This fixes a compatibility issue introduced in our previous security
       release when using `domain: :all` with a two letter but single level top
       level domain domain (like `.ca`, rather than `.co.uk`).

   To generate a diff of this commit:
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/databases/ruby-activerecord70/distinfo
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/ruby-activejob70/distinfo
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/ruby-activemodel70/distinfo
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/ruby-activestorage70/distinfo
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/ruby-activesupport70/distinfo
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/ruby-railties70/distinfo
   cvs rdiff -u -r1.141 -r1.142 pkgsrc/lang/ruby/rails.mk
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/mail/ruby-actionmailbox70/distinfo
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/mail/ruby-actionmailer70/distinfo
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/ruby-actiontext70/distinfo
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/ruby-actioncable70/distinfo
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/ruby-actionpack70/distinfo
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/ruby-actionview70/distinfo
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/ruby-rails70/distinfo