Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
rubygem-x-core HTTP layer of the X gem: authentication, requests, and errors
1.0.0 netnew! Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-11-14 23:42:37
Last Update: 2026-11-14 23:36:22
Commit Hash: 08d9489
Also Listed In: rubygems
License: MIT
WWW:
https://github.com/sferik/x-ruby/tree/main/x-core
https://github.com/sferik/x-ruby
Description: #
The HTTP layer of the x gem: a small, dependency-light client for the X API that returns parsed JSON. It handles OAuth 1.0a, OAuth 2.0 with PKCE authorization and token refresh, and bearer tokens. It also handles redirects, proxies, timeouts, HTTP errors, and rate limits, and opens a GET whose body is read as it arrives, as a stream is. Its only dependency that is not a default gem is simple_oauth, which has no dependencies of its own; it also asks for net-http 0.9.1 or a later 0.x release, the default gem it sends its requests with, since the 0.6 that Ruby 3.4 ships cannot request a host named by an IPv6 literal, and on Ruby 4.0 an earlier net-http does not retry a connection that times out opening. Media uploads live in x-uploads, and the streams of the API, read a post at a time and reconnected as X recommends, in x-streams. Most applications should install x, which adds resource objects from x-resources. Install x-core alone when you only want raw JSON.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (4 items)
Collapse this list.
  1. /usr/local/share/licenses/rubygem-x-core-1.0.0/catalog.mk
  2. /usr/local/share/licenses/rubygem-x-core-1.0.0/LICENSE
  3. /usr/local/share/licenses/rubygem-x-core-1.0.0/MIT
  4. share/sbom/pc/rubygem-x-core.pc
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • rubygem-x-core>0:net/rubygem-x-core
To install the port: #
cd /usr/ports/net/rubygem-x-core/ && make install clean
To add the package, run one of these commands:
  • pkg install net/rubygem-x-core
  • pkg install rubygem-x-core
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: rubygem-x-core
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1794588468 SHA256 (rubygem/x-core-1.0.0.gem) = 00f696a091246371c6f1963502688dbe839e823af7cb284517b52d2f961ed60c SIZE (rubygem/x-core-1.0.0.gem) = 126976

Packages (timestamps in pop-ups are UTC): #
rubygem-x-core
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest-1.0.0--1.0.0
FreeBSD:14:quarterly-----
FreeBSD:15:latest-1.0.0n/a-n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest-1.0.0n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. ruby34 : lang/ruby34
  2. gem : devel/ruby-gems
Runtime dependencies: #
  1. rubygem-net-http>=0.9.1<1 : www/rubygem-net-http
  2. rubygem-simple_oauth>=1.0<2 : net/rubygem-simple_oauth
  3. ruby34 : lang/ruby34
  4. gem : devel/ruby-gems
Patch dependencies: #
  1. ruby34 : lang/ruby34
Extract dependencies: #
  1. ruby34 : lang/ruby34
  2. gem : devel/ruby-gems
This port is required by: #
for Run #
  1. net/rubygem-x
  2. net/rubygem-x-resources
  3. net/rubygem-x-streams
  4. net/rubygem-x-uploads

Configuration Options: #
No options to configure
Options name: #
net_rubygem-x-core
USES: #
gem
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://rubygems.org/downloads/
Collapse this list.

Number of commits found: 1 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.0.0
14 Nov 2026 23:36:22
commit hash: 08d9489bec6c5611bedf37ee16fcc86e66c9958ccommit hash: 08d9489bec6c5611bedf37ee16fcc86e66c9958ccommit hash: 08d9489bec6c5611bedf37ee16fcc86e66c9958ccommit hash: 08d9489bec6c5611bedf37ee16fcc86e66c9958c files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
net/rubygem-x-core: Add rubygem-x-core 1.0.0

The HTTP layer of the x gem: a small, dependency-light client for the X API that
returns parsed JSON.

It handles OAuth 1.0a, OAuth 2.0 with PKCE authorization and token refresh, and
bearer tokens. It also handles redirects, proxies, timeouts, HTTP errors, and
rate limits, and opens a GET whose body is read as it arrives, as a stream is.
Its only dependency that is not a default gem is simple_oauth, which has no
dependencies of its own; it also asks for net-http 0.9.1 or a later 0.x release,
the default gem it sends its requests with, since the 0.6 that Ruby 3.4 ships
cannot request a host named by an IPv6 literal, and on Ruby 4.0 an earlier
net-http does not retry a connection that times out opening. Media uploads live
in x-uploads, and the streams of the API, read a post at a time and reconnected
as X recommends, in x-streams.

Most applications should install x, which adds resource objects from
x-resources. Install x-core alone when you only want raw JSON.

Number of commits found: 1