power_stencil 0.8.9 → 0.8.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/power_stencil/initializer.rb +7 -1
- data/lib/power_stencil/version.rb +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5c5b1fcf4935b7c66ff6f969180ff79d034c2895
|
|
4
|
+
data.tar.gz: 098a44fc1907977f33e078d285f92540d98291dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 60cc2f0ee6884afed9b18e2163ea4e2c9695e5ae05886b542e7fa1a437dd369672e2c133742ed0d18a79761ab8a20a70d1bbb3178a6790eda43d23c58ca6c8b6
|
|
7
|
+
data.tar.gz: c7645e56558aa929f61282539b9badc472c7f1376b3ec39194ea3f9c33695fd1c7b8245cc0e71aafbb2ff522bff3cc40c72b1b277d17f5e70333a98a05409084
|
|
@@ -17,6 +17,7 @@ module PowerStencil
|
|
|
17
17
|
logger.debug 'Starting PowerStencil initialization...'
|
|
18
18
|
setup_system_processors
|
|
19
19
|
setup_universe_compiler_logger
|
|
20
|
+
try_to_load_project fail_on_error: false
|
|
20
21
|
logger.debug 'PowerStencil initialization complete'
|
|
21
22
|
end
|
|
22
23
|
|
|
@@ -29,7 +30,12 @@ module PowerStencil
|
|
|
29
30
|
include PowerStencil::Utils::FileHelper
|
|
30
31
|
|
|
31
32
|
def try_to_load_project(fail_on_error: true)
|
|
32
|
-
|
|
33
|
+
begin
|
|
34
|
+
PowerStencil::Project::Base.instantiate_from_config config
|
|
35
|
+
rescue => e
|
|
36
|
+
raise e if fail_on_error
|
|
37
|
+
end
|
|
38
|
+
|
|
33
39
|
end
|
|
34
40
|
|
|
35
41
|
def setup_system_processors
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: power_stencil
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Laurent Briais
|
|
@@ -299,12 +299,13 @@ metadata:
|
|
|
299
299
|
documentation_uri: https://gitlab.com/tools4devops/power_stencil/blob/master/README.md
|
|
300
300
|
source_code_uri: https://gitlab.com/tools4devops/power_stencil
|
|
301
301
|
homepage_uri: https://powerstencil.brizone.org/
|
|
302
|
-
post_install_message: "\nThank you for installing PowerStencil 0.8.
|
|
303
|
-
line you can run `power_stencil --help`\nIf your shell is not completing
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
302
|
+
post_install_message: "\nThank you for installing PowerStencil 0.8.10 !\nFrom the
|
|
303
|
+
command line you can run `power_stencil --help`\nIf your shell is not completing
|
|
304
|
+
the command:\n If you use rbenv: `rbenv rehash`\n If you use zsh : `rehash`\n\nOfficial
|
|
305
|
+
Website : https://powerstencil.brizone.org/\nFull documentation here :
|
|
306
|
+
https://gitlab.com/tools4devops/power_stencil/blob/master/README.md\nFeel free to
|
|
307
|
+
report issues: https://gitlab.com/tools4devops/power_stencil/issues\n\nType 'power_stencil
|
|
308
|
+
adm --zsh-completion' to install auto-completion for zsh.\n\n "
|
|
308
309
|
rdoc_options: []
|
|
309
310
|
require_paths:
|
|
310
311
|
- lib
|