vagrant-butcher 2.3.1 → 2.3.2.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +0 -1
- data/Gemfile.lock +212 -0
- data/lib/vagrant-butcher/version.rb +1 -1
- data/spec/unit/vagrant_butcher/config_spec.rb +10 -10
- data/vagrant-butcher.gemspec +2 -2
- metadata +14 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2fc782e9ec94d10c8d6d758bbd2b633dc796abeba146e2cdac946ec2dd88dccf
|
4
|
+
data.tar.gz: 29426d899a67f67627d2ae2c2cd315c8bb818dbb543e49bb4b8a7330b6911f6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0deb6086bcbaf8dc322ef4705a2ffd0f15222303f4dee4a8e32b02c525a1bddbb34b3c411840fccc4a6a375fe44107c363a161bebd200ff04a8302e682968c99
|
7
|
+
data.tar.gz: 976dcafc753f18ad4b516c60209fcbdb1e8ba3a904736433cfddc69bb888641fc2cb24c3160bfbda76dc84009c3294fb1cce4f26b89def98f6ff22705804df2e
|
data/.gitignore
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,212 @@
|
|
1
|
+
GIT
|
2
|
+
remote: https://github.com/mitchellh/vagrant.git
|
3
|
+
revision: 4ce8d84f7e6709e4478612a9f0810dc686076ee0
|
4
|
+
specs:
|
5
|
+
vagrant (2.2.6.dev)
|
6
|
+
bcrypt_pbkdf (~> 1.0.0)
|
7
|
+
childprocess (~> 0.6.0)
|
8
|
+
ed25519 (~> 1.2.4)
|
9
|
+
erubis (~> 2.7.0)
|
10
|
+
hashicorp-checkpoint (~> 0.1.5)
|
11
|
+
i18n (~> 1.1.1)
|
12
|
+
listen (~> 3.1.5)
|
13
|
+
log4r (~> 1.1.9, < 1.1.11)
|
14
|
+
net-scp (~> 1.2.0)
|
15
|
+
net-sftp (~> 2.1)
|
16
|
+
net-ssh (~> 5.1.0)
|
17
|
+
rb-kqueue (~> 0.2.0)
|
18
|
+
rest-client (>= 1.6.0, < 3.0)
|
19
|
+
ruby_dep (<= 1.3.1)
|
20
|
+
rubyzip (~> 1.2.2)
|
21
|
+
vagrant_cloud (~> 2.0.2)
|
22
|
+
wdm (~> 0.1.0)
|
23
|
+
winrm (~> 2.1)
|
24
|
+
winrm-elevated (~> 1.1)
|
25
|
+
winrm-fs (~> 1.0)
|
26
|
+
|
27
|
+
PATH
|
28
|
+
remote: .
|
29
|
+
specs:
|
30
|
+
vagrant-butcher (2.3.2.pre.pre)
|
31
|
+
ridley (~> 5.1)
|
32
|
+
|
33
|
+
GEM
|
34
|
+
remote: https://rubygems.org/
|
35
|
+
specs:
|
36
|
+
addressable (2.6.0)
|
37
|
+
public_suffix (>= 2.0.2, < 4.0)
|
38
|
+
bcrypt_pbkdf (1.0.1)
|
39
|
+
buff-config (2.0.0)
|
40
|
+
buff-extensions (~> 2.0)
|
41
|
+
varia_model (~> 0.6)
|
42
|
+
buff-extensions (2.0.0)
|
43
|
+
buff-ignore (1.2.0)
|
44
|
+
buff-ruby_engine (1.0.0)
|
45
|
+
buff-shell_out (1.1.0)
|
46
|
+
buff-ruby_engine (~> 1.0)
|
47
|
+
builder (3.2.3)
|
48
|
+
byebug (11.0.1)
|
49
|
+
celluloid (0.16.0)
|
50
|
+
timers (~> 4.0.0)
|
51
|
+
celluloid-io (0.16.2)
|
52
|
+
celluloid (>= 0.16.0)
|
53
|
+
nio4r (>= 1.1.0)
|
54
|
+
chef-config (15.1.36)
|
55
|
+
addressable
|
56
|
+
fuzzyurl
|
57
|
+
mixlib-config (>= 2.2.12, < 4.0)
|
58
|
+
mixlib-shellout (>= 2.0, < 4.0)
|
59
|
+
tomlrb (~> 1.2)
|
60
|
+
childprocess (0.6.3)
|
61
|
+
ffi (~> 1.0, >= 1.0.11)
|
62
|
+
coderay (1.1.2)
|
63
|
+
concurrent-ruby (1.1.5)
|
64
|
+
date (2.0.0)
|
65
|
+
did_you_mean (1.3.0)
|
66
|
+
diff-lcs (1.3)
|
67
|
+
domain_name (0.5.20180417)
|
68
|
+
unf (>= 0.0.5, < 1.0.0)
|
69
|
+
ed25519 (1.2.4)
|
70
|
+
erubis (2.7.0)
|
71
|
+
faraday (0.15.4)
|
72
|
+
multipart-post (>= 1.2, < 3)
|
73
|
+
ffi (1.11.1)
|
74
|
+
fileutils (1.2.0)
|
75
|
+
fuzzyurl (0.9.0)
|
76
|
+
gssapi (1.3.0)
|
77
|
+
ffi (>= 1.0.1)
|
78
|
+
gyoku (1.3.1)
|
79
|
+
builder (>= 2.1.2)
|
80
|
+
hashicorp-checkpoint (0.1.5)
|
81
|
+
hashie (3.6.0)
|
82
|
+
hitimes (1.3.1)
|
83
|
+
http-cookie (1.0.3)
|
84
|
+
domain_name (~> 0.5)
|
85
|
+
httpclient (2.8.3)
|
86
|
+
i18n (1.1.1)
|
87
|
+
concurrent-ruby (~> 1.0)
|
88
|
+
json (2.2.0)
|
89
|
+
listen (3.1.5)
|
90
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
91
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
92
|
+
ruby_dep (~> 1.2)
|
93
|
+
little-plugger (1.1.4)
|
94
|
+
log4r (1.1.10)
|
95
|
+
logging (2.2.2)
|
96
|
+
little-plugger (~> 1.1)
|
97
|
+
multi_json (~> 1.10)
|
98
|
+
method_source (0.9.2)
|
99
|
+
mime-types (3.2.2)
|
100
|
+
mime-types-data (~> 3.2015)
|
101
|
+
mime-types-data (3.2019.0331)
|
102
|
+
mixlib-authentication (3.0.1)
|
103
|
+
mixlib-config (3.0.1)
|
104
|
+
tomlrb
|
105
|
+
mixlib-shellout (3.0.4)
|
106
|
+
multi_json (1.13.1)
|
107
|
+
multipart-post (2.1.1)
|
108
|
+
net-scp (1.2.1)
|
109
|
+
net-ssh (>= 2.6.5)
|
110
|
+
net-sftp (2.1.2)
|
111
|
+
net-ssh (>= 2.6.5)
|
112
|
+
net-ssh (5.1.0)
|
113
|
+
netrc (0.11.0)
|
114
|
+
nio4r (2.3.1)
|
115
|
+
nori (2.6.0)
|
116
|
+
pry (0.12.2)
|
117
|
+
coderay (~> 1.1.0)
|
118
|
+
method_source (~> 0.9.0)
|
119
|
+
pry-byebug (3.7.0)
|
120
|
+
byebug (~> 11.0)
|
121
|
+
pry (~> 0.10)
|
122
|
+
public_suffix (3.1.1)
|
123
|
+
rb-fsevent (0.10.3)
|
124
|
+
rb-inotify (0.10.0)
|
125
|
+
ffi (~> 1.0)
|
126
|
+
rb-kqueue (0.2.5)
|
127
|
+
ffi (>= 0.5.0)
|
128
|
+
rest-client (2.0.2)
|
129
|
+
http-cookie (>= 1.0.2, < 2.0)
|
130
|
+
mime-types (>= 1.16, < 4.0)
|
131
|
+
netrc (~> 0.8)
|
132
|
+
retryable (2.0.4)
|
133
|
+
ridley (5.1.1)
|
134
|
+
addressable
|
135
|
+
buff-config (~> 2.0)
|
136
|
+
buff-extensions (~> 2.0)
|
137
|
+
buff-ignore (~> 1.2)
|
138
|
+
buff-shell_out (~> 1.0)
|
139
|
+
celluloid (~> 0.16.0)
|
140
|
+
celluloid-io (~> 0.16.1)
|
141
|
+
chef-config (>= 12.5.0)
|
142
|
+
erubis
|
143
|
+
faraday (~> 0.9)
|
144
|
+
hashie (>= 2.0.2, < 4.0.0)
|
145
|
+
httpclient (~> 2.7)
|
146
|
+
json (>= 1.7.7)
|
147
|
+
mixlib-authentication (>= 1.3.0)
|
148
|
+
retryable (~> 2.0)
|
149
|
+
semverse (~> 2.0)
|
150
|
+
varia_model (~> 0.6)
|
151
|
+
rspec (3.8.0)
|
152
|
+
rspec-core (~> 3.8.0)
|
153
|
+
rspec-expectations (~> 3.8.0)
|
154
|
+
rspec-mocks (~> 3.8.0)
|
155
|
+
rspec-core (3.8.2)
|
156
|
+
rspec-support (~> 3.8.0)
|
157
|
+
rspec-expectations (3.8.4)
|
158
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
159
|
+
rspec-support (~> 3.8.0)
|
160
|
+
rspec-mocks (3.8.1)
|
161
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
162
|
+
rspec-support (~> 3.8.0)
|
163
|
+
rspec-support (3.8.2)
|
164
|
+
ruby_dep (1.3.1)
|
165
|
+
rubyntlm (0.6.2)
|
166
|
+
rubyzip (1.2.3)
|
167
|
+
semverse (2.0.0)
|
168
|
+
timers (4.0.4)
|
169
|
+
hitimes
|
170
|
+
tomlrb (1.2.8)
|
171
|
+
unf (0.1.4)
|
172
|
+
unf_ext
|
173
|
+
unf_ext (0.0.7.6)
|
174
|
+
vagrant_cloud (2.0.2)
|
175
|
+
rest-client (~> 2.0.2)
|
176
|
+
varia_model (0.6.0)
|
177
|
+
buff-extensions (~> 2.0)
|
178
|
+
hashie (>= 2.0.2, < 4.0.0)
|
179
|
+
wdm (0.1.1)
|
180
|
+
winrm (2.3.2)
|
181
|
+
builder (>= 2.1.2)
|
182
|
+
erubis (~> 2.7)
|
183
|
+
gssapi (~> 1.2)
|
184
|
+
gyoku (~> 1.0)
|
185
|
+
httpclient (~> 2.2, >= 2.2.0.2)
|
186
|
+
logging (>= 1.6.1, < 3.0)
|
187
|
+
nori (~> 2.0)
|
188
|
+
rubyntlm (~> 0.6.0, >= 0.6.1)
|
189
|
+
winrm-elevated (1.1.1)
|
190
|
+
winrm (~> 2.0)
|
191
|
+
winrm-fs (~> 1.0)
|
192
|
+
winrm-fs (1.3.2)
|
193
|
+
erubis (~> 2.7)
|
194
|
+
logging (>= 1.6.1, < 3.0)
|
195
|
+
rubyzip (~> 1.1)
|
196
|
+
winrm (~> 2.0)
|
197
|
+
|
198
|
+
PLATFORMS
|
199
|
+
ruby
|
200
|
+
|
201
|
+
DEPENDENCIES
|
202
|
+
bundler (~> 1.16)
|
203
|
+
date
|
204
|
+
did_you_mean
|
205
|
+
fileutils
|
206
|
+
pry-byebug
|
207
|
+
rspec
|
208
|
+
vagrant!
|
209
|
+
vagrant-butcher!
|
210
|
+
|
211
|
+
BUNDLED WITH
|
212
|
+
1.16.4
|
@@ -4,44 +4,44 @@ describe Vagrant::Butcher::Config do
|
|
4
4
|
subject { described_class.new }
|
5
5
|
|
6
6
|
it "permits the user to (en|dis)able the plugin" do
|
7
|
-
subject.
|
7
|
+
expect(subject).to respond_to(:enabled=)
|
8
8
|
end
|
9
9
|
|
10
10
|
it "has the option to set guest chef client pem path" do
|
11
|
-
subject.
|
11
|
+
expect(subject).to respond_to(:guest_key_path=)
|
12
12
|
end
|
13
13
|
|
14
14
|
it "has the option to verify SSL certs" do
|
15
|
-
subject.
|
15
|
+
expect(subject).to respond_to(:verify_ssl=)
|
16
16
|
end
|
17
17
|
|
18
18
|
it "allows the user to configure a proxy" do
|
19
|
-
subject.
|
19
|
+
expect(subject).to respond_to(:proxy=)
|
20
20
|
end
|
21
21
|
|
22
22
|
it "has an option to set a custom client_name" do
|
23
|
-
subject.
|
23
|
+
expect(subject).to respond_to(:client_name=)
|
24
24
|
end
|
25
25
|
|
26
26
|
it "has an option to point to a local client key" do
|
27
|
-
subject.
|
27
|
+
expect(subject).to respond_to(:client_key=)
|
28
28
|
end
|
29
29
|
|
30
30
|
it "does not have the option to set knife.rb path" do
|
31
|
-
subject.
|
31
|
+
expect(subject).to_not respond_to(:knife_config_file=)
|
32
32
|
end
|
33
33
|
|
34
34
|
it "does not have the option to set cache dir path" do
|
35
|
-
subject.
|
35
|
+
expect(subject).to_not respond_to(:cache_dir=)
|
36
36
|
end
|
37
37
|
|
38
38
|
it "sets guest chef client pem default path" do
|
39
39
|
subject.finalize!
|
40
|
-
subject.guest_key_path.
|
40
|
+
expect(subject.guest_key_path).to eql(:DEFAULT)
|
41
41
|
end
|
42
42
|
|
43
43
|
it "sets cache dir path" do
|
44
44
|
subject.finalize!
|
45
|
-
subject.cache_dir.
|
45
|
+
expect(subject.cache_dir).to eql(".vagrant/butcher")
|
46
46
|
end
|
47
47
|
end
|
data/vagrant-butcher.gemspec
CHANGED
@@ -18,11 +18,11 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ["lib"]
|
20
20
|
|
21
|
-
gem.add_dependency "ridley", "
|
21
|
+
gem.add_dependency "ridley", "~> 5.1"
|
22
22
|
|
23
23
|
gem.add_development_dependency "rspec"
|
24
24
|
gem.add_development_dependency "pry-byebug"
|
25
|
-
gem.add_development_dependency "bundler", "
|
25
|
+
gem.add_development_dependency "bundler", "~> 1.16"
|
26
26
|
gem.add_development_dependency "did_you_mean"
|
27
27
|
gem.add_development_dependency "fileutils"
|
28
28
|
gem.add_development_dependency "date"
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-butcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.2.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cassiano Leal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-02 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
|
-
version:
|
19
|
+
version: '5.1'
|
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
|
-
version:
|
26
|
+
version: '5.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1.
|
61
|
+
version: '1.16'
|
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
|
-
version: '1.
|
68
|
+
version: '1.16'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: did_you_mean
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -118,6 +118,7 @@ files:
|
|
118
118
|
- ".gitignore"
|
119
119
|
- ".travis.yml"
|
120
120
|
- Gemfile
|
121
|
+
- Gemfile.lock
|
121
122
|
- LICENSE.txt
|
122
123
|
- README.md
|
123
124
|
- Rakefile
|
@@ -155,12 +156,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
155
156
|
version: '0'
|
156
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
158
|
requirements:
|
158
|
-
- - "
|
159
|
+
- - ">"
|
159
160
|
- !ruby/object:Gem::Version
|
160
|
-
version:
|
161
|
+
version: 1.3.1
|
161
162
|
requirements: []
|
162
163
|
rubyforge_project:
|
163
|
-
rubygems_version: 2.
|
164
|
+
rubygems_version: 2.7.6
|
164
165
|
signing_key:
|
165
166
|
specification_version: 4
|
166
167
|
summary: When a Vagrant VM that was spun up using Chef-Client is destroyed, it leaves
|