Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Support namespaced keys #12

Merged
merged 2 commits into from Aug 31, 2013

Conversation

Projects
None yet
2 participants
Contributor

bak commented Aug 26, 2013

Adds support for namespaced keys in #data_for, e.g., "user/valid",
"user/name_missing", etc. Each namespace loads a different YAML file in
the data directory. If the key given is not a string, or it does not
contain "/", then the previous behavior is preserved.

I've found this useful, welcome your thoughts.

bak added some commits Aug 26, 2013

Support namespaced keys
Adds support for namespaced keys in #data_for, e.g., "user/valid",
"user/name_missing", etc. Each namespace loads a different YAML file in
the data directory. If the key given is not a string, or it does not
contain "/", then the previous behavior is preserved.

cheezy added a commit that referenced this pull request Aug 31, 2013

@cheezy cheezy merged commit a7ee9ce into cheezy:master Aug 31, 2013

1 check failed

default The Travis CI build could not complete due to an error
Details

@bak bak deleted the bak:namespaced_data branch Sep 3, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment