power_stencil 0.8.5 → 0.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/power_stencil/command_processors/edit.rb +4 -0
- data/lib/power_stencil/version.rb +1 -1
- data/power_stencil.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f12907b8b2e2bd5ff7e94f6f1c75241604cfef84
|
4
|
+
data.tar.gz: 66f1296b1df2d83e1f52625f8056d5ec46d17114
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c9968f5c422ec59ee0c4a33f184bca64b1501d879b7cc085a0b52a23a13afeeac25d487b373b0fb6d0999e958476962278fbb445aaf44834035623962857c93
|
7
|
+
data.tar.gz: 03bee415e4a53424a12df0aee9e611eea282fef903a4374b7877bf5befd3fa9b7890429430d22765d1836bfbbbe4ddababe1833d7221699fa2f5242b89d244f9
|
@@ -24,6 +24,10 @@ module PowerStencil
|
|
24
24
|
|
25
25
|
def modifications_valid?(modified_path, original_entity)
|
26
26
|
test_entity = UniverseCompiler::Entity::Persistence.load modified_path
|
27
|
+
test_universe = project.engine.root_universe.dup
|
28
|
+
duplicated_entity = test_universe.get_entity *(original_entity.to_composite_key)
|
29
|
+
test_universe.replace duplicated_entity, test_entity
|
30
|
+
test_entity.resolve_fields_references!
|
27
31
|
test_entity.valid?
|
28
32
|
rescue => e
|
29
33
|
logger.debug PowerStencil::Error.report_error(e)
|
data/power_stencil.gemspec
CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
|
|
27
27
|
|
28
28
|
spec.add_dependency 'climatic', '~> 0.2.32'
|
29
29
|
spec.add_dependency 'dir_glob_ignore', '~> 0.3'
|
30
|
-
spec.add_dependency 'universe_compiler', '~> 0.5.
|
30
|
+
spec.add_dependency 'universe_compiler', '~> 0.5.3'
|
31
31
|
spec.add_dependency 'pry'
|
32
32
|
spec.add_dependency 'git' , '~> 1.5.0'
|
33
33
|
|
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.8.
|
4
|
+
version: 0.8.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Laurent Briais
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.5.
|
89
|
+
version: 0.5.3
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.5.
|
96
|
+
version: 0.5.3
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: pry
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -299,7 +299,7 @@ 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.
|
302
|
+
post_install_message: "\nThank you for installing PowerStencil 0.8.6 !\nFrom the command
|
303
303
|
line you can run `power_stencil --help`\nIf your shell is not completing the command:\n
|
304
304
|
\ If you use rbenv: `rbenv rehash`\n If you use zsh : `rehash`\n\nOfficial Website
|
305
305
|
\ : https://powerstencil.brizone.org/\nFull documentation here : https://gitlab.com/tools4devops/power_stencil/blob/master/README.md\nFeel
|