palkan / anyway_config

Configuration library for Ruby gems and applications
MIT License
778 stars 52 forks source link

Tag Master Branch #72

Closed edlewis89 closed 3 years ago

edlewis89 commented 3 years ago

The release 2.0.6 doesn't allow to set the known_environments like Rails.application.config.anyway_config.known_environments << "staging". However the Master branch does. Could you please tag Master so that we could use the new feature? Thanks!

ksouthworth commented 3 years ago

I would also like to use the Rails.application.config.anyway_config.known_environments << "staging" feature but can't in the 2.0.6 gem release.

Thanks, I'm enjoying the gem so far, it's helping clean up a lot of our configuration woes!

palkan commented 3 years ago

Released in 2.1.0 as a future feature: you must opt-in to use it via config.anyway_config.future.use :unwrap_known_environments. That's done to avoid breaking change by default. In the future (likely, v3.0), this would be the default behavior. /cc @progapandist