Tue Apr 29 18:02:05 2008 UTC ()
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 %>

Status:

Vendor Tag:	TNF
Release Tags:	pkgsrc-base


(jlam)
diff -r0 -r1.1.1.1 pkgsrc/textproc/ruby-will-paginate/Makefile
diff -r0 -r1.1.1.1 pkgsrc/textproc/ruby-will-paginate/DESCR
diff -r0 -r1.1.1.1 pkgsrc/textproc/ruby-will-paginate/PLIST
diff -r0 -r1.1.1.1 pkgsrc/textproc/ruby-will-paginate/distinfo

File Added: pkgsrc/textproc/ruby-will-paginate/Makefile
# $NetBSD: Makefile,v 1.1.1.1 2008/04/29 18:02:05 jlam Exp $

DISTNAME=	will_paginate-2.2.2
PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES=	textproc

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 "../../mk/bsd.pkg.mk"

File Added: pkgsrc/textproc/ruby-will-paginate/DESCR
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 %>

File Added: pkgsrc/textproc/ruby-will-paginate/PLIST
@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/29 18:02:05 jlam Exp $
${GEM_HOME}/cache/will_paginate-${PKGVERSION}.gem
${GEM_LIBDIR}/CHANGELOG
${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
${GEM_LIBDIR}/lib/will_paginate/core_ext.rb
${GEM_LIBDIR}/lib/will_paginate/finder.rb
${GEM_LIBDIR}/lib/will_paginate/named_scope.rb
${GEM_LIBDIR}/lib/will_paginate/named_scope_patch.rb
${GEM_LIBDIR}/lib/will_paginate/version.rb
${GEM_LIBDIR}/lib/will_paginate/view_helpers.rb
${GEM_LIBDIR}/test/boot.rb
${GEM_LIBDIR}/test/collection_test.rb
${GEM_LIBDIR}/test/console
${GEM_LIBDIR}/test/database.yml
${GEM_LIBDIR}/test/finder_test.rb
${GEM_LIBDIR}/test/fixtures/admin.rb
${GEM_LIBDIR}/test/fixtures/developer.rb
${GEM_LIBDIR}/test/fixtures/developers_projects.yml
${GEM_LIBDIR}/test/fixtures/project.rb
${GEM_LIBDIR}/test/fixtures/projects.yml
${GEM_LIBDIR}/test/fixtures/replies.yml
${GEM_LIBDIR}/test/fixtures/reply.rb
${GEM_LIBDIR}/test/fixtures/schema.rb
${GEM_LIBDIR}/test/fixtures/topic.rb
${GEM_LIBDIR}/test/fixtures/topics.yml
${GEM_LIBDIR}/test/fixtures/user.rb
${GEM_LIBDIR}/test/fixtures/users.yml
${GEM_LIBDIR}/test/helper.rb
${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/view_test.rb
${GEM_HOME}/specifications/will_paginate-${PKGVERSION}.gemspec
@dirrm ${GEM_LIBDIR}/test/lib
@dirrm ${GEM_LIBDIR}/test/fixtures
@dirrm ${GEM_LIBDIR}/test
@dirrm ${GEM_LIBDIR}/lib/will_paginate
@dirrm ${GEM_LIBDIR}/lib
@dirrm ${GEM_LIBDIR}/examples
@dirrm ${GEM_LIBDIR}

File Added: pkgsrc/textproc/ruby-will-paginate/distinfo
$NetBSD: distinfo,v 1.1.1.1 2008/04/29 18:02:05 jlam 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