summaryrefslogtreecommitdiff
path: root/www/ruby-http
diff options
context:
space:
mode:
authortaca <taca>2015-06-11 16:51:04 +0000
committertaca <taca>2015-06-11 16:51:04 +0000
commit9dbd679fd595f8f4d31245a5a6afb5e1ad5558dc (patch)
tree27c26d638ebdfe28968969d6a933a2214f0460fb /www/ruby-http
parentaf96a2728b0043b038342c84bdd35c896a90bb10 (diff)
downloadpkgsrc-9dbd679fd595f8f4d31245a5a6afb5e1ad5558dc.tar.gz
Update ruby-http to 0.8.12.
pkgsrc change: allow build on Ruby 2.2. ## 0.8.12 (2015-05-26) * Fix `HTTP.timeout` API (was loosing previously defined options). (@ixti) ## 0.8.11 (2015-05-22) * SNI support for HTTPS connections. See #229. (@tarcieri) * Use "http.rb" in the User-Agent string. See #227. (@tarcieri) ## 0.8.10 (2015-05-14) * Fix cookie headers generation. (@ixti) ## 0.8.9 (2015-05-11) * Add cookies support. (@ixti) * Enforce stringified body encoding. See #219. (@Connorhd) ## 0.8.8 (2015-05-09) * Fix CONNECT header for proxies. See #217. (@Connorhd) ## 0.8.7 (2015-05-08) * Fix `HTTP.timeout` API with options only given. (@ixti) ## 0.8.6 (2015-05-08) * Reset global timeouts after the request finishes. See #215. (@zanker) ## 0.8.5 (2015-05-06) * Add simple timeouts configuration API. See #205. (@ixti) * Deprecate `Request#request_header`. Use `Request#headline` instead. (@ixti) ## 0.8.4 (2015-04-23) * Deprecate `#default_headers` and `#default_headers=`. (@ixti) * Deprecate chainable methods with `with_` prefix. See #207. (@ixti) * Add support of HTTPS connections through proxy. See #186. (@Connorhd) ## 0.8.3 (2015-04-07) * Fix request headline. See #206. (@ixti) * Remove deprecated `Request#__method__`. (@ixti) ## 0.8.2 (2015-04-06) * Fix Celluloid::IO compatibility. See #203. (@ixti) * Cleanup obsolete code. (@zanker) ## 0.8.1 (2015-04-02) * Add missing `require "resolv"`. See #202. (@ixti) * Add block-form `#persistent` calls. See #200, #201. (@ixti) ## 0.8.0 (2015-04-01) * Properly handle WaitWritable for SSL. See #199. (@zanker) * Add support for non-ASCII URis. See #197. (@ixti) * Add configurable connection timeouts. See #187, #194, #195. (@zanker) * Refactor requests redirect following logic. See #179. (@ixti) * Support for persistent HTTP connections (@zanker) * Add caching support. See #77 and #177. (@Asmod4n, @pezra) * Improve servers used in specs boot up. Issue was initially raised up by @olegkovalenko. See #176. (@ixti) * Reflect FormData rename changes (FormData -> HTTP::FormData). (@ixti) * `HTTP::Headers` now raises `HTTP::InvalidHeaderNameError` in case of (surprise) invalid HTTP header field name (e.g.`"Foo:Bar"`). See #173. (@ixti)
Diffstat (limited to 'www/ruby-http')
-rw-r--r--www/ruby-http/Makefile9
-rw-r--r--www/ruby-http/PLIST28
-rw-r--r--www/ruby-http/distinfo8
3 files changed, 33 insertions, 12 deletions
diff --git a/www/ruby-http/Makefile b/www/ruby-http/Makefile
index 716fb15493e..ac2c79cca36 100644
--- a/www/ruby-http/Makefile
+++ b/www/ruby-http/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2015/03/28 04:32:15 taca Exp $
+# $NetBSD: Makefile,v 1.6 2015/06/11 16:51:04 taca Exp $
#
-DISTNAME= http-0.7.3
+DISTNAME= http-0.8.12
CATEGORIES= www
MAINTAINER= tsutsui@NetBSD.org
@@ -10,9 +10,10 @@ COMMENT= Simple Ruby DSL for making HTTP requests
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-http_parser.rb>=0.6.0<0.7:../../www/ruby-http_parser.rb
-DEPENDS+= ${RUBY_PKGPREFIX}-http-form_data>=1.0.0<1.1:../../www/ruby-http-form_data
+DEPENDS+= ${RUBY_PKGPREFIX}-http-form_data>=1.0.1<1.1:../../www/ruby-http-form_data
+DEPENDS+= ${RUBY_PKGPREFIX}-addressable>=2.3<3:../../net/ruby-addressable
+DEPENDS+= ${RUBY_PKGPREFIX}-http-cookie>=1.0<2:../../www/ruby-http-cookie
-RUBY_VERSION_SUPPORTED= 200 193 21
USE_LANGUAGES= # none
.include "../../lang/ruby/gem.mk"
diff --git a/www/ruby-http/PLIST b/www/ruby-http/PLIST
index e8b116d6e49..70da3b3675a 100644
--- a/www/ruby-http/PLIST
+++ b/www/ruby-http/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2015/03/28 04:32:15 taca Exp $
+@comment $NetBSD: PLIST,v 1.6 2015/06/11 16:51:04 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.coveralls.yml
${GEM_LIBDIR}/.gitignore
@@ -7,6 +7,7 @@ ${GEM_LIBDIR}/.rubocop.yml
${GEM_LIBDIR}/.travis.yml
${GEM_LIBDIR}/.yardopts
${GEM_LIBDIR}/CHANGES.md
+${GEM_LIBDIR}/CONTRIBUTING.md
${GEM_LIBDIR}/Gemfile
${GEM_LIBDIR}/Guardfile
${GEM_LIBDIR}/LICENSE.txt
@@ -15,11 +16,16 @@ ${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/examples/parallel_requests_with_celluloid.rb
${GEM_LIBDIR}/http.gemspec
${GEM_LIBDIR}/lib/http.rb
+${GEM_LIBDIR}/lib/http/cache.rb
+${GEM_LIBDIR}/lib/http/cache/headers.rb
+${GEM_LIBDIR}/lib/http/cache/null_cache.rb
${GEM_LIBDIR}/lib/http/chainable.rb
${GEM_LIBDIR}/lib/http/client.rb
+${GEM_LIBDIR}/lib/http/connection.rb
${GEM_LIBDIR}/lib/http/content_type.rb
${GEM_LIBDIR}/lib/http/errors.rb
${GEM_LIBDIR}/lib/http/headers.rb
+${GEM_LIBDIR}/lib/http/headers/known.rb
${GEM_LIBDIR}/lib/http/headers/mixin.rb
${GEM_LIBDIR}/lib/http/mime_type.rb
${GEM_LIBDIR}/lib/http/mime_type/adapter.rb
@@ -27,14 +33,24 @@ ${GEM_LIBDIR}/lib/http/mime_type/json.rb
${GEM_LIBDIR}/lib/http/options.rb
${GEM_LIBDIR}/lib/http/redirector.rb
${GEM_LIBDIR}/lib/http/request.rb
+${GEM_LIBDIR}/lib/http/request/caching.rb
${GEM_LIBDIR}/lib/http/request/writer.rb
${GEM_LIBDIR}/lib/http/response.rb
${GEM_LIBDIR}/lib/http/response/body.rb
+${GEM_LIBDIR}/lib/http/response/caching.rb
+${GEM_LIBDIR}/lib/http/response/io_body.rb
${GEM_LIBDIR}/lib/http/response/parser.rb
${GEM_LIBDIR}/lib/http/response/status.rb
${GEM_LIBDIR}/lib/http/response/status/reasons.rb
+${GEM_LIBDIR}/lib/http/response/string_body.rb
+${GEM_LIBDIR}/lib/http/timeout/global.rb
+${GEM_LIBDIR}/lib/http/timeout/null.rb
+${GEM_LIBDIR}/lib/http/timeout/per_operation.rb
+${GEM_LIBDIR}/lib/http/uri.rb
${GEM_LIBDIR}/lib/http/version.rb
${GEM_LIBDIR}/logo.png
+${GEM_LIBDIR}/spec/lib/http/cache/headers_spec.rb
+${GEM_LIBDIR}/spec/lib/http/cache_spec.rb
${GEM_LIBDIR}/spec/lib/http/client_spec.rb
${GEM_LIBDIR}/spec/lib/http/content_type_spec.rb
${GEM_LIBDIR}/spec/lib/http/headers/mixin_spec.rb
@@ -48,21 +64,25 @@ ${GEM_LIBDIR}/spec/lib/http/options/new_spec.rb
${GEM_LIBDIR}/spec/lib/http/options/proxy_spec.rb
${GEM_LIBDIR}/spec/lib/http/options_spec.rb
${GEM_LIBDIR}/spec/lib/http/redirector_spec.rb
+${GEM_LIBDIR}/spec/lib/http/request/caching_spec.rb
${GEM_LIBDIR}/spec/lib/http/request/writer_spec.rb
${GEM_LIBDIR}/spec/lib/http/request_spec.rb
${GEM_LIBDIR}/spec/lib/http/response/body_spec.rb
+${GEM_LIBDIR}/spec/lib/http/response/caching_spec.rb
+${GEM_LIBDIR}/spec/lib/http/response/io_body_spec.rb
${GEM_LIBDIR}/spec/lib/http/response/status_spec.rb
+${GEM_LIBDIR}/spec/lib/http/response/string_body_spec.rb
${GEM_LIBDIR}/spec/lib/http/response_spec.rb
${GEM_LIBDIR}/spec/lib/http_spec.rb
${GEM_LIBDIR}/spec/spec_helper.rb
${GEM_LIBDIR}/spec/support/black_hole.rb
${GEM_LIBDIR}/spec/support/capture_warning.rb
-${GEM_LIBDIR}/spec/support/create_certs.rb
+${GEM_LIBDIR}/spec/support/connection_reuse_shared.rb
${GEM_LIBDIR}/spec/support/dummy_server.rb
${GEM_LIBDIR}/spec/support/dummy_server/servlet.rb
-${GEM_LIBDIR}/spec/support/example_server.rb
-${GEM_LIBDIR}/spec/support/example_server/servlet.rb
+${GEM_LIBDIR}/spec/support/http_handling_shared.rb
${GEM_LIBDIR}/spec/support/proxy_server.rb
${GEM_LIBDIR}/spec/support/servers/config.rb
${GEM_LIBDIR}/spec/support/servers/runner.rb
+${GEM_LIBDIR}/spec/support/ssl_helper.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/www/ruby-http/distinfo b/www/ruby-http/distinfo
index c23bf3a3762..93b5e6f5f6a 100644
--- a/www/ruby-http/distinfo
+++ b/www/ruby-http/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2015/03/28 04:32:15 taca Exp $
+$NetBSD: distinfo,v 1.6 2015/06/11 16:51:04 taca Exp $
-SHA1 (http-0.7.3.gem) = ba3d8e819bc8ff0b111ea62cd4d23a8e3983e9ee
-RMD160 (http-0.7.3.gem) = 1c0a3f4e5006976f900350cf532e590de22d4254
-Size (http-0.7.3.gem) = 54784 bytes
+SHA1 (http-0.8.12.gem) = 6b8b3776c1810af96ce390335fbdeffa48e9e607
+RMD160 (http-0.8.12.gem) = ce779fd49826f43725d5a5481e0a282ccf35f3ea
+Size (http-0.8.12.gem) = 71168 bytes