Sha256: e2ba3c94f617b40a4724d4e2adf61073e419b44db5a4806c238de9102bd375c0
Contents?: true
Size: 1.22 KB
Versions: 4
Compression:
Stored size: 1.22 KB
Contents
# encoding=utf-8 Template::Spec.new do |s| s.name = 'BadExample' s.lalala = 'pod install' s.token :PROJECT_TITLE do |t| t.comment = "Project title (e.g. 'Amazing Application')" t.validation = /^[A-Z][A-Za-z0-9 ]{2,}$/ t.validation_hint = 'At least three characters long, start with a capital character, may contain spaces' end s.token :PROJECT_ID do |t| t.comment = "Project id (e.g. 'AmazingApp')" t.validation = /^[A-Z][A-Za-z0-9]{2,}$/ t.validation_hint = 'At least three characters long, no spaces, start with a capital character' end s.token :BUNDLE_ID do |t| t.comment = "Bundle id (e.g. 'com.acme.amazingapp')" t.validation = /^[a-z0-9.]{3,}$/ t.validation_hint = 'Reverse domain notation, lower case, no spaces' end s.token :ORGANIZATION_NAME do |t| t.comment = "Organization name (e.g. 'ACME')" t.validation = /^[A-Z][A-Za-z0-9 ]{2,}$/ t.validation_hint = 'At least three characters long, start with a capital character, may contain spaces' end s.token :CLASS_PREFIX do |t| t.comment = "Class prefix (e.g. 'AMZ')" t.validation = /^[A-Z][A-Z0-9]{2,}$/ t.validation_hint = 'All caps, at least three, starting with an alphabetical character' end end
Version data entries
4 entries across 4 versions & 1 rubygems