Update ruby-will-paginate to 3.0.5, fixing security problem of CVE-2013-6459.

* important security fix that prevents XSS in generated pagination links
* always call html_safe if available on will_paginate result
* exclude reorder for count queries
This commit is contained in:
taca 2013-12-29 12:20:41 +00:00
parent ef457d8293
commit ebc12b4dd4
3 changed files with 8 additions and 9 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.7 2013/02/11 09:24:24 taca Exp $
# $NetBSD: Makefile,v 1.8 2013/12/29 12:20:41 taca Exp $
DISTNAME= will_paginate-3.0.4
DISTNAME= will_paginate-3.0.5
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= textproc
LICENSE= mit

View file

@ -1,8 +1,7 @@
@comment $NetBSD: PLIST,v 1.5 2011/12/15 16:20:04 taca Exp $
@comment $NetBSD: PLIST,v 1.6 2013/12/29 12:20:41 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/LICENSE
${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/lib/will_paginate.rb
${GEM_LIBDIR}/lib/will_paginate/active_record.rb
${GEM_LIBDIR}/lib/will_paginate/array.rb
@ -23,11 +22,11 @@ ${GEM_LIBDIR}/lib/will_paginate/view_helpers/link_renderer.rb
${GEM_LIBDIR}/lib/will_paginate/view_helpers/link_renderer_base.rb
${GEM_LIBDIR}/lib/will_paginate/view_helpers/merb.rb
${GEM_LIBDIR}/lib/will_paginate/view_helpers/sinatra.rb
${GEM_LIBDIR}/spec/ci.rb
${GEM_LIBDIR}/spec/collection_spec.rb
${GEM_LIBDIR}/spec/console
${GEM_LIBDIR}/spec/console_fixtures.rb
${GEM_LIBDIR}/spec/database.yml
${GEM_LIBDIR}/spec/fake_rubygems.rb
${GEM_LIBDIR}/spec/finders/active_record_spec.rb
${GEM_LIBDIR}/spec/finders/activerecord_test_connector.rb
${GEM_LIBDIR}/spec/finders/data_mapper_spec.rb

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.7 2013/02/11 09:24:24 taca Exp $
$NetBSD: distinfo,v 1.8 2013/12/29 12:20:41 taca Exp $
SHA1 (will_paginate-3.0.4.gem) = 3bc69b6873011c06548fb5ced1aa8dccd5d96784
RMD160 (will_paginate-3.0.4.gem) = 7bc8cbeb2f9c9d6ab17ca07cab514750d8f5b05c
Size (will_paginate-3.0.4.gem) = 34816 bytes
SHA1 (will_paginate-3.0.5.gem) = cab8bded4a9b20c121af986f8bd975ca64860914
RMD160 (will_paginate-3.0.5.gem) = 89c6a7d922c80bc5b8651845c8b46871d775004c
Size (will_paginate-3.0.5.gem) = 34816 bytes