Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% branch = `git branch | grep "*"`.sub('*', '').strip %>
- common: &common
- adapter: postgresql
- username:
- password:
- host: localhost
- development:
- database: cp_<%= branch %>_development
- <<: *common
- production:
- database: cp_<%= branch %>_production
- <<: *common
- test: &test
- database: cp_<%= branch %>_test
- adapter: postgresql
- username:
- password:
- host: localhost
- cucumber:
- <<: *test
Add Comment
Please, Sign In to add comment