Sha256: b1850bbb0cf68dc27c947c8482f864927e5c1726a17e26b4420d1f5559ee105b
Contents?: true
Size: 653 Bytes
Versions: 4
Compression:
Stored size: 653 Bytes
Contents
# encoding=utf-8 spec 'Another-Template' do |s| s.block_actions_under_git = true # s.pre_actions = ['echo "Hello klipp!"'] # s.post_actions = ['pod install'] s.token :REPLACEABLE do |t| t.comment = "Replaceable value (to insert in any filename or string containing 'XXREPLACEABLEXX')" 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 :TOGGLE do |t| t.comment = "Toggle value (to insert in any filename or string containing 'XXTOGGLEXX')" t.type = :bool # t.bool_strings = ['NO','YES'] end # ... end
Version data entries
4 entries across 4 versions & 1 rubygems