power_stencil 0.3.8 → 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: c8c39aaa7011050b6db523d2d169f7fec2ab9edf
4
- data.tar.gz: 8194f575c8937d921648a8bd37c4c2c9fb11e24f
3
+ metadata.gz: 63b5292b83c11cf7fb867257189af4945225de5b
4
+ data.tar.gz: 104f23b19dfc0d0851e06bdb34f8e8ec5fe2c59e
5
5
  SHA512:
6
- metadata.gz: 8e54baaa5609c3799da26d694a79a9d0bbdbfeb00bb888346fcd542b44f8245a976ebc10edb2964b28be5cf0ac9312dbc86f2d4489cdd2e71e1cfbaeb5105d64
7
- data.tar.gz: 1fc6224d6e38f9ef27c312058fb0fe0dc1470a67963498ea6d4efa87071b03fe7e365905f31cac5e82c445b11f2c224a710f80464f19972533041960f4d702aa
6
+ metadata.gz: e6baf3d3caecbf9a102dbc42c272db77d7092dc77b97be2a87f98f6f1f807d3229c45fddcf36fc03bfbc678eb24aff074fdd9473652cc688e38a05e875aba76f
7
+ data.tar.gz: 41353ec4a84de5acabee14f9338ba9f311e9aed5c9a82588037cba254ad22c8bbc8d5a8ca82da0e940e5fd48183984832e0b9147dd4bb022821516d39b757886
@@ -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.
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module PowerStencil
2
- VERSION = '0.3.8'.freeze
2
+ VERSION = '0.3.9'.freeze
3
3
  end
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
 
28
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.13'
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.8
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-09-12 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
@@ -95,7 +95,7 @@ dependencies:
95
95
  version: '0.2'
96
96
  - - ">="
97
97
  - !ruby/object:Gem::Version
98
- version: 0.2.13
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.13
108
+ version: 0.2.16
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: pry
111
111
  requirement: !ruby/object:Gem::Requirement
@@ -264,7 +264,7 @@ homepage: https://gitlab.com/tools4devops/power_stencil
264
264
  licenses:
265
265
  - MIT
266
266
  metadata: {}
267
- post_install_message: "\nThank you for installing PowerStencil 0.3.8 !\nFrom the command
267
+ post_install_message: "\nThank you for installing PowerStencil 0.3.9 !\nFrom the command
268
268
  line you can run `power_stencil --help`\nIf your shell is not completing the command:\n
269
269
  \ If you use rbenv: `rbenv rehash`\n If you use zsh : `rehash`\n\nFull documentation
270
270
  here : https://gitlab.com/tools4devops/power_stencil/blob/master/README.md\nFeel