Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2025 16:30:37 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: 58c8f65c9393 - main - databases/rubygem-solid_queue-rails72: Add rubygem-solid_queue-rails72 1.1.2 (copied from rubygem-solid_queue)
Message-ID:  <202501021630.502GUbpq049135@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=58c8f65c93934f103b1732a88738610653a34c10

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

    databases/rubygem-solid_queue-rails72: Add rubygem-solid_queue-rails72 1.1.2 (copied from rubygem-solid_queue)
---
 databases/Makefile                              |  1 +
 databases/rubygem-solid_queue-rails72/Makefile  | 25 +++++++++++++++++++++++++
 databases/rubygem-solid_queue-rails72/distinfo  |  3 +++
 databases/rubygem-solid_queue-rails72/pkg-descr | 13 +++++++++++++
 4 files changed, 42 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index 21f4f312acce..4ef49dca5f16 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -1036,6 +1036,7 @@
     SUBDIR += rubygem-solid_cache
     SUBDIR += rubygem-solid_cache-rails72
     SUBDIR += rubygem-solid_queue
+    SUBDIR += rubygem-solid_queue-rails72
     SUBDIR += rubygem-sqlite3
     SUBDIR += rubygem-sqlite3-ruby
     SUBDIR += rubygem-sqlite31
diff --git a/databases/rubygem-solid_queue-rails72/Makefile b/databases/rubygem-solid_queue-rails72/Makefile
new file mode 100644
index 000000000000..914d925c64f7
--- /dev/null
+++ b/databases/rubygem-solid_queue-rails72/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	solid_queue
+PORTVERSION=	1.1.2
+CATEGORIES=	databases rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	-rails72
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Database-backed Active Job backend
+WWW=		https://github.com/rails/solid_queue
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-activejob72>=7.1:devel/rubygem-activejob72 \
+		rubygem-activerecord72>=7.1:databases/rubygem-activerecord72 \
+		rubygem-concurrent-ruby>=1.3.1:devel/rubygem-concurrent-ruby \
+		rubygem-fugit>=1.11.0<1.12:devel/rubygem-fugit \
+		rubygem-railties72>=7.1:www/rubygem-railties72 \
+		rubygem-thor>=1.3.1<1.4:devel/rubygem-thor
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-solid_queue-rails72/distinfo b/databases/rubygem-solid_queue-rails72/distinfo
new file mode 100644
index 000000000000..c01950d6d3ac
--- /dev/null
+++ b/databases/rubygem-solid_queue-rails72/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1735705217
+SHA256 (rubygem/solid_queue-1.1.2.gem) = 178c9396d1cf0dac595c7508da90ddb397d25848ca007b5c5ed48e6ac6fc360c
+SIZE (rubygem/solid_queue-1.1.2.gem) = 42496
diff --git a/databases/rubygem-solid_queue-rails72/pkg-descr b/databases/rubygem-solid_queue-rails72/pkg-descr
new file mode 100644
index 000000000000..6082f17ba5ce
--- /dev/null
+++ b/databases/rubygem-solid_queue-rails72/pkg-descr
@@ -0,0 +1,13 @@
+Solid Queue is a DB-based queuing backend for Active Job, designed with
+simplicity and performance in mind.
+
+Besides regular job enqueuing and processing, Solid Queue supports delayed jobs,
+concurrency controls, recurring jobs, pausing queues, numeric priorities per
+job, priorities by queue order, and bulk enqueuing (enqueue_all for Active Job's
+perform_all_later).
+
+Solid Queue can be used with SQL databases such as MySQL, PostgreSQL or SQLite,
+and it leverages the FOR UPDATE SKIP LOCKED clause, if available, to avoid
+blocking and waiting on locks when polling jobs. It relies on Active Job for
+retries, discarding, error handling, serialization, or delays, and it's
+compatible with Ruby on Rails's multi-threading.



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