The NetBSD Project

CVS log for pkgsrc/textproc/ruby-will-paginate/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / textproc / ruby-will-paginate

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.16 / (download) - annotate - [select for diffs], Fri Jun 9 15:09:54 2023 UTC (8 months, 2 weeks ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, HEAD
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

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

Revision 1.15 / (download) - annotate - [select for diffs], Mon Aug 30 15:42:31 2021 UTC (2 years, 5 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

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".

Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 24 18:18:23 2020 UTC (3 years, 11 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored)

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

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jul 30 22:32:24 2017 UTC (6 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Switch github HOMEPAGEs to https.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jun 10 16:13:48 2017 UTC (6 years, 8 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

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.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Oct 20 15:12:21 2016 UTC (7 years, 4 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Tue Mar 15 16:00:58 2016 UTC (7 years, 11 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 5 15:21:40 2015 UTC (9 years ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

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.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 29 12:20:41 2013 UTC (10 years, 2 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 11 09:24:24 2013 UTC (11 years ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Update ruby-will-paginate to 3.0.4.

No changes are available, but various changes.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 18 02:47:25 2012 UTC (11 years, 11 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Update ruby-will-paginate to 3.0.3.

Exact changes are unknown.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 15 16:20:04 2011 UTC (12 years, 2 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Update ruby-will-paginate package to 3.0.2.

Changes are unknown.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Aug 12 17:24:16 2011 UTC (12 years, 6 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Update textproc/ruby-will-paginate package to 3.0.0.

Changes are unknown.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Sep 23 06:52:03 2010 UTC (13 years, 5 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Update textproc/ruby-will-paginate to 2.3.15.

Changes are unknown, but it seems a few bug fixes.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Sep 10 08:42:59 2010 UTC (13 years, 5 months ago) by taca
Branch: MAIN
Changes since 1.1: +4 -5 lines
Diff to previous 1.1 (colored)

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

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Tue Apr 29 18:02:05 2008 UTC (15 years, 10 months ago) by jlam
Branch: TNF
CVS Tags: pkgsrc-base, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

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

Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 29 18:02:05 2008 UTC (15 years, 10 months ago) by jlam
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>