| Port details |
- rubygem-anonymous_loader Resolve Ruby files and evaluate them to avoid top-level namespace collisions
- 0.1.2 devel
=0 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
 - Port Added: 2026-07-08 13:39:50
- Last Update: 2026-07-08 13:30:20
- Commit Hash: fd80906
- Also Listed In: rubygems
- License: MIT
- WWW:
- https://anonymous-loader.galtzo.com/
- https://github.com/ruby-oauth/anonymous_loader
- Description:
- AnonymousLoader evaluates Ruby source files inside fresh anonymous modules. It
is useful when a tool needs to inspect or reuse code that declares constants
whose top-level names may collide with the host process.
The loaded source keeps its normal constant nesting, but that nesting starts
inside the returned anonymous namespace. For example, source that declares
Auth::Sanitizer becomes namespace::Auth::Sanitizer, and does not create
Object::Auth.
AnonymousLoader can load explicitly named files, or resolve a file using
RubyGems metadata with a $LOAD_PATH fallback. The fallback is intended for
Bundler standalone and similar environments where code is loadable but a gem is
not visible through Gem.loaded_specs or the normal RubyGems index.
 ¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- rubygem-anonymous_loader>0:devel/rubygem-anonymous_loader
- To install the port:
- cd /usr/ports/devel/rubygem-anonymous_loader/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/rubygem-anonymous_loader
- pkg install rubygem-anonymous_loader
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: rubygem-anonymous_loader
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1782966052
SHA256 (rubygem/anonymous_loader-0.1.2.gem) = 8ccf77c3f0812fb93d47956fdd6f30344a3835864e3cb1431ca597905985efc2
SIZE (rubygem/anonymous_loader-0.1.2.gem) = 34816
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- ruby34 : lang/ruby34
- gem : devel/ruby-gems
- Runtime dependencies:
-
- rubygem-version_gem>=1.1.13<2 : devel/rubygem-version_gem
- ruby34 : lang/ruby34
- gem : devel/ruby-gems
- Patch dependencies:
-
- ruby34 : lang/ruby34
- gem : devel/ruby-gems
-
- This port is required by:
- for Run
-
- net/rubygem-oauth-tty
- net/rubygem-oauth2
- net/rubygem-oauth2-gitlab
Configuration Options:
- No options to configure
- Options name:
- devel_rubygem-anonymous_loader
- USES:
- gem
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 1
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
0.1.2 08 Jul 2026 13:30:20
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-anonymous_loader: Add rubygem-anonymous_loader 0.1.2
AnonymousLoader evaluates Ruby source files inside fresh anonymous modules. It
is useful when a tool needs to inspect or reuse code that declares constants
whose top-level names may collide with the host process.
The loaded source keeps its normal constant nesting, but that nesting starts
inside the returned anonymous namespace. For example, source that declares
Auth::Sanitizer becomes namespace::Auth::Sanitizer, and does not create
Object::Auth.
AnonymousLoader can load explicitly named files, or resolve a file using
RubyGems metadata with a $LOAD_PATH fallback. The fallback is intended for
Bundler standalone and similar environments where code is loadable but a gem is
not visible through Gem.loaded_specs or the normal RubyGems index. |
Number of commits found: 1
|