diff options
author | jessib <jessib@riseup.net> | 2013-08-27 12:38:16 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-08-27 12:38:16 -0700 |
commit | 060e06daa065f02b811dfe12850b101a62c12c8d (patch) | |
tree | 8e1e4112371a50870afb9dfa01155116be879af3 /config | |
parent | dc41ae0a3fb0a137e716d8ec63084b0ec3a7299b (diff) |
Not ideal way to do it, but was proving complicated to have a config file specify which gems for which environments.
Here, we have the billing gem included for the development and test environments only, hardcoded in the Gemfile.
Then we show the links to billing based on a config file setting. The setting itself could be used to specify different types of billing, but isn't yet.
Diffstat (limited to 'config')
-rw-r--r-- | config/defaults.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/defaults.yml b/config/defaults.yml index 343c3ac..8b17b77 100644 --- a/config/defaults.yml +++ b/config/defaults.yml @@ -24,6 +24,7 @@ development: admins: [blue, admin, admin2] domain: example.org secret_token: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' + payment: [] test: <<: *dev_ca @@ -32,9 +33,11 @@ test: admins: [admin, admin2] domain: test.me secret_token: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' + payment: [billing] production: <<: *cert_options <<: *common admins: [] domain: example.net + payment: [] |