pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/ruby-actionpack42
Module Name: pkgsrc
Committed By: minskim
Date: Thu Apr 20 21:59:11 UTC 2017
Added Files:
pkgsrc/www/ruby-actionpack42: DESCR Makefile PLIST distinfo
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/ruby-actionpack42/DESCR \
pkgsrc/www/ruby-actionpack42/Makefile pkgsrc/www/ruby-actionpack42/PLIST \
pkgsrc/www/ruby-actionpack42/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/www/ruby-actionpack42/DESCR
diff -u /dev/null pkgsrc/www/ruby-actionpack42/DESCR:1.1
--- /dev/null Thu Apr 20 21:59:11 2017
+++ pkgsrc/www/ruby-actionpack42/DESCR Thu Apr 20 21:59:11 2017
@@ -0,0 +1,5 @@
+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.
Index: pkgsrc/www/ruby-actionpack42/Makefile
diff -u /dev/null pkgsrc/www/ruby-actionpack42/Makefile:1.1
--- /dev/null Thu Apr 20 21:59:11 2017
+++ pkgsrc/www/ruby-actionpack42/Makefile Thu Apr 20 21:59:11 2017
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2017/04/20 21:59:11 minskim Exp $
+
+DISTNAME= actionpack-${RUBY_RAILS_VERSION}
+CATEGORIES= www
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.rubyonrails.org/
+COMMENT= Toolkit for building modeling frameworks (part of Rails 4.2)
+LICENSE= mit
+
+DEPENDS+= ${RUBY_ACTIONVIEW_DEPENDS}
+DEPENDS+= ${RUBY_ACTIVESUPPORT_DEPENDS}
+DEPENDS+= ${RUBY_PKGPREFIX}-rack>=1.6:../../www/ruby-rack
+DEPENDS+= ${RUBY_PKGPREFIX}-rack-test>=0.6.2<0.7:../../www/ruby-rack-test
+DEPENDS+= ${RUBY_PKGPREFIX}-rails-dom-testing>=1.0.5:../../textproc/ruby-rails-dom-testing
+DEPENDS+= ${RUBY_PKGPREFIX}-rails-html-sanitizer>=1.0.2:../../www/ruby-rails-html-sanitizer
+
+RUBY_RAILS_SUPPORTED= 42
+RUBY_RAILS_STRICT_DEP= yes
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/ruby-actionpack42/PLIST
diff -u /dev/null pkgsrc/www/ruby-actionpack42/PLIST:1.1
--- /dev/null Thu Apr 20 21:59:11 2017
+++ pkgsrc/www/ruby-actionpack42/PLIST Thu Apr 20 21:59:11 2017
@@ -0,0 +1,155 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/20 21:59:11 minskim Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/CHANGELOG.md
+${GEM_LIBDIR}/MIT-LICENSE
+${GEM_LIBDIR}/README.rdoc
+${GEM_LIBDIR}/lib/abstract_controller.rb
+${GEM_LIBDIR}/lib/abstract_controller/asset_paths.rb
+${GEM_LIBDIR}/lib/abstract_controller/base.rb
+${GEM_LIBDIR}/lib/abstract_controller/callbacks.rb
+${GEM_LIBDIR}/lib/abstract_controller/collector.rb
+${GEM_LIBDIR}/lib/abstract_controller/helpers.rb
+${GEM_LIBDIR}/lib/abstract_controller/logger.rb
+${GEM_LIBDIR}/lib/abstract_controller/railties/routes_helpers.rb
+${GEM_LIBDIR}/lib/abstract_controller/rendering.rb
+${GEM_LIBDIR}/lib/abstract_controller/translation.rb
+${GEM_LIBDIR}/lib/abstract_controller/url_for.rb
+${GEM_LIBDIR}/lib/action_controller.rb
+${GEM_LIBDIR}/lib/action_controller/base.rb
+${GEM_LIBDIR}/lib/action_controller/caching.rb
+${GEM_LIBDIR}/lib/action_controller/caching/fragments.rb
+${GEM_LIBDIR}/lib/action_controller/log_subscriber.rb
+${GEM_LIBDIR}/lib/action_controller/metal.rb
+${GEM_LIBDIR}/lib/action_controller/metal/conditional_get.rb
+${GEM_LIBDIR}/lib/action_controller/metal/cookies.rb
+${GEM_LIBDIR}/lib/action_controller/metal/data_streaming.rb
+${GEM_LIBDIR}/lib/action_controller/metal/etag_with_template_digest.rb
+${GEM_LIBDIR}/lib/action_controller/metal/exceptions.rb
+${GEM_LIBDIR}/lib/action_controller/metal/flash.rb
+${GEM_LIBDIR}/lib/action_controller/metal/force_ssl.rb
+${GEM_LIBDIR}/lib/action_controller/metal/head.rb
+${GEM_LIBDIR}/lib/action_controller/metal/helpers.rb
+${GEM_LIBDIR}/lib/action_controller/metal/hide_actions.rb
+${GEM_LIBDIR}/lib/action_controller/metal/http_authentication.rb
+${GEM_LIBDIR}/lib/action_controller/metal/implicit_render.rb
+${GEM_LIBDIR}/lib/action_controller/metal/instrumentation.rb
+${GEM_LIBDIR}/lib/action_controller/metal/live.rb
+${GEM_LIBDIR}/lib/action_controller/metal/mime_responds.rb
+${GEM_LIBDIR}/lib/action_controller/metal/params_wrapper.rb
+${GEM_LIBDIR}/lib/action_controller/metal/rack_delegation.rb
+${GEM_LIBDIR}/lib/action_controller/metal/redirecting.rb
+${GEM_LIBDIR}/lib/action_controller/metal/renderers.rb
+${GEM_LIBDIR}/lib/action_controller/metal/rendering.rb
+${GEM_LIBDIR}/lib/action_controller/metal/request_forgery_protection.rb
+${GEM_LIBDIR}/lib/action_controller/metal/rescue.rb
+${GEM_LIBDIR}/lib/action_controller/metal/streaming.rb
+${GEM_LIBDIR}/lib/action_controller/metal/strong_parameters.rb
+${GEM_LIBDIR}/lib/action_controller/metal/testing.rb
+${GEM_LIBDIR}/lib/action_controller/metal/url_for.rb
+${GEM_LIBDIR}/lib/action_controller/middleware.rb
+${GEM_LIBDIR}/lib/action_controller/model_naming.rb
+${GEM_LIBDIR}/lib/action_controller/railtie.rb
+${GEM_LIBDIR}/lib/action_controller/railties/helpers.rb
+${GEM_LIBDIR}/lib/action_controller/test_case.rb
+${GEM_LIBDIR}/lib/action_dispatch.rb
+${GEM_LIBDIR}/lib/action_dispatch/http/cache.rb
+${GEM_LIBDIR}/lib/action_dispatch/http/filter_parameters.rb
+${GEM_LIBDIR}/lib/action_dispatch/http/filter_redirect.rb
+${GEM_LIBDIR}/lib/action_dispatch/http/headers.rb
+${GEM_LIBDIR}/lib/action_dispatch/http/mime_negotiation.rb
+${GEM_LIBDIR}/lib/action_dispatch/http/mime_type.rb
+${GEM_LIBDIR}/lib/action_dispatch/http/mime_types.rb
+${GEM_LIBDIR}/lib/action_dispatch/http/parameter_filter.rb
+${GEM_LIBDIR}/lib/action_dispatch/http/parameters.rb
+${GEM_LIBDIR}/lib/action_dispatch/http/rack_cache.rb
+${GEM_LIBDIR}/lib/action_dispatch/http/request.rb
+${GEM_LIBDIR}/lib/action_dispatch/http/response.rb
+${GEM_LIBDIR}/lib/action_dispatch/http/upload.rb
+${GEM_LIBDIR}/lib/action_dispatch/http/url.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/backwards.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/formatter.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/gtg/builder.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/gtg/simulator.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/gtg/transition_table.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/nfa/builder.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/nfa/dot.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/nfa/simulator.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/nfa/transition_table.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/nodes/node.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/parser.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/parser.y
+${GEM_LIBDIR}/lib/action_dispatch/journey/parser_extras.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/path/pattern.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/route.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/router.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/router/strexp.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/router/utils.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/routes.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/scanner.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/visitors.rb
+${GEM_LIBDIR}/lib/action_dispatch/journey/visualizer/fsm.css
+${GEM_LIBDIR}/lib/action_dispatch/journey/visualizer/fsm.js
+${GEM_LIBDIR}/lib/action_dispatch/journey/visualizer/index.html.erb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/callbacks.rb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/cookies.rb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/debug_exceptions.rb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/exception_wrapper.rb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/flash.rb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/params_parser.rb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/public_exceptions.rb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/reloader.rb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/remote_ip.rb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/request_id.rb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/session/abstract_store.rb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/session/cache_store.rb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/session/cookie_store.rb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/session/mem_cache_store.rb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/show_exceptions.rb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/ssl.rb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/stack.rb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/static.rb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/templates/rescues/_source.erb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/templates/rescues/layout.erb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/templates/rescues/missing_template.text.erb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/templates/rescues/template_error.text.erb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/templates/rescues/unknown_action.text.erb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/templates/routes/_route.html.erb
+${GEM_LIBDIR}/lib/action_dispatch/middleware/templates/routes/_table.html.erb
+${GEM_LIBDIR}/lib/action_dispatch/railtie.rb
+${GEM_LIBDIR}/lib/action_dispatch/request/session.rb
+${GEM_LIBDIR}/lib/action_dispatch/request/utils.rb
+${GEM_LIBDIR}/lib/action_dispatch/routing.rb
+${GEM_LIBDIR}/lib/action_dispatch/routing/endpoint.rb
+${GEM_LIBDIR}/lib/action_dispatch/routing/inspector.rb
+${GEM_LIBDIR}/lib/action_dispatch/routing/mapper.rb
+${GEM_LIBDIR}/lib/action_dispatch/routing/polymorphic_routes.rb
+${GEM_LIBDIR}/lib/action_dispatch/routing/redirection.rb
+${GEM_LIBDIR}/lib/action_dispatch/routing/route_set.rb
+${GEM_LIBDIR}/lib/action_dispatch/routing/routes_proxy.rb
+${GEM_LIBDIR}/lib/action_dispatch/routing/url_for.rb
+${GEM_LIBDIR}/lib/action_dispatch/testing/assertions.rb
+${GEM_LIBDIR}/lib/action_dispatch/testing/assertions/dom.rb
+${GEM_LIBDIR}/lib/action_dispatch/testing/assertions/response.rb
+${GEM_LIBDIR}/lib/action_dispatch/testing/assertions/routing.rb
+${GEM_LIBDIR}/lib/action_dispatch/testing/assertions/selector.rb
+${GEM_LIBDIR}/lib/action_dispatch/testing/assertions/tag.rb
+${GEM_LIBDIR}/lib/action_dispatch/testing/integration.rb
+${GEM_LIBDIR}/lib/action_dispatch/testing/test_process.rb
+${GEM_LIBDIR}/lib/action_dispatch/testing/test_request.rb
+${GEM_LIBDIR}/lib/action_dispatch/testing/test_response.rb
+${GEM_LIBDIR}/lib/action_pack.rb
+${GEM_LIBDIR}/lib/action_pack/gem_version.rb
+${GEM_LIBDIR}/lib/action_pack/version.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
Index: pkgsrc/www/ruby-actionpack42/distinfo
diff -u /dev/null pkgsrc/www/ruby-actionpack42/distinfo:1.1
--- /dev/null Thu Apr 20 21:59:11 2017
+++ pkgsrc/www/ruby-actionpack42/distinfo Thu Apr 20 21:59:11 2017
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/04/20 21:59:11 minskim Exp $
+
+SHA1 (actionpack-4.2.8.gem) = 185fce7ae0e740dba3282118ab3485a734fbe29b
+RMD160 (actionpack-4.2.8.gem) = c18b9c315833fd2ec31d6f71e580fca08fe18e96
+SHA512 (actionpack-4.2.8.gem) = 28752f853abe1486539926086cb32b819607b5e6a2a8dc936e535df7a2d4e3bc73964ba84cea0f2e27b7064708e6e82081946b570381807c987b186dc3e2140d
+Size (actionpack-4.2.8.gem) = 186368 bytes
Home |
Main Index |
Thread Index |
Old Index