power_stencil 0.3.4 → 0.3.5

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: 00447c56d525ad327510d4ab6b5cf535ad719514
4
- data.tar.gz: 1e26b3268e7f07f2821fa727b8aa8f2a35f33f03
3
+ metadata.gz: 1387471841811025d2ebdc21c23aec26f9341193
4
+ data.tar.gz: ff9722780a689f245baa21c3dbf5b5bef0a1024d
5
5
  SHA512:
6
- metadata.gz: e901b9f2723a58bc60bfefd3b40a4408b68e42304a37b974fb6012380971d0544f58af2b4ba8082f839c15cba1e7449d8e9d5e04bfcb6a6d720308493631cae9
7
- data.tar.gz: ce6ee809c4ce173acdd1219a861954968f399e62dbf3ced1d771d7ca739004532b4aed9a9041f63c91a7cd76ed83e0d88754662c517aa5c9dee70735eda1135e
6
+ metadata.gz: df95d43e7e99fd25fe57bbb3713fc5707b53a2f939c9734720cbcd9bca4f7d8dfaff61294db2e8e245b768ff93c737aa1b6e14da9f64cb7fe07f234f8061ec16
7
+ data.tar.gz: 24ba3ea0b87f0dd480250b5a4b32e6c8e1730396d6e0b43820f10d97bb1084f405df74a3fd9dcfec7aa96a813014427163aebbf1e15a112b9d72bf9f9188b45a
@@ -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]
@@ -1,3 +1,3 @@
1
1
  module PowerStencil
2
- VERSION = '0.3.4'.freeze
2
+ VERSION = '0.3.5'.freeze
3
3
  end
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.5
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-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -263,7 +263,7 @@ homepage: https://gitlab.com/tools4devops/power_stencil
263
263
  licenses:
264
264
  - MIT
265
265
  metadata: {}
266
- post_install_message: "\nThank you for installing PowerStencil 0.3.4 !\nFrom the command
266
+ post_install_message: "\nThank you for installing PowerStencil 0.3.5 !\nFrom the command
267
267
  line you can run `power_stencil --help`\nIf your shell is not completing the command:\n
268
268
  \ If you use rbenv: `rbenv rehash`\n If you use zsh : `rehash`\n\nFull documentation
269
269
  here : https://gitlab.com/tools4devops/power_stencil/blob/master/README.md\nFeel