./databases/ruby-activerecord70, Object-relational mapper framework (part of Rails 7.0)

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


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

Active Record -- Object-relational mapping in 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 the 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*.

Active Record relies heavily on naming in that it uses class and association
names to establish mappings between respective database tables and foreign
key columns. Although these mappings can be defined explicitly, it's
recommended to follow naming conventions, especially when getting started
with the library.

This is for Ruby on Rails 7.0.


Master sites:

Filesize: 466 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