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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d375b063ee58c86e21d974eeeec5aabc3f3c5f22
4
- data.tar.gz: b2c11a8fe5c91d7dde5c486b33cda6523e9687a9
3
+ metadata.gz: f9dfff8f890dc62ac1fd88d04c8a724ec19b00e5
4
+ data.tar.gz: f34eff9e8fd0df3a3738c89b349592e371fa02c3
5
5
  SHA512:
6
- metadata.gz: 844967ca4f635dd0549c990a1e258c375bd4e778fa23ffd38564796a1bdd0ddbb815eb61207c06f7519a3f22dc6e4fcc171c48f443872e256c27994df97c67bb
7
- data.tar.gz: a7880f4d22d6bf928ebcfc4f1d615cd5de52519802f0fe6b3810ee5a221ef4243a481ae00302cad1d3d12f5f74395e926d2ed60938266f10625722b492eb98c0
6
+ metadata.gz: 145221deea265dd7f7fdf579a39c24010d73e5423c8c52a59bcf4abe0feacb3f835a5e85dab4a6846ac6ef6d62efa398fd7f102ca93040ee6ca3e4a03010e551
7
+ data.tar.gz: 32e93a3f99d612707ad58372beb07609f5ca71b746f7f9a7fb3f7844255de4cbf0caa42a2c0036ed9464f58e1dfaff3ea82bf9a39d5836a2c3028e6a0a067132
@@ -1,3 +1,3 @@
1
1
  foodcritic: bundle exec foodcritic -f any $SANDBOX/$COOKBOOK
2
- rubocop: bundle exec rubocop $SANDBOX/$COOKBOOK/**/*.rb
2
+ rubocop: bundle exec rubocop $SANDBOX/$COOKBOOK
3
3
  chefspec: bundle exec rspec $SANDBOX/$COOKBOOK/spec --color
@@ -9,3 +9,6 @@ MethodLength:
9
9
 
10
10
  RegexpLiteral:
11
11
  Enabled: false
12
+
13
+ NumericLiterals:
14
+ Enabled: false
@@ -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
@@ -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
- template "test/integration/default/serverspec/spec_helper.rb"
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.1
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-03 00:00:00.000000000 Z
11
+ date: 2013-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor