diff options
author | obache <obache@pkgsrc.org> | 2011-10-17 01:43:56 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-10-17 01:43:56 +0000 |
commit | 88490602f026e0e2336a3d852374079d912b7a81 (patch) | |
tree | b97f4109d70411373d0226f5e0c7b9e9f8a7cae9 | |
parent | 0637b07a30e881f4183c734946c6caf068cecfa6 (diff) | |
download | pkgsrc-88490602f026e0e2336a3d852374079d912b7a81.tar.gz |
Update ruby-httpclient to 2.2.2.
While here, install document again.
== Changes
= Changes in 2.2.2 =
Oct 17, 2011 - version 2.2.2
* Bug fixes
* Do not sort query params on request: Wrongly sorted query params for
easier debugging but the order of request parameter should be
preserved. #65
* Changes
* Set responce String encoding if possible. Parse content-type response
header with some helps from OpenURI::Meta and set response String
encoding. #26
* Improve connection cache strategy. Reuse cached session in MRU order,
not in LRU. MRU is more server friendly than LRU because it reduces
number of cached sessions when a number of requests drops after an
usaage spike.
With reusing sessions in LRU order, all sessions are equally checked if
it's closed or not, as far as there's a request to the same site. With
reusing sessions in MRU order, old cold sessions are kept in cache long
time even if there's a request to the same site. To avoid this leakage,
this version adds keep_alive_timeout property and let SessionManager
scrub all sessions with checking the timeout for each session. When the
session expires against the last used time, it's closed and collected.
keep_alive_timeout is 15[sec] by default. The value is from the default
value for KeepAliveTimeout of Apache httpd 2. #68 #69
-rw-r--r-- | www/ruby-httpclient/Makefile | 9 | ||||
-rw-r--r-- | www/ruby-httpclient/PLIST | 4 | ||||
-rw-r--r-- | www/ruby-httpclient/distinfo | 8 |
3 files changed, 10 insertions, 11 deletions
diff --git a/www/ruby-httpclient/Makefile b/www/ruby-httpclient/Makefile index c7cebeac250..4e96bf3e9b8 100644 --- a/www/ruby-httpclient/Makefile +++ b/www/ruby-httpclient/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.5 2011/06/03 01:44:39 obache Exp $ +# $NetBSD: Makefile,v 1.6 2011/10/17 01:43:56 obache Exp $ # -DISTNAME= httpclient-2.2.1 +DISTNAME= httpclient-2.2.2 CATEGORIES= www MAINTAINER= obache@NetBSD.org @@ -13,9 +13,8 @@ PKG_DESTDIR_SUPPORT= user-destdir USE_LANGUAGES= # none -# error with ruby18 -RUBY_BUILD_RDOC= no -RUBY_BUILD_RI= no +# OK with ruby-1.9 buitin one, but not with ruby18's one. +RUBY_RDOC_REQD= 2.5.8 .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/ruby-httpclient/PLIST b/www/ruby-httpclient/PLIST index 4f71c2b3a16..dc9c1573bd3 100644 --- a/www/ruby-httpclient/PLIST +++ b/www/ruby-httpclient/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2011/06/03 01:44:39 obache Exp $ +@comment $NetBSD: PLIST,v 1.4 2011/10/17 01:43:56 obache Exp $ ${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_LIBDIR}/lib/hexdump.rb ${GEM_LIBDIR}/lib/http-access2.rb @@ -15,6 +15,7 @@ ${GEM_LIBDIR}/lib/httpclient/session.rb ${GEM_LIBDIR}/lib/httpclient/ssl_config.rb ${GEM_LIBDIR}/lib/httpclient/timeout.rb ${GEM_LIBDIR}/lib/httpclient/util.rb +${GEM_LIBDIR}/lib/httpclient/version.rb ${GEM_LIBDIR}/lib/oauthclient.rb ${GEM_LIBDIR}/sample/async.rb ${GEM_LIBDIR}/sample/auth.rb @@ -51,4 +52,3 @@ ${GEM_LIBDIR}/test/test_http-access2.rb ${GEM_LIBDIR}/test/test_httpclient.rb ${GEM_LIBDIR}/test/test_ssl.rb ${GEM_HOME}/specifications/${GEM_NAME}.gemspec -@pkgdir lib/ruby/gems/1.8/doc diff --git a/www/ruby-httpclient/distinfo b/www/ruby-httpclient/distinfo index ce67254d0af..c0fe2d51dc0 100644 --- a/www/ruby-httpclient/distinfo +++ b/www/ruby-httpclient/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.5 2011/06/03 01:44:39 obache Exp $ +$NetBSD: distinfo,v 1.6 2011/10/17 01:43:56 obache Exp $ -SHA1 (httpclient-2.2.1.gem) = 95660eb5658014ddabd7b63651351eb7dd01c26b -RMD160 (httpclient-2.2.1.gem) = ee2913fec883457ad3d957d9183cb5d4ca44d838 -Size (httpclient-2.2.1.gem) = 197120 bytes +SHA1 (httpclient-2.2.2.gem) = c65818c6221e2b56ace322fb9b6809d553816710 +RMD160 (httpclient-2.2.2.gem) = cbdae332d7a504ca6fbee9ffa0144880e577dee7 +Size (httpclient-2.2.2.gem) = 199168 bytes |