pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ruby-connection_pool net/ruby-connection_pool: add...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ced697675db9
branches:  trunk
changeset: 377092:ced697675db9
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue Mar 13 16:01:25 2018 +0000

description:
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:

 net/ruby-connection_pool/DESCR    |  10 ++++++++++
 net/ruby-connection_pool/Makefile |  12 ++++++++++++
 net/ruby-connection_pool/PLIST    |  18 ++++++++++++++++++
 net/ruby-connection_pool/distinfo |   6 ++++++
 4 files changed, 46 insertions(+), 0 deletions(-)

diffs (62 lines):

diff -r e7b8732515fa -r ced697675db9 net/ruby-connection_pool/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ruby-connection_pool/DESCR    Tue Mar 13 16:01:25 2018 +0000
@@ -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 -r e7b8732515fa -r ced697675db9 net/ruby-connection_pool/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ruby-connection_pool/Makefile Tue Mar 13 16:01:25 2018 +0000
@@ -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@localhost
+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 -r e7b8732515fa -r ced697675db9 net/ruby-connection_pool/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ruby-connection_pool/PLIST    Tue Mar 13 16:01:25 2018 +0000
@@ -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 -r e7b8732515fa -r ced697675db9 net/ruby-connection_pool/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ruby-connection_pool/distinfo Tue Mar 13 16:01:25 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index