Path to this page:
./
textproc/ruby-will-paginate,
Pagination for views of model queries
Branch: CURRENT,
Version: 4.0.1,
Package name: ruby32-will-paginate-4.0.1,
Maintainer: pkgsrc-usersPagination 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 %>
Required to run:[
lang/ruby26-base]
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 18.5 KB
Version history: (Expand)
- (2024-06-11) Updated to version: ruby32-will-paginate-4.0.1
- (2023-06-11) Updated to version: ruby31-will-paginate-4.0.0
- (2021-08-30) Updated to version: ruby27-will-paginate-3.3.1
- (2020-03-24) Updated to version: ruby26-will-paginate-3.3.0
- (2017-11-23) Package has been reborn
- (2017-06-11) Updated to version: ruby23-will-paginate-3.1.6
CVS history: (Expand)
2023-06-09 17:09:54 by Takahiro Kambe | Files touched by this commit (3) | |
Log message:
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 <span> 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
|
2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161) |
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
|
2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162) |
Log message:
textproc: Remove SHA1 hashes for distfiles
|
2020-03-24 19:18:23 by Takahiro Kambe | Files touched by this commit (3) | |
Log message:
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
|
2017-07-31 00:32:28 by Thomas Klausner | Files touched by this commit (229) |
Log message:
Switch github HOMEPAGEs to https.
|
2017-06-10 18:13:48 by Takahiro Kambe | Files touched by this commit (2) |
Log message:
Update ruby-will-paginate to 3.1.6.
3.1.6 2017/06/07
* Reference Integer instead of Fixnum to avoid Ruby 2.4 deprecation warning.
|
2016-10-20 17:12:21 by Takahiro Kambe | Files touched by this commit (2) |
Log message:
Update ruby-will-paginate to 3.1.5.
3.1.5
* Avoid Rails 5 deprecation warning about original_exception
* No longer generates <a rel="start"> for first page link \
since "start"
is an invalid rel value
3.1.4 (seems not released)
3.1.3
* Rails 5 compatibility for inheriting query params in pagination links
* Fix locale load path so that application can override will_paginate's
built-in translations.
3.1.2
* Further fix security vulnerability when generating pagination URLs in
Rails.
3.1.1
* Fixed security vulnerability when generating pagination URLs in Rails.
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
|
2016-03-15 17:00:58 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
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
|