inifile
inifile copied to clipboard
Native Ruby package for reading and writing INI files
Hi, could you please publish a new release to rubygems? the last one is quite old and has no license attribute set. This is now fixed in the master branch.
Example portion of the input file from Perl utility: ```ini [0] ; cse_abstract properties section_name = actor name = single_player position = -251.26628112793, -19.6408023834229, -127.977920532227 direction = 0.00431653670966625, -1.39625442028046, -0.00068671052576974...
[section1] var1 = foo var2 = bar var1 = poodle Currently only want to delete var1 in section1, keep other members;how to achieve it?
Hi, I was facing the issue that a value of 012 was parsed via `Integer("012")` and returned the integer value `10`. As an integer by definition may not have a...
If I have some text like this: text/plain=gvim.desktop I would expect the string dividing the parameter should be saved. Instead I get this: text/plain = gvim.desktop
See the section called "The fix" in http://engineering.pivotal.io/post/git-push-instead-of/ for a sample use case in an .ini file (in this case .gitconfig recognizes multiple keyed values in a section) See issue...
Similar to #24 but not changing the supported syntax of inifiles. Use case: See http://engineering.pivotal.io/post/git-push-instead-of/ where the `[url "[email protected]:"]` section in `.gitconfig` files can have multiple values with the key...
comment is not stored when use .save() function. i cos my comments ``` #!/usr/bin/env ruby # encoding: utf-8 require 'inifile' ini = IniFile.load('test.ini') ini['section']['foo'] = 'baz' ini.save ``` if test.ini...
See Issue #9
Hi, I have INI files on windows platforms that regularly end with backslashes where values are folder paths - eg: [general] Logpath=C:\Temp\path\\ Logformat=name_something This is currently treated as a line...