pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ruby-http Update ruby-http to 0.7.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c626bff9524
branches:  trunk
changeset: 646215:1c626bff9524
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Feb 05 15:36:01 2015 +0000

description:
Update ruby-http to 0.7.1.

## 0.7.1 (2015-01-03)

* Gemspec fixups
* Remove superfluous space in HTTP::Response inspection


## 0.7.0 (2015-01-02)

* Fix handling of EOF which caused infinite loop. See #163, #166 and #152. (@mickm, @ixti)
* Drop Ruby 1.8.7 support. (@ixti)
* Fix default Host header value. See #150. (@ixti)
* Remove BearerToken authorization header. (@ixti)
* `#auth` sugar now accepts only string value of Authorization header.
  Calling `#auth(:basic, opts)` is deprecated, use `#basic_auth(opts)` instead.
  (@ixti)
* Fix handling of chunked responses without Content-Length header. (@ixti)
* Remove `HTTP::Request#method` and deprecate `HTTP::Request#__method__`
  (@sferik)
* Deprecate `HTTP::Response::STATUS_CODES`,
  use `HTTP::Response::Status::REASONS` instead (@ixti)
* Deprecate `HTTP::Response::SYMBOL_TO_STATUS_CODE` (@ixti)
* Deprecate `HTTP::Response#status_code` (@ixti)
* `HTTP::Response#status` now returns `HTTP::Response::Status`. (@ixti)
* `HTTP::Response#reason` and `HTTP::Response#code` are proxies them
  to corresponding methods of `HTTP::Response#status` (@ixti)
* Rename `HTTP.with_follow` to `HTTP.follow` and mark former one as being
  deprecated (@ixti)
* Delegate `HTTP::Response#readpartial` to `HTTP::Response::Body` (@ixti)


## 0.6.3 (2014-11-14)

* Backported EOF fix from master branch. See #166. (@ixti)


## 0.6.2 (2014-08-06)

* Fix default Host header value. See #150. (@ixti)
* Deprecate BearerToken authorization header. (@ixti)
* Fix handling of chunked responses without Content-Length header. (@ixti)
* Rename `HTTP.with_follow` to `HTTP.follow` and mark former one as being
  deprecated (@ixti)

diffstat:

 www/ruby-http/Makefile |   5 ++-
 www/ruby-http/PLIST    |  55 ++++++++++++++++++++++---------------------------
 www/ruby-http/distinfo |   8 +++---
 3 files changed, 32 insertions(+), 36 deletions(-)

diffs (119 lines):

diff -r 30de4062082c -r 1c626bff9524 www/ruby-http/Makefile
--- a/www/ruby-http/Makefile    Thu Feb 05 15:32:51 2015 +0000
+++ b/www/ruby-http/Makefile    Thu Feb 05 15:36:01 2015 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2014/06/01 16:36:48 tsutsui Exp $
+# $NetBSD: Makefile,v 1.3 2015/02/05 15:36:01 taca Exp $
 #
 
-DISTNAME=      http-0.6.1
+DISTNAME=      http-0.7.1
 CATEGORIES=    www
 
 MAINTAINER=    tsutsui%NetBSD.org@localhost
@@ -11,6 +11,7 @@
 
 DEPENDS+=      ${RUBY_PKGPREFIX}-http_parser.rb>=0.6.0:../../www/ruby-http_parser.rb
 
+RUBY_VERSION_SUPPORTED=        200 193 21
 USE_LANGUAGES= # none
 
 .include "../../lang/ruby/gem.mk"
diff -r 30de4062082c -r 1c626bff9524 www/ruby-http/PLIST
--- a/www/ruby-http/PLIST       Thu Feb 05 15:32:51 2015 +0000
+++ b/www/ruby-http/PLIST       Thu Feb 05 15:36:01 2015 +0000
@@ -1,10 +1,11 @@
-@comment $NetBSD: PLIST,v 1.3 2014/06/01 16:43:37 tsutsui Exp $
+@comment $NetBSD: PLIST,v 1.4 2015/02/05 15:36:01 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.coveralls.yml
 ${GEM_LIBDIR}/.gitignore
 ${GEM_LIBDIR}/.rspec
 ${GEM_LIBDIR}/.rubocop.yml
 ${GEM_LIBDIR}/.travis.yml
+${GEM_LIBDIR}/.yardopts
 ${GEM_LIBDIR}/CHANGES.md
 ${GEM_LIBDIR}/Gemfile
 ${GEM_LIBDIR}/Guardfile
