Path to this page:
./
textproc/ruby-will-paginate,
Pagination for views of model queries
Branch: CURRENT,
Version: 3.3.1,
Package name: ruby27-will-paginate-3.3.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: 34 KB
Version history: (Expand)
- (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
- (2016-10-20) Updated to version: ruby22-will-paginate-3.1.5
- (2016-03-15) Updated to version: ruby22-will-paginate-3.1.0
CVS history: (Expand)
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
|
2015-11-04 03:00:17 by Alistair G. Crooks | Files touched by this commit (797) |
Log message:
Add SHA512 digests for distfiles for textproc category
Problems found locating distfiles:
Package cabocha: missing distfile cabocha-0.68.tar.bz2
Package convertlit: missing distfile clit18src.zip
Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
|