teststrap 1.2.1 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/generator_files/Strainerfile +1 -1
- data/generator_files/rubocop-disabled.yml +3 -0
- data/generator_files/spec/chefspec_helper.rb +1 -3
- data/lib/teststrap.rb +4 -2
- 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: f9dfff8f890dc62ac1fd88d04c8a724ec19b00e5
|
4
|
+
data.tar.gz: f34eff9e8fd0df3a3738c89b349592e371fa02c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 145221deea265dd7f7fdf579a39c24010d73e5423c8c52a59bcf4abe0feacb3f835a5e85dab4a6846ac6ef6d62efa398fd7f102ca93040ee6ca3e4a03010e551
|
7
|
+
data.tar.gz: 32e93a3f99d612707ad58372beb07609f5ca71b746f7f9a7fb3f7844255de4cbf0caa42a2c0036ed9464f58e1dfaff3ea82bf9a39d5836a2c3028e6a0a067132
|
@@ -3,7 +3,5 @@ require 'chefspec/berkshelf'
|
|
3
3
|
require 'chef-vault'
|
4
4
|
|
5
5
|
def mock_encrypted_databag(bag, key, return_value)
|
6
|
-
allow(ChefVault::Item).to receive(:load).
|
7
|
-
with(bag, key).
|
8
|
-
and_return(return_value)
|
6
|
+
allow(ChefVault::Item).to receive(:load).with(bag, key).and_return(return_value)
|
9
7
|
end
|
data/lib/teststrap.rb
CHANGED
@@ -24,8 +24,10 @@ module Teststrap
|
|
24
24
|
copy_file "Thorfile"
|
25
25
|
template "spec/default_spec.rb"
|
26
26
|
template "spec/chefspec_helper.rb"
|
27
|
-
template "test/integration/default/serverspec/localhost/default_spec.rb"
|
28
|
-
|
27
|
+
template "test/integration/default/serverspec/localhost/default_spec.rb",
|
28
|
+
"test/integration/#{@cookbook_name}/serverspec/localhost/default_spec.rb"
|
29
|
+
template "test/integration/default/serverspec/spec_helper.rb",
|
30
|
+
"test/integration/#{@cookbook_name}/serverspec/spec_helper.rb"
|
29
31
|
template ".kitchen.yml"
|
30
32
|
template "metadata.rb"
|
31
33
|
template "README.md"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teststrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Casecommons
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-02-
|
11
|
+
date: 2013-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|