Commit graph

10 commits

Author SHA1 Message Date
taca
7d29b2a31b 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.
2015-02-05 15:21:40 +00:00
taca
ebc12b4dd4 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-12-29 12:20:41 +00:00
taca
918bd611fa Update ruby-will-paginate to 3.0.4.
No changes are available, but various changes.
2013-02-11 09:24:24 +00:00
taca
e08d22ffaf Update ruby-will-paginate to 3.0.3.
Exact changes are unknown.
2012-03-18 02:47:25 +00:00
taca
3b52460aa3 Update ruby-will-paginate package to 3.0.2.
Changes are unknown.
2011-12-15 16:20:04 +00:00
taca
74d8ce618d Update textproc/ruby-will-paginate package to 3.0.0.
Changes are unknown.
2011-08-12 17:24:16 +00:00
taca
152febf61d Update textproc/ruby-will-paginate to 2.3.15.
Changes are unknown, but it seems a few bug fixes.
2010-09-23 06:52:03 +00:00
taca
0d18c34cb1 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
2010-09-10 08:42:59 +00:00
joerg
73ae0afd90 Remove @dirrm entries from PLISTs 2009-06-14 18:17:11 +00:00
jlam
a5409fae57 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 %>
2008-04-29 18:02:05 +00:00