aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-04-05 16:51:11 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-04-05 17:17:58 +0000
commit19c2d56f7c9de6babc0169585f6d8dfd98dfccc5 (patch)
treee1764b9e7152619c95895746a21d839163104011
parentcc15d545175365e15e11481abda426d3740f7ceb (diff)
devel/rubygem-compact_index: Add rubygem-compact_index 0.15.0
The CompactIndex gem implements the response logic for the compact index format and to manage the versions file. The compact index format has three endpoints: /names, /versions and /info/gem_name. The versions file is a file which hold the versions in a cache-friendly way.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-compact_index/Makefile19
-rw-r--r--devel/rubygem-compact_index/distinfo3
-rw-r--r--devel/rubygem-compact_index/pkg-descr4
4 files changed, 27 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 1e5320f2d5cd..f71e68f90b99 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7288,6 +7288,7 @@
SUBDIR += rubygem-colorizer
SUBDIR += rubygem-columnize
SUBDIR += rubygem-commander
+ SUBDIR += rubygem-compact_index
SUBDIR += rubygem-concurrent-ruby
SUBDIR += rubygem-concurrent-ruby-edge
SUBDIR += rubygem-concurrent-ruby-edge06
diff --git a/devel/rubygem-compact_index/Makefile b/devel/rubygem-compact_index/Makefile
new file mode 100644
index 000000000000..de35387fb019
--- /dev/null
+++ b/devel/rubygem-compact_index/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= compact_index
+PORTVERSION= 0.15.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Backend for compact index
+WWW= https://github.com/rubygems/compact_index
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= gem shebangfix
+
+NO_ARCH= yes
+
+SHEBANG_FILES= bin/setup
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-compact_index/distinfo b/devel/rubygem-compact_index/distinfo
new file mode 100644
index 000000000000..dc18678159a9
--- /dev/null
+++ b/devel/rubygem-compact_index/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1773966680
+SHA256 (rubygem/compact_index-0.15.0.gem) = 5c6c404afca8928a7d9f4dde9524f6e1610db17e675330803055db282da84a8b
+SIZE (rubygem/compact_index-0.15.0.gem) = 18944
diff --git a/devel/rubygem-compact_index/pkg-descr b/devel/rubygem-compact_index/pkg-descr
new file mode 100644
index 000000000000..e26f32f1342f
--- /dev/null
+++ b/devel/rubygem-compact_index/pkg-descr
@@ -0,0 +1,4 @@
+The CompactIndex gem implements the response logic for the compact index format
+and to manage the versions file. The compact index format has three endpoints:
+/names, /versions and /info/gem_name. The versions file is a file which hold the
+versions in a cache-friendly way.