etc/power_stencil.yaml in power_stencil-0.4.17 vs etc/power_stencil.yaml in power_stencil-0.4.18
- old
+ new
@@ -44,15 +44,15 @@
# Customizations for the shell. Basically defining various behaviors
# of Pry which is the underlying REPL.
:shell_dsl:
:prompt_level_1: 'PowerStencil DSL> '
:prompt_level_2: 'PowerStencil DSL --> '
- :session_greetings: |
+ :session_greetings: |+
-------------------------------------------------------------------------------
Welcome to the PowerStencil shell session
In this shell you have access to anything the templating engine has access to.
- You can view, edit, save entities.
+ On top of this, you can view, edit, save and delete entities.
- Retrieve and manipulate entities using the `entities` hash.
- Persist your changes using the `save` method on each entity.
- Create new project or user entities using `new_<entity_type>` and
`user_new_<entity_type>` methods (see `available_entity_types` for a list of
@@ -61,22 +61,21 @@
you want...
Type `exit` to end your session.
-------------------------------------------------------------------------------
-
-
# TEMPLATING ENGINE
# Map to define which kind of template engine for which type of file. Be careful if you
# overlap two definitions. Warning, it is ruby Regex not shell pattern !
:templating_engines_map:
# Currently all files are rendered using ERB engine
:erb: '.*'
# Files matching particular patterns can be changed on the fly
:file_renaming_patterns:
- # Specific .gitignore file for Windows
+ # Specific .gitignore hack for `power_stencil init` as .gitignore should be processed
+ # *after* .ps_project
^(.+)\.zzzgitignore\.erb$: '\1.gitignore'
# Erb files
^(.+)\.erb$: '\1'