./textproc/ruby-will-paginate, Pagination for views of model queries

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.1.5, Package name: ruby22-will-paginate-3.1.5, Maintainer: pkgsrc-users

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 %>


Required to run:
[lang/ruby22-base]

Master sites:

SHA1: d8e03a48b1412ba61b3ed7979d263fa3b29528d9
RMD160: c63d7cc7182e5bb77e7602318dc8e287bfeee3e4
Filesize: 36 KB

Version history: (Expand)


CVS history: (Expand)


   2016-10-20 17:12:21 by Takahiro Kambe | Files touched by this commit (2) | Package updated
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) | Package updated
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.
   2015-02-05 16:21:40 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-will-paginate to 3.0.7.

Improve compatibility with newer rails.  Please refer
<https://github.com/mislav/will_paginate/commits/3-0-stable> in detail.
   2013-12-29 13:20:41 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
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
   2013-02-11 10:24:24 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-will-paginate to 3.0.4.

No changes are available, but various changes.
   2012-03-18 03:47:25 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-will-paginate to 3.0.3.

Exact changes are unknown.
   2011-12-15 17:20:04 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-will-paginate package to 3.0.2.

Changes are unknown.