devel/ruby-iniparse 1.5.0 NetBSD
Pure Ruby library for parsing INI documents
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- apache-2.0
- Categories
- devel, ruby
- Package size
- 37.9 KiB, 111.6 KiB installed
Description
IniParse is a pure Ruby library for parsing
INI[http://en.wikipedia.org/wiki/INI_file] configuration and data files.
=== Main features
* Support for duplicate options. While not common, some INI files contain an option more than once. IniParse does not overwrite previous options, but allows you to access all of the duplicate values.
* Preservation of white space and blank lines. When writing back to your INI file, line indents, white space and comments (and their indents) are preserved. Only trailing white space (which has no significance in INI files) will be removed.
* Preservation of section and option ordering. Sections and options are kept in the same order they are in the original document ensuring that nothing gets mangled when writing back to the file.
Install
Binary package:
pkgin install ruby33-iniparse
From pkgsrc:
cd /usr/pkgsrc/devel/ruby-iniparse && 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.5.0 |
| NetBSD 10.1 aarch64 | 1.5.0 |
| SmartOS / illumos x86_64 | 1.5.0 |
| macOS 15 arm64 | 1.5.0 |
Dependencies
Run dependencies 1
Required by 1
Configuration
No options to configure.
- Service scripts
- none
- Flavors
ruby34-iniparse-1.5.0,ruby40-iniparse-1.5.0