expand @ symbols in tokens

refs: #8478
This commit is contained in:
Roland Walker
2014-12-29 09:41:47 -05:00
parent bebeea1bc2
commit 9cb0b1cfdf
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -30,6 +30,7 @@ end
EXPANDED_SYMBOLS = {
'+' => 'plus',
'@' => 'at',
}
CASK_FILE_EXTENSION = '.rb'
+1
View File
@@ -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