@@ -14,12 +15,6 @@
 ${GEM_LIBDIR}/examples/parallel_requests_with_celluloid.rb
 ${GEM_LIBDIR}/http.gemspec
 ${GEM_LIBDIR}/lib/http.rb
-${GEM_LIBDIR}/lib/http/authorization_header.rb
-${GEM_LIBDIR}/lib/http/authorization_header/basic_auth.rb
-${GEM_LIBDIR}/lib/http/authorization_header/bearer_token.rb
-${GEM_LIBDIR}/lib/http/backports.rb
-${GEM_LIBDIR}/lib/http/backports/base64.rb
-${GEM_LIBDIR}/lib/http/backports/uri.rb
 ${GEM_LIBDIR}/lib/http/chainable.rb
 ${GEM_LIBDIR}/lib/http/client.rb
 ${GEM_LIBDIR}/lib/http/content_type.rb
@@ -36,32 +31,32 @@
 ${GEM_LIBDIR}/lib/http/response.rb
 ${GEM_LIBDIR}/lib/http/response/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/version.rb
 ${GEM_LIBDIR}/logo.png
-${GEM_LIBDIR}/spec/http/authorization_header/basic_auth_spec.rb
-${GEM_LIBDIR}/spec/http/authorization_header/bearer_token_spec.rb
-${GEM_LIBDIR}/spec/http/authorization_header_spec.rb
-${GEM_LIBDIR}/spec/http/backports/base64_spec.rb
-${GEM_LIBDIR}/spec/http/backports/uri_spec.rb
-${GEM_LIBDIR}/spec/http/client_spec.rb
-${GEM_LIBDIR}/spec/http/content_type_spec.rb
-${GEM_LIBDIR}/spec/http/headers/mixin_spec.rb
-${GEM_LIBDIR}/spec/http/headers_spec.rb
-${GEM_LIBDIR}/spec/http/options/body_spec.rb
-${GEM_LIBDIR}/spec/http/options/form_spec.rb
-${GEM_LIBDIR}/spec/http/options/headers_spec.rb
-${GEM_LIBDIR}/spec/http/options/json_spec.rb
-${GEM_LIBDIR}/spec/http/options/merge_spec.rb
-${GEM_LIBDIR}/spec/http/options/new_spec.rb
-${GEM_LIBDIR}/spec/http/options/proxy_spec.rb
-${GEM_LIBDIR}/spec/http/options_spec.rb
-${GEM_LIBDIR}/spec/http/redirector_spec.rb
-${GEM_LIBDIR}/spec/http/request/writer_spec.rb
-${GEM_LIBDIR}/spec/http/request_spec.rb
-${GEM_LIBDIR}/spec/http/response/body_spec.rb
-${GEM_LIBDIR}/spec/http/response_spec.rb
-${GEM_LIBDIR}/spec/http_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
+${GEM_LIBDIR}/spec/lib/http/headers_spec.rb
+${GEM_LIBDIR}/spec/lib/http/options/body_spec.rb
+${GEM_LIBDIR}/spec/lib/http/options/form_spec.rb
+${GEM_LIBDIR}/spec/lib/http/options/headers_spec.rb
+${GEM_LIBDIR}/spec/lib/http/options/json_spec.rb
+${GEM_LIBDIR}/spec/lib/http/options/merge_spec.rb
+${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/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/status_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/capture_warning.rb
 ${GEM_LIBDIR}/spec/support/example_server.rb
+${GEM_LIBDIR}/spec/support/example_server/servlet.rb
 ${GEM_LIBDIR}/spec/support/proxy_server.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 30de4062082c -r 1c626bff9524 www/ruby-http/distinfo
--- a/www/ruby-http/distinfo    Thu Feb 05 15:32:51 2015 +0000
+++ b/www/ruby-http/distinfo    Thu Feb 05 15:36:01 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2014/06/01 16:36:48 tsutsui Exp $
+$NetBSD: distinfo,v 1.3 2015/02/05 15:36:01 taca Exp $
 
-SHA1 (http-0.6.1.gem) = 44aa4d484afbe59d7fd02447a38f800d35740b33
-RMD160 (http-0.6.1.gem) = 32fd1ded4b00d661ab0a742d0e723e8d9dbd4708
-Size (http-0.6.1.gem) = 66048 bytes
+SHA1 (http-0.7.1.gem) = 70807546b262f5b94cec8afb0b55ef54e5ce034e
+RMD160 (http-0.7.1.gem) = 7fd781db854edf943d06dd481c3527f376a29a4b
+Size (http-0.7.1.gem) = 52736 bytes



Home | Main Index | Thread Index | Old Index