Releases: rubyconfig/config
Releases · rubyconfig/config
1.7.0
1.6.1
1.6.0
New features:
Config#fail_on_missing
option (defaultfalse
) to raise aKeyError
exception when accessing a non-existing key- Add ability to test if a value was set for a given key with
key?
andhas_key?
1.5.1
New features:
- Add parsing of ENV variable values to Boolean type
1.5.0
1.4.0
New features:
- Added support for passing a raw ruby hash into to both
Settings.add_source!
andSettings.prepend_source!
(#108 thanks to @halloffame)
Bug fixes:
1.3.0
- WARNING: Overwrite arrays found in previously loaded settings file (#137 thanks to @Fryguy and @dtaniwaki) - this is a change breaking previous behaviour. If you want to keep Config to work as before, which is merging arrays found in following loaded settings file, please add
config.overwrite_arrays = false
to your Config initializer - Changed default ENV variables loading settings to downcase variable names and parse values
- Added parsing ENV variables values to Float type
- Change method definition order in Rails integration module to prevent undefined method
preload
error (based on @YaroSpace suggestion in #111)
1.2.1
1.2.0
- Add ability to load settings from ENV variables (#108 thanks @vinceve and @spalladino)
- Removed Rails 5 deprecation warnings for prepend_before_filter (#141)