power_stencil 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/etc/templates/simple_exec/main.sh +1 -1
- data/lib/power_stencil/project/git.rb +4 -0
- data/lib/power_stencil/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07cb1da6d0d487660a6a1b0a4b45f000bed06803
|
4
|
+
data.tar.gz: 888e3ff4b8761391b10fff68e5e9a4de7b9f291e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d0e89bbacfa337bf250da42d4c4bc44140ca48c6d8c63bcefe65747f31736bf8dac053d7cc5186c0475a87fa2cf85045b6e6dd742f4596ff11592d120fc31be
|
7
|
+
data.tar.gz: 3b6db134b4c51e5c8906210c942953ebb9480b4ba720eb25e55364a2eeb6890ddc044a11832d85c8ec1654d16e26dac1e585a50e3c6dee5260f8f29c0ba3d0a7
|
@@ -12,6 +12,8 @@ module PowerStencil
|
|
12
12
|
&block)
|
13
13
|
return yield if git.nil?
|
14
14
|
|
15
|
+
original_path = Dir.pwd
|
16
|
+
Dir.chdir project_root
|
15
17
|
status_before_action = git.status
|
16
18
|
yield
|
17
19
|
status_after_action = git.status
|
@@ -50,6 +52,8 @@ module PowerStencil
|
|
50
52
|
|
51
53
|
git.commit action_message
|
52
54
|
puts_and_logs 'All changes introduced have been committed.'
|
55
|
+
ensure
|
56
|
+
Dir.chdir original_path
|
53
57
|
end
|
54
58
|
|
55
59
|
private
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: power_stencil
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Laurent Briais
|
@@ -291,7 +291,7 @@ metadata:
|
|
291
291
|
documentation_uri: https://gitlab.com/tools4devops/power_stencil/blob/master/README.md
|
292
292
|
source_code_uri: https://gitlab.com/tools4devops/power_stencil
|
293
293
|
homepage_uri: https://powerstencil.brizone.org/
|
294
|
-
post_install_message: "\nThank you for installing PowerStencil 0.7.
|
294
|
+
post_install_message: "\nThank you for installing PowerStencil 0.7.3 !\nFrom the command
|
295
295
|
line you can run `power_stencil --help`\nIf your shell is not completing the command:\n
|
296
296
|
\ If you use rbenv: `rbenv rehash`\n If you use zsh : `rehash`\n\nOfficial Website
|
297
297
|
\ : https://powerstencil.brizone.org/\nFull documentation here : https://gitlab.com/tools4devops/power_stencil/blob/master/README.md\nFeel
|