svn commit: r438517 - in head/devel: . rubygem-sidekiq-unique-jobs
Joseph Mingrone
jrm at FreeBSD.org
Fri Apr 14 14:38:52 UTC 2017
Author: jrm
Date: Fri Apr 14 14:38:50 2017
New Revision: 438517
URL: https://svnweb.freebsd.org/changeset/ports/438517
Log:
New port, devel/rubygem-sidekiq-unique-jobs: Ensure only a single
copy of a job is in Redis
Adding devel/rubygem-sidekiq-unique-jobs because it is a dependency of the
upcoming www/mastodon port.
WWW: https://github.com/mhenrixon/sidekiq-unique-jobs/
Approved by: swills (mentor, implicit)
Added:
head/devel/rubygem-sidekiq-unique-jobs/
head/devel/rubygem-sidekiq-unique-jobs/Makefile (contents, props changed)
head/devel/rubygem-sidekiq-unique-jobs/distinfo (contents, props changed)
head/devel/rubygem-sidekiq-unique-jobs/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Fri Apr 14 14:30:12 2017 (r438516)
+++ head/devel/Makefile Fri Apr 14 14:38:50 2017 (r438517)
@@ -5528,6 +5528,7 @@
SUBDIR += rubygem-sidekiq
SUBDIR += rubygem-sidekiq-cron
SUBDIR += rubygem-sidekiq-limit_fetch
+ SUBDIR += rubygem-sidekiq-unique-jobs
SUBDIR += rubygem-sidetiq
SUBDIR += rubygem-sigdump
SUBDIR += rubygem-simple_form
Added: head/devel/rubygem-sidekiq-unique-jobs/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-sidekiq-unique-jobs/Makefile Fri Apr 14 14:38:50 2017 (r438517)
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= sidekiq-unique-jobs
+PORTVERSION= 5.0.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= jrm at FreeBSD.org
+COMMENT= Ensure only a single copy of a job is in Redis
+
+LICENSE= WTFPL2
+LICENSE_NAME= Do What The Fuck You Want To Public License version 2
+LICENSE_FILE= ${WRKSRC}/LICENSE
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+RUN_DEPENDS= rubygem-sidekiq>=4.0:devel/rubygem-sidekiq \
+ rubygem-thor>=0:devel/rubygem-thor
+
+USE_RUBY= yes
+USES= gem shebangfix
+
+SHEBANG_FILES= rails_example/bin/docker-setup \
+ rails_example/dev-entrypoint.sh
+
+NO_ARCH= yes
+
+PLIST_FILES= bin/jobs
+
+.include <bsd.port.mk>
Added: head/devel/rubygem-sidekiq-unique-jobs/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-sidekiq-unique-jobs/distinfo Fri Apr 14 14:38:50 2017 (r438517)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1492177149
+SHA256 (rubygem/sidekiq-unique-jobs-5.0.0.gem) = eaa002d4ffee9246a270337b817403fc9c7236ea3e0155449cb9176539378d04
+SIZE (rubygem/sidekiq-unique-jobs-5.0.0.gem) = 57344
Added: head/devel/rubygem-sidekiq-unique-jobs/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-sidekiq-unique-jobs/pkg-descr Fri Apr 14 14:38:50 2017 (r438517)
@@ -0,0 +1,7 @@
+If your application code creates duplicate jobs, sidekiq-unique-jobs can ensure
+only a single copy of a job is in Redis. For instance, perhaps you create a job
+to sync an address change with a 3rd party system every time a form is
+submitted. If the form is submitted twice, you don't need to create the second
+job if the first job is still pending.
+
+WWW: https://github.com/mhenrixon/sidekiq-unique-jobs/
More information about the svn-ports-head
mailing list