power_stencil 0.8.7 → 0.8.8
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/utils/semantic_version.rb +3 -0
- data/lib/power_stencil/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4f5ae18d6c54cea723f9867b6ecbb57fe172c7b
|
4
|
+
data.tar.gz: 04876cecef9b066ba9357bc1594b19eb325c6b5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30331a55eb9309bda536e610fe2ac9ed9c30287dbbd4ccc9e77bf1619f487dafb8660f18a22315c58167afcffde063ab337ddfa6b63f21c479c5df67fbdd6179
|
7
|
+
data.tar.gz: ae82f40ae470825a7ed7e5644323a1e55f5b1744eec5c9004cc7869fa6165b5b49d4117fdef73ce161cef9c3e83c1f31c3de99abc1e70ba5118a0575bf12be73
|
@@ -76,6 +76,7 @@ module PowerStencil
|
|
76
76
|
def analyze_semantic_version(semantic_version)
|
77
77
|
case semantic_version
|
78
78
|
when String
|
79
|
+
semantic_version = '0.0.0' if semantic_version.empty?
|
79
80
|
version_string_to_hash semantic_version
|
80
81
|
when SemanticVersion
|
81
82
|
semantic_version.to_hash
|
@@ -85,6 +86,8 @@ module PowerStencil
|
|
85
86
|
raise_analysis_error semantic_version unless semantic_version[level].is_a? Fixnum
|
86
87
|
end
|
87
88
|
semantic_version.dup
|
89
|
+
when NilClass
|
90
|
+
version_string_to_hash '0.0.0'
|
88
91
|
else
|
89
92
|
raise_analysis_error semantic_version
|
90
93
|
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.8.
|
4
|
+
version: 0.8.8
|
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-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -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.8 !\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
|