config icon indicating copy to clipboard operation
config copied to clipboard

Easiest way to add multi-environment yaml settings to Rails, Sinatra, Padrino and other Ruby projects.

Results 36 config issues
Sort by recently updated
recently updated
newest added

- `case..when..else..end` blocks have been aligned vertically - Moved common code snippets to a private methods - Used `eval(str)` to return Boolean `true/false` - Removed `!!`(Double not) prepended to `true/false`

followup to #120 `DeepMerge` can be loaded in 3 different ways: 1. only the `core` library 2. the `core` library + the default `Hash` monkey patch 3. the `core` library...

This PR converts string starting with `:` to symbol. Allows symbol value via ENV. `Config::Options` when overriding settings via ENV variables is enabled and parsing ENV variable values is enabled...

Setup ``` cd /path/to/rails/app/src cat config/initializers/config.rb Config.setup do |config| config.const_name = 'Settings' config.use_env = true config.env_prefix = 'SETTINGS' config.env_separator = '__' config.env_converter = :downcase config.env_parse_values = true end cat config/settings/test.yml...

feature
needs help

I add hanami support. 🌸 ``` # in Gemfile group :plugins do gem "config" end ``` ``` bundle exec hanami config ``` This code works well in `1.7.0` of rubyconfig/config....

It would be nice to be able to invoke `Settings.add_source!` with an optional parent prefix such that new sources could be loaded in programmatically into different levels of the Settings...

I use the suggested guide to setup usage of env variables on Heroku https://github.com/railsconfig/rails_config#working-with-heroku I have my env variables on Heroku as following: ``` Ruby Settings.database.dbname: value Settings.keys.aws_access_key_id: value Settings.keys.aws_secret_access_key:...

bug
needs help