power_stencil 0.9.5 → 0.9.6

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: 7f0c8423324989df34f6a82f3d94876049918c72
4
- data.tar.gz: cbc370533eacc74d7ab8c3c827c9ac491d233294
3
+ metadata.gz: fa24834795adfb76db8e36bc7bd3ac199be9a3e4
4
+ data.tar.gz: ecec159f500c0f333d4cb7252a11be862dffed44
5
5
  SHA512:
6
- metadata.gz: df40c5459e352c58ebb6bd8da2c737c21fdb41f09bb4ec9c52f11fdbb2f9fa6d8f75282f9fb16981970625929e594e62e4bd51b8516db7517ee338383bc8210f
7
- data.tar.gz: 9490d7ac9be83f7b6993ff201d0ab72f1cc5baa7701a4edfe7dfc81e6bca6d082dc01193cac35bf5ed75d28428629aed806e80b049f838440e3b924bcefb197c
6
+ metadata.gz: 4d564ec96787b00c3628bc9bba61f0b55f46e538f2726ec28684f6256d07f67952dce7d5207c6c190d6717c9b5bd389d95b160cecee0ab72200351222f017d3d
7
+ data.tar.gz: 368d8b0a6f9a91688218a9594b1c90cd5ef35caddb2e01b1fb93abae44ec4a70ca64386f5504d37b968174dfe163eaccc14bd9867532e1e6420ffd55cd932457
@@ -126,8 +126,12 @@ module PowerStencil
126
126
  else
127
127
  target_plugin = project.plugins[target_plugin_name]
128
128
  raise PowerStencil::Error, "Could not find plugin '#{target_plugin_name}' !" if target_plugin.nil?
129
- raise PowerStencil::Error, "Plugin '#{target_plugin_name}' has no file generation capability !" unless target_plugin.capabilities[:generate_build_files]
130
- target_plugin.generate_build_files entity_to_build, target_path
129
+ if target_plugin.capabilities[:generate_build_files]
130
+ target_plugin.generate_build_files entity_to_build, target_path
131
+ else
132
+ logger.info 'Falling back to PowerStencil core build files generation process...'
133
+ generate_build_files entity_to_build, target_path
134
+ end
131
135
  end
132
136
 
133
137
  # Post processing executed from generated directory (#11)
@@ -1,3 +1,3 @@
1
1
  module PowerStencil
2
- VERSION = '0.9.5'.freeze
2
+ VERSION = '0.9.6'.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.9.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laurent Briais
@@ -328,7 +328,7 @@ metadata:
328
328
  documentation_uri: https://gitlab.com/tools4devops/power_stencil/blob/master/README.md
329
329
  source_code_uri: https://gitlab.com/tools4devops/power_stencil
330
330
  homepage_uri: https://powerstencil.brizone.org/
331
- post_install_message: "\nThank you for installing PowerStencil 0.9.5 !\nFrom the command
331
+ post_install_message: "\nThank you for installing PowerStencil 0.9.6 !\nFrom the command
332
332
  line you can run `power_stencil --help`\nIf your shell is not completing the command:\n
333
333
  \ If you use rbenv: `rbenv rehash`\n If you use zsh : `rehash`\n\nOfficial Website
334
334
  \ : https://powerstencil.brizone.org/\nFull documentation here : https://gitlab.com/tools4devops/power_stencil/blob/master/README.md\nFeel