-
Notifications
You must be signed in to change notification settings - Fork 26
/
Changelog
109 lines (82 loc) · 3.85 KB
/
Changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
Wed Sep 29, 2021 - v1.1.2
- Dev and test against recent versions of Ruby (2.6+, 3.0+)
- Docker development support
- Remove tests for deprecated 'get_value()' method
- Use Rspec 'expect' in place of 'should'
Mon Sep 28, 2020 - v1.1.0
- Add non-value option support.
Resolves Issue #11
Mon Jan 25, 2016 - v1.0.8
- Use backward compatible positional arguments (not named keyword arguments)
Resolves Issue #31
Mon Jan 25, 2016 - v1.0.7
- Support alternative comment types (default: ['#', ';']) (@voobscout)
Resolves Issue #30
Mon Oct 06, 2014 - v1.0.6
- Fix where extraneous double quotes were getting wrapped around parameters
that have non-word characters (issue #19)
Thu Dec 19, 2013 - v1.0.4
- 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.
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
- Resolved Issue #5, Readded support for array like access
- Removed deprecated function get_value()
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
self.groups[].
- 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
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
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_groups() returns available sub-groups.
- See the demo.rb and demo.conf files which have been updated to reflect
this update.
- The methods override_value() and nil_value() are now deprecated and will
be removed in future versions.
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.
Thu Feb 28, 2008 - v0.4.2
- 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]
Sun Sep 03, 2007 - v0.4.1
- Now using 'instance_variable_set' and 'instance_variable_get'
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]
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]
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]
Wed Dec 13, 2006 - v0.1.3
- 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]
Fri Nov 24 2006 - v0.1.1
- Built class, which is functional and fully usable. [bjd]