head 1.11; access; symbols pkgsrc-2023Q4:1.11.0.6 pkgsrc-2023Q4-base:1.11 pkgsrc-2023Q3:1.11.0.4 pkgsrc-2023Q3-base:1.11 pkgsrc-2023Q2:1.11.0.2 pkgsrc-2023Q2-base:1.11 pkgsrc-2023Q1:1.10.0.14 pkgsrc-2023Q1-base:1.10 pkgsrc-2022Q4:1.10.0.12 pkgsrc-2022Q4-base:1.10 pkgsrc-2022Q3:1.10.0.10 pkgsrc-2022Q3-base:1.10 pkgsrc-2022Q2:1.10.0.8 pkgsrc-2022Q2-base:1.10 pkgsrc-2022Q1:1.10.0.6 pkgsrc-2022Q1-base:1.10 pkgsrc-2021Q4:1.10.0.4 pkgsrc-2021Q4-base:1.10 pkgsrc-2021Q3:1.10.0.2 pkgsrc-2021Q3-base:1.10 pkgsrc-2021Q2:1.9.0.12 pkgsrc-2021Q2-base:1.9 pkgsrc-2021Q1:1.9.0.10 pkgsrc-2021Q1-base:1.9 pkgsrc-2020Q4:1.9.0.8 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.9.0.6 pkgsrc-2020Q3-base:1.9 pkgsrc-2020Q2:1.9.0.4 pkgsrc-2020Q2-base:1.9 pkgsrc-2020Q1:1.9.0.2 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.8.0.36 pkgsrc-2019Q4-base:1.8 pkgsrc-2019Q3:1.8.0.32 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.30 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.8.0.28 pkgsrc-2019Q1-base:1.8 pkgsrc-2018Q4:1.8.0.26 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.8.0.24 pkgsrc-2018Q3-base:1.8 pkgsrc-2018Q2:1.8.0.22 pkgsrc-2018Q2-base:1.8 pkgsrc-2018Q1:1.8.0.20 pkgsrc-2018Q1-base:1.8 pkgsrc-2017Q4:1.8.0.18 pkgsrc-2017Q4-base:1.8 pkgsrc-2017Q3:1.8.0.16 pkgsrc-2017Q3-base:1.8 pkgsrc-2017Q2:1.8.0.12 pkgsrc-2017Q2-base:1.8 pkgsrc-2017Q1:1.8.0.10 pkgsrc-2017Q1-base:1.8 pkgsrc-2016Q4:1.8.0.8 pkgsrc-2016Q4-base:1.8 pkgsrc-2016Q3:1.8.0.6 pkgsrc-2016Q3-base:1.8 pkgsrc-2016Q2:1.8.0.4 pkgsrc-2016Q2-base:1.8 pkgsrc-2016Q1:1.8.0.2 pkgsrc-2016Q1-base:1.8 pkgsrc-2015Q4:1.7.0.8 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.6 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.4 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.2 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.6.0.10 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.8 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.6 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.4 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.2 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.5.0.16 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.14 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.12 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.10 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.8 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.6 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.4 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.2 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.4.0.2 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.3.0.8 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.6 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.4 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.2 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.2.0.10 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.8 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.6 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.4 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.2 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.1.1.1.0.12 pkgsrc-2009Q1-base:1.1.1.1 pkgsrc-2008Q4:1.1.1.1.0.10 pkgsrc-2008Q4-base:1.1.1.1 pkgsrc-2008Q3:1.1.1.1.0.8 pkgsrc-2008Q3-base:1.1.1.1 cube-native-xorg:1.1.1.1.0.6 cube-native-xorg-base:1.1.1.1 pkgsrc-2008Q2:1.1.1.1.0.4 pkgsrc-2008Q2-base:1.1.1.1 cwrapper:1.1.1.1.0.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.11 date 2023.06.09.15.09.54; author taca; state Exp; branches; next 1.10; commitid UixAb8iuIWZGGhsE; 1.10 date 2021.08.30.15.42.31; author taca; state Exp; branches; next 1.9; commitid gPqhx7BmBmUhH07D; 1.9 date 2020.03.24.18.18.23; author taca; state Exp; branches; next 1.8; commitid KIZslxCZuT8VoG1C; 1.8 date 2016.03.15.16.00.58; author taca; state Exp; branches; next 1.7; commitid gtMr0vL6nAXdTKYy; 1.7 date 2015.02.05.15.21.40; author taca; state Exp; branches; next 1.6; commitid esTsDMtCPBeWEP8y; 1.6 date 2013.12.29.12.20.41; author taca; state Exp; branches; next 1.5; commitid vDGOrz9q3cj1C1jx; 1.5 date 2011.12.15.16.20.04; author taca; state Exp; branches; next 1.4; 1.4 date 2011.08.12.17.24.16; author taca; state Exp; branches; next 1.3; 1.3 date 2010.09.10.08.42.59; author taca; state Exp; branches; next 1.2; 1.2 date 2009.06.14.18.17.30; author joerg; state Exp; branches; next 1.1; 1.1 date 2008.04.29.18.02.05; author jlam; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.04.29.18.02.05; author jlam; state Exp; branches; next ; desc @@ 1.11 log @textproc/ruby-will-paginate: update to 4.0.0 4.0.0 (2023-05-29) This release adds only minor new features, but bumps the major version number because some old functionality has been removed due to other frameworks not being maintained anymore. Namely, DataMapper and Merb integrations have been dropped since both projects haven't been maintained in a long while and it's been hard maintaining a test suite for them. What's New * Preserve query parameters in pagination links rendered from POST request by @@mislav in #648 * Add aria-label for previous and next page links by @@hammad-Ikhlaq-7vals in #645 - Learn how to translate these new accessible labels in non-English applications * Remove aria-disabled attribute from element by @@mislav in #634 * Remove DataMapper integration by @@orien in #641 * Remove Merb support by @@mislav in #642 What's Changed * Rails 7 compat in tests by @@mislav in #629 * Test against Rails 7 by @@mislav in #633 * Bump RSpec from 2.99.0 to 3.12.0 by @@orien in #640 * Remove unneeded files from the gem package by @@orien in #643 * Fix CI by @@mislav in #647 New Contributors * @@hammad-Ikhlaq-7vals made their first contribution in #645 @ text @@@comment $NetBSD: PLIST,v 1.10 2021/08/30 15:42:31 taca Exp $ ${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_LIBDIR}/LICENSE ${GEM_LIBDIR}/README.md ${GEM_LIBDIR}/lib/will_paginate.rb ${GEM_LIBDIR}/lib/will_paginate/active_record.rb ${GEM_LIBDIR}/lib/will_paginate/array.rb ${GEM_LIBDIR}/lib/will_paginate/collection.rb ${GEM_LIBDIR}/lib/will_paginate/core_ext.rb ${GEM_LIBDIR}/lib/will_paginate/deprecation.rb ${GEM_LIBDIR}/lib/will_paginate/i18n.rb ${GEM_LIBDIR}/lib/will_paginate/locale/en.yml ${GEM_LIBDIR}/lib/will_paginate/mongoid.rb ${GEM_LIBDIR}/lib/will_paginate/page_number.rb ${GEM_LIBDIR}/lib/will_paginate/per_page.rb ${GEM_LIBDIR}/lib/will_paginate/railtie.rb ${GEM_LIBDIR}/lib/will_paginate/sequel.rb ${GEM_LIBDIR}/lib/will_paginate/version.rb ${GEM_LIBDIR}/lib/will_paginate/view_helpers.rb ${GEM_LIBDIR}/lib/will_paginate/view_helpers/action_view.rb ${GEM_LIBDIR}/lib/will_paginate/view_helpers/hanami.rb ${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/sinatra.rb ${GEM_HOME}/specifications/${GEM_NAME}.gemspec @ 1.10 log @textproc/ruby-will-paginate: update to 3.3.1 3.3.1 (2021-08-12) * Accessibility fix: add the aria-disabled attribute to the pagination element marked with CSS classname "disabled". @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.9 2020/03/24 18:18:23 taca Exp $ a9 1 ${GEM_LIBDIR}/lib/will_paginate/data_mapper.rb a23 1 ${GEM_LIBDIR}/lib/will_paginate/view_helpers/merb.rb a24 28 ${GEM_LIBDIR}/spec/collection_spec.rb ${GEM_LIBDIR}/spec/console ${GEM_LIBDIR}/spec/console_fixtures.rb ${GEM_LIBDIR}/spec/database.yml ${GEM_LIBDIR}/spec/finders/active_record_spec.rb ${GEM_LIBDIR}/spec/finders/activerecord_test_connector.rb ${GEM_LIBDIR}/spec/fixtures/admin.rb ${GEM_LIBDIR}/spec/fixtures/developer.rb ${GEM_LIBDIR}/spec/fixtures/developers_projects.yml ${GEM_LIBDIR}/spec/fixtures/project.rb ${GEM_LIBDIR}/spec/fixtures/projects.yml ${GEM_LIBDIR}/spec/fixtures/replies.yml ${GEM_LIBDIR}/spec/fixtures/reply.rb ${GEM_LIBDIR}/spec/fixtures/schema.rb ${GEM_LIBDIR}/spec/fixtures/topic.rb ${GEM_LIBDIR}/spec/fixtures/topics.yml ${GEM_LIBDIR}/spec/fixtures/user.rb ${GEM_LIBDIR}/spec/fixtures/users.yml ${GEM_LIBDIR}/spec/matchers/deprecation_matcher.rb ${GEM_LIBDIR}/spec/matchers/phrase_matcher.rb ${GEM_LIBDIR}/spec/matchers/query_count_matcher.rb ${GEM_LIBDIR}/spec/page_number_spec.rb ${GEM_LIBDIR}/spec/per_page_spec.rb ${GEM_LIBDIR}/spec/spec_helper.rb ${GEM_LIBDIR}/spec/view_helpers/action_view_spec.rb ${GEM_LIBDIR}/spec/view_helpers/base_spec.rb ${GEM_LIBDIR}/spec/view_helpers/link_renderer_base_spec.rb ${GEM_LIBDIR}/spec/view_helpers/view_example_group.rb @ 1.9 log @textproc/ruby-will-paginate: update to 3.3.0 Update ruby-will-paginate to 3.3.0. 3.3.0 (2020-02-26) * ActiveRecord: Avoid a count query in empty? #593 * Support MS SQL Server #540 * Avoid Ruby 2.7 warnings about keyword arguments #609 * Breaking: drop Ruby 1.9 compatibility 3.2.1 (2019-10-15) * Ensure PageNumber is serialized as JSON number 3.2.0 (2019-10-09) * Performance: avoid extending Numeric with PageNumber logic * BREAKING: Integer === page_number is no longer true. * Make pagination markup more accessible: - container div now has role="navigation"; - container div now has aria-label="Pagination", translatable via will_paginate.container_aria_label i18n key; - individual page links now have aria-label="Page {N}", translatable via will_paginate.page_aria_label i18n key; - current page now has aria-current="page". * Add support for will_paginate view helpers in Hanami View * Add total_entries support for Mongoid * Rails: avoid circular require warning * Rails: fix serving HTTP 404s for WillPaginate::InvalidPage exceptions 3.1.8 (2019-08-19) * Avoid warnings on Ruby 2.7 3.1.7 (2019-03-18) * Rails 5.2.2.1 & 6.0.0 compatibility @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.8 2016/03/15 16:00:58 taca Exp $ a30 1 ${GEM_LIBDIR}/spec/fake_rubygems.rb a32 5 ${GEM_LIBDIR}/spec/finders/data_mapper_spec.rb ${GEM_LIBDIR}/spec/finders/data_mapper_test_connector.rb ${GEM_LIBDIR}/spec/finders/mongoid_spec.rb ${GEM_LIBDIR}/spec/finders/sequel_spec.rb ${GEM_LIBDIR}/spec/finders/sequel_test_connector.rb @ 1.8 log @Update ruby-will-paginate to 3.1.0. * Rails 5.0 support * Drop support for old Active Record finder params to paginate(): # now unsupported: User.paginate(:page => 1, :order => 'created_at DESC', :conditions => ...) # convert to Arel syntax instead: User.order('created_at DESC').where(...).paginate(:page => 1) # or, even better: User.order('created_at DESC').where(...).page(1) * Add support for pagination with Mongoid @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.7 2015/02/05 15:21:40 taca Exp $ d22 1 @ 1.7 log @Update ruby-will-paginate to 3.0.7. Improve compatibility with newer rails. Please refer in detail. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.6 2013/12/29 12:20:41 taca Exp $ d14 1 d35 1 @ 1.6 log @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 @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.5 2011/12/15 16:20:04 taca Exp $ d48 3 @ 1.5 log @Update ruby-will-paginate package to 3.0.2. Changes are unknown. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.4 2011/08/12 17:24:16 taca Exp $ a4 1 ${GEM_LIBDIR}/Rakefile a24 1 ${GEM_LIBDIR}/spec/ci.rb d29 1 @ 1.4 log @Update textproc/ruby-will-paginate package to 3.0.0. Changes are unknown. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.3 2010/09/10 08:42:59 taca Exp $ d12 1 @ 1.3 log @Update textproc/ruby-will-paginate to 2.3.14. * Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Add LICENSE. * Remove default value of GEM_BUILD. = 2.3.12, released 2009-12-01 * make view helpers "HTML safe" for Rails 2.3.5 with rails_xss plugin = 2.3.11, released 2009-06-02 * fix `enable_actionpack` = 2.3.10, released 2009-05-21 * count_by_sql: don't use table alias with any adapters starting with "oracle" * Add back "AS count_table" alias to `paginate_by_sql` counter SQL = 2.3.9, released 2009-05-29 * remove "AS count_table" alias from `paginate_by_sql` counter SQL * Rails 2.3.2 compat: monkeypatch Rails issue #2189 (count breaks has_many :through) * fix generation of page URLs that contain the "@@" character * check for method existance in a ruby 1.8- and 1.9-compatible way * load will_paginate view helpers even if ActiveRecord is not loaded == 2.3.8, released 2009-03-09 * Rails 2.3 compat: query parameter parsing with Rack == 2.3.7, released 2009-02-09 * Removed all unnecessary &block variables since they cause serious memory damage and lots of subsequent gc runs. == 2.3.6, released 2008-10-26 * Rails 2.2 fix: stop using `extract_attribute_names_from_match` inernal AR method, it no longer exists == 2.3.5, released 2008-10-07 * update the backported named_scope implementation for Rails versions older than 2.1 * break out of scope of paginated_each() yielded block when used on named scopes * fix paginate(:from) == 2.3.4, released 2008-09-16 * Removed gem dependency to Active Support (causes trouble with vendored rails). * Rails 2.1: fix a failing test and a deprecation warning. * Cope with scoped :select when counting. == 2.3.3, released 2008-08-29 * Ensure that paginate_by_sql doesn't change the original SQL query. * RDoc love (now live at http://gitrdoc.com/mislav/will_paginate/tree/master) * Rename :prev_label to :previous_label for consistency. old name still functions but is deprecated * ActiveRecord 2.1: Remove :include option from count_all query when it's possible. == 2.3.2, released 2008-05-16 * Fixed LinkRenderer#stringified_merge by removing "return" from iterator block * Ensure that 'href' values in pagination links are escaped URLs == 2.3.1, released 2008-05-04 * Fixed page numbers not showing with custom routes and implicit first page * Try to use Hanna for documentation (falls back to default RDoc template if not) == 2.3.0, released 2008-04-29 * Changed LinkRenderer to receive collection, options and reference to view template NOT in constructor, but with the #prepare method. This is a step towards supporting passing of LinkRenderer (or subclass) instances that may be preconfigured in some way * LinkRenderer now has #page_link and #page_span methods for easier customization of output in subclasses * Changed page_entries_info() method to adjust its output according to humanized class name of collection items. Override this with :entry_name parameter (singular). page_entries_info(@@posts) #-> "Displaying all 12 posts" page_entries_info(@@posts, :entry_name => 'item') #-> "Displaying all 12 items" == 2.2.3, released 2008-04-26 * will_paginate gem is no longer published on RubyForge, but on gems.github.com: gem sources -a http://gems.github.com/ (you only need to do this once) gem install mislav-will_paginate * extract reusable pagination testing stuff into WillPaginate::View * rethink the page URL construction mechanizm to be more bulletproof when combined with custom routing for page parameter * test that anchor parameter can be used in pagination links @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:17:30 joerg Exp $ a2 1 ${GEM_LIBDIR}/CHANGELOG.rdoc d4 1 a4 1 ${GEM_LIBDIR}/README.rdoc d7 1 d11 7 a17 3 ${GEM_LIBDIR}/lib/will_paginate/finder.rb ${GEM_LIBDIR}/lib/will_paginate/named_scope.rb ${GEM_LIBDIR}/lib/will_paginate/named_scope_patch.rb d20 35 a54 24 ${GEM_LIBDIR}/test/boot.rb ${GEM_LIBDIR}/test/collection_test.rb ${GEM_LIBDIR}/test/console ${GEM_LIBDIR}/test/database.yml ${GEM_LIBDIR}/test/finder_test.rb ${GEM_LIBDIR}/test/fixtures/admin.rb ${GEM_LIBDIR}/test/fixtures/developer.rb ${GEM_LIBDIR}/test/fixtures/developers_projects.yml ${GEM_LIBDIR}/test/fixtures/project.rb ${GEM_LIBDIR}/test/fixtures/projects.yml ${GEM_LIBDIR}/test/fixtures/replies.yml ${GEM_LIBDIR}/test/fixtures/reply.rb ${GEM_LIBDIR}/test/fixtures/schema.rb ${GEM_LIBDIR}/test/fixtures/topic.rb ${GEM_LIBDIR}/test/fixtures/topics.yml ${GEM_LIBDIR}/test/fixtures/user.rb ${GEM_LIBDIR}/test/fixtures/users.yml ${GEM_LIBDIR}/test/helper.rb ${GEM_LIBDIR}/test/lib/activerecord_test_case.rb ${GEM_LIBDIR}/test/lib/activerecord_test_connector.rb ${GEM_LIBDIR}/test/lib/load_fixtures.rb ${GEM_LIBDIR}/test/lib/view_test_process.rb ${GEM_LIBDIR}/test/tasks.rake ${GEM_LIBDIR}/test/view_test.rb @ 1.2 log @Remove @@dirrm entries from PLISTs @ text @d1 3 a3 3 @@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/29 18:02:05 jlam Exp $ ${GEM_HOME}/cache/will_paginate-${PKGVERSION}.gem ${GEM_LIBDIR}/CHANGELOG a6 6 ${GEM_LIBDIR}/examples/apple-circle.gif ${GEM_LIBDIR}/examples/index.haml ${GEM_LIBDIR}/examples/index.html ${GEM_LIBDIR}/examples/pagination.css ${GEM_LIBDIR}/examples/pagination.sass ${GEM_LIBDIR}/init.rb d38 1 d40 1 a40 1 ${GEM_HOME}/specifications/will_paginate-${PKGVERSION}.gemspec @ 1.1 log @Initial revision @ text @d1 1 a1 1 @@comment $NetBSD$ a45 7 @@dirrm ${GEM_LIBDIR}/test/lib @@dirrm ${GEM_LIBDIR}/test/fixtures @@dirrm ${GEM_LIBDIR}/test @@dirrm ${GEM_LIBDIR}/lib/will_paginate @@dirrm ${GEM_LIBDIR}/lib @@dirrm ${GEM_LIBDIR}/examples @@dirrm ${GEM_LIBDIR} @ 1.1.1.1 log @Initial import of ruby18-will-paginate-2.2.2 as textproc/ruby-will-paginate. Pagination is just limiting the number of records displayed. Why should you let it get in your way while developing, then? This library makes magic happen. Did you ever want to be able to do just this on a model: @@posts = Post.paginate :page => params[:page], :order => 'created_at DESC' and then render the page links with a single view helper? Well, now you can. <%= will_paginate @@posts %> @ text @@