git: 11caff33eaf4 - main - net/rubygem-x-streams: Add rubygem-x-streams 1.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 14 Nov 2026 23:41:19 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=11caff33eaf4b7eb7205825d70b53ed1a28db7ff
commit 11caff33eaf4b7eb7205825d70b53ed1a28db7ff
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-11-14 23:11:15 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-11-14 23:36:23 +0000
net/rubygem-x-streams: Add rubygem-x-streams 1.0.0
Streaming for the x gem, built on the HTTP client in x-core.
- X::StreamingClient reads the sample and filtered streams of the X API, a post
at a time, and reconnects a stream that drops, backing off as X recommends.
- It reads, adds, and deletes the rules of the filtered stream, each an
X::StreamRule.
Its only dependency is x-core. Installing x installs this gem too, and require
"x" gives every X::Client its streaming method.
---
net/Makefile | 1 +
net/rubygem-x-streams/Makefile | 20 ++++++++++++++++++++
net/rubygem-x-streams/distinfo | 3 +++
net/rubygem-x-streams/pkg-descr | 8 ++++++++
4 files changed, 32 insertions(+)
diff --git a/net/Makefile b/net/Makefile
index 2c2d0f9e4266..12e006431955 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1515,6 +1515,7 @@
SUBDIR += rubygem-x
SUBDIR += rubygem-x-core
SUBDIR += rubygem-x-resources
+ SUBDIR += rubygem-x-streams
SUBDIR += rubygem-xmlrpc
SUBDIR += rude
SUBDIR += rustconn
diff --git a/net/rubygem-x-streams/Makefile b/net/rubygem-x-streams/Makefile
new file mode 100644
index 000000000000..2ff7381be44d
--- /dev/null
+++ b/net/rubygem-x-streams/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= x-streams
+PORTVERSION= 1.0.0
+CATEGORIES= net rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Streaming for the X gem: the sample and filtered streams and the rules of the filtered stream
+WWW= https://github.com/sferik/x-ruby/tree/main/x-streams \
+ https://github.com/sferik/x-ruby
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= rubygem-x-core>=1.0.0<2:net/rubygem-x-core
+
+USES= gem
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-x-streams/distinfo b/net/rubygem-x-streams/distinfo
new file mode 100644
index 000000000000..79882e9f0c9c
--- /dev/null
+++ b/net/rubygem-x-streams/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1794588472
+SHA256 (rubygem/x-streams-1.0.0.gem) = 9f44a6accbe5ef782115abc2191f2507a41c6847bacd3ddc989403f2614652f2
+SIZE (rubygem/x-streams-1.0.0.gem) = 39936
diff --git a/net/rubygem-x-streams/pkg-descr b/net/rubygem-x-streams/pkg-descr
new file mode 100644
index 000000000000..d053bbe9f698
--- /dev/null
+++ b/net/rubygem-x-streams/pkg-descr
@@ -0,0 +1,8 @@
+Streaming for the x gem, built on the HTTP client in x-core.
+- X::StreamingClient reads the sample and filtered streams of the X API, a post
+ at a time, and reconnects a stream that drops, backing off as X recommends.
+- It reads, adds, and deletes the rules of the filtered stream, each an
+ X::StreamRule.
+
+Its only dependency is x-core. Installing x installs this gem too, and require
+"x" gives every X::Client its streaming method.