git: e8b98e36bb6f - main - net/rubygem-twitter: Update to 8.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 02 May 2023 20:02:30 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e8b98e36bb6f9e322b3969f1a93b6d966c4136b8

commit e8b98e36bb6f9e322b3969f1a93b6d966c4136b8
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-02 19:58:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-02 19:58:41 +0000

    net/rubygem-twitter: Update to 8.0.0
    
    - Update WWW
    - Change RUN_DEPENDS from rubygem-http4 to rubygem-http
    
    Changes:        https://github.com/sferik/twitter/blob/master/CHANGELOG.md
---
 net/rubygem-twitter/Makefile            | 14 +++++++-------
 net/rubygem-twitter/distinfo            |  6 +++---
 net/rubygem-twitter/files/patch-gemspec | 17 ++++++-----------
 3 files changed, 16 insertions(+), 21 deletions(-)

diff --git a/net/rubygem-twitter/Makefile b/net/rubygem-twitter/Makefile
index 0cb17b4c6a04..53eabbf22934 100644
--- a/net/rubygem-twitter/Makefile
+++ b/net/rubygem-twitter/Makefile
@@ -1,22 +1,22 @@
 PORTNAME=	twitter
-PORTVERSION=	7.0.0
-PORTREVISION=	3
+PORTVERSION=	8.0.0
 CATEGORIES=	net rubygems
 MASTER_SITES=	RG
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Ruby interface to the Twitter API
-WWW=		https://sferik.github.io/twitter/
+WWW=		https://sferik.github.io/twitter/ \
+		https://github.com/sferik/twitter
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 RUN_DEPENDS=	rubygem-addressable>=2.3<3:www/rubygem-addressable \
-		rubygem-buftok>=0.2.0<1:devel/rubygem-buftok \
+		rubygem-buftok>=0.3.0<0.4:devel/rubygem-buftok \
 		rubygem-equalizer>=0.0.11<0.1:devel/rubygem-equalizer \
-		rubygem-http4>=4.0<5:www/rubygem-http4 \
-		rubygem-http-form_data>=2.0<3:www/rubygem-http-form_data \
-		rubygem-http_parser.rb>=0.6.0<1:net/rubygem-http_parser.rb \
+		rubygem-llhttp-ffi>=0.4.0<1:www/rubygem-llhttp-ffi \
+		rubygem-http>=5.1<6:www/rubygem-http \
+		rubygem-http-form_data>=2.3<3:www/rubygem-http-form_data \
 		rubygem-memoizable>=0.4.0<0.5:devel/rubygem-memoizable \
 		rubygem-multipart-post>=2.0<3:www/rubygem-multipart-post \
 		rubygem-naught>=1.0<2:devel/rubygem-naught \
diff --git a/net/rubygem-twitter/distinfo b/net/rubygem-twitter/distinfo
index a6e8e48263f1..2766db49d963 100644
--- a/net/rubygem-twitter/distinfo
+++ b/net/rubygem-twitter/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1581594092
-SHA256 (rubygem/twitter-7.0.0.gem) = 5e3c4493d3c091fc736e07b18d334393d6014514feb854fd56a17aab9f9cb58d
-SIZE (rubygem/twitter-7.0.0.gem) = 77824
+TIMESTAMP = 1683048866
+SHA256 (rubygem/twitter-8.0.0.gem) = e3104566150236f721607babe55902ab53cf51e061041a5c2f0eb48b7af8366f
+SIZE (rubygem/twitter-8.0.0.gem) = 77824
diff --git a/net/rubygem-twitter/files/patch-gemspec b/net/rubygem-twitter/files/patch-gemspec
index 7187de665354..47193249c074 100644
--- a/net/rubygem-twitter/files/patch-gemspec
+++ b/net/rubygem-twitter/files/patch-gemspec
@@ -1,16 +1,11 @@
---- twitter.gemspec.orig	2023-01-06 00:02:30 UTC
+--- twitter.gemspec.orig	2023-05-02 18:14:51 UTC
 +++ twitter.gemspec
-@@ -21,11 +21,11 @@ Gem::Specification.new do |s|
-   s.specification_version = 4
- 
-   s.add_runtime_dependency(%q<addressable>.freeze, ["~> 2.3"])
--  s.add_runtime_dependency(%q<buftok>.freeze, ["~> 0.2.0"])
-+  s.add_runtime_dependency(%q<buftok>.freeze, ["~> 0.2"])
+@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
    s.add_runtime_dependency(%q<equalizer>.freeze, ["~> 0.0.11"])
-   s.add_runtime_dependency(%q<http>.freeze, ["~> 4.0"])
-   s.add_runtime_dependency(%q<http-form_data>.freeze, ["~> 2.0"])
--  s.add_runtime_dependency(%q<http_parser.rb>.freeze, ["~> 0.6.0"])
-+  s.add_runtime_dependency(%q<http_parser.rb>.freeze, ["~> 0.6"])
+   s.add_runtime_dependency(%q<http>.freeze, ["~> 5.1"])
+   s.add_runtime_dependency(%q<http-form_data>.freeze, ["~> 2.3"])
+-  s.add_runtime_dependency(%q<llhttp-ffi>.freeze, ["~> 0.4.0"])
++  s.add_runtime_dependency(%q<llhttp-ffi>.freeze, ["~> 0.4"])
    s.add_runtime_dependency(%q<memoizable>.freeze, ["~> 0.4.0"])
    s.add_runtime_dependency(%q<multipart-post>.freeze, ["~> 2.0"])
    s.add_runtime_dependency(%q<naught>.freeze, ["~> 1.0"])