diff options
author | taca <taca@pkgsrc.org> | 2018-03-13 16:01:25 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2018-03-13 16:01:25 +0000 |
commit | 3b6be951fbfe43a1da291bbd40c6388db13b98e8 (patch) | |
tree | 5e24e1a4881a6208f4c609850688ab2b4c20e4bf /net/ruby-connection_pool | |
parent | f2348cefde038c820e88e9fc7e4f928400e10364 (diff) | |
download | pkgsrc-3b6be951fbfe43a1da291bbd40c6388db13b98e8.tar.gz |
net/ruby-connection_pool: add version 2.2.1 package
Generic connection pooling for Ruby.
MongoDB has its own connection pool. ActiveRecord has its own connection pool.
This is a generic connection pool that can be used with anything, e.g. Redis,
Dalli and other Ruby network clients.
**WARNING**: Don't ever use `Timeout.timeout` in your Ruby code or you will see
occasional silent corruption and mysterious errors. The Timeout API is unsafe
and cannot be used correctly, ever. Use proper socket timeout options as
exposed by Net::HTTP, Redis, Dalli, etc.
Diffstat (limited to 'net/ruby-connection_pool')
-rw-r--r-- | net/ruby-connection_pool/DESCR | 10 | ||||
-rw-r--r-- | net/ruby-connection_pool/Makefile | 12 | ||||
-rw-r--r-- | net/ruby-connection_pool/PLIST | 18 | ||||
-rw-r--r-- | net/ruby-connection_pool/distinfo | 6 |
4 files changed, 46 insertions, 0 deletions
diff --git a/net/ruby-connection_pool/DESCR b/net/ruby-connection_pool/DESCR new file mode 100644 index 00000000000..f3c2ff4b464 --- /dev/null +++ b/net/ruby-connection_pool/DESCR @@ -0,0 +1,10 @@ +Generic connection pooling for Ruby. + +MongoDB has its own connection pool. ActiveRecord has its own connection pool. +This is a generic connection pool that can be used with anything, e.g. Redis, +Dalli and other Ruby network clients. + +**WARNING**: Don't ever use `Timeout.timeout` in your Ruby code or you will see +occasional silent corruption and mysterious errors. The Timeout API is unsafe +and cannot be used correctly, ever. Use proper socket timeout options as +exposed by Net::HTTP, Redis, Dalli, etc. diff --git a/net/ruby-connection_pool/Makefile b/net/ruby-connection_pool/Makefile new file mode 100644 index 00000000000..1f6ab036cbb --- /dev/null +++ b/net/ruby-connection_pool/Makefile @@ -0,0 +1,12 @@ +# $NetBSD: Makefile,v 1.1 2018/03/13 16:01:25 taca Exp $ + +DISTNAME= connection_pool-2.2.1 +CATEGORIES= net + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/mperham/connection_pool +COMMENT= Generic connection pool for Ruby +LICENSE= mit + +.include "../../lang/ruby/gem.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/ruby-connection_pool/PLIST b/net/ruby-connection_pool/PLIST new file mode 100644 index 00000000000..03ac5aa2c85 --- /dev/null +++ b/net/ruby-connection_pool/PLIST @@ -0,0 +1,18 @@ +@comment $NetBSD: PLIST,v 1.1 2018/03/13 16:01:25 taca Exp $ +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/.gitignore +${GEM_LIBDIR}/.travis.yml +${GEM_LIBDIR}/Changes.md +${GEM_LIBDIR}/Gemfile +${GEM_LIBDIR}/LICENSE +${GEM_LIBDIR}/README.md +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/connection_pool.gemspec +${GEM_LIBDIR}/lib/connection_pool.rb +${GEM_LIBDIR}/lib/connection_pool/monotonic_time.rb +${GEM_LIBDIR}/lib/connection_pool/timed_stack.rb +${GEM_LIBDIR}/lib/connection_pool/version.rb +${GEM_LIBDIR}/test/helper.rb +${GEM_LIBDIR}/test/test_connection_pool.rb +${GEM_LIBDIR}/test/test_connection_pool_timed_stack.rb +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/net/ruby-connection_pool/distinfo b/net/ruby-connection_pool/distinfo new file mode 100644 index 00000000000..74a914a5825 --- /dev/null +++ b/net/ruby-connection_pool/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/03/13 16:01:25 taca Exp $ + +SHA1 (connection_pool-2.2.1.gem) = 67c14bb8389e06c11817a7cd505be43f30c1aea9 +RMD160 (connection_pool-2.2.1.gem) = d64233096c035c8a90d262925d9fa8f594e64de4 +SHA512 (connection_pool-2.2.1.gem) = 74167b200fcc02d3a60fdc0e71b44c80f1c72db75b5f604a442bd5fb55138fe1750a2db095e0283104fda35fd9024cb71c7ddb614c3d472f814d686b686b6ef0 +Size (connection_pool-2.2.1.gem) = 13824 bytes |