pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ruby-will-paginate Initial import of ruby18-w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a40488bf52d9
branches:  trunk
changeset: 542012:a40488bf52d9
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Apr 29 18:02:05 2008 +0000

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

diffstat:

 textproc/ruby-will-paginate/DESCR    |  11 +++++++
 textproc/ruby-will-paginate/Makefile |  14 +++++++++
 textproc/ruby-will-paginate/PLIST    |  52 ++++++++++++++++++++++++++++++++++++
 textproc/ruby-will-paginate/distinfo |   5 +++
 4 files changed, 82 insertions(+), 0 deletions(-)

diffs (98 lines):

diff -r 0ce52b0b9d40 -r a40488bf52d9 textproc/ruby-will-paginate/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-will-paginate/DESCR Tue Apr 29 18:02:05 2008 +0000
@@ -0,0 +1,11 @@
+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 %>
diff -r 0ce52b0b9d40 -r a40488bf52d9 textproc/ruby-will-paginate/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-will-paginate/Makefile      Tue Apr 29 18:02:05 2008 +0000
@@ -0,0 +1,14 @@
+# $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@localhost
+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"
diff -r 0ce52b0b9d40 -r a40488bf52d9 textproc/ruby-will-paginate/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-will-paginate/PLIST Tue Apr 29 18:02:05 2008 +0000
@@ -0,0 +1,52 @@
+@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}
diff -r 0ce52b0b9d40 -r a40488bf52d9 textproc/ruby-will-paginate/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-will-paginate/distinfo      Tue Apr 29 18:02:05 2008 +0000
@@ -0,0 +1,5 @@
+$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



Home | Main Index | Thread Index | Old Index