./devel/ruby-iniparse, Pure Ruby library for parsing INI documents

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.4.4, Package name: ruby23-iniparse-1.4.4, Maintainer: pkgsrc-users

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.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 003ff325c26190f133ced44cc89af7758717f2c6
RMD160: 39bf69b9b35ce5c11f6ae293b3f8355cf013f07b
Filesize: 15.5 KB

Version history: (Expand)


CVS history: (Expand)


   2017-07-13 17:34:08 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-iniparse to 1.4.4.

1.4.4					2017/07/04

* Fix handling files with DOS line endings
* Improve error message with unparseable lines
   2017-06-04 17:54:12 by Takahiro Kambe | Files touched by this commit (4)
Log message:
Add ruby-iniparse package version 1.4.3.

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.