power_stencil 0.3.4 → 0.3.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 00447c56d525ad327510d4ab6b5cf535ad719514
4
- data.tar.gz: 1e26b3268e7f07f2821fa727b8aa8f2a35f33f03
3
+ metadata.gz: 63b5292b83c11cf7fb867257189af4945225de5b
4
+ data.tar.gz: 104f23b19dfc0d0851e06bdb34f8e8ec5fe2c59e
5
5
  SHA512:
6
- metadata.gz: e901b9f2723a58bc60bfefd3b40a4408b68e42304a37b974fb6012380971d0544f58af2b4ba8082f839c15cba1e7449d8e9d5e04bfcb6a6d720308493631cae9
7
- data.tar.gz: ce6ee809c4ce173acdd1219a861954968f399e62dbf3ced1d771d7ca739004532b4aed9a9041f63c91a7cd76ed83e0d88754662c517aa5c9dee70735eda1135e
6
+ metadata.gz: e6baf3d3caecbf9a102dbc42c272db77d7092dc77b97be2a87f98f6f1f807d3229c45fddcf36fc03bfbc678eb24aff074fdd9473652cc688e38a05e875aba76f
7
+ data.tar.gz: 41353ec4a84de5acabee14f9338ba9f311e9aed5c9a82588037cba254ad22c8bbc8d5a8ca82da0e940e5fd48183984832e0b9147dd4bb022821516d39b757886
data/README.md CHANGED
@@ -5,7 +5,7 @@ PowerStencil
5
5
 
6
6
  <!-- TOC -->
7
7
 
