librariesio / libraries.io

:books: The Open Source Discovery Service
https://libraries.io
GNU Affero General Public License v3.0
1.11k stars 203 forks source link

Centralize env-based external key config in application.rb #3173

Closed tiegz closed 1 year ago

tiegz commented 1 year ago

Having these in one place (application.rb) makes them easier to see at-once, and would make it easier to transition to Rails' stored credentials if we ever do that (e.g. we'd just replace Rails.configuration.foo with Rails.application.credentials.foo)