databases/rubygem-solid_cable: Add rubygem-solid_cable 3.0.0

Solid Cable is a database-backed Action Cable adapter that keeps messages in a
table and continously polls for updates. This makes it possible to drop the
common dependency on Redis, if it isn't needed for any other purpose. Despite
polling, the performance of Solid Cable is comparable to Redis in most
situations. And in all circumstances, it makes it easier to deploy Rails when
Redis is no longer a required dependency for Action Cable functionality.
This commit is contained in:
Po-Chuan Hsieh 2024-09-18 13:51:28 +08:00
parent 4d88ece2a6
commit 88545fc618
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
4 changed files with 32 additions and 0 deletions

View file

@ -1042,6 +1042,7 @@
SUBDIR += rubygem-scenic61 SUBDIR += rubygem-scenic61
SUBDIR += rubygem-sdbm SUBDIR += rubygem-sdbm
SUBDIR += rubygem-seed-fu SUBDIR += rubygem-seed-fu
SUBDIR += rubygem-solid_cable
SUBDIR += rubygem-sqlite3 SUBDIR += rubygem-sqlite3
SUBDIR += rubygem-sqlite3-ruby SUBDIR += rubygem-sqlite3-ruby
SUBDIR += rubygem-sqlite31 SUBDIR += rubygem-sqlite31

View file

@ -0,0 +1,22 @@
PORTNAME= solid_cable
PORTVERSION= 3.0.0
CATEGORIES= databases rubygems
MASTER_SITES= RG
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Database-backed Action Cable backend
WWW= https://github.com/rails/solid_cable
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
RUN_DEPENDS= rubygem-actioncable72>=7.2:www/rubygem-actioncable72 \
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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1726487306
SHA256 (rubygem/solid_cable-3.0.0.gem) = 898a08ccc4f36a2e4e346cf77407fa6a4c5d5c88c4fee4d94b450fd0ef19863d
SIZE (rubygem/solid_cable-3.0.0.gem) = 11776

View file

@ -0,0 +1,6 @@
Solid Cable is a database-backed Action Cable adapter that keeps messages in a
table and continously polls for updates. This makes it possible to drop the
common dependency on Redis, if it isn't needed for any other purpose. Despite
polling, the performance of Solid Cable is comparable to Redis in most
situations. And in all circumstances, it makes it easier to deploy Rails when
Redis is no longer a required dependency for Action Cable functionality.