devel/rubygem-anonymous_loader-gitlab 0.1.3 FreeBSD
Resolve Ruby files and evaluate them to avoid top-level namespace collisions
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
8bfcaa80e6- License
- MIT
- Categories
- devel, rubygems
- Package size
- 27.2 KiB, 92.0 KiB installed
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.
Install
Binary package:
pkg install rubygem-anonymous_loader-gitlab
From the ports tree:
cd /usr/ports/devel/rubygem-anonymous_loader-gitlab/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rubygem-anonymous_loader-gitlab>0:devel/rubygem-anonymous_loader-gitlab
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.1.3 | 0.1.3 | - | - | 0.1.3 |
| FreeBSD:14:quarterly | 0.1.3 | 0.1.3 | n/a | - | 0.1.3 |
| FreeBSD:15:latest | 0.1.3 | 0.1.3 | n/a | - | - |
| FreeBSD:15:quarterly | 0.1.3 | 0.1.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.1.3 | 0.1.3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
rubygem-version_gem-gitlab>=1.1.14<2: devel/rubygem-version_gem-gitlab
The full lists below include those, and their dependencies in turn.
Build dependencies 6
Run dependencies 7
Required by 16
- devel/rubygem-jira-ruby-gitlab
- mail/rubygem-gitlab-mail_room
- net/rubygem-oauth-gitlab
- net/rubygem-oauth-tty-gitlab
- net/rubygem-oauth2-gitlab
- net/rubygem-omniauth-auth0-gitlab
- net/rubygem-omniauth-azure-activedirectory-v2
- net/rubygem-omniauth-github-gitlab
- net/rubygem-omniauth-google-oauth2-gitlab
- net/rubygem-omniauth-oauth2-gitlab
- security/rubygem-omniauth-alicloud
- security/rubygem-omniauth-atlassian-oauth2
- security/rubygem-omniauth-oauth2-generic-gitlab
- sysutils/rubygem-vagrant_cloud-gitlab
- sysutils/vagrant-gitlab
- www/gitlab
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/anonymous_loader-0.1.3.gem | 35840 | 084a18e2439144d955447dc11dfc982f41fcd1583ad32d4d55151325dc44cb55 |
Master sites 1
- RG