diff options
author | taca <taca> | 2010-09-10 08:42:59 +0000 |
---|---|---|
committer | taca <taca> | 2010-09-10 08:42:59 +0000 |
commit | 46fa9b664b61bcfa8514ad0ce747172691fc5fd3 (patch) | |
tree | f008ba0f088737364c8ec67055b11d345d757e75 /textproc | |
parent | 4da5177be3e3fe88f3530c91c267ad1a8ac6cbd0 (diff) | |
download | pkgsrc-46fa9b664b61bcfa8514ad0ce747172691fc5fd3.tar.gz |
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
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ruby-will-paginate/Makefile | 9 | ||||
-rw-r--r-- | textproc/ruby-will-paginate/PLIST | 15 | ||||
-rw-r--r-- | textproc/ruby-will-paginate/distinfo | 8 |
3 files changed, 13 insertions, 19 deletions
diff --git a/textproc/ruby-will-paginate/Makefile b/textproc/ruby-will-paginate/Makefile index f7971c8f182..81ddf87bd4a 100644 --- a/textproc/ruby-will-paginate/Makefile +++ b/textproc/ruby-will-paginate/Makefile @@ -1,14 +1,13 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/04/29 18:02:05 jlam Exp $ +# $NetBSD: Makefile,v 1.2 2010/09/10 08:42:59 taca Exp $ -DISTNAME= will_paginate-2.2.2 +DISTNAME= will_paginate-2.3.14 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/_/-/} CATEGORIES= textproc +LICENSE= mit MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://github.com/mislav/will_paginate/wikis COMMENT= Pagination for views of model queries -GEM_BUILD= gemspec - -.include "../../misc/rubygems/rubygem.mk" +.include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/ruby-will-paginate/PLIST b/textproc/ruby-will-paginate/PLIST index d8a4ecb64b1..ed6e4f08f2b 100644 --- a/textproc/ruby-will-paginate/PLIST +++ b/textproc/ruby-will-paginate/PLIST @@ -1,15 +1,9 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:17:30 joerg Exp $ -${GEM_HOME}/cache/will_paginate-${PKGVERSION}.gem -${GEM_LIBDIR}/CHANGELOG +@comment $NetBSD: PLIST,v 1.3 2010/09/10 08:42:59 taca Exp $ +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/CHANGELOG.rdoc ${GEM_LIBDIR}/LICENSE ${GEM_LIBDIR}/README.rdoc ${GEM_LIBDIR}/Rakefile -${GEM_LIBDIR}/examples/apple-circle.gif -${GEM_LIBDIR}/examples/index.haml -${GEM_LIBDIR}/examples/index.html -${GEM_LIBDIR}/examples/pagination.css -${GEM_LIBDIR}/examples/pagination.sass -${GEM_LIBDIR}/init.rb ${GEM_LIBDIR}/lib/will_paginate.rb ${GEM_LIBDIR}/lib/will_paginate/array.rb ${GEM_LIBDIR}/lib/will_paginate/collection.rb @@ -41,5 +35,6 @@ ${GEM_LIBDIR}/test/lib/activerecord_test_case.rb ${GEM_LIBDIR}/test/lib/activerecord_test_connector.rb ${GEM_LIBDIR}/test/lib/load_fixtures.rb ${GEM_LIBDIR}/test/lib/view_test_process.rb +${GEM_LIBDIR}/test/tasks.rake ${GEM_LIBDIR}/test/view_test.rb -${GEM_HOME}/specifications/will_paginate-${PKGVERSION}.gemspec +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/textproc/ruby-will-paginate/distinfo b/textproc/ruby-will-paginate/distinfo index 02ffb34d36e..8e3c0eea124 100644 --- a/textproc/ruby-will-paginate/distinfo +++ b/textproc/ruby-will-paginate/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2008/04/29 18:02:05 jlam Exp $ +$NetBSD: distinfo,v 1.2 2010/09/10 08:42:59 taca Exp $ -SHA1 (will_paginate-2.2.2.gem) = f35bd939f69a09594f780bad3650dbbdc22ed046 -RMD160 (will_paginate-2.2.2.gem) = c9c32c8283744d27626d942a26dcaadf471662b3 -Size (will_paginate-2.2.2.gem) = 34816 bytes +SHA1 (will_paginate-2.3.14.gem) = 2d2a65ae8edc0af8fab89bd7b6e3b7d1892ddaa6 +RMD160 (will_paginate-2.3.14.gem) = 18b21f498f7b811c074474e129ededb3807ccb62 +Size (will_paginate-2.3.14.gem) = 36352 bytes |