From 751be41b6b553a7f2ca3588544e48c6583594aab Mon Sep 17 00:00:00 2001 From: Mike Perham Date: Mon, 19 Sep 2011 14:29:59 -0700 Subject: [PATCH] Move timed_queue, prepare for release --- Changes.md | 4 ++-- lib/connection_pool.rb | 2 +- lib/connection_pool/version.rb | 2 +- lib/{connection_pool => }/timed_queue.rb | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename lib/{connection_pool => }/timed_queue.rb (100%) diff --git a/Changes.md b/Changes.md index 946c642..e454eb6 100644 --- a/Changes.md +++ b/Changes.md @@ -1,5 +1,5 @@ -HEAD +0.1.0 -------- -- More precise timeouts +- More precise timeouts and better error message - ConnectionPool now subclasses BasicObject so `method_missing` is more effective. diff --git a/lib/connection_pool.rb b/lib/connection_pool.rb index d6ed49f..18a7bc8 100644 --- a/lib/connection_pool.rb +++ b/lib/connection_pool.rb @@ -1,4 +1,4 @@ -require 'connection_pool/timed_queue' +require 'timed_queue' # Generic connection pool class for e.g. sharing a limited number of network connections # among many threads. Note: Connections are eager created. diff --git a/lib/connection_pool/version.rb b/lib/connection_pool/version.rb index 580a48e..1702b6d 100644 --- a/lib/connection_pool/version.rb +++ b/lib/connection_pool/version.rb @@ -1,3 +1,3 @@ class ConnectionPool - VERSION = "0.0.3" + VERSION = "0.1.0" end diff --git a/lib/connection_pool/timed_queue.rb b/lib/timed_queue.rb similarity index 100% rename from lib/connection_pool/timed_queue.rb rename to lib/timed_queue.rb