pdqtest 0.1.19 → 0.1.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pdqtest/skeleton.rb +2 -4
- data/lib/pdqtest/version.rb +1 -1
- data/res/templates/examples_init.pp.erb +2 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ab99ead2e39c691ead4751641d6c53955d5a9fc
|
4
|
+
data.tar.gz: aa0b635445d674411d51a5258e4b21728d3c76ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38fbe79fe180945532fc76b78703a20dd8b3727fb6819bac7c4dbba8dea37133c40f5f787e34fa07e907caf505f0a0737c16352197b87c10011d6cc344e69ef9
|
7
|
+
data.tar.gz: 630af08c40bcc111613e754dc30b53ec03c19578311af08a8027b01e7c05614943d903667d02ddfc3a5d3ce421aa86f80219d0f204eb58ae3218e417640b0cef
|
data/lib/pdqtest/skeleton.rb
CHANGED
@@ -42,10 +42,8 @@ module PDQTest
|
|
42
42
|
def self.install_example
|
43
43
|
example_file = File.join(EXAMPLES_DIR, 'init.pp')
|
44
44
|
if ! File.exists?(example_file)
|
45
|
-
|
46
|
-
|
47
|
-
include #{PDQTest::Puppet.module_name}
|
48
|
-
END
|
45
|
+
template = File.read(Util::resource_path(File.join('templates', 'examples_init.pp.erb')))
|
46
|
+
init_pp = ERB.new(template, nil, '-').result(binding)
|
49
47
|
File.write(example_file, init_pp)
|
50
48
|
end
|
51
49
|
end
|
data/lib/pdqtest/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdqtest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geoff Williams
|
@@ -249,6 +249,7 @@ files:
|
|
249
249
|
- res/skeleton/init__before.bats
|
250
250
|
- res/skeleton/init__setup.sh
|
251
251
|
- res/skeleton/spec_helper.rb
|
252
|
+
- res/templates/examples_init.pp.erb
|
252
253
|
- res/templates/rspec.rb.erb
|
253
254
|
homepage: https://github.com/GeoffWilliams/pdqtest
|
254
255
|
licenses:
|