8
- - [Core concepts](#core-concepts)
8
+ - [Overview](#overview)
9
9
  - [Pfff, yet another templating engine...](#pfff-yet-another-templating-engine)
10
10
  - [Installation](#installation)
11
11
  - [Usage](#usage)
@@ -19,30 +19,28 @@ PowerStencil
19
19
 
20
20
  <!-- /TOC -->
21
21
 
22
- # Core concepts
22
+ # Overview
23
23
 
24
24
  `PowerStencil` proposes a radical approach on how to manage your shared configuration.
25
25
 
26
- Internally `PowerStencil` is composed of a data repository and a pretty standard templating flow to generate whatever is needed by your project or organization:
26
+ Configuration is one of the most complex things to maintain, and anyone who participated in a large scale piece of software or documentation knows how complex it is to maintain, keep consistent and avoid duplication on the long run across the various projects that may share this configuration.
27
27
 
28
- ![simple-flow-image]
28
+ From a very high level point of view, the workfow `PowerStencil` proposes looks like:
29
29
 
30
- Configuration is one of the most complex things to maintain, and anyone who participated in a large scale piece of software or documentation knows how complex it is to maintain, keep consistent and avoid duplication on the long run across the various projects that may share this configuration.
30
+ ![simple-flow-image]
31
31
 
32
32
  `PowerStencil` provides **development and operations friendly workflows to fully manage the maintenance of a complex shared config** in order to generate anything you may want like _documentation_, _static sites_, _code_, _configuration_ for multiple tools..., while **avoiding duplication, and manage it like code** !
33
33
 
34
- It is a common pattern to introduce a database to manage this configuration, and it is a very bad idea because it implies extra tooling, and specific developments that de-facto become single point of failure at the heart of your development process. Why would you do that when something as versatile and ubiquitous as Git exists that will __integrate smoothly within your existing development and operations workflows__, builds, CI/CD, while benefiting from all the goodness provided by Git, like branches, decentralization, versioning, tags, code reviews, traceability, simplified fallbacks etc... ?
34
+ It is a common pattern to introduce a database to manage shared configuration for CI/CD processes, and it is a very bad idea (see [F.A.Q.]) because it implies extra tooling, and specific developments that de-facto become single point of failure at the heart of your development process. Why would you do that when something as versatile and ubiquitous as Git exists that will integrate smoothly within your existing development and operations workflows, builds, CI/CD processes, while benefiting from all the goodness provided by Git, like branches, decentralization, versioning, tags, code reviews, traceability, simplified fallbacks etc... ?
35
35
 
36
- **With `PowerStencil` everything is maintained in a git repository**: data, templates, specific code. No more config loss, no more change applied without a full lineage.
37
-
38
- See some real world [example use cases].
36
+ A `PowerStencil` project is composed of a data repository and a pretty standard templating flow to generate whatever is needed by your project or organization and **with `PowerStencil` everything is maintained in a git repository**: data, templates, specific code **without sacrificing on data integrity and relational features**. No more config loss, no more change applied without a full lineage.
39
37
 
40
38
  The `PowerStencil` gem provides the `power_stencil` executable which is a pluggable CLI to:
41
39
 
42
- - CRUD [entities] using either an editor or a dedicated REPL
43
- - Manage [templates]
44
- - Manage [builds]
45
- - Create and manipulate [plugins]
40
+ - Manage the project data
41
+ - Manage templates
42
+ - Manage builds
43
+ - Create and manipulate plugins
46
44
 
47
45
  # Pfff, yet another templating engine...
48
46
 
@@ -110,17 +108,19 @@ The program uses the standard paradigm of sub-commands (à-la-git), and each can
110
108
 
111
109
  To create a new project, use the `init` sub-command. It works as you would expect. If you run it in an existing directory it will create the project here but you can specify the directory where you want the project to be created (the path will be created provided you have the rights on the filesystem):
112
110
 
113
- $ power_stencil init --project-path /where/you/want
111
+ $ power_stencil init /where/you/want/your/project
114
112
 
115
- The `--project-path` option can be applied to any sub-command, but à-la-git, once the project created if you are anywhere within the project tree, you don't need to specify the project path.
113
+ Once the project created, if you are anywhere within the project tree, you don't need to specify the project path anymore (if needed, any `power_stencil` sub-command supports a `--project-path` option). If you're used to the Git command line, it works the same way, and you should not feel in uncharted territory...
116
114
 
117
115
  :information_source: The rest of this documentation will assume you are at the root of this created project.
118
116
 
119
- :information_source: Of course, once you created a new project you should version it with Git:
117
+ **:information_source: Of course, once you've been creating a new project, you should version it with Git:**
120
118
 
121
119
  $ git init
120
+ $ git add .
122
121
  $ git commit -a -m 'Initial commit'
123
122
 
123
+ This will allow you to track any change resulting of your interactions with `power_stencil` command line.
124
124
 
125
125
  ## `PowerStencil` project structure
126
126
 
@@ -141,9 +141,9 @@ The structure of a brand new `PowerStencil` project is the following:
141
141
  │   └── README.md
142
142
  └── versioned-config.yaml
143
143
  ```
144
- New directories will appear once you start some [builds] or when you will define [templates].
144
+ New directories will appear once you start some [builds] or when you will define [templates], but this is the initial state.
145
145
 
146
- Not all the files in this directory should be versioned, and this the reason why there is a preconfigured `.gitignore` at the root of the project.
146
+ Not all the files in this directory should be versioned, and this the reason why there is a preconfigured `.gitignore` at the root of the project. It is prefilled so that unless you want to specifically avoid a file to be versioned, you don't need any action regarding `PowerStencil` project files.
147
147
 
148
148
  The project has two distinct config files. Keep the official project config in the `.ps_project/versioned-config.yaml` which, as its name suggest will be versioned. But any developer who wants to temporarily override some configuration should do it in the `.ps_project/personal-config.yaml` which is not be versioned. The content defined in the latter overrides the content of the official one. This is a clean way for anyone who wants to test something to safely do it locally without the risk to pollute the central repo.
149
149
 
@@ -155,19 +155,25 @@ The `plugins` directory can optionally contain project specific plugins. Plugins
155
155
 
156
156
  The core of the system is the `entity`, so you should start by having a look at what entities are, how they are easily managed using the `PowerStencil` CLI and shell.
157
157
 
158
- :arrow_forward: [Entities]
158
+ > :arrow_forward: [Entities]
159
159
 
160
160
  Then it is important to understand how to use entities within `templates`. Templates are the way to generate something (doc, code, descriptors, sites, whatever...) from the data that the entities represent.
161
161
 
162
- :arrow_forward: [Templates]
162
+ > :arrow_forward: [Templates]
163
163
 
164
164
  The mechanism that combines entities and templates is called a `build`. A build is always attached to an entity (you build something). The result of a build is a set of files. Optionally an action can be triggered after the files are generated (could be as simple as calling a script that has been generated).
165
165
 
166
- :arrow_forward: [Builds]
166
+ > :arrow_forward: [Builds]
167
167
 
168
168
  `PowerStencil` could stop there, and you would be able to do whatever you want, but there is a whole world beyond. `Plugins` provide a way to completely extend `PowerStencil`, further control relations between entities, implement complex post-build actions, add CLI sub-commands and options. Plugins can be local to the project or coming in the form of standard Ruby Gems ! The icing on the cake...
169
169
 
170
- :arrow_forward: [Plugins]
170
+ > :arrow_forward: [Plugins]
171
+
172
+ And course, you may:
173
+
174
+ - Read the [F.A.Q.]
175
+ - See some real world [example use cases].
176
+
171
177
 
172
178
  # Contributing
173
179
 
@@ -189,6 +195,7 @@ Everyone interacting in the PowerStencil project’s codebases, issue trackers,
189
195
  [builds]: doc/builds.md "Builds in PowerStencil"
190
196
  [plugins]: doc/plugins.md "Plugins in PowerStencil"
191
197
  [example use cases]: doc/example_use_cases.md "Example uses cases using PowerStencil"
198
+ [F.A.Q.]: doc/faq.md "PowerStencil F.A.Q."
192
199
  [code of conduct]: CODE_OF_CONDUCT.md
193
200
 
194
201
  <!-- Code links -->
File without changes
@@ -255,7 +255,7 @@ If you want to do something more custom after the build process completed, this
255
255
  [entities]: entities.md "Entities in PowerStencil"
256
256
  [templates]: templates.md "Templates in PowerStencil"
257
257
  [plugins]: plugins.md "Plugins in PowerStencil"
258
- [buildable]: entities.md#buildable--buildable_by "How to make an entity buildable ?"
258
+ [buildable]: entities.md#buildable-and-buildable_by "How to make an entity buildable ?"
259
259
  [local entities]: entities.md#local-unversioned-entities "Local unversioned entities"
260
260
 
261
261
  <!-- Code links -->
@@ -33,7 +33,7 @@ Entities
33
33
  - [not_empty](#not_empty)
34
34
  - [should_match](#should_match)
35
35
  - [class_name](#class_name)
36
- - [buildable / buildable_by](#buildable--buildable_by)
36
+ - [buildable and buildable_by](#buildable-and-buildable_by)
37
37
  - [Module you could include in your entity types](#module-you-could-include-in-your-entity-types)
38
38
  - [Adding functional code](#adding-functional-code)
39
39
 
@@ -908,7 +908,7 @@ PowerStencil DSL> e.valid? raise_error: true
908
908
 
909
909
  :warning: Use this one with caution, as it does not test anything regarding inheritance...
910
910
 
911
- ### buildable / buildable_by
911
+ ### buildable and buildable_by
912
912
 
913
913
  One of the most important directives !
914
914
  More information is provided in the [builds] documentation, but basically this defines an `entity_type` as a potential target for the build process.
@@ -0,0 +1,106 @@
1
+ F.A.Q.
2
+ ======
3
+
4
+ <!-- TOC -->
5
+
6
+ - [How does `PowerStencil` compare with a CMDB ?](#how-does-powerstencil-compare-with-a-cmdb-)
7
+ - [Why is a "real" database a bad idea as configuration store for CI/CD ?](#why-is-a-real-database-a-bad-idea-as-configuration-store-for-cicd-)
8
+ - [How does `PowerStencil` compare to environment variables + subst ?](#how-does-powerstencil-compare-to-environment-variables--subst-)
9
+ - [Why data persisted in YAML ?](#why-data-persisted-in-yaml-)
10
+ - [What are the system requirements ?](#what-are-the-system-requirements-)
11
+ - [What is the status of `PowerStencil` ?](#what-is-the-status-of-powerstencil-)
12
+
13
+ <!-- /TOC -->
14
+ [:back:][Documentation root]
15
+
16
+ # How does `PowerStencil` compare with a CMDB ?
17
+
18
+ It could sound like a strange question. `PowerStencil` is absolutelly not designed with ITIL in mind but in the end its true that its data management part looks a lot like a [CMDB].
19
+
20
+ - [Entities][entities] (and more specifically entity types) can cover most aspects (I am not ITIL expert enough to say it covers all of them) of ITIL's _Configuration Items_. Default entities provided with `PowerStencil` do not contain all necessary attributes to do be really considered as _configuration items_, but it should be very easy to achieve with custom entities. In fact it could be a good idea of [plugin][plugins]...
21
+ - Relation semantics in `PowerStencil` cover 1-1, 1-n and composition relation patterns.
22
+ - Versioning is achieved through Git. Implying on top of versioning, branching, merging
23
+
24
+ But `PowerStencil` cannot be simplified to it's "database" aspect. It goes well beyond, and is as well a pragmatic workflow for developers and operations to actually do something out of this data. A [CMDB] may be used by external processes in order to achieve what `PowerStencil` does out of the box.
25
+
26
+
27
+ # Why is a "real" database a bad idea as configuration store for CI/CD ?
28
+
29
+ There are some reasons why using a database in the scope of CI/CD is not a good idea.
30
+
31
+ Basically the CI/CD infrastructure could be built around Jenkins, containerized tools (Drone for example), Travis, GitlabCI... The goal being to provide the **easiest possible way for the developer** to perform integration tests and eventually build and deploy software.
32
+
33
+ But the easiest possible way for the developer doesn't mean that the underlying infrastructure is simple to put in place or maintain. In fact it is not !
34
+
35
+ Anything you add to this carefully crafted mechanic could turn into an infrastructure management nightmare. And a database (and its availability, maintenance) is clearly not the simplest component to inject in your infrastructure...
36
+
37
+ On top of this, a database does not not provide by default all the required features. Versioning is obviously one of them but of course not the only one (you may think about branching or others...). Meaning that **you need to have custom developments** on top of the chosen database in order to achieve all the required features. It immediately becomes a de-facto single point of failure in your CI/CD process...
38
+
39
+ Relying on Git to achieve the storage, versioning, branching, decentralization is a much easier way to achieve the same. There is no need to have specific developments as any CI/CD mechanism knows how to deal with extra git repository.
40
+
41
+ # How does `PowerStencil` compare to environment variables + subst ?
42
+
43
+ If you have very few files/templates, you may consider this as a solution, but as soon as your templates will complexify or some data need to reference some other, you will enter a loop of death that will make you regret your initial choice.
44
+
45
+ `PowerStencil` is not a templating engine, it is a framework!
46
+
47
+ Not only it [allows structured and relational data][entities], it structures your work as well, and provides mechanisms to allow developers to [easily perform tests without committing unwanted changes by mistake][overrides].
48
+
49
+ Due on how it is easy to use `PowerStencil`, even for the simplest use cases, there is no real reason not to use it.
50
+
51
+
52
+ # Why data persisted in YAML ?
53
+
54
+ Assuming Git is used for storage and versioning **we need to have a data format that is git-friendly**.
55
+
56
+ - So it discards local databases like SQLite, BerkeleyDB or others which are binary formats.
57
+ - XML is **not** a human readable format and is a real pain to _diff_. It should have been kept for what it has been designed for, ie machine to machine protocols...
58
+
59
+ So the two main remaining contenders are JSON and YAML. Although there is no real reason to take one more than the other, including the manipulating language, would I have written `PowerStencil` in JS or Go, I may probably have chosen JSON as storage format. But it is written in Ruby and therefore I went for YAML.
60
+
61
+
62
+ # What are the system requirements ?
63
+
64
+ `PowerStencil` has been developed under Linux, but it's only requiring a working Ruby installed on your machine.
65
+
66
+ As such, even if I never tested, I would expect it to probably work out of the box on MacOS, BSD or other Unices supporting Ruby 2.2+.
67
+
68
+ Regarding Windows, I stopped using spywareOS years ago so I can't really tell you. Last time I tried using Ruby on Windows (maybe 10 years ago), I did face a lot of dependency issues. Maybe things are better now, but I have no idea. As far as I understood you can now have an Ubuntu running on top of Windows 10 as a kind of blessed VM. I would probably more go this way...
69
+
70
+
71
+ # What is the status of `PowerStencil` ?
72
+
73
+ Although `PowerStencil` is still under development, **it can already be safely used**.
74
+
75
+ Regarding `PowerStencil` core:
76
+
77
+ - The part that may evolve the most is the plugin part (including documentation which is not really in par with the rest...), but it should not break anything developed now.
78
+ - New system entity types may appear.
79
+
80
+ Anyway `PowerStencil` follows the semantic versioning pattern and if incompatible changes arise it may be reflected in the version.
81
+
82
+ There are already some plugins in the pipe, especially around contenerization topics.
83
+
84
+ :information_source: Of course, `PowerStencil` is new software and it is expected to evolve with the needs of its users...
85
+
86
+
87
+
88
+
89
+ [:back:][Documentation root]
90
+ <!-- End of Document -->
91
+
92
+ <!-- Pages -->
93
+ [Documentation root]: ../README.md "Back to documentation root"
94
+ [entities]: entities.md "Entities in PowerStencil"
95
+ [plugins]: plugins.md "Plugins in PowerStencil"
96
+ [overrides]: builds.md#overriding-entities-and-build-scenarii "Overriding data locally"
97
+
98
+
99
+ <!-- Code links -->
100
+
101
+
102
+ <!-- Illustrations -->
103
+
104
+
105
+ <!-- External links -->
106
+ [CMDB]: https://en.wikipedia.org/wiki/Configuration_management_database "Configuration Management Database"
@@ -317,7 +317,7 @@ Flawless victory !!
317
317
  [builds]: builds.md "Builds in PowerStencil"
318
318
  [plugins]: plugins.md "Plugins in PowerStencil"
319
319
  [example use cases]: example_use_cases.md "Example uses cases using PowerStencil"
320
- [buildable]: entities.md#buildable--buildable_by "How to make an entity buildable ?"
320
+ [buildable]: entities.md#buildable-and-buildable_by "How to make an entity buildable ?"
321
321
 
322
322
  <!-- Code links -->
323
323
 
@@ -125,6 +125,13 @@
125
125
  names-only:
126
126
  :type: bool
127
127
  :summary: Only returns the name of the entities found.
128
+ :long_aliases:
129
+ - names
130
+ - name
131
+ - short
132
+ :short_aliases:
133
+ - n
134
+ - s
128
135
  compiled: &COMPILEDOPT
129
136
  :type: bool
130
137
  :summary: Entities as used by susbstitution engine.
@@ -29,8 +29,8 @@ Gem::Specification.new do |spec|
29
29
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
30
  spec.require_paths = ['lib']
31
31
 
32
- spec.add_development_dependency 'bundler', '~> 1.16'
32
+ spec.add_development_dependency 'bundler', '~> 2.0.2'
33
33
  spec.add_development_dependency 'rake', '~> 10.0'
34
34
  spec.add_development_dependency 'rspec', '~> 3.0'
35
- spec.add_development_dependency 'power_stencil', "~> #{<%= plugin_module_name %>::VERSION}"
35
+ spec.add_development_dependency 'power_stencil', "~> <%= PowerStencil::VERSION %>"
36
36
  end
@@ -1,5 +1,7 @@
1
+ ---
1
2
  sudo: false
2
3
  language: ruby
4
+ cache: bundler
3
5
  rvm:
4
6
  - 2.3.1
5
- before_install: gem install bundler -v 1.16.1
7
+ before_install: gem install bundler -v 2.0.2
@@ -1,6 +1,4 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
-
5
3
  # Specify your gem's dependencies in <%= plugin_module_name %>.gemspec
6
4
  gemspec
@@ -29,8 +29,8 @@ Gem::Specification.new do |spec|
29
29
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
30
  spec.require_paths = ['lib']
31
31
 
32
- spec.add_development_dependency 'bundler', '~> 1.16'
32
+ spec.add_development_dependency 'bundler', '~> 2.0.2'
33
33
  spec.add_development_dependency 'rake', '~> 10.0'
34
34
  spec.add_development_dependency 'rspec', '~> 3.0'
35
- spec.add_development_dependency 'power_stencil', "~> #{<%= plugin_module_name %>::VERSION}"
35
+ spec.add_development_dependency 'power_stencil', "~> <%= PowerStencil::VERSION %>"
36
36
  end
@@ -2,7 +2,7 @@
2
2
  # THIS FILE *IS NOT* MEANT TO BE VERSIONED (and is not by default)
3
3
  # You can use it for any configuration you want to keep local
4
4
 
5
- # debug
6
- :debug: false
5
+ # :debug: true
7
6
  # :log-level: 2
8
- # :debug-on-stderr: true
7
+ # :debug-on-stderr: true
8
+ # :verbose: true
@@ -11,9 +11,6 @@ module PowerStencil
11
11
 
12
12
 
13
13
  def execute
14
- if config.command_line_layer.extra_parameters.empty?
15
- raise PowerStencil::Error, 'Please specify something to build'
16
- end
17
14
 
18
15
  if config[:'supported-builds']
19
16
  project.engine.available_entities_hash.select do |_, klass|
@@ -24,6 +21,10 @@ module PowerStencil
24
21
  return
25
22
  end
26
23
 
24
+ if config.command_line_layer.extra_parameters.empty?
25
+ raise PowerStencil::Error, 'Please specify something to build'
26
+ end
27
+
27
28
  targets = targets_from_criteria analyse_extra_params, project.engine.root_universe
28
29
  raise PowerStencil::Error, 'No valid entity specified' if targets.empty?
29
30
  project.engine.build targets, fail_on_error: config[:'fail-on-error'], parallelized: config[:parallelized]
@@ -12,13 +12,14 @@ module PowerStencil
12
12
  def display_entity(entity)
13
13
  puts_and_logs "# Entity '#{entity.name}' (#{entity.type})"
14
14
  if config[:'names-only']
15
- puts "- #{entity.name}"
15
+ puts "- '#{entity.as_path}' ('#{entity.name}' of the type '#{entity.type}')"
16
16
  else
17
17
  if config[:raw]
18
18
  puts entity.to_yaml
19
19
  else
20
20
  puts entity.to_hash.to_yaml
21
21
  end
22
+ puts
22
23
  end
23
24
  end
24
25
 
@@ -10,9 +10,8 @@ module PowerStencil
10
10
 
11
11
  def execute
12
12
  targets = targets_from_criteria analyse_extra_params, project.engine.root_universe
13
- targets.each do |target|
13
+ targets.sort{|a, b| a.as_path <=> b.as_path}.each do |target|
14
14
  display_entity target
15
- puts
16
15
  end
17
16
  end
18
17
 
@@ -5,9 +5,9 @@ module PowerStencil
5
5
 
6
6
  include PowerStencil::Project::Paths
7
7
 
8
- PROJECT_CONFIG_PRIORITY = 2000
9
- USER_CONFIG_PRIORITY = 2010
10
- PLUGIN_CONFIG_PRIORITY_MIN = 1000
8
+ PROJECT_CONFIG_PRIORITY = 990
9
+ USER_CONFIG_PRIORITY = 995
10
+ PLUGIN_CONFIG_PRIORITY_MIN = 100
11
11
 
12
12
  attr_reader :plugin_priority_count
13
13
 
@@ -16,6 +16,8 @@ module PowerStencil
16
16
  # Optional config files should have less priority than the command line layer
17
17
  add_optional_config_layer project_versioned_config_file, 'versioned project config file', PROJECT_CONFIG_PRIORITY
18
18
  add_optional_config_layer project_personal_config_file, 'personal project config file', USER_CONFIG_PRIORITY
19
+ Climatic.send :setup_logger
20
+ logger.debug 'Project config files loaded'
19
21
  end
20
22
 
21
23
 
@@ -27,6 +27,20 @@ module PowerStencil
27
27
  self.class.buildable?
28
28
  end
29
29
 
30
+ protected
31
+
32
+ def project_engine
33
+ PowerStencil.project.engine
34
+ end
35
+
36
+ def create_universe_entity(type, fields = {})
37
+ project_engine.new_entity project_engine.root_universe, type, fields: fields
38
+ end
39
+
40
+ def remove_entity_from_universe(entity)
41
+ project_engine.root_universe.delete entity
42
+ end
43
+
30
44
  end
31
45
 
32
46
  end
@@ -1,3 +1,3 @@
1
1
  module PowerStencil
2
- VERSION = '0.3.4'.freeze
2
+ VERSION = '0.3.9'.freeze
3
3
  end
@@ -25,9 +25,9 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency 'rake', '~> 10.0'
26
26
  spec.add_development_dependency 'rspec', '~> 3.0'
27
27
 
28
- spec.add_dependency 'climatic', '~> 0.2', '>= 0.2.26'
28
+ spec.add_dependency 'climatic', '~> 0.2', '>= 0.2.28'
29
29
  spec.add_dependency 'dir_glob_ignore', '~> 0.3'
30
- spec.add_dependency 'universe_compiler', '~> 0.2', '>= 0.2.11'
30
+ spec.add_dependency 'universe_compiler', '~> 0.2', '>= 0.2.16'
31
31
  spec.add_dependency 'pry'
32
32
 
33
33
  spec.post_install_message = %Q{
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: power_stencil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laurent B.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-30 00:00:00.000000000 Z
11
+ date: 2019-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -61,7 +61,7 @@ dependencies:
61
61
  version: '0.2'
62
62
  - - ">="
63
63
  - !ruby/object:Gem::Version
64
- version: 0.2.26
64
+ version: 0.2.28
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
@@ -71,7 +71,7 @@ dependencies:
71
71
  version: '0.2'
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
- version: 0.2.26
74
+ version: 0.2.28
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: dir_glob_ignore
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -95,7 +95,7 @@ dependencies:
95
95
  version: '0.2'
96
96
  - - ">="
97
97
  - !ruby/object:Gem::Version
98
- version: 0.2.11
98
+ version: 0.2.16
99
99
  type: :runtime
100
100
  prerelease: false
101
101
  version_requirements: !ruby/object:Gem::Requirement
@@ -105,7 +105,7 @@ dependencies:
105
105
  version: '0.2'
106
106
  - - ">="
107
107
  - !ruby/object:Gem::Version
108
- version: 0.2.11
108
+ version: 0.2.16
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: pry
111
111
  requirement: !ruby/object:Gem::Requirement
@@ -143,6 +143,7 @@ files:
143
143
  - doc/builds.md
144
144
  - doc/entities.md
145
145
  - doc/example_use_cases.md
146
+ - doc/faq.md
146
147
  - doc/images/power-stencil-entity-build.svg
147
148
  - doc/images/power-stencil-entity-creation.svg
148
149
  - doc/images/power-stencil-simple-flow.svg
@@ -263,7 +264,7 @@ homepage: https://gitlab.com/tools4devops/power_stencil
263
264
  licenses:
264
265
  - MIT
265
266
  metadata: {}
266
- post_install_message: "\nThank you for installing PowerStencil 0.3.4 !\nFrom the command
267
+ post_install_message: "\nThank you for installing PowerStencil 0.3.9 !\nFrom the command
267
268
  line you can run `power_stencil --help`\nIf your shell is not completing the command:\n
268
269
  \ If you use rbenv: `rbenv rehash`\n If you use zsh : `rehash`\n\nFull documentation
269
270
  here : https://gitlab.com/tools4devops/power_stencil/blob/master/README.md\nFeel