Sha256: cf1fc763ed1de0476777d8eef60fb035aea0d53f50e433be94a0f85ac1f64040

Contents?: true

Size: 642 Bytes

Versions: 4

Compression:

Stored size: 642 Bytes

Contents

# encoding=utf-8

spec 'Empty' 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

Version Path
klipp-0.2.2.5 spec/fixtures/template-repository/Empty/Empty.klippspec
klipp-0.2.2.4 spec/fixtures/template-repository/Empty/Empty.klippspec
klipp-0.2.2.3 spec/fixtures/template-repository/Empty/Empty.klippspec
klipp-0.2.2.2 spec/fixtures/template-repository/Empty/Empty.klippspec