pkgsrc/www/ruby-actionpack42/distinfo
taca 30e3283a8a www/ruby-actionpack42: update to 4.2.10
pkgsrc change: switch to depends on textproc/ruby-rails-dom-testing1

## Rails 4.2.10 (September 27, 2017) ##

*   Fix regression in behavior of `normalize_path`.

    In Rails 5 there was a change to ensure the encoding of the original string
    in a path was maintained. This was incorrectly backported to Rails 4.2 which
    caused a regression.

    *Eileen M. Uchitelle*

## Rails 4.2.9 (June 26, 2017) ##

*   Use more specific check for :format in route path

    The current check for whether to add an optional format to the path is very lax
    and will match things like `:format_id` where there are nested resources, e.g:

    ``` ruby
    resources :formats do
      resources :items
    end
    ```

    Fix this by using a more restrictive regex pattern that looks for the patterns
    `(.:format)`, `.:format` or `/` at the end of the path. Note that we need to
    allow for multiple closing parenthesis since the route may be of this form:

    ``` ruby
    get "/books(/:action(.:format))", controller: "books"
    ```

    This probably isn't what's intended since it means that the default index action
    route doesn't support a format but we have a test for it so we need to allow it.

    Fixes #28517.

    *Andrew White*
2018-03-13 16:35:25 +00:00

6 lines
408 B
Text

$NetBSD: distinfo,v 1.2 2018/03/13 16:35:25 taca Exp $
SHA1 (actionpack-4.2.10.gem) = 85f298ea7f18eacb9a53269cae45936e15e48705
RMD160 (actionpack-4.2.10.gem) = 568193dc3fe78da4275683688ecc80975a875fe5
SHA512 (actionpack-4.2.10.gem) = 64d79d9b21e187766d4816b8a0cdf2707b906025da20a7db9dd74ea9bdbee66f4e3b1f4d610467d76d4327b2506855f8265f27309e88416f9bc1a583fe6dc4c9
Size (actionpack-4.2.10.gem) = 186880 bytes