./databases/ruby-activerecord61, Object-relational mapper framework (part of Rails 6.1)

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


Branch: pkgsrc-2022Q4, Version: 6.1.7.2, Package name: ruby31-activerecord61-6.1.7.2, Maintainer: pkgsrc-users

= Active Record -- Object-relational mapping put on rails

Active Record connects classes to relational database tables to establish an
almost zero-configuration persistence layer for applications. The library
provides a base class that, when subclassed, sets up a mapping between the new
class and an existing table in the database. In context of an application,
these classes are commonly referred to as *models*. Models can also be
connected to other models; this is done by defining *associations*.

This is for Ruby on Rails 6.1.


Master sites:

Filesize: 423.5 KB

Version history: (Expand)


CVS history: (Expand)


   2023-03-04 15:10:24 by S.P.Zeidler | Files touched by this commit (14) | Package updated
Log message:
Pullup ticket #6733 - requested by taca
databases/ruby-activerecord61: security update
devel/ruby-activejob61: distinfo update
devel/ruby-activemodel61: distinfo update
devel/ruby-activestorage61: distinfo update
devel/ruby-activesupport61: security update
devel/ruby-railties61: distinfo update
mail/ruby-actionmailbox61: distinfo update
mail/ruby-actionmailer61: distinfo update
textproc/ruby-actiontext61: sdistinfo update
www/ruby-actioncable61: distinfo update
www/ruby-actionpack61: security update
www/ruby-actionview61: distinfo update
www/ruby-rails61: distinfo update

Revisions pulled up:
- databases/ruby-activerecord61/distinfo                        1.16-1.17
- devel/ruby-activejob61/distinfo                               1.16-1.17
- devel/ruby-activemodel61/distinfo                             1.16-1.17
- devel/ruby-activestorage61/distinfo                           1.16-1.17
- devel/ruby-activesupport61/distinfo                           1.16-1.17
- devel/ruby-railties61/distinfo                                1.16-1.17
- lang/ruby/rails.mk                                            1.139,1.141
- mail/ruby-actionmailbox61/distinfo                            1.16-1.17
- mail/ruby-actionmailer61/distinfo                             1.16-1.17
- textproc/ruby-actiontext61/distinfo                           1.16-1.17
- www/ruby-actioncable61/distinfo                               1.16-1.17
- www/ruby-actionpack61/Makefile                                1.4
- www/ruby-actionpack61/distinfo                                1.16-1.17
- www/ruby-actionview61/distinfo                                1.16-1.17
- www/ruby-rails61/distinfo                                     1.16-1.17

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Thu Jan 19 14:31:11 UTC 2023

   Modified Files:
   	pkgsrc/databases/ruby-activerecord61: distinfo
   	pkgsrc/devel/ruby-activejob61: distinfo
   	pkgsrc/devel/ruby-activemodel61: distinfo
   	pkgsrc/devel/ruby-activestorage61: distinfo
   	pkgsrc/devel/ruby-activesupport61: distinfo
   	pkgsrc/devel/ruby-railties61: distinfo
   	pkgsrc/lang/ruby: rails.mk
   	pkgsrc/mail/ruby-actionmailbox61: distinfo
   	pkgsrc/mail/ruby-actionmailer61: distinfo
   	pkgsrc/textproc/ruby-actiontext61: distinfo
   	pkgsrc/www/ruby-actioncable61: distinfo
   	pkgsrc/www/ruby-actionpack61: Makefile distinfo
   	pkgsrc/www/ruby-actionview61: distinfo
   	pkgsrc/www/ruby-rails61: distinfo

   Log message:
   www/ruby-rails61: update to 6.1.7.1

   Rails 6.1.7.1 (2023-01-17)

   devel/ruby-activesupport61

   * Avoid regex backtracking in Inflector.underscore

       [CVE-2023-22796]

   www/ruby-actionpack61

   * 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-activerecord61

   * 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.15 -r1.16 pkgsrc/databases/ruby-activerecord61/distinfo
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/ruby-activejob61/distinfo
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/ruby-activemodel61/distinfo
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/ruby-activestorage61/distinfo
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/ruby-activesupport61/distinfo
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/ruby-railties61/distinfo
   cvs rdiff -u -r1.138 -r1.139 pkgsrc/lang/ruby/rails.mk
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/mail/ruby-actionmailbox61/distinfo
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/mail/ruby-actionmailer61/distinfo
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/textproc/ruby-actiontext61/distinfo
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/www/ruby-actioncable61/distinfo
   cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/ruby-actionpack61/Makefile
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/www/ruby-actionpack61/distinfo
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/www/ruby-actionview61/distinfo
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/www/ruby-rails61/distinfo

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Wed Jan 25 13:27:10 UTC 2023

   Modified Files:
   	pkgsrc/databases/ruby-activerecord61: distinfo
   	pkgsrc/devel/ruby-activejob61: distinfo
   	pkgsrc/devel/ruby-activemodel61: distinfo
   	pkgsrc/devel/ruby-activestorage61: distinfo
   	pkgsrc/devel/ruby-activesupport61: distinfo
   	pkgsrc/devel/ruby-railties61: distinfo
   	pkgsrc/lang/ruby: rails.mk
   	pkgsrc/mail/ruby-actionmailbox61: distinfo
   	pkgsrc/mail/ruby-actionmailer61: distinfo
   	pkgsrc/textproc/ruby-actiontext61: distinfo
   	pkgsrc/www/ruby-actioncable61: distinfo
   	pkgsrc/www/ruby-actionpack61: distinfo
   	pkgsrc/www/ruby-actionview61: distinfo
   	pkgsrc/www/ruby-rails61: distinfo

   Log message:
   www/ruby-rails61: update to 6.1.7.2

   Rails 6.1.7.2 (2023-01-24)

   www/ruby-actionpack61

   *   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.16 -r1.17 pkgsrc/databases/ruby-activerecord61/distinfo
   cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/ruby-activejob61/distinfo
   cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/ruby-activemodel61/distinfo
   cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/ruby-activestorage61/distinfo
   cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/ruby-activesupport61/distinfo
   cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/ruby-railties61/distinfo
   cvs rdiff -u -r1.140 -r1.141 pkgsrc/lang/ruby/rails.mk
   cvs rdiff -u -r1.16 -r1.17 pkgsrc/mail/ruby-actionmailbox61/distinfo
   cvs rdiff -u -r1.16 -r1.17 pkgsrc/mail/ruby-actionmailer61/distinfo
   cvs rdiff -u -r1.16 -r1.17 pkgsrc/textproc/ruby-actiontext61/distinfo
   cvs rdiff -u -r1.16 -r1.17 pkgsrc/www/ruby-actioncable61/distinfo
   cvs rdiff -u -r1.16 -r1.17 pkgsrc/www/ruby-actionpack61/distinfo
   cvs rdiff -u -r1.16 -r1.17 pkgsrc/www/ruby-actionview61/distinfo
   cvs rdiff -u -r1.16 -r1.17 pkgsrc/www/ruby-rails61/distinfo