Parse ERB in configuration file #118

Merged
merged 1 commit into from May 7, 2014

Projects

None yet

2 participants

@felixclack
Contributor

I prefer not to store my API token in source control, however I would
like to keep the .wti file in my repo.

Inserting some ERB into the config allows me to use an environment
variable to store the token and parse it when loading the config.

@felixclack felixclack Parse ERB in configuration file
I prefer not to store my API token in source control, however I would
like to keep the `.wti` file in my repo.

Inserting some ERB into the config allows me to use an environment
variable to store the token and parse it when loading the config.
ff9bd81
@edouard
Member
edouard commented May 7, 2014

That’s a good one, thanks! I will merge this in.

@edouard edouard merged commit 69c003d into AtelierConvivialite:master May 7, 2014
@edouard edouard added a commit that referenced this pull request May 7, 2014
@edouard edouard Require erb, and set `path_to_config_file` so it can be used by `pars…
…e_erb_in_configuration`, ref #118
8b25f41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment