git: 655cf434eb55 - main - devel/rubygem-pagy: Add rubygem-pagy 8.2.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 May 2024 06:29:30 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=655cf434eb550038269992481b9c0f8ab3fbea73 commit 655cf434eb550038269992481b9c0f8ab3fbea73 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-05-16 06:13:40 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-05-16 06:21:49 +0000 devel/rubygem-pagy: Add rubygem-pagy 8.2.2 Pagy is a pagination gem. It works in any environment: with Rack frameworks (Rails, Sinatra, Padrino, etc.) or in pure ruby without Rack It works with any collection: with any ORM, any DB, any search gem, elasticsearch_rails, meilisearch, searchkick, ransack, and just about any list, even if you cannot count it It supports all kinds of pagination: calendar, countless, geared, incremental, auto-incremental, infinite, headers, JSON, cursor It supports all kinds of CSS Frameworks and APIs: bootstrap, bulma, foundation, materialize, semantic, uikit, tailwind, JSON:API It supports faster client-side rendering: with classic or innovative UI components (see Javascript Components) or by serving JSON to your favorite Javascript framework It has 100% of test coverage for Ruby, HTML and Javascript E2E (see Pagy Workflows CI) --- devel/Makefile | 1 + devel/rubygem-pagy/Makefile | 20 ++++++++++++++++++++ devel/rubygem-pagy/distinfo | 3 +++ devel/rubygem-pagy/pkg-descr | 21 +++++++++++++++++++++ 4 files changed, 45 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index da8d78f6c4b0..2baf4927b5cc 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7309,6 +7309,7 @@ SUBDIR += rubygem-os SUBDIR += rubygem-ostruct SUBDIR += rubygem-p4ruby + SUBDIR += rubygem-pagy SUBDIR += rubygem-paint SUBDIR += rubygem-pairing_heap SUBDIR += rubygem-parser diff --git a/devel/rubygem-pagy/Makefile b/devel/rubygem-pagy/Makefile new file mode 100644 index 000000000000..f1eaf6de3cd0 --- /dev/null +++ b/devel/rubygem-pagy/Makefile @@ -0,0 +1,20 @@ +PORTNAME= pagy +PORTVERSION= 8.2.2 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Agnostic pagination in plain Ruby +WWW= https://ddnexus.github.io/pagy/ \ + https://github.com/ddnexus/pagy + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= gem + +NO_ARCH= yes + +PLIST_FILES= bin/pagy + +.include <bsd.port.mk> diff --git a/devel/rubygem-pagy/distinfo b/devel/rubygem-pagy/distinfo new file mode 100644 index 000000000000..5f98ab607471 --- /dev/null +++ b/devel/rubygem-pagy/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1714227810 +SHA256 (rubygem/pagy-8.2.2.gem) = 67d2d8650c9d0455ec62dc783e76c53fb9ff25f48dc460e35b607bba40afb046 +SIZE (rubygem/pagy-8.2.2.gem) = 69120 diff --git a/devel/rubygem-pagy/pkg-descr b/devel/rubygem-pagy/pkg-descr new file mode 100644 index 000000000000..c7eb389ffcdc --- /dev/null +++ b/devel/rubygem-pagy/pkg-descr @@ -0,0 +1,21 @@ +Pagy is a pagination gem. + +It works in any environment: with Rack frameworks (Rails, Sinatra, Padrino, +etc.) or in pure ruby without Rack + +It works with any collection: with any ORM, any DB, any search gem, +elasticsearch_rails, meilisearch, searchkick, ransack, and just about any list, +even if you cannot count it + +It supports all kinds of pagination: calendar, countless, geared, incremental, +auto-incremental, infinite, headers, JSON, cursor + +It supports all kinds of CSS Frameworks and APIs: bootstrap, bulma, foundation, +materialize, semantic, uikit, tailwind, JSON:API + +It supports faster client-side rendering: with classic or innovative UI +components (see Javascript Components) or by serving JSON to your favorite +Javascript framework + +It has 100% of test coverage for Ruby, HTML and Javascript E2E (see Pagy +Workflows CI)