Raise max length for project name.

This commit is contained in:
Glenn Y. Rolland 2015-07-14 22:51:40 +02:00
parent b1c0c2b5ef
commit ddbb2903cb

View file

@ -9,7 +9,7 @@ module Kook
class MissingProjectFile < RuntimeError ; end class MissingProjectFile < RuntimeError ; end
class InvalidProjectName < RuntimeError ; end class InvalidProjectName < RuntimeError ; end
PROJECT_NAME_MIN_SIZE = 4 PROJECT_NAME_MIN_SIZE = 4
PROJECT_NAME_MAX_SIZE = 12 PROJECT_NAME_MAX_SIZE = 15
def initialize project_name def initialize project_name
self.class.validate_name project_name self.class.validate_name project_name