aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-16 06:13:40 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-16 06:21:49 +0000
commit655cf434eb550038269992481b9c0f8ab3fbea73 (patch)
tree419ac914adf3b126eef7a62c769259b770fd1fec
parente3fa2999d0dfe09b42be68aee0bdcebefc2be3db (diff)
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)
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-pagy/Makefile20
-rw-r--r--devel/rubygem-pagy/distinfo3
-rw-r--r--devel/rubygem-pagy/pkg-descr21
4 files changed, 45 insertions, 0 deletions
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)