power_stencil 0.4.3 → 0.4.4
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 +4 -4
- data/doc/entities.md +5 -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: cfcce3efeec28087203d838f24ebef0e9353aaa0
|
|
4
|
+
data.tar.gz: 80e819c42c39ce84926cd38facd980038888300a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 60b1544795adc76d57b7749c14173708fc89bcbb265ee4ad044dd8c539a5d48884c7e38ad8bbbf0904f0a429ff1eb2a3bce0aff41782939b70d4f5f1c20e4682
|
|
7
|
+
data.tar.gz: afe028a613e6f4e4236fb019b501316202c95bb736a8e1e4090506b9d0feba3ed7b87add6795f38c4df1de8884b2bf166382df45d99dd3e9d1d828c339419102
|
data/doc/entities.md
CHANGED
|
@@ -669,6 +669,8 @@ So you see that if we try to set parent with something wrong, the accessor seems
|
|
|
669
669
|
|
|
670
670
|
:information_source: The `name` property of the `has_one` directive is optional. If not present the field will be named from the entity_type referenced instead...
|
|
671
671
|
|
|
672
|
+
**:warning: See more advanced features, like reverse methods in the [universe_compiler advanced relations documentation].**
|
|
673
|
+
|
|
672
674
|
### has_many
|
|
673
675
|
|
|
674
676
|
Once you know the `has_one` directive, you should not be surprised by the `has_many` directive...
|
|
@@ -717,6 +719,8 @@ Which translates at persistence level as:
|
|
|
717
719
|
```
|
|
718
720
|
Nice !
|
|
719
721
|
|
|
722
|
+
**:warning: See more advanced features, like reverse methods in the [universe_compiler advanced relations documentation].**
|
|
723
|
+
|
|
720
724
|
### is_array
|
|
721
725
|
|
|
722
726
|
You can define a field as being an array:
|
|
@@ -969,4 +973,5 @@ Now you know an entity type is just a regular Ruby class. As such you could add
|
|
|
969
973
|
[ActiveRecord]: https://guides.rubyonrails.org/active_record_basics.html "The ultimate ORM"
|
|
970
974
|
[Ruby On Rails]: https://rubyonrails.org/ "One of the best Web framework"
|
|
971
975
|
[universe_compiler]: https://gitlab.com/tools4devops/universe_compiler "The underlying engine to manage entities and compilation !"
|
|
976
|
+
[universe_compiler advanced relations documentation]: https://gitlab.com/tools4devops/universe_compiler#advanced-relations "Advanced relational features"
|
|
972
977
|
[Graphviz]: (https://www.graphviz.org/) "Graph Visualization Software"
|
data/power_stencil.gemspec
CHANGED
|
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
|
|
|
27
27
|
|
|
28
28
|
spec.add_dependency 'climatic', '~> 0.2.29'
|
|
29
29
|
spec.add_dependency 'dir_glob_ignore', '~> 0.3'
|
|
30
|
-
spec.add_dependency 'universe_compiler', '~> 0.
|
|
30
|
+
spec.add_dependency 'universe_compiler', '~> 0.4.1'
|
|
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.4.
|
|
4
|
+
version: 0.4.4
|
|
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-
|
|
11
|
+
date: 2019-09-17 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.
|
|
89
|
+
version: 0.4.1
|
|
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.
|
|
96
|
+
version: 0.4.1
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: pry
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -253,7 +253,7 @@ homepage: https://gitlab.com/tools4devops/power_stencil
|
|
|
253
253
|
licenses:
|
|
254
254
|
- MIT
|
|
255
255
|
metadata: {}
|
|
256
|
-
post_install_message: "\nThank you for installing PowerStencil 0.4.
|
|
256
|
+
post_install_message: "\nThank you for installing PowerStencil 0.4.4 !\nFrom the command
|
|
257
257
|
line you can run `power_stencil --help`\nIf your shell is not completing the command:\n
|
|
258
258
|
\ If you use rbenv: `rbenv rehash`\n If you use zsh : `rehash`\n\nFull documentation
|
|
259
259
|
here : https://gitlab.com/tools4devops/power_stencil/blob/master/README.md\nFeel
|