vagrant-butcher 2.1.3 → 2.1.4
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 +4 -4
- data/lib/vagrant-butcher/helpers/connection.rb +1 -1
- data/lib/vagrant-butcher/version.rb +1 -1
- data/spec/unit/vagrant_butcher/config_spec.rb +27 -7
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05a7d58e74d56c656c751ca01cf1f5415a6744ae
|
4
|
+
data.tar.gz: 06b701c8d45744dae5fe77c565d91de84ae24bc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b6b1df00b9dccdd91c17f0d8fde6c2e2cde731e9ae892950799f122d8825c41e83b05f5d89bcc98c64856b8a42224b9d7349409eb43c915816d124bd1557e66
|
7
|
+
data.tar.gz: b93e7ca709c61ba6fc387729f43570cf7de869f576ecbb2169c7cdd0186247f969c192a77f2cf52e8d3f2d9577287ae70c50cadb380cc2f5c8211f04033ac127
|
@@ -3,16 +3,36 @@ require 'spec_helper.rb'
|
|
3
3
|
describe Vagrant::Butcher::Config do
|
4
4
|
subject { described_class.new }
|
5
5
|
|
6
|
-
it "
|
7
|
-
subject.
|
6
|
+
it "permits the user to (en|dis)able the plugin" do
|
7
|
+
subject.should respond_to(:enabled=)
|
8
8
|
end
|
9
9
|
|
10
10
|
it "has the option to set guest chef client pem path" do
|
11
|
-
subject.should respond_to(:guest_key_path)
|
11
|
+
subject.should respond_to(:guest_key_path=)
|
12
|
+
end
|
13
|
+
|
14
|
+
it "has the option to verify SSL certs" do
|
15
|
+
subject.should respond_to(:verify_ssl=)
|
16
|
+
end
|
17
|
+
|
18
|
+
it "allows the user to configure a proxy" do
|
19
|
+
subject.should respond_to(:proxy=)
|
20
|
+
end
|
21
|
+
|
22
|
+
it "has an option to set a custom client_name" do
|
23
|
+
subject.should respond_to(:client_name=)
|
24
|
+
end
|
25
|
+
|
26
|
+
it "has an option to point to a local client key" do
|
27
|
+
subject.should respond_to(:client_key=)
|
28
|
+
end
|
29
|
+
|
30
|
+
it "does not have the option to set knife.rb path" do
|
31
|
+
subject.should_not respond_to(:knife_config_file=)
|
12
32
|
end
|
13
33
|
|
14
|
-
it "
|
15
|
-
subject.
|
34
|
+
it "does not have the option to set cache dir path" do
|
35
|
+
subject.should_not respond_to(:cache_dir=)
|
16
36
|
end
|
17
37
|
|
18
38
|
it "sets guest chef client pem default path" do
|
@@ -20,8 +40,8 @@ describe Vagrant::Butcher::Config do
|
|
20
40
|
subject.guest_key_path.should eql('/etc/chef/client.pem')
|
21
41
|
end
|
22
42
|
|
23
|
-
it "sets cache dir
|
43
|
+
it "sets cache dir path" do
|
24
44
|
subject.finalize!
|
25
|
-
subject.cache_dir.should eql(
|
45
|
+
subject.cache_dir.should eql(".vagrant/butcher")
|
26
46
|
end
|
27
47
|
end
|
metadata
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-butcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cassiano Leal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ridley
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.5.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 1.5.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: pry-debugger
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '1.3'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '1.3'
|
69
69
|
description: Delete Chef client and node when destroying Vagrant VM
|
@@ -73,8 +73,8 @@ executables: []
|
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
|
-
- .gitignore
|
77
|
-
- .travis.yml
|
76
|
+
- ".gitignore"
|
77
|
+
- ".travis.yml"
|
78
78
|
- Gemfile
|
79
79
|
- LICENSE.txt
|
80
80
|
- README.md
|
@@ -109,12 +109,12 @@ require_paths:
|
|
109
109
|
- lib
|
110
110
|
required_ruby_version: !ruby/object:Gem::Requirement
|
111
111
|
requirements:
|
112
|
-
- -
|
112
|
+
- - ">="
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: '0'
|
115
115
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
116
|
requirements:
|
117
|
-
- -
|
117
|
+
- - ">="
|
118
118
|
- !ruby/object:Gem::Version
|
119
119
|
version: '0'
|
120
120
|
requirements: []
|