Sha256: 733f8e2d7e25601f95ccff67ee08b423461ebc1b26b6086d9b1cd017d64acb0c

Contents?: true

Size: 1.05 KB

Versions: 11

Compression:

Stored size: 1.05 KB

Contents

default:
  context:
    lang: 'en'
    visitor: 'ant'
    node: 'status'
  src: "simple text"
  tem: "simple text"
  res: "simple text"


login:
  src: "<r:visitor do='login'/>"
  tem: "<% var1 = visitor %><%= var1.login %>"
  res: "ant"

lang:
  eval: "visitor.lang"
  res: "en"

is_anon:
  eval: "visitor.is_anon?"
  res: "false"

user_is_a_user:
  src: "<b do='user.login'/>"
  tem: "<b><%= @node.user.login %></b>"
  res: '<b>ant</b>'

user_node_is_a_node:
  src: "<b do='user.node.title'/>"
  tem: "<b><%= (@node.user.node ? @node.user.node.prop['title'] : nil) %></b>"
  res: '<b>Solenopsis Invicta</b>'
  
version_user_is_a_user:
  src: "<b do='v.user.login'/>"
  tem: "<b><%= @node.version.user.login %></b>"
  res: '<b>ant</b>'

author_is_a_node:
  src: "<b do='author.title'/>"
  tem: "<b><%= (@node.author ? @node.author.prop['title'] : nil) %></b>"
  res: '<b>Solenopsis Invicta</b>'

version_author_is_a_node:
  src: "<b do='v.author.title'/>"
  tem: "<b><%= (@node.version.author ? @node.version.author.prop['title'] : nil) %></b>"
  res: '<b>Solenopsis Invicta</b>'

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
zena-1.2.2 test/integration/zafu_compiler/user.yml
zena-1.2.1 test/integration/zafu_compiler/user.yml
zena-1.2.0 test/integration/zafu_compiler/user.yml
zena-1.1.3 test/integration/zafu_compiler/user.yml
zena-1.1.2 test/integration/zafu_compiler/user.yml
zena-1.1.1 test/integration/zafu_compiler/user.yml
zena-1.1.0 test/integration/zafu_compiler/user.yml
zena-1.0.0 test/integration/zafu_compiler/user.yml
zena-1.0.0.rc3 test/integration/zafu_compiler/user.yml
zena-1.0.0.rc2 test/integration/zafu_compiler/user.yml
zena-1.0.0.rc1 test/integration/zafu_compiler/user.yml