Thu May 5 03:28:21 2022 UTC ()
devel/ruby-activesupport61: update to 6.1.5.1

## Rails 6.1.5.1 (April 26, 2022) ##

*   Fix and add protections for XSS in `ActionView::Helpers` and `ERB::Util`.

    Add the method `ERB::Util.xml_name_escape` to escape dangerous characters
    in names of tags and names of attributes, following the specification of XML.

    *Álvaro Martín Fraguas*

## Rails 6.1.5 (March 09, 2022) ##

*   Fix `ActiveSupport::Duration.build` to support negative values.

    The algorithm to collect the `parts` of the `ActiveSupport::Duration`
    ignored the sign of the `value` and accumulated incorrect part values. This
    impacted `ActiveSupport::Duration#sum` (which is dependent on `parts`) but
    not `ActiveSupport::Duration#eql?` (which is dependent on `value`).

    *Caleb Buxton*, *Braden Staudacher*

*   `Time#change` and methods that call it (eg. `Time#advance`) will now
    return a `Time` with the timezone argument provided, if the caller was
    initialized with a timezone argument.

    Fixes [#42467](https://github.com/rails/rails/issues/42467).

    *Alex Ghiculescu*

*   Clone to keep extended Logger methods for tagged logger.

    *Orhan Toy*

*   `assert_changes` works on including `ActiveSupport::Assertions` module.

    *Pedro Medeiros*


(taca)
diff -r1.3 -r1.4 pkgsrc/devel/ruby-activesupport61/Makefile
diff -r1.11 -r1.12 pkgsrc/devel/ruby-activesupport61/distinfo

cvs diff -r1.3 -r1.4 pkgsrc/devel/ruby-activesupport61/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/ruby-activesupport61/Makefile 2022/03/27 06:31:56 1.3
+++ pkgsrc/devel/ruby-activesupport61/Makefile 2022/05/05 03:28:21 1.4
@@ -1,25 +1,25 @@ @@ -1,25 +1,25 @@
1# $NetBSD: Makefile,v 1.3 2022/03/27 06:31:56 wiz Exp $ 1# $NetBSD: Makefile,v 1.4 2022/05/05 03:28:21 taca Exp $
2 2
3DISTNAME= activesupport-${RAILS_VERSION} 3DISTNAME= activesupport-${RAILS_VERSION}
4PKGNAME= ${RUBY_PKGPREFIX}-activesupport${RUBY_RAILS}-${RAILS_VERSION} 4PKGNAME= ${RUBY_PKGPREFIX}-activesupport${RUBY_RAILS}-${RAILS_VERSION}
5CATEGORIES= devel 5CATEGORIES= devel
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= http://www.rubyonrails.org/ 8HOMEPAGE= http://www.rubyonrails.org/
9COMMENT= Toolkit of support libraries (part of Rails 6.1) 9COMMENT= Toolkit of support libraries (part of Rails 6.1)
10LICENSE= mit 10LICENSE= mit
11 11
12DEPENDS+= ${RUBY_PKGPREFIX}-i18n>=1.6:../../devel/ruby-i18n 12DEPENDS+= ${RUBY_PKGPREFIX}-i18n>=1.6:../../devel/ruby-i18n
13DEPENDS+= ${RUBY_PKGPREFIX}-tzinfo>=2.0<3:../../time/ruby-tzinfo 13DEPENDS+= ${RUBY_PKGPREFIX}-tzinfo>=2.0<3:../../time/ruby-tzinfo
14DEPENDS+= ${RUBY_PKGPREFIX}-concurrent-ruby>=1.0<2:../../devel/ruby-concurrent-ruby 14DEPENDS+= ${RUBY_PKGPREFIX}-concurrent-ruby>=1.0<2:../../devel/ruby-concurrent-ruby
15DEPENDS+= ${RUBY_PKGPREFIX}-zeitwerk>=2.2<3:../../devel/ruby-zeitwerk 15DEPENDS+= ${RUBY_PKGPREFIX}-zeitwerk>=2.3<3:../../devel/ruby-zeitwerk
16# minitest 5.4.3 is bundled with Ruby 2.2 and later. 16# minitest 5.4.3 is bundled with Ruby 2.2 and later.
17#DEPENDS+= ${RUBY_PKGPREFIX}-minitest>=5.1<6:../../devel/ruby-minitest 17#DEPENDS+= ${RUBY_PKGPREFIX}-minitest>=5.1<6:../../devel/ruby-minitest
18 18
19USE_LANGUAGES= # none 19USE_LANGUAGES= # none
20 20
21RUBY_RAILS_ACCEPTED= 61 21RUBY_RAILS_ACCEPTED= 61
22RUBY_RAILS_STRICT_DEP= yes 22RUBY_RAILS_STRICT_DEP= yes
23 23
24.include "../../lang/ruby/gem.mk" 24.include "../../lang/ruby/gem.mk"
25.include "../../mk/bsd.pkg.mk" 25.include "../../mk/bsd.pkg.mk"

cvs diff -r1.11 -r1.12 pkgsrc/devel/ruby-activesupport61/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/ruby-activesupport61/distinfo 2022/03/13 15:11:50 1.11
+++ pkgsrc/devel/ruby-activesupport61/distinfo 2022/05/05 03:28:21 1.12
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.11 2022/03/13 15:11:50 taca Exp $ 1$NetBSD: distinfo,v 1.12 2022/05/05 03:28:21 taca Exp $
2 2
3BLAKE2s (activesupport-6.1.4.7.gem) = dca85318e9a9d3a90a4697d4e654e122d0f9350a594ff8b22f16bc906bc07980 3BLAKE2s (activesupport-6.1.5.1.gem) = 337af410ef63ec55c9cfb752ed519287e29ac9f965dc61892458f0b78c00c285
4SHA512 (activesupport-6.1.4.7.gem) = 39a59530f016dcf1db8a1c56bbcf77ec4f0ba11201844a65a2e2ebefbfc5f670f3b0b481d4ef7d79e4e1a1bdad12034376fc220fa36592e554fa6c03cfe46f41 4SHA512 (activesupport-6.1.5.1.gem) = d3e2e442236e5abea3d3bd258d782e1406ebfd66840104bc5d1f4830c2e3b058cfb0f0d0cf097d4e261fd291a1e56e89c2c6a5664927ca3c3a8f366f139333fc
5Size (activesupport-6.1.4.7.gem) = 219648 bytes 5Size (activesupport-6.1.5.1.gem) = 220672 bytes