pkgsrc/devel/ruby-activesupport61/Makefile
taca 3a9e0afed9 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*
2022-05-05 03:28:21 +00:00

25 lines
879 B
Makefile

# $NetBSD: Makefile,v 1.4 2022/05/05 03:28:21 taca Exp $
DISTNAME= activesupport-${RAILS_VERSION}
PKGNAME= ${RUBY_PKGPREFIX}-activesupport${RUBY_RAILS}-${RAILS_VERSION}
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.rubyonrails.org/
COMMENT= Toolkit of support libraries (part of Rails 6.1)
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-i18n>=1.6:../../devel/ruby-i18n
DEPENDS+= ${RUBY_PKGPREFIX}-tzinfo>=2.0<3:../../time/ruby-tzinfo
DEPENDS+= ${RUBY_PKGPREFIX}-concurrent-ruby>=1.0<2:../../devel/ruby-concurrent-ruby
DEPENDS+= ${RUBY_PKGPREFIX}-zeitwerk>=2.3<3:../../devel/ruby-zeitwerk
# minitest 5.4.3 is bundled with Ruby 2.2 and later.
#DEPENDS+= ${RUBY_PKGPREFIX}-minitest>=5.1<6:../../devel/ruby-minitest
USE_LANGUAGES= # none
RUBY_RAILS_ACCEPTED= 61
RUBY_RAILS_STRICT_DEP= yes
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"