From nobody Tue Jan 11 18:52:18 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9453A194C0DE; Tue, 11 Jan 2022 18:52:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JYKYv1lwHz4f5w; Tue, 11 Jan 2022 18:52:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EA2621E90C; Tue, 11 Jan 2022 18:52:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20BIqI1Q058366; Tue, 11 Jan 2022 18:52:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20BIqI1S058365; Tue, 11 Jan 2022 18:52:18 GMT (envelope-from git) Date: Tue, 11 Jan 2022 18:52:18 GMT Message-Id: <202201111852.20BIqI1S058365@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: c8047bc6080c - main - devel/rubygem-sucker_punch: Add rubygem-sucker_punch 3.0.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c8047bc6080c724b583f67b0a104eccf1df6f8f0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641927139; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TOuSjiuehyKi7Zkwl8i3ddAYdZ26EgZbCo9tft50lN0=; b=Sttx189xM/K2v6ve54kxvvRvft2TqWhmemebON++aRKbgMdhTvGUNVy5DJUBH98U22dy6T P3hHbZeVqS4hnnThTBiiV+Unx87L4owYHQUTwMNIlR5nZIkVmD9+zX1raFi7uR2vt/kozs uap40Gcv6Xe/6oJPqSQwNhui3UBo+Yl69ArEOH6HgIQqSWZhORX86qE/KtCYYYAnqziXU5 O/2bWm4jB8mWsKXiQSvzXDZJJ/TBsEDOBqn06otsAVsLqNlRWOhxSDdOyJpUwAAx0Gsz5C kn1TVOjVCMxMm72NPOcylQ10jGBOZ0LFS5NPJwZoHS10SNE0K5YpubB7nYed2Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641927139; a=rsa-sha256; cv=none; b=Hd4weCEKxOfFvVS+pdhvMuulOhYAbjbPblVHw+ngRMdwHHAaxjKYLmdJ9mpdHUGfaMNtAy nzfmUpQxHN4vyU+G2tjzB0V4A2vvJB4p5udDilVWSJAZ/VB9Jw/8FT+/l/T7d0hc7Oh0RA 82nS5SVEQKd57+rCyoRNiQRC2k796D3hvcI7viFUsr9EZ/2BUwckRvF8ij+r3/1uE5o3nQ 7cnzb6HWhrqJpyeIjNOee3lKOVBdc5Eu6pfLMt7XyT6/a0VdADwQeNuc/w68hqKelF29/P rfUSuyGDNXm1oQL/glnprJHHL+QKKfyAMhmpNPGpv4w1C4qHhEw5dPY7vZIq3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c8047bc6080c724b583f67b0a104eccf1df6f8f0 commit c8047bc6080c724b583f67b0a104eccf1df6f8f0 Author: Po-Chuan Hsieh AuthorDate: 2022-01-11 16:42:52 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-01-11 18:43:44 +0000 devel/rubygem-sucker_punch: Add rubygem-sucker_punch 3.0.1 Sucker Punch is a single-process Ruby asynchronous processing library. This reduces costs of hosting on a service like Heroku along with the memory footprint of having to maintain additional jobs if hosting on a dedicated server. All queues can run within a single application (eg. Rails, Sinatra, etc.) process. Sucker Punch is perfect for asynchronous processes like emailing, data crunching, or social platform manipulation. No reason to hold up a user when you can do these things in the background within the same process as your web application. Sucker Punch is built on top of concurrent-ruby. Each job is setup as a pool, which equates to its own queue with individual workers working against the jobs. Unlike most other background processing libraries, Sucker Punch's jobs are stored in memory. The benefit to this is there is no additional infrastructure requirement (ie. database, redis, etc.). However, if the web processes are restarted with jobs remaining in the queue, they will be lost. For this reason, Sucker Punch is generally recommended for jobs that are fast and non-mission critical (ie. logs, emails, etc.). WWW: https://github.com/brandonhilkert/sucker_punch --- devel/Makefile | 1 + devel/rubygem-sucker_punch/Makefile | 21 +++++++++++++++++++++ devel/rubygem-sucker_punch/distinfo | 3 +++ devel/rubygem-sucker_punch/pkg-descr | 21 +++++++++++++++++++++ 4 files changed, 46 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 7deba465d0fe..da0146c43b91 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -6852,6 +6852,7 @@ SUBDIR += rubygem-structured_warnings SUBDIR += rubygem-stud SUBDIR += rubygem-subexec + SUBDIR += rubygem-sucker_punch SUBDIR += rubygem-sugar-high SUBDIR += rubygem-sumbur SUBDIR += rubygem-sundawg_country_codes diff --git a/devel/rubygem-sucker_punch/Makefile b/devel/rubygem-sucker_punch/Makefile new file mode 100644 index 000000000000..4b6ba47f1ead --- /dev/null +++ b/devel/rubygem-sucker_punch/Makefile @@ -0,0 +1,21 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= sucker_punch +PORTVERSION= 3.0.1 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Asynchronous processing library for Ruby + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= rubygem-concurrent-ruby>=1.0<2:devel/rubygem-concurrent-ruby + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include diff --git a/devel/rubygem-sucker_punch/distinfo b/devel/rubygem-sucker_punch/distinfo new file mode 100644 index 000000000000..5f2b562e591a --- /dev/null +++ b/devel/rubygem-sucker_punch/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1641045730 +SHA256 (rubygem/sucker_punch-3.0.1.gem) = b49319778750e56b8c5add6a227727ef3dc3c327756bdf7e3bf236cb89d05579 +SIZE (rubygem/sucker_punch-3.0.1.gem) = 18432 diff --git a/devel/rubygem-sucker_punch/pkg-descr b/devel/rubygem-sucker_punch/pkg-descr new file mode 100644 index 000000000000..70434d7eab40 --- /dev/null +++ b/devel/rubygem-sucker_punch/pkg-descr @@ -0,0 +1,21 @@ +Sucker Punch is a single-process Ruby asynchronous processing library. This +reduces costs of hosting on a service like Heroku along with the memory +footprint of having to maintain additional jobs if hosting on a dedicated +server. All queues can run within a single application (eg. Rails, Sinatra, +etc.) process. + +Sucker Punch is perfect for asynchronous processes like emailing, data +crunching, or social platform manipulation. No reason to hold up a user when you +can do these things in the background within the same process as your web +application. + +Sucker Punch is built on top of concurrent-ruby. Each job is setup as a pool, +which equates to its own queue with individual workers working against the jobs. +Unlike most other background processing libraries, Sucker Punch's jobs are +stored in memory. The benefit to this is there is no additional infrastructure +requirement (ie. database, redis, etc.). However, if the web processes are +restarted with jobs remaining in the queue, they will be lost. For this reason, +Sucker Punch is generally recommended for jobs that are fast and non-mission +critical (ie. logs, emails, etc.). + +WWW: https://github.com/brandonhilkert/sucker_punch