pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ruby-patron www/ruby-patron: update to 0.12.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b6df06c4e71e
branches:  trunk
changeset: 377483:b6df06c4e71e
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Mar 17 14:43:29 2018 +0000

description:
www/ruby-patron: update to 0.12.1

### 0.12.1

* Ensure HTTP2 response headers/status lines are correctly handled

### 0.12.0

* Replace StringScanner in HeaderParser with StringIO, fix Webmock regression when the headers string would
  not have an empty CRLF-terminated line at the end - which would cause the parser to return a nil.
* Added `Session#dns_cache_timeout` as a config option for CURLOPT_DNS_CACHE_TIMEOUT

### 0.11.1

* Make sure StringScanner is available to HeaderParser.

### 0.11.0

* Added `Session#progress_callback` which accepts a callable object, which can be used to report session progress during request
  execution.
* Fixed parsing of response headers when multiple responses are involved (redirect chains and HTTP proxies)

### 0.10.0

* Added `Session#low_speed_time` and `Session#low_speed_limit`. When used, they will force libCURL to raise
  a timeout if a certain speed limit is not met performing the request. These can be used for better timeout
  handling. These are available in all libCURL versions. See https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_TIME.html
  and https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_LIMIT.html

diffstat:

 www/ruby-patron/Makefile |   5 ++---
 www/ruby-patron/PLIST    |  12 ++++++++++--
 www/ruby-patron/distinfo |  10 +++++-----
 3 files changed, 17 insertions(+), 10 deletions(-)

diffs (74 lines):

diff -r e629d13b7d6f -r b6df06c4e71e www/ruby-patron/Makefile
--- a/www/ruby-patron/Makefile  Sat Mar 17 14:41:36 2018 +0000
+++ b/www/ruby-patron/Makefile  Sat Mar 17 14:43:29 2018 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2018/01/01 21:18:56 adam Exp $
+# $NetBSD: Makefile,v 1.30 2018/03/17 14:43:29 taca Exp $
 
-DISTNAME=      patron-0.9.1
-PKGREVISION=   1
+DISTNAME=      patron-0.12.1
 CATEGORIES=    www
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r e629d13b7d6f -r b6df06c4e71e www/ruby-patron/PLIST
--- a/www/ruby-patron/PLIST     Sat Mar 17 14:41:36 2018 +0000
+++ b/www/ruby-patron/PLIST     Sat Mar 17 14:43:29 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2016/10/18 16:02:47 taca Exp $
+@comment $NetBSD: PLIST,v 1.13 2018/03/17 14:43:29 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_EXTSDIR}/gem.build_complete
 ${GEM_EXTSDIR}/patron/session_ext.${RUBY_DLEXT}
@@ -9,7 +9,6 @@
 ${GEM_LIBDIR}/.yardopts
 ${GEM_LIBDIR}/CHANGELOG.md
 ${GEM_LIBDIR}/Gemfile
-${GEM_LIBDIR}/Gemfile.lock
 ${GEM_LIBDIR}/LICENSE
 ${GEM_LIBDIR}/README.md
 ${GEM_LIBDIR}/Rakefile
@@ -21,6 +20,7 @@
 ${GEM_LIBDIR}/ext/patron/sglib.h
 ${GEM_LIBDIR}/lib/patron.rb
 ${GEM_LIBDIR}/lib/patron/error.rb
+${GEM_LIBDIR}/lib/patron/header_parser.rb
 ${GEM_LIBDIR}/lib/patron/proxy_type.rb
 ${GEM_LIBDIR}/lib/patron/request.rb
 ${GEM_LIBDIR}/lib/patron/response.rb
@@ -35,12 +35,20 @@
 ${GEM_LIBDIR}/script/test_server
 ${GEM_LIBDIR}/spec/certs/cacert.pem
 ${GEM_LIBDIR}/spec/certs/privkey.pem
+${GEM_LIBDIR}/spec/header_parser_spec.rb
 ${GEM_LIBDIR}/spec/patron_spec.rb
 ${GEM_LIBDIR}/spec/request_spec.rb
 ${GEM_LIBDIR}/spec/response_spec.rb
+${GEM_LIBDIR}/spec/sample_response_headers/headers_wetransfer.txt
+${GEM_LIBDIR}/spec/sample_response_headers/headers_wetransfer_with_proxy_status.txt
+${GEM_LIBDIR}/spec/sample_response_headers/headers_wetransfer_with_redirect.txt
+${GEM_LIBDIR}/spec/sample_response_headers/headers_with_set_cookie.txt
+${GEM_LIBDIR}/spec/sample_response_headers/sample_http2_header.txt
+${GEM_LIBDIR}/spec/sample_response_headers/webmock_headers_without_trailing_crlf.txt
 ${GEM_LIBDIR}/spec/session_spec.rb
 ${GEM_LIBDIR}/spec/session_ssl_spec.rb
 ${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_LIBDIR}/spec/support/config.ru
 ${GEM_LIBDIR}/spec/support/test_server.rb
 ${GEM_LIBDIR}/spec/util_spec.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r e629d13b7d6f -r b6df06c4e71e www/ruby-patron/distinfo
--- a/www/ruby-patron/distinfo  Sat Mar 17 14:41:36 2018 +0000
+++ b/www/ruby-patron/distinfo  Sat Mar 17 14:43:29 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.15 2017/09/11 15:35:37 taca Exp $
+$NetBSD: distinfo,v 1.16 2018/03/17 14:43:29 taca Exp $
 
-SHA1 (patron-0.9.1.gem) = e5b21d2b5c854d7b75d01cf96869c656d2c6ae32
-RMD160 (patron-0.9.1.gem) = a6db370913e14597d4e4d9b86010a5b7bc30c647
-SHA512 (patron-0.9.1.gem) = 649ee01517369d44009ccf5af4ac5f758893df84259b604be2f5015f9a9015a20a60eb2d6de9873ffa800c49a080e458d2a451222af4783261991c6c134785f7
-Size (patron-0.9.1.gem) = 59904 bytes
+SHA1 (patron-0.12.1.gem) = 188da9ba68117f42b2577d60256941ca5a5c0b61
+RMD160 (patron-0.12.1.gem) = 79d0d2fb3a774e1c6d9f9fb256b0ce340c2156af
+SHA512 (patron-0.12.1.gem) = ee551e221ea7c965055ddb72cdd063e5ed476ccaf032bc4b2a7f8344af38a4dbd5942d8eb5710bb2d23ca854b1676ff512eba4bfae7a33deef5238664bc7d00b
+Size (patron-0.12.1.gem) = 64000 bytes



Home | Main Index | Thread Index | Old Index