devcamps/camps — pull request #13 by localfilmmaker (2014-07-01 20:53:20+00:00)
Title: Added camp_config() hash key '0number' which contains the camp number 0-...

Added 0-padded camp number as camp_config() hash key '0number' so camp numbers less than 10 will have a leading 0 (like 07). Then in config files in etc/ we can use tokens like: __CAMP_NUMBER__.camp.__CAMP_HOSTNAME__:67__CAMP_0NUMBER__

The port in the above example will now be 0-padded, port 6709 instead of 679.