devel/ruby-hocon 1.4.0 NetBSD
Ruby port of the Typesafe Config library
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, ruby
- Package size
- 299.7 KiB, 1133.1 KiB installed
Description
ruby-hocon
This is a port of the [Typesafe Config](https://github.com/typesafehub/config) library to Ruby.
The library provides Ruby support for the [HOCON](https://github.com/typesafehub/config/blob/master/HOCON.md) configuration file format.
At present, it supports parsing and modification of existing HOCON/JSON files via the `ConfigFactory` class and the `ConfigValueFactory` class, and rendering parsed config objects back to a String ([see examples below](#basic-usage)). It also supports the parsing and modification of HOCON/JSON files via `ConfigDocumentFactory`.
**Note:** While the project is production ready, since not all features in the Typesafe library are supported, you may still run into some issues. If you find a problem, feel free to open a github issue.
The implementation is intended to be as close to a line-for-line port as the two languages allow, in hopes of making it fairly easy to port over new changesets from the Java code base over time.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/ruby-hocon | 1.4.0 |
| OpenBSD | devel/ruby-hocon | 1.4.0 |
Install
Binary package:
pkgin install ruby33-hocon
From pkgsrc:
cd /usr/pkgsrc/devel/ruby-hocon && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.4.0 |
| NetBSD 10.1 aarch64 | 1.4.0 |
| SmartOS / illumos x86_64 | 1.4.0 |
| macOS 15 arm64 | 1.4.0 |
Dependencies
Run dependencies 1
Required by 2
Configuration
No options to configure.
- Service scripts
- none
- Flavors
ruby34-hocon-1.4.0,ruby40-hocon-1.4.0