aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-08 17:47:38 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-08 18:36:56 +0000
commitb8a29e8653de01719a0287abe7f264897d058e88 (patch)
treea6e6105872672ef85cd3c11b6d0d5b2b6e31f154
parent510a1027689186093a8bf139705c7f271640d617 (diff)
devel/rubygem-pagy6: Add rubygem-pagy6 6.5.0
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)
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-pagy6/Makefile24
-rw-r--r--devel/rubygem-pagy6/distinfo3
-rw-r--r--devel/rubygem-pagy6/pkg-descr21
4 files changed, 49 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index b5c7f49c9e4e..dca490094d25 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7492,6 +7492,7 @@
SUBDIR += rubygem-packwerk
SUBDIR += rubygem-packwerk-extensions
SUBDIR += rubygem-pagy
+ SUBDIR += rubygem-pagy6
SUBDIR += rubygem-paint
SUBDIR += rubygem-pairing_heap
SUBDIR += rubygem-parser
diff --git a/devel/rubygem-pagy6/Makefile b/devel/rubygem-pagy6/Makefile
new file mode 100644
index 000000000000..ca92d78557eb
--- /dev/null
+++ b/devel/rubygem-pagy6/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= pagy
+PORTVERSION= 6.5.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 6
+
+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
+
+PORTSCOUT= limit:^6\.
+
+post-install:
+ ${RM} ${STAGEDIR}${PREFIX}/bin/pagy
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-pagy6/distinfo b/devel/rubygem-pagy6/distinfo
new file mode 100644
index 000000000000..74dbee0c7069
--- /dev/null
+++ b/devel/rubygem-pagy6/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1725559545
+SHA256 (rubygem/pagy-6.5.0.gem) = 3b2418e79bd67abbac820dddaf6fd76665bac4170b2fef0f4a601a6400ef1a07
+SIZE (rubygem/pagy-6.5.0.gem) = 45056
diff --git a/devel/rubygem-pagy6/pkg-descr b/devel/rubygem-pagy6/pkg-descr
new file mode 100644
index 000000000000..c7eb389ffcdc
--- /dev/null
+++ b/devel/rubygem-pagy6/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)