diff --git a/www/rubygem-ethon/Makefile b/www/rubygem-ethon/Makefile index 11c8486464ca..5c5bdbb2fdca 100644 --- a/www/rubygem-ethon/Makefile +++ b/www/rubygem-ethon/Makefile @@ -1,21 +1,21 @@ PORTNAME= ethon -PORTVERSION= 0.17.0 -PORTREVISION= 1 +PORTVERSION= 0.18.0 CATEGORIES= www rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Very lightweight libcurl wrapper WWW= https://github.com/typhoeus/ethon LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcurl.so:ftp/curl -RUN_DEPENDS= rubygem-ffi>=1.15.0:devel/rubygem-ffi +RUN_DEPENDS= rubygem-ffi>=1.15.0:devel/rubygem-ffi \ + rubygem-logger>=0:devel/rubygem-logger USES= gem NO_ARCH= yes .include diff --git a/www/rubygem-ethon/distinfo b/www/rubygem-ethon/distinfo index f88bdd76a796..04af2c252c4e 100644 --- a/www/rubygem-ethon/distinfo +++ b/www/rubygem-ethon/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1757122078 -SHA256 (rubygem/ethon-0.17.0.gem) = 2a467db7620243af86aaf146aaa5b2cb7228a5646a013d8558cd240f7cf6e3b4 -SIZE (rubygem/ethon-0.17.0.gem) = 39936 +TIMESTAMP = 1763854492 +SHA256 (rubygem/ethon-0.18.0.gem) = b598afc9f30448cb068b850714b7d6948e941476095d04f90a4ac65b8d6efcb2 +SIZE (rubygem/ethon-0.18.0.gem) = 40448 diff --git a/www/rubygem-ethon/files/patch-typhoeus b/www/rubygem-ethon/files/patch-typhoeus deleted file mode 100644 index 0ce1d896cd3c..000000000000 --- a/www/rubygem-ethon/files/patch-typhoeus +++ /dev/null @@ -1,18 +0,0 @@ -Obtained from: https://github.com/typhoeus/ethon/commit/4a1700c2856de9e139cbd2c91a787c1ff88edd36 -Reference: https://github.com/typhoeus/typhoeus/issues/739 - ---- lib/ethon/easy/callbacks.rb.orig 2025-10-05 21:07:34 UTC -+++ lib/ethon/easy/callbacks.rb -@@ -37,10 +37,10 @@ module Ethon - # @return [ Proc ] The callback. - def body_write_callback - @body_write_callback ||= proc do |stream, size, num, object| -- headers -+ headers_user_callback_result = headers - result = body(chunk = stream.read_string(size * num)) - @response_body << chunk if result == :unyielded -- result != :abort ? size * num : -1 -+ (result != :abort && headers_user_callback_result != :abort) ? size * num : -1 - end - end -