git: 39f77ea66f0a - main - databases/rubygem-solid_cache: Add rubygem-solid_cache 1.0.6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Sep 2024 06:18:38 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=39f77ea66f0a71e5ad6bd213f835dca0bf1391f0
commit 39f77ea66f0a71e5ad6bd213f835dca0bf1391f0
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-18 05:51:29 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-18 06:13:04 +0000
databases/rubygem-solid_cache: Add rubygem-solid_cache 1.0.6
Solid Cache is a database-backed Active Support cache store that let's you keep
a much larger cache than is typically possible with traditional memory-only
Redis or Memcached stores. This is thanks to the speed of modern SSD drives,
which make the access-time penalty of using disk vs RAM insignificant for most
caching purposes. Simply put, you're now usually better off keeping a huge cache
on disk rather than a small cache in memory.
---
databases/Makefile | 1 +
databases/rubygem-solid_cache/Makefile | 21 +++++++++++++++++++++
databases/rubygem-solid_cache/distinfo | 3 +++
databases/rubygem-solid_cache/pkg-descr | 6 ++++++
4 files changed, 31 insertions(+)
diff --git a/databases/Makefile b/databases/Makefile
index 36d4ad809b0b..db3604c81a1a 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -1043,6 +1043,7 @@
SUBDIR += rubygem-sdbm
SUBDIR += rubygem-seed-fu
SUBDIR += rubygem-solid_cable
+ SUBDIR += rubygem-solid_cache
SUBDIR += rubygem-sqlite3
SUBDIR += rubygem-sqlite3-ruby
SUBDIR += rubygem-sqlite31
diff --git a/databases/rubygem-solid_cache/Makefile b/databases/rubygem-solid_cache/Makefile
new file mode 100644
index 000000000000..ea62cbaedde2
--- /dev/null
+++ b/databases/rubygem-solid_cache/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= solid_cache
+PORTVERSION= 1.0.6
+CATEGORIES= databases rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Database-backed ActiveSupport::Cache::Store
+WWW= https://github.com/rails/solid_cache
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS= rubygem-activejob72>=7.2:devel/rubygem-activejob72 \
+ rubygem-activerecord72>=7.2:databases/rubygem-activerecord72 \
+ rubygem-railties72>=7.2:www/rubygem-railties72
+
+USES= gem
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-solid_cache/distinfo b/databases/rubygem-solid_cache/distinfo
new file mode 100644
index 000000000000..080ff731860c
--- /dev/null
+++ b/databases/rubygem-solid_cache/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1726487308
+SHA256 (rubygem/solid_cache-1.0.6.gem) = fe1acf73fbe4a6a53620425317949082d3b99e0cfd35416106b56220fa66c311
+SIZE (rubygem/solid_cache-1.0.6.gem) = 20992
diff --git a/databases/rubygem-solid_cache/pkg-descr b/databases/rubygem-solid_cache/pkg-descr
new file mode 100644
index 000000000000..4909baac7cbc
--- /dev/null
+++ b/databases/rubygem-solid_cache/pkg-descr
@@ -0,0 +1,6 @@
+Solid Cache is a database-backed Active Support cache store that let's you keep
+a much larger cache than is typically possible with traditional memory-only
+Redis or Memcached stores. This is thanks to the speed of modern SSD drives,
+which make the access-time penalty of using disk vs RAM insignificant for most
+caching purposes. Simply put, you're now usually better off keeping a huge cache
+on disk rather than a small cache in memory.