Changelog for ruby2.5-rubygem-iniparse-1.5.0-lp156.2.1.x86_64.rpm :
* Sat May 02 2020 Manuel Schnitzer - updated to version 1.5.0 * OptionCollection no longer yields duplicate keys as an array, but instead yields each key in turn. For example, given an INI file: ```ini [test] a = 1 a = 2 b = 3 ``` IniParse would previously yield a single \"a\" key: an array containing two `Line`s: ```ruby doc[\'test\'].map { |line| line } [#] => [[, ], ] ``` Instead, each key/value pair will be yielded in turn: ```ruby doc[\'test\'].map { |line| line } [#] => [, , ] ``` Directly accessing values via `[]` will still return an array of values as before: ```ruby doc[\'test\'][\'a\'] [#] => [1, 2] ``` * LineCollection#each may be called without a block, returning an Enumerator. ```ruby doc = IniParse.parse(<<~EOF) [test] a = x b = y EOF doc[test].each [#] => # ``` This allows for chaining as in the standard library: ```ruby doc[\'test\'].map.with_index { |a, i| { index: i, value: a.value } } [#] => [{ index: 0, value: \'x\' }, { index: 1, value: \'y\' }] ``` * Thu Aug 03 2017 cooloAATTsuse.com- updated to version 1.4.4 no changelog found * Tue Jun 06 2017 cooloAATTsuse.com- updated to version 1.4.3 no changelog found * Fri Sep 16 2016 tboergerAATTsuse.com- Initial version 1.4.2
|