Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2025 16:30:36 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fb7c551e824d - main - databases/rubygem-solid_cache-rails72: Add rubygem-solid_cache-rails72 1.0.6 (copied from rubygem-solid_cache)
Message-ID:  <202501021630.502GUadw049085@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fb7c551e824d367a90ef9d2b99eb8c7b2851c070

commit fb7c551e824d367a90ef9d2b99eb8c7b2851c070
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-01-02 16:28:44 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-01-02 16:28:44 +0000

    databases/rubygem-solid_cache-rails72: Add rubygem-solid_cache-rails72 1.0.6 (copied from rubygem-solid_cache)
---
 databases/Makefile                              |  1 +
 databases/rubygem-solid_cache-rails72/Makefile  | 22 ++++++++++++++++++++++
 databases/rubygem-solid_cache-rails72/distinfo  |  3 +++
 databases/rubygem-solid_cache-rails72/pkg-descr |  6 ++++++
 4 files changed, 32 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index cf96a798490d..21f4f312acce 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -1034,6 +1034,7 @@
     SUBDIR += rubygem-solid_cable
     SUBDIR += rubygem-solid_cable-rails72
     SUBDIR += rubygem-solid_cache
+    SUBDIR += rubygem-solid_cache-rails72
     SUBDIR += rubygem-solid_queue
     SUBDIR += rubygem-sqlite3
     SUBDIR += rubygem-sqlite3-ruby
diff --git a/databases/rubygem-solid_cache-rails72/Makefile b/databases/rubygem-solid_cache-rails72/Makefile
new file mode 100644
index 000000000000..07d94519db05
--- /dev/null
+++ b/databases/rubygem-solid_cache-rails72/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	solid_cache
+PORTVERSION=	1.0.6
+CATEGORIES=	databases rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	-rails72
+
+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-rails72/distinfo b/databases/rubygem-solid_cache-rails72/distinfo
new file mode 100644
index 000000000000..080ff731860c
--- /dev/null
+++ b/databases/rubygem-solid_cache-rails72/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-rails72/pkg-descr b/databases/rubygem-solid_cache-rails72/pkg-descr
new file mode 100644
index 000000000000..4909baac7cbc
--- /dev/null
+++ b/databases/rubygem-solid_cache-rails72/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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501021630.502GUadw049085>