Subject: CVS commit: pkgsrc/www/ruby-actionpack42
From: Takahiro Kambe
Date: 2018-03-13 17:35:25
Message id: 20180313163526.007E9FB40@cvs.NetBSD.org

Log Message:
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*

Files:
RevisionActionfile
1.5modifypkgsrc/www/ruby-actionpack42/Makefile
1.2modifypkgsrc/www/ruby-actionpack42/distinfo