{"added":"2026-11-15T07:36:22+08:00","apiVersion":1,"behindSince":null,"buildDepends":["devel/libffi","devel/libunwind","devel/ruby-gems","lang/ruby34","print/indexinfo","textproc/libyaml"],"categories":["net","rubygems"],"comment":"HTTP layer of the X gem: authentication, requests, and errors","compare":null,"dependentCount":null,"description":"The HTTP layer of the x gem: a small, dependency-light client for the X API that\nreturns parsed JSON.\n\nIt handles OAuth 1.0a, OAuth 2.0 with PKCE authorization and token refresh, and\nbearer tokens. It also handles redirects, proxies, timeouts, HTTP errors, and\nrate limits, and opens a GET whose body is read as it arrives, as a stream is.\nIts only dependency that is not a default gem is simple_oauth, which has no\ndependencies of its own; it also asks for net-http 0.9.1 or a later 0.x release,\nthe default gem it sends its requests with, since the 0.6 that Ruby 3.4 ships\ncannot request a host named by an IPv6 literal, and on Ruby 4.0 an earlier\nnet-http does not retry a connection that times out opening. Media uploads live\nin x-uploads, and the streams of the API, read a post at a time and reconnected\nas X recommends, in x-streams.\n\nMost applications should install x, which adds resource objects from\nx-resources. Install x-core alone when you only want raw JSON.","flavors":[],"html":"https://daemonports.org/net/rubygem-x-core/","kind":"port","lastUpdate":"2026-11-15T07:36:22+08:00","license":["MIT"],"licenses":["MIT"],"maintainer":"sunpoet@FreeBSD.org","name":"rubygem-x-core","newest":false,"newestVersion":null,"noVulnData":false,"origin":"net/rubygem-x-core","otherSystems":[],"packages":[{"repo":"FreeBSD:14:latest","versions":["-","-","-","-","-"]},{"repo":"FreeBSD:14:quarterly","versions":["-","-","n/a","-","-"]},{"repo":"FreeBSD:15:latest","versions":["-","-","n/a","-","-"]},{"repo":"FreeBSD:15:quarterly","versions":["-","-","n/a","n/a","n/a"]},{"repo":"FreeBSD:16:latest","versions":["-","-","n/a","n/a","n/a"]},{"repo":"FreeBSD:16:quarterly","versions":["n/a","n/a","n/a","n/a","n/a"]}],"pkgName":"rubygem-x-core-1.0.0","related":null,"repository":"FreeBSD ports","requiredBy":["net/rubygem-t","net/rubygem-x","net/rubygem-x-resources","net/rubygem-x-streams","net/rubygem-x-uploads"],"requiredByCount":5,"runDepends":["devel/libffi","devel/libunwind","devel/ruby-gems","devel/rubygem-timeout","lang/ruby34","net/rubygem-net-protocol","net/rubygem-simple_oauth","net/rubygem-uri","print/indexinfo","textproc/libyaml","www/rubygem-net-http"],"status":null,"system":"freebsd","systemLabel":"FreeBSD","version":"1.0.0","versions":[{"commit":"08d9489bec6c5611bedf37ee16fcc86e66c9958c","date":"2026-11-15","version":"1.0.0"}],"vulnerabilities":null,"www":"https://github.com/sferik/x-ruby/tree/main/x-core"}
