diff --git a/Changelog b/Changelog index 72d9c8a..8c56308 100644 --- a/Changelog +++ b/Changelog @@ -1,7 +1,11 @@ +Development - v1.0.3 +- Add fix for config files with Byte Order Marker (BOM) +- Add support for .eql? function. + Tue Jun 12, 2012 - v1.0.2 -- Re-enable get_value() as it seems some projects are still using it. +- Re-enable get_value() as it seems some projects are still using it. That said, get_value() *will* be removed in the future at some point. - + Tue Jun 12, 2012 - v1.0.0 - Resolved Issue #3, Config files not closed properly. - Resolved Issue #7, Added basic rspec testing @@ -11,26 +15,26 @@ Tue Jun 12, 2012 - v1.0.0 Sat Feb 27, 2010 - v0.5.2 - Re-releasing under MIT License. - Fixed issue with the add() method where if you added a group outside - of the import_config() method, the group would not be properly added to + of the import_config() method, the group would not be properly added to self.groups[]. -- Added feature that if you attempt to add a group that already exists, the +- Added feature that if you attempt to add a group that already exists, the groups will be merged together. Any existing params in the original group will be overwritten by the new ones. - Fully deprecated override_value() and nil_value(). Anything using 'instance_variable*' has been removed as well as it wasn't working properly anyway. -- If you attempt to add_to_group() to a group that doesn't exist, the group +- If you attempt to add_to_group() to a group that doesn't exist, the group is added automatically. - + Mon Aug 31, 2009 - v0.5 - Added sub-groups feature per RubyForge tracker [#27019]. Config files can now have [subgroups] whose values are added to a nested Hash object. -- Added the write() function per RubyForge tracker [#27019]. Will print +- Added the write() function per RubyForge tracker [#27019]. Will print to STDOUT by default, or to a file object if passed. - Added the add(), and add_to_group() functions to support new features per RubyForge tracker [#27019]. - Thank you to Titouan Christophe for the submissions listed above! -- ParseConfig.get_params() returns all params including groups. +- ParseConfig.get_params() returns all params including groups. ParseConfig.get_groups() returns available sub-groups. - See the demo.rb and demo.conf files which have been updated to reflect this update. @@ -39,44 +43,44 @@ Mon Aug 31, 2009 - v0.5 Sat Mar 28, 2009 - v0.4.3 - Added the self.params member that is a Hash holding all parameter/values. -- Added the 'get_params' to return an array of all config parameters. +- Added the 'get_params' to return an array of all config parameters. Thu Feb 28, 2008 - v0.4.2 -- Fixed bug where if the value contains a '=' then the parameter +- Fixed bug where if the value contains a '=' then the parameter is not properly set. [bjd] -- Fixed bug #13680 Unable to parse config options that contain - single quotes. [bjd] +- Fixed bug #13680 Unable to parse config options that contain + single quotes. [bjd] Sun Sep 03, 2007 - v0.4.1 - Now using 'instance_variable_set' and 'instance_variable_get' - instead of 'eval' (yeah.. that was dirty). [bjd] + instead of 'eval' (yeah.. that was dirty). [bjd] Sat Aug 11, 2007 - v0.3.2 -- reorganizing files a bit. [bjd] -- renamed methods .... no more uglyStyle... now new_style. [bjd] +- reorganizing files a bit. [bjd] +- renamed methods .... no more uglyStyle... now new_style. [bjd] Fri Feb 23, 2007 - v0.3.1 - Added a bit of code to remove 'single' quotes... so, until I figure - a better option, values can't contain single quotes. [bjd] + a better option, values can't contain single quotes. [bjd] Wed Feb 07, 2007 - v0.2.1 -- Renamed ParseConfig.class.rb to ParseConfig.rb. [bjd] -- Add 'strip' to remove trailing white spaces from config file. [bjd] +- Renamed ParseConfig.class.rb to ParseConfig.rb. [bjd] +- Add 'strip' to remove trailing white spaces from config file. [bjd] Wed Dec 13, 2006 - v0.1.3 -- Added error check to ensure configFile is readable. [bjd] +- Added error check to ensure configFile is readable. [bjd] Sat Nov 25, 2006 - v0.1.2 - Added regex to only read lines matching /\s*=\s*/ as - The class would bork if you had say, and empty line. [bjd] + The class would bork if you had say, and empty line. [bjd] Fri Nov 24 2006 - v0.1.1 -- Built class, which is functional and fully usable. [bjd] +- Built class, which is functional and fully usable. [bjd]