TwP / inifile

Native Ruby package for reading and writing INI files
http://codeforpeople.rubyforge.org/inifile
95 stars 47 forks source link

[3.0.0] Doesn't work with lines that just have a single value #41

Open renier opened 8 years ago

renier commented 8 years ago

In a mysql ini file you can have this:

[mysqld]
sql-mode = no_auto_create_user
user = mysql
basedir = /usr/
datadir = /projects/data/mysql
socket = /var/lib/mysql/mysql.sock
pid_file = mysqld.pid
port = 3306
skip-name-resolve

The parser will choke on that last line. Is this not valid ini format?