puppet-retrospec 1.2.0 → 1.2.1
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 022b797256a583f5e85ef8b751871581c90014e1
|
|
4
|
+
data.tar.gz: 40dec9863afc4e2abbae8e4a3def3634e7a57927
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0fe4e049e0a434964cf2ab9ded54a3a57dcf071ef41b5451e238b3ffa5200489112e82afa004e602325c675d02c43308d12e3b1ef2860f0da01046e8d4123da2
|
|
7
|
+
data.tar.gz: 80e3c5c885a461a1ed6b158eadc7fc4948716c2c8c7b349d6f3e9b85c13237011dd5c6f43ac4b308b755f2ad3ccc2a1e189f08342f7a6daef8bd696a4c054e69
|
data/CHANGELOG.md
CHANGED
|
@@ -244,7 +244,7 @@ module Retrospec
|
|
|
244
244
|
end
|
|
245
245
|
|
|
246
246
|
def run_hook(hook_file)
|
|
247
|
-
return
|
|
247
|
+
return unless File.exist?(hook_file)
|
|
248
248
|
output = `ruby #{hook_file} #{module_path}`
|
|
249
249
|
if $CHILD_STATUS.success?
|
|
250
250
|
puts "Successfully ran hook: #{hook_file}".info
|
|
@@ -63,7 +63,7 @@ module Retrospec
|
|
|
63
63
|
# externalize them for easier management.
|
|
64
64
|
def run_clone_hook(template_dir, git_url = nil, branch = nil)
|
|
65
65
|
hook_file = clone_hook_file(template_dir)
|
|
66
|
-
return
|
|
66
|
+
return unless File.exist?(hook_file)
|
|
67
67
|
output = `ruby #{hook_file} #{template_dir} #{git_url} #{branch}`
|
|
68
68
|
puts output
|
|
69
69
|
if $CHILD_STATUS.success?
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: puppet-retrospec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Corey Osman
|
|
@@ -119,7 +119,6 @@ files:
|
|
|
119
119
|
- LICENSE
|
|
120
120
|
- README.md
|
|
121
121
|
- Rakefile
|
|
122
|
-
- VERSION
|
|
123
122
|
- lib/retrospec-puppet.rb
|
|
124
123
|
- lib/retrospec/plugins/v1/plugin/exceptions.rb
|
|
125
124
|
- lib/retrospec/plugins/v1/plugin/generators.rb
|
data/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.0.0
|