Port details on branch 2023Q1 |
- rubygem-zeitwerk Efficient and thread-safe code loader
- 2.6.18 devel =2 2.6.18Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2019-08-26 11:57:30
- Last Update: 2024-09-08 18:40:03
- Commit Hash: 2d74949
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: rubygems
- License: MIT
- WWW:
- https://github.com/fxn/zeitwerk
- Description:
- Zeitwerk is an efficient and thread-safe code loader for Ruby.
Given a conventional file structure, Zeitwerk is able to load your project's
classes and modules on demand (autoloading), or upfront (eager loading). You
don't need to write require calls for your own files, rather, you can streamline
your programming knowing that your classes and modules are available everywhere.
This feature is efficient, thread-safe, and matches Ruby's semantics for
constants.
Zeitwerk is also able to reload code, which may be handy while developing web
applications. Coordination is needed to reload in a thread-safe manner. The
documentation below explains how to do this.
The gem is designed so that any project, gem dependency, application, etc. can
have their own independent loader, coexisting in the same process, managing
their own project trees, and independent of each other. Each loader has its own
configuration, inflector, and optional logger.
Internally, Zeitwerk issues require calls exclusively using absolute file names,
so there are no costly file system lookups in $LOAD_PATH. Technically, the
directories managed by Zeitwerk do not even need to be in $LOAD_PATH.
Furthermore, Zeitwerk does only one single scan of the project tree, and it
descends into subdirectories lazily, only if their namespaces are used.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- rubygem-zeitwerk>0:devel/rubygem-zeitwerk
- To install the port:
- cd /usr/ports/devel/rubygem-zeitwerk/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/rubygem-zeitwerk
- pkg install rubygem-zeitwerk
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: rubygem-zeitwerk
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1725560785
SHA256 (rubygem/zeitwerk-2.6.18.gem) = bd2d213996ff7b3b364cd342a585fbee9797dbc1c0c6d868dc4150cc75739781
SIZE (rubygem/zeitwerk-2.6.18.gem) = 40448
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:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
- Runtime dependencies:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
- Patch dependencies:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
-
- This port is required by:
- for Run
-
- devel/rubygem-activesupport60
- devel/rubygem-activesupport61
- devel/rubygem-dry-configurable
- devel/rubygem-dry-core
- devel/rubygem-dry-logic
- devel/rubygem-dry-types
- devel/rubygem-grape
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- devel_rubygem-zeitwerk
- USES:
- gem
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|