pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/ruby-will-paginate



Module Name:    pkgsrc
Committed By:   taca
Date:           Tue Mar 15 16:00:58 UTC 2016

Modified Files:
        pkgsrc/textproc/ruby-will-paginate: Makefile PLIST distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/ruby-will-paginate/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/ruby-will-paginate/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/ruby-will-paginate/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index