./www/ruby-actionpack42, Toolkit for building modeling frameworks (part of Rails 4.2)

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


Branch: CURRENT, Version: 4.2.10, Package name: ruby24-actionpack42-4.2.10, Maintainer: pkgsrc-users

Action Pack is a framework for handling and responding to web requests. It
provides mechanisms for *routing* (mapping request URLs to actions), defining
*controllers* that implement actions, and generating responses by rendering
*views*, which are templates of various formats. In short, Action Pack
provides the view and controller layers in the MVC paradigm.


Required to run:
[www/ruby-rack-test] [devel/ruby-activesupport42] [www/ruby-actionview42] [www/ruby-rack16] [lang/ruby24-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 85f298ea7f18eacb9a53269cae45936e15e48705
RMD160: 568193dc3fe78da4275683688ecc80975a875fe5
Filesize: 182.5 KB

Version history: (Expand)


CVS history: (Expand)


   2018-03-18 15:21:22 by Takahiro Kambe | Files touched by this commit (37)
Log message:
lang/ruby: replace RUBY_RAILS_SUPPORTED to RUBY_RAILS_ACCEPTED

Change RUBY_RAILS_SUPPORTED to RUBY_RAILS_ACCEPTED for better wording.
   2018-03-13 17:35:25 by Takahiro Kambe | Files touched by this commit (2) | Package updated
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*
   2017-07-18 16:38:52 by Takahiro Kambe | Files touched by this commit (1) | Package updated
Log message:
Reduce dependency to packages: comment out dependencies which already has
ruby-actionview.

Bump PKGREVISION.
   2017-06-21 15:12:21 by Takahiro Kambe | Files touched by this commit (19) | Package updated
Log message:
Switch most of Ruby on Rails related packages to updated frame work.
   2017-06-04 16:46:29 by Takahiro Kambe | Files touched by this commit (4) | Package updated
Log message:
Switch to depends on www/ruby-rack16 from ruby-rack.

Bump PKGREVISION.
   2017-04-20 23:59:11 by Min Sik Kim | Files touched by this commit (4) | Package updated
Log message:
Import ruby-actionpack-4.2.8 as www/ruby-actionpack42

Notable changes since 3.2:

- Change the stylesheet of exception pages for development
  mode. Additionally display also the line of code and fragment that
  raised the exception in all exceptions pages.
- protect_from_forgery also prevents cross-origin <script>
  tags. Update your tests to use xhr :get, :foo, format: :js instead
  of get :foo, format: :js.
- #url_for takes a hash with options inside an array.
- Added session#fetch method fetch behaves similarly to Hash#fetch,
  #with the exception that the returned value is always saved into the
  #session.
- Separated Action View completely from Action Pack.
- Log which keys were affected by deep munge.
- New config option config.action_dispatch.perform_deep_munge to opt
  out of params "deep munging" that was used to address security
  vulnerability CVE-2013-0155.
- New config option config.action_dispatch.cookies_serializer for
  specifying a serializer for the signed and encrypted cookie jars.
- Added render :plain, render :html and render :body.
- The *_filter family of methods have been removed from the
  documentation. Their usage is discouraged in favor of the *_action
  family of methods:
- render nothing: true or rendering a nil body no longer add a single
  space padding to the response body.
- Rails now automatically includes the template's digest in ETags.
- Segments that are passed into URL helpers are now automatically
  escaped.
- Introduced the always_permitted_parameters option to configure which
  parameters are permitted globally. The default value of this
  configuration is ['controller', 'action'].
- Added the HTTP method MKCALENDAR from RFC 4791.
- *_fragment.action_controller notifications now include the
   controller and action name in the payload.
- Improved the Routing Error page with fuzzy matching for route
  search.
- Added an option to disable logging of CSRF failures.
- When the Rails server is set to serve static assets, gzip assets
  will now be served if the client supports it and a pre-generated
  gzip file (.gz) is on disk. By default the asset pipeline generates
  .gz files for all compressible assets. Serving gzip files minimizes
  data transfer and speeds up asset requests. Always use a CDN if you
  are serving assets from your Rails server in production.
- When calling the process helpers in an integration test the path
  needs to have a leading slash. Previously you could omit it but that
  was a byproduct of the implementation and not an intentional
  feature.