pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/ruby-patron
Module Name: pkgsrc
Committed By: taca
Date: Sun Nov 8 14:10:04 UTC 2026
Modified Files:
pkgsrc/www/ruby-patron: Makefile PLIST distinfo
Log Message:
www/ruby-patron: update to 1.1.0
0.14.0 (2026-10-27)
* Expose libcurl's transfer timings (name lookup, connect, TLS, first byte,
total) as Response#timings
* Add ssl_cert, ssl_cert_type, ssl_key and ssl_key_password for presenting a
client certificate (mutual TLS). Thanks @lenage for the original
contribution in #165
* Raise Patron::ClientCertificateError when the client certificate or its
key can't be used
* Accept a Pathname for cacert
* Fix a request whose options fail to apply (for example an option of the
wrong type) leaking its headers and open files into the next request on
the same Session
* Fix the request body being read from freed memory when upload_data is not
a String (its #to_s result was not kept alive during the transfer)
* Fix multipart field names and values pointing at temporary Strings, and
binary multipart values being cut at the first NUL byte
* Fix an exception raised inside progress_callback (including
Timeout.timeout and Thread#raise) unwinding through libcurl; it is now
re-raised after the transfer is aborted
* Raise Patron::Error when a second thread uses a Session that is already
performing a request, instead of corrupting both requests
* Fix the progress callback being declared with size_t arguments where
libcurl passes curl_off_t
* Accept download_byte_limit above 2 GiB, and Floats for dns_cache_timeout,
low_speed_time and low_speed_limit
* Fix Session#unescape cutting the result at a %00, and raise instead of
crashing when libcurl fails to escape or unescape
* Reject file paths containing NUL bytes for cookie files, debug output and
uploads
* Raise NoMemoryError instead of crashing later when libcurl cannot allocate
a Session's handles
* Register the exception classes the extension looks up at load time with
the GC, so heap compaction (GC.compact, GC.auto_compact) cannot move them
out from under rb_raise
1.0.0 (2026-10-29)
1.1.0 (2026-11-04)
Changes are too many to write here, please refer
<https://github.com/toland/patron/blob/999f0acf77c8e9a19533a9caa89071758a78dfce/CHANGELOG.md>
in detail.
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 pkgsrc/www/ruby-patron/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/www/ruby-patron/PLIST
cvs rdiff -u -r1.21 -r1.22 pkgsrc/www/ruby-patron/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/ruby-patron/Makefile
diff -u pkgsrc/www/ruby-patron/Makefile:1.63 pkgsrc/www/ruby-patron/Makefile:1.64
--- pkgsrc/www/ruby-patron/Makefile:1.63 Thu May 14 16:42:23 2026
+++ pkgsrc/www/ruby-patron/Makefile Sun Nov 8 14:10:04 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.63 2026/05/14 16:42:23 ryoon Exp $
+# $NetBSD: Makefile,v 1.64 2026/11/08 14:10:04 taca Exp $
-DISTNAME= patron-0.13.4
-PKGREVISION= 6
+DISTNAME= patron-1.1.0
CATEGORIES= www
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
Index: pkgsrc/www/ruby-patron/PLIST
diff -u pkgsrc/www/ruby-patron/PLIST:1.15 pkgsrc/www/ruby-patron/PLIST:1.16
--- pkgsrc/www/ruby-patron/PLIST:1.15 Sun Mar 2 14:54:34 2025
+++ pkgsrc/www/ruby-patron/PLIST Sun Nov 8 14:10:04 2026
@@ -1,56 +1,25 @@
-@comment $NetBSD: PLIST,v 1.15 2025/03/02 14:54:34 taca Exp $
+@comment $NetBSD: PLIST,v 1.16 2026/11/08 14:10:04 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_EXTSDIR}/gem.build_complete
${GEM_EXTSDIR}/patron/session_ext.${RUBY_DLEXT}
-${GEM_LIBDIR}/.autotest
-${GEM_LIBDIR}/.github/workflows/ci.yml
-${GEM_LIBDIR}/.gitignore
-${GEM_LIBDIR}/.rspec
-${GEM_LIBDIR}/.travis.yml
-${GEM_LIBDIR}/.yardopts
${GEM_LIBDIR}/CHANGELOG.md
-${GEM_LIBDIR}/Gemfile
${GEM_LIBDIR}/LICENSE
${GEM_LIBDIR}/README.md
-${GEM_LIBDIR}/Rakefile
-${GEM_LIBDIR}/ext/patron/.gitignore
${GEM_LIBDIR}/ext/patron/extconf.rb
-${GEM_LIBDIR}/ext/patron/membuffer.c
-${GEM_LIBDIR}/ext/patron/membuffer.h
${GEM_LIBDIR}/ext/patron/session_ext.c
-${GEM_LIBDIR}/ext/patron/sglib.h
${GEM_LIBDIR}/lib/patron.rb
+${GEM_LIBDIR}/lib/patron/compat.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
${GEM_LIBDIR}/lib/patron/response_decoding.rb
+${GEM_LIBDIR}/lib/patron/response_head.rb
+${GEM_LIBDIR}/lib/patron/response_stream.rb
${GEM_LIBDIR}/lib/patron/session.rb
${GEM_LIBDIR}/lib/patron/session_ext.${RUBY_DLEXT}
+${GEM_LIBDIR}/lib/patron/sse_client.rb
+${GEM_LIBDIR}/lib/patron/transfer_stats.rb
${GEM_LIBDIR}/lib/patron/util.rb
${GEM_LIBDIR}/lib/patron/version.rb
-${GEM_LIBDIR}/patron.gemspec
-${GEM_LIBDIR}/pic.png
-${GEM_LIBDIR}/script/console
-${GEM_LIBDIR}/script/test_server
-${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/certs/cacert.pem
-${GEM_LIBDIR}/spec/support/certs/privkey.pem
-${GEM_LIBDIR}/spec/support/config.ru
-${GEM_LIBDIR}/spec/support/fork.rb
-${GEM_LIBDIR}/spec/support/test_server.rb
-${GEM_LIBDIR}/spec/util_spec.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
Index: pkgsrc/www/ruby-patron/distinfo
diff -u pkgsrc/www/ruby-patron/distinfo:1.21 pkgsrc/www/ruby-patron/distinfo:1.22
--- pkgsrc/www/ruby-patron/distinfo:1.21 Sun Mar 2 14:54:34 2025
+++ pkgsrc/www/ruby-patron/distinfo Sun Nov 8 14:10:04 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.21 2025/03/02 14:54:34 taca Exp $
+$NetBSD: distinfo,v 1.22 2026/11/08 14:10:04 taca Exp $
-BLAKE2s (patron-0.13.4.gem) = b31a696a5fb032c9147dff5b801b30cef29269da8ed174d94b556eb6bb82afd9
-SHA512 (patron-0.13.4.gem) = 0691775230f6fa496a58d45724cdc8ac0842edf5259053a5153126db208cabcdb6ca2174aa091e6d7059023b967a49f30a1fd8e05d17d190f922ce5d1bfa6298
-Size (patron-0.13.4.gem) = 66560 bytes
+BLAKE2s (patron-1.1.0.gem) = a78926b5cefa7f842f7bf17741699dc6610ff10b80bdb3521c1f9f21846049c3
+SHA512 (patron-1.1.0.gem) = f8f447a99c2477ff62bbd2da6897f4128dc6eff0f79d702c53b8f383fac2cb6ec6335e562c86d6a2a328fc47bb56582f89244ad9452976c3ee88fcfe2e1864da
+Size (patron-1.1.0.gem) = 59904 bytes
Home |
Main Index |
Thread Index |
Old Index