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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 696922401cd53b56b5b0c902376e0c95093069c8
4
- data.tar.gz: 2ce84bd347b0d55337e72521d47ebdecaa0704f6
3
+ metadata.gz: 5c5b1fcf4935b7c66ff6f969180ff79d034c2895
4
+ data.tar.gz: 098a44fc1907977f33e078d285f92540d98291dd
5
5
  SHA512:
6
- metadata.gz: 8f30eea32756e4c6ff86dd116d36574a8277f027d7641f720d601e55135d435af197d842589c74945280a9367950c3d338525bfdca6e8abd6cffefe915dc80c3
7
- data.tar.gz: 26ad01bce4343dc399553281413fbfaa56331f35b0163ad430273d166aa7aff9811258a54b07ce670f46cad0ce1877c2706a11a778d8c985ab07bebb301512fd
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
- PowerStencil::Project::Base.instantiate_from_config config
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
@@ -1,3 +1,3 @@
1
1
  module PowerStencil
2
- VERSION = '0.8.9'.freeze
2
+ VERSION = '0.8.10'.freeze
3
3
  end
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.9
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.9 !\nFrom the command
303
- line you can run `power_stencil --help`\nIf your shell is not completing the command:\n
304
- \ If you use rbenv: `rbenv rehash`\n If you use zsh : `rehash`\n\nOfficial Website
305
- \ : https://powerstencil.brizone.org/\nFull documentation here : https://gitlab.com/tools4devops/power_stencil/blob/master/README.md\nFeel
306
- free to report issues: https://gitlab.com/tools4devops/power_stencil/issues\n\nType
307
- 'power_stencil adm --zsh-completion' to install auto-completion for zsh.\n\n "
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