2.4.0
Features
New loaders
- Doppler support.
Just specify your Doppler service token in the DOPPLER_TOKEN env var, and Anyway would automatically download configuration from Doppler.
- ESJON support.
If you use EJSON to store encrypted secrets, Anyway would try to load configuration from config/secrets.ejson (and environment-specific .ejson files, too).
API enhancements
- You can now mark nested attributes as required:
class AppConfig < Anyway::Config
attr_config :assets_host, database: {host: nil, port: nil}
required :assets_host, database: [:host, :port]
end