README.md in config-1.5.0 vs README.md in config-1.5.1
- old
+ new
@@ -342,17 +342,18 @@
Heroku, but you might want to change it for example for `__` to easy override settings from command line, where using
dots in variable names might not be allowed (eg. Bash)
* `env_converter` (default: `:downcase`) - how to process variables names:
* `nil` - no change
* `:downcase` - convert to lower case
-* `env_parse_values` (default: `true`) - try to parse values to a correct type (`Integer`, `Float`, `String`)
+* `env_parse_values` (default: `true`) - try to parse values to a correct type (`Boolean`, `Integer`, `Float`, `String`)
For instance, given the following environment:
```bash
SETTINGS__SECTION__SERVER_SIZE=1
SETTINGS__SECTION__SERVER=google.com
+SETTINGS__SECTION__SSL_ENABLED=false
```
And the following configuration:
```ruby
@@ -368,9 +369,10 @@
The following settings will be available:
```ruby
Settings.section.server_size # => 1
Settings.section.server # => 'google.com'
+Settings.section.ssl_enabled # => false
```
## Contributing
Bootstrap