From 9cb0b1cfdfeb1039b31817625ba24afd0fdeedb5 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Mon, 29 Dec 2014 09:41:47 -0500 Subject: [PATCH] expand @ symbols in tokens refs: #8478 --- developer/bin/generate_cask_token | 1 + doc/cask_token_reference.md | 1 + 2 files changed, 2 insertions(+) diff --git a/developer/bin/generate_cask_token b/developer/bin/generate_cask_token index 9e83c03e23..e46df9c979 100755 --- a/developer/bin/generate_cask_token +++ b/developer/bin/generate_cask_token @@ -30,6 +30,7 @@ end EXPANDED_SYMBOLS = { '+' => 'plus', + '@' => 'at', } CASK_FILE_EXTENSION = '.rb' diff --git a/doc/cask_token_reference.md b/doc/cask_token_reference.md index 7236f4422b..b0a3671819 100644 --- a/doc/cask_token_reference.md +++ b/doc/cask_token_reference.md @@ -134,6 +134,7 @@ To convert the App's Simplified Name (above) to a token: * convert all letters to lower case * expand the `+` symbol into a separated English word: `-plus-` + * expand the `@` symbol into a separated English word: `-at-` * spaces become hyphens * hyphens stay hyphens * digits stay digits