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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 179d7410197d7530eec83448494a0b51944d3b16
4
- data.tar.gz: 9807b4d078972eacf729e064651e3056e4b9b940
3
+ metadata.gz: 05a7d58e74d56c656c751ca01cf1f5415a6744ae
4
+ data.tar.gz: 06b701c8d45744dae5fe77c565d91de84ae24bc8
5
5
  SHA512:
6
- metadata.gz: a2319cc363933b06ef5bb69529b4c0fcfca61a8523a1256357a49f0d0467ff6082c84708bc813260425c1a59f88d245491f59b7cd31ded7a29b8ea7471224d39
7
- data.tar.gz: 76f86e961f9e835d0572e837494f75067b46c84d720a06b1b129de09cd601a025887fbf7a7e44ca3a89c31f5fff3900aedc25527ef0f0569a1fb42de0f27dce9
6
+ metadata.gz: 4b6b1df00b9dccdd91c17f0d8fde6c2e2cde731e9ae892950799f122d8825c41e83b05f5d89bcc98c64856b8a42224b9d7349409eb43c915816d124bd1557e66
7
+ data.tar.gz: b93e7ca709c61ba6fc387729f43570cf7de869f576ecbb2169c7cdd0186247f969c192a77f2cf52e8d3f2d9577287ae70c50cadb380cc2f5c8211f04033ac127
@@ -41,8 +41,8 @@ module Vagrant
41
41
  end
42
42
 
43
43
  def cleanup(env)
44
- setup_connection(env)
45
44
  if chef_client?(env)
45
+ setup_connection(env)
46
46
  %w(node client).each { |resource| delete_resource(resource, env) }
47
47
  cleanup_cache_dir(env)
48
48
  end
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module Butcher
3
- VERSION = "2.1.3"
3
+ VERSION = "2.1.4"
4
4
  end
5
5
  end
@@ -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 "does not have the option to set knife.rb path" do
7
- subject.should_not respond_to(:knife_config_file)
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 "has the option to set cache dir path" do
15
- subject.should respond_to(:cache_dir)
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 default path" do
43
+ it "sets cache dir path" do
24
44
  subject.finalize!
25
- subject.cache_dir.should eql(File.expand_path(".vagrant/butcher"))
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.3
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 00:00:00.000000000 Z
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: []