chef_utensils 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/.rspec +2 -0
- data/.rubocop.yml +2 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +267 -0
- data/LICENSE.txt +21 -0
- data/README.md +46 -0
- data/Rakefile +8 -0
- data/chef_utensils.gemspec +40 -0
- data/lib/chef_utensils/tasks.rb +26 -0
- data/lib/chef_utensils/version.rb +3 -0
- data/lib/chef_utensils.rb +1 -0
- metadata +198 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 171618377637a340ee638d49183e3ad152ee7a9d
|
4
|
+
data.tar.gz: 674af15d3a547212a80182d97bb66f093dd8efab
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4ff9d73fcb4b32d1828ea0d1c893af9654ea1c9cfeab7178df19f396a97bbc3952d02352cd586d09724e2670e49a83eb51b8ede70bda0028fff65227cb4f5b36
|
7
|
+
data.tar.gz: 027e166a9b0694b6c4339e961845fc18eb778a0915bdb299582015018784872ca655117091d014447f2638a50707fa14f76b76043f88d5aeb737710af8cd0c16
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, and in the interest of
|
4
|
+
fostering an open and welcoming community, we pledge to respect all people who
|
5
|
+
contribute through reporting issues, posting feature requests, updating
|
6
|
+
documentation, submitting pull requests or patches, and other activities.
|
7
|
+
|
8
|
+
We are committed to making participation in this project a harassment-free
|
9
|
+
experience for everyone, regardless of level of experience, gender, gender
|
10
|
+
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
+
body size, race, ethnicity, age, religion, or nationality.
|
12
|
+
|
13
|
+
Examples of unacceptable behavior by participants include:
|
14
|
+
|
15
|
+
* The use of sexualized language or imagery
|
16
|
+
* Personal attacks
|
17
|
+
* Trolling or insulting/derogatory comments
|
18
|
+
* Public or private harassment
|
19
|
+
* Publishing other's private information, such as physical or electronic
|
20
|
+
addresses, without explicit permission
|
21
|
+
* Other unethical or unprofessional conduct
|
22
|
+
|
23
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
24
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
25
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
26
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
27
|
+
threatening, offensive, or harmful.
|
28
|
+
|
29
|
+
By adopting this Code of Conduct, project maintainers commit themselves to
|
30
|
+
fairly and consistently applying these principles to every aspect of managing
|
31
|
+
this project. Project maintainers who do not follow or enforce the Code of
|
32
|
+
Conduct may be permanently removed from the project team.
|
33
|
+
|
34
|
+
This code of conduct applies both within project spaces and in public spaces
|
35
|
+
when an individual is representing the project or its community.
|
36
|
+
|
37
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
38
|
+
reported by contacting a project maintainer at colby.white@wholefoods.com. All
|
39
|
+
complaints will be reviewed and investigated and will result in a response that
|
40
|
+
is deemed necessary and appropriate to the circumstances. Maintainers are
|
41
|
+
obligated to maintain confidentiality with regard to the reporter of an
|
42
|
+
incident.
|
43
|
+
|
44
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
45
|
+
version 1.3.0, available at
|
46
|
+
[http://contributor-covenant.org/version/1/3/0/][version]
|
47
|
+
|
48
|
+
[homepage]: http://contributor-covenant.org
|
49
|
+
[version]: http://contributor-covenant.org/version/1/3/0/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,267 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
chef_utensils (0.1.0)
|
5
|
+
chef (~> 12.12.15)
|
6
|
+
chefspec (~> 4.7.0)
|
7
|
+
foodcritic (~> 6.3)
|
8
|
+
kitchen-dokken (~> 0.0.31)
|
9
|
+
kitchen-inspec (~> 0.15.0)
|
10
|
+
rake (~> 11.2.2)
|
11
|
+
rake-foodcritic (~> 0.0.3)
|
12
|
+
rubocop (~> 0.42.0)
|
13
|
+
test-kitchen (~> 1.10.2)
|
14
|
+
|
15
|
+
GEM
|
16
|
+
remote: https://rubygems.org/
|
17
|
+
specs:
|
18
|
+
artifactory (2.3.3)
|
19
|
+
ast (2.3.0)
|
20
|
+
builder (3.2.2)
|
21
|
+
chef (12.12.15)
|
22
|
+
bundler (>= 1.10)
|
23
|
+
chef-config (= 12.12.15)
|
24
|
+
chef-zero (~> 4.5)
|
25
|
+
diff-lcs (~> 1.2, >= 1.2.4)
|
26
|
+
erubis (~> 2.7)
|
27
|
+
ffi-yajl (~> 2.2)
|
28
|
+
highline (~> 1.6, >= 1.6.9)
|
29
|
+
iniparse (~> 1.4)
|
30
|
+
mixlib-authentication (~> 1.4)
|
31
|
+
mixlib-cli (~> 1.4)
|
32
|
+
mixlib-log (~> 1.3)
|
33
|
+
mixlib-shellout (~> 2.0)
|
34
|
+
net-sftp (~> 2.1, >= 2.1.2)
|
35
|
+
net-ssh (>= 2.9, < 4.0)
|
36
|
+
net-ssh-multi (~> 1.1)
|
37
|
+
ohai (>= 8.6.0.alpha.1, < 9)
|
38
|
+
plist (~> 3.2)
|
39
|
+
proxifier (~> 1.0)
|
40
|
+
rspec-core (~> 3.4)
|
41
|
+
rspec-expectations (~> 3.4)
|
42
|
+
rspec-mocks (~> 3.4)
|
43
|
+
rspec_junit_formatter (~> 0.2.0)
|
44
|
+
serverspec (~> 2.7)
|
45
|
+
specinfra (~> 2.10)
|
46
|
+
syslog-logger (~> 1.6)
|
47
|
+
uuidtools (~> 2.1.5)
|
48
|
+
chef-config (12.12.15)
|
49
|
+
fuzzyurl (~> 0.8.0)
|
50
|
+
mixlib-config (~> 2.0)
|
51
|
+
mixlib-shellout (~> 2.0)
|
52
|
+
chef-zero (4.8.0)
|
53
|
+
ffi-yajl (~> 2.2)
|
54
|
+
hashie (>= 2.0, < 4.0)
|
55
|
+
mixlib-log (~> 1.3)
|
56
|
+
rack (< 2)
|
57
|
+
uuidtools (~> 2.1)
|
58
|
+
chefspec (4.7.0)
|
59
|
+
chef (>= 11.14)
|
60
|
+
fauxhai (~> 3.2)
|
61
|
+
rspec (~> 3.0)
|
62
|
+
coderay (1.1.1)
|
63
|
+
cucumber-core (1.5.0)
|
64
|
+
gherkin (~> 4.0)
|
65
|
+
diff-lcs (1.2.5)
|
66
|
+
docker-api (1.31.0)
|
67
|
+
excon (>= 0.38.0)
|
68
|
+
json
|
69
|
+
erubis (2.7.0)
|
70
|
+
excon (0.51.0)
|
71
|
+
fauxhai (3.8.0)
|
72
|
+
net-ssh
|
73
|
+
ffi (1.9.14)
|
74
|
+
ffi-yajl (2.3.0)
|
75
|
+
libyajl2 (~> 1.2)
|
76
|
+
foodcritic (6.3.0)
|
77
|
+
cucumber-core (>= 1.3)
|
78
|
+
erubis
|
79
|
+
nokogiri (>= 1.5, < 2.0)
|
80
|
+
rake
|
81
|
+
rufus-lru (~> 1.0)
|
82
|
+
treetop (~> 1.4)
|
83
|
+
yajl-ruby (~> 1.1)
|
84
|
+
fuzzyurl (0.8.0)
|
85
|
+
gherkin (4.0.0)
|
86
|
+
gssapi (1.2.0)
|
87
|
+
ffi (>= 1.0.1)
|
88
|
+
gyoku (1.3.1)
|
89
|
+
builder (>= 2.1.2)
|
90
|
+
hashie (3.4.4)
|
91
|
+
highline (1.7.8)
|
92
|
+
httpclient (2.8.1)
|
93
|
+
iniparse (1.4.2)
|
94
|
+
inspec (0.29.0)
|
95
|
+
hashie (~> 3.4)
|
96
|
+
json (~> 1.8)
|
97
|
+
method_source (~> 0.8)
|
98
|
+
pry (~> 0)
|
99
|
+
rainbow (~> 2)
|
100
|
+
rspec (~> 3)
|
101
|
+
rspec-its (~> 1.2)
|
102
|
+
rubyzip (~> 1.1)
|
103
|
+
thor (~> 0.19)
|
104
|
+
train (>= 0.16.0, < 1.0)
|
105
|
+
ipaddress (0.8.3)
|
106
|
+
json (1.8.3)
|
107
|
+
kitchen-dokken (0.0.31)
|
108
|
+
docker-api (~> 1.29)
|
109
|
+
test-kitchen (~> 1.5)
|
110
|
+
kitchen-inspec (0.15.0)
|
111
|
+
inspec (>= 0.22.0, < 1.0.0)
|
112
|
+
test-kitchen (~> 1.6)
|
113
|
+
libyajl2 (1.2.0)
|
114
|
+
little-plugger (1.1.4)
|
115
|
+
logging (2.1.0)
|
116
|
+
little-plugger (~> 1.1)
|
117
|
+
multi_json (~> 1.10)
|
118
|
+
method_source (0.8.2)
|
119
|
+
mini_portile2 (2.1.0)
|
120
|
+
mixlib-authentication (1.4.1)
|
121
|
+
mixlib-log
|
122
|
+
mixlib-cli (1.7.0)
|
123
|
+
mixlib-config (2.2.1)
|
124
|
+
mixlib-install (1.1.0)
|
125
|
+
artifactory
|
126
|
+
mixlib-shellout
|
127
|
+
mixlib-versioning
|
128
|
+
mixlib-log (1.7.0)
|
129
|
+
mixlib-shellout (2.2.6)
|
130
|
+
mixlib-versioning (1.1.0)
|
131
|
+
multi_json (1.12.1)
|
132
|
+
net-scp (1.2.1)
|
133
|
+
net-ssh (>= 2.6.5)
|
134
|
+
net-sftp (2.1.2)
|
135
|
+
net-ssh (>= 2.6.5)
|
136
|
+
net-ssh (3.2.0)
|
137
|
+
net-ssh-gateway (1.2.0)
|
138
|
+
net-ssh (>= 2.6.5)
|
139
|
+
net-ssh-multi (1.2.1)
|
140
|
+
net-ssh (>= 2.6.5)
|
141
|
+
net-ssh-gateway (>= 1.2.0)
|
142
|
+
net-telnet (0.1.1)
|
143
|
+
nokogiri (1.6.8)
|
144
|
+
mini_portile2 (~> 2.1.0)
|
145
|
+
pkg-config (~> 1.1.7)
|
146
|
+
nori (2.6.0)
|
147
|
+
ohai (8.18.0)
|
148
|
+
chef-config (>= 12.5.0.alpha.1, < 13)
|
149
|
+
ffi (~> 1.9)
|
150
|
+
ffi-yajl (~> 2.2)
|
151
|
+
ipaddress
|
152
|
+
mixlib-cli
|
153
|
+
mixlib-config (~> 2.0)
|
154
|
+
mixlib-log
|
155
|
+
mixlib-shellout (~> 2.0)
|
156
|
+
plist (~> 3.1)
|
157
|
+
systemu (~> 2.6.4)
|
158
|
+
wmi-lite (~> 1.0)
|
159
|
+
parser (2.3.1.2)
|
160
|
+
ast (~> 2.2)
|
161
|
+
pkg-config (1.1.7)
|
162
|
+
plist (3.2.0)
|
163
|
+
polyglot (0.3.5)
|
164
|
+
powerpack (0.1.1)
|
165
|
+
proxifier (1.0.3)
|
166
|
+
pry (0.10.4)
|
167
|
+
coderay (~> 1.1.0)
|
168
|
+
method_source (~> 0.8.1)
|
169
|
+
slop (~> 3.4)
|
170
|
+
rack (1.6.4)
|
171
|
+
rainbow (2.1.0)
|
172
|
+
rake (11.2.2)
|
173
|
+
rake-foodcritic (0.0.3)
|
174
|
+
foodcritic (>= 3.0.0)
|
175
|
+
rake
|
176
|
+
rspec (3.5.0)
|
177
|
+
rspec-core (~> 3.5.0)
|
178
|
+
rspec-expectations (~> 3.5.0)
|
179
|
+
rspec-mocks (~> 3.5.0)
|
180
|
+
rspec-core (3.5.2)
|
181
|
+
rspec-support (~> 3.5.0)
|
182
|
+
rspec-expectations (3.5.0)
|
183
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
184
|
+
rspec-support (~> 3.5.0)
|
185
|
+
rspec-its (1.2.0)
|
186
|
+
rspec-core (>= 3.0.0)
|
187
|
+
rspec-expectations (>= 3.0.0)
|
188
|
+
rspec-mocks (3.5.0)
|
189
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
190
|
+
rspec-support (~> 3.5.0)
|
191
|
+
rspec-support (3.5.0)
|
192
|
+
rspec_junit_formatter (0.2.3)
|
193
|
+
builder (< 4)
|
194
|
+
rspec-core (>= 2, < 4, != 2.12.0)
|
195
|
+
rubocop (0.42.0)
|
196
|
+
parser (>= 2.3.1.1, < 3.0)
|
197
|
+
powerpack (~> 0.1)
|
198
|
+
rainbow (>= 1.99.1, < 3.0)
|
199
|
+
ruby-progressbar (~> 1.7)
|
200
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
201
|
+
ruby-progressbar (1.8.1)
|
202
|
+
rubyntlm (0.6.0)
|
203
|
+
rubyzip (1.2.0)
|
204
|
+
rufus-lru (1.1.0)
|
205
|
+
safe_yaml (1.0.4)
|
206
|
+
serverspec (2.36.0)
|
207
|
+
multi_json
|
208
|
+
rspec (~> 3.0)
|
209
|
+
rspec-its
|
210
|
+
specinfra (~> 2.53)
|
211
|
+
sfl (2.2)
|
212
|
+
slop (3.6.0)
|
213
|
+
specinfra (2.60.3)
|
214
|
+
net-scp
|
215
|
+
net-ssh (>= 2.7, < 4.0)
|
216
|
+
net-telnet
|
217
|
+
sfl
|
218
|
+
syslog-logger (1.6.8)
|
219
|
+
systemu (2.6.5)
|
220
|
+
test-kitchen (1.10.2)
|
221
|
+
mixlib-install (~> 1.0, >= 1.0.4)
|
222
|
+
mixlib-shellout (>= 1.2, < 3.0)
|
223
|
+
net-scp (~> 1.1)
|
224
|
+
net-ssh (>= 2.9, < 4.0)
|
225
|
+
safe_yaml (~> 1.0)
|
226
|
+
thor (~> 0.18)
|
227
|
+
thor (0.19.1)
|
228
|
+
train (0.16.0)
|
229
|
+
docker-api (~> 1.26)
|
230
|
+
json (~> 1.8)
|
231
|
+
mixlib-shellout (~> 2.0)
|
232
|
+
net-scp (~> 1.2)
|
233
|
+
net-ssh (>= 2.9, < 4.0)
|
234
|
+
winrm (~> 1.6)
|
235
|
+
winrm-fs (~> 0.3)
|
236
|
+
treetop (1.6.8)
|
237
|
+
polyglot (~> 0.3)
|
238
|
+
unicode-display_width (1.1.0)
|
239
|
+
uuidtools (2.1.5)
|
240
|
+
winrm (1.8.1)
|
241
|
+
builder (>= 2.1.2)
|
242
|
+
gssapi (~> 1.2)
|
243
|
+
gyoku (~> 1.0)
|
244
|
+
httpclient (~> 2.2, >= 2.2.0.2)
|
245
|
+
logging (>= 1.6.1, < 3.0)
|
246
|
+
nori (~> 2.0)
|
247
|
+
rubyntlm (~> 0.6.0)
|
248
|
+
winrm-fs (0.4.3)
|
249
|
+
erubis (~> 2.7)
|
250
|
+
logging (>= 1.6.1, < 3.0)
|
251
|
+
rubyzip (~> 1.1)
|
252
|
+
winrm (~> 1.5)
|
253
|
+
wmi-lite (1.0.0)
|
254
|
+
yajl-ruby (1.2.1)
|
255
|
+
|
256
|
+
PLATFORMS
|
257
|
+
ruby
|
258
|
+
|
259
|
+
DEPENDENCIES
|
260
|
+
bundler (~> 1.12)
|
261
|
+
chef_utensils!
|
262
|
+
|
263
|
+
RUBY VERSION
|
264
|
+
ruby 2.2.4p230
|
265
|
+
|
266
|
+
BUNDLED WITH
|
267
|
+
1.12.5
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Colby M. White
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# ChefUtensils
|
2
|
+
|
3
|
+
This gem contains boilerplate code to put common Rake taks that are
|
4
|
+
associated with Chef cookbook projects. The goal is to make it easy to
|
5
|
+
add these rake tasks to your cookbooks' `Rakefile` without copy-pasting
|
6
|
+
a bunch of boilerplate code around.
|
7
|
+
|
8
|
+
The name is attempting to deliver yet another cooking pun.
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
|
12
|
+
Add this line to your application's `Gemfile`:
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
gem 'chef_utensils'
|
16
|
+
```
|
17
|
+
|
18
|
+
And then execute:
|
19
|
+
|
20
|
+
$ bundle install
|
21
|
+
|
22
|
+
Or install it yourself as:
|
23
|
+
|
24
|
+
$ gem install chef_utensils
|
25
|
+
|
26
|
+
## Usage
|
27
|
+
|
28
|
+
Add the tasks to your `Rakefile` with the following:
|
29
|
+
|
30
|
+
```
|
31
|
+
require 'chef_utensils/tasks'
|
32
|
+
```
|
33
|
+
|
34
|
+
That's it. After that, you can look at all the tasks that were added via rake's `-T` option.
|
35
|
+
|
36
|
+
$ bundle exec rake -T
|
37
|
+
rake chef:foodcritic # Run foodcritic
|
38
|
+
rake foodcritic # Easier to type alias for chef:foodcritic
|
39
|
+
rake kitchen # Easier to type alias for kitchen:all
|
40
|
+
rake kitchen:all # Run all test instances
|
41
|
+
rake kitchen:default-ubuntu-1404 # Run default-ubuntu-1404 test instance
|
42
|
+
rake lint # Run linting tools
|
43
|
+
rake rspec # Run RSpec code examples
|
44
|
+
rake rubocop # Run RuboCop
|
45
|
+
rake rubocop:auto_correct # Auto-correct RuboCop offenses
|
46
|
+
rake spec # Easier to type alias for rspec
|
data/Rakefile
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'chef_utensils/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'chef_utensils'
|
8
|
+
spec.version = ChefUtensils::VERSION
|
9
|
+
spec.authors = ['Colby M. White']
|
10
|
+
spec.email = ['colbywhite@users.noreply.github.com']
|
11
|
+
|
12
|
+
spec.summary = 'A project to hold common Rake tasks for Chef Cookbooks.'
|
13
|
+
spec.description = 'A project to hold common Rake tasks for Chef Cookbooks.'\
|
14
|
+
'The name is attempting to deliver yet another cooking pun.'
|
15
|
+
spec.homepage = 'https://bitbucket.org/wfmdigitalweb/chef_utensils'
|
16
|
+
spec.license = 'MIT'
|
17
|
+
|
18
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
19
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
20
|
+
# if spec.respond_to?(:metadata) then
|
21
|
+
# spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
22
|
+
# else
|
23
|
+
# raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
|
24
|
+
# end
|
25
|
+
|
26
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
27
|
+
spec.require_paths = %w(lib)
|
28
|
+
|
29
|
+
spec.add_development_dependency 'bundler', '~> 1.12'
|
30
|
+
# TODO: find a way to just depend on a specific version of a chef-dk
|
31
|
+
spec.add_dependency 'rake', '~> 11.2.2'
|
32
|
+
spec.add_dependency 'chefspec', '~> 4.7.0'
|
33
|
+
spec.add_dependency 'rubocop', '~> 0.42.0'
|
34
|
+
spec.add_dependency 'foodcritic', '~> 6.3'
|
35
|
+
spec.add_dependency 'chef', '~> 12.12.15'
|
36
|
+
spec.add_dependency 'rake-foodcritic', '~> 0.0.3'
|
37
|
+
spec.add_dependency 'test-kitchen', '~> 1.10.2'
|
38
|
+
spec.add_dependency 'kitchen-dokken', '~> 0.0.31'
|
39
|
+
spec.add_dependency 'kitchen-inspec', '~> 0.15.0'
|
40
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# load rubocop tasks
|
2
|
+
require 'rubocop/rake_task'
|
3
|
+
RuboCop::RakeTask.new
|
4
|
+
|
5
|
+
# load rspec tasks
|
6
|
+
require 'rspec/core/rake_task'
|
7
|
+
RSpec::Core::RakeTask.new :rspec
|
8
|
+
|
9
|
+
desc 'Shorter alias for rspec'
|
10
|
+
task spec: :rspec
|
11
|
+
|
12
|
+
# load foodcritic tasks
|
13
|
+
require 'rake-foodcritic'
|
14
|
+
|
15
|
+
desc 'Shorter alias for chef:foodcritic'
|
16
|
+
task foodcritic: 'chef:foodcritic'
|
17
|
+
|
18
|
+
# load kitchen tasks
|
19
|
+
require 'kitchen/rake_tasks'
|
20
|
+
Kitchen::RakeTasks.new
|
21
|
+
|
22
|
+
desc 'Shorter alias for kitchen:all'
|
23
|
+
task kitchen: 'kitchen:all'
|
24
|
+
|
25
|
+
desc 'Run all linting tools'
|
26
|
+
task lint: [:rubocop, :foodcritic]
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'chef_utensils/version'
|
metadata
ADDED
@@ -0,0 +1,198 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: chef_utensils
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Colby M. White
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-08-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.12'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.12'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 11.2.2
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 11.2.2
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: chefspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 4.7.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 4.7.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rubocop
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.42.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.42.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: foodcritic
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '6.3'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '6.3'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: chef
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 12.12.15
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 12.12.15
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake-foodcritic
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.0.3
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.0.3
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: test-kitchen
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.10.2
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.10.2
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: kitchen-dokken
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.0.31
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.0.31
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: kitchen-inspec
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 0.15.0
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 0.15.0
|
153
|
+
description: A project to hold common Rake tasks for Chef Cookbooks.The name is attempting
|
154
|
+
to deliver yet another cooking pun.
|
155
|
+
email:
|
156
|
+
- colbywhite@users.noreply.github.com
|
157
|
+
executables: []
|
158
|
+
extensions: []
|
159
|
+
extra_rdoc_files: []
|
160
|
+
files:
|
161
|
+
- ".gitignore"
|
162
|
+
- ".rspec"
|
163
|
+
- ".rubocop.yml"
|
164
|
+
- CODE_OF_CONDUCT.md
|
165
|
+
- Gemfile
|
166
|
+
- Gemfile.lock
|
167
|
+
- LICENSE.txt
|
168
|
+
- README.md
|
169
|
+
- Rakefile
|
170
|
+
- chef_utensils.gemspec
|
171
|
+
- lib/chef_utensils.rb
|
172
|
+
- lib/chef_utensils/tasks.rb
|
173
|
+
- lib/chef_utensils/version.rb
|
174
|
+
homepage: https://bitbucket.org/wfmdigitalweb/chef_utensils
|
175
|
+
licenses:
|
176
|
+
- MIT
|
177
|
+
metadata: {}
|
178
|
+
post_install_message:
|
179
|
+
rdoc_options: []
|
180
|
+
require_paths:
|
181
|
+
- lib
|
182
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - ">="
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '0'
|
187
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
188
|
+
requirements:
|
189
|
+
- - ">="
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
version: '0'
|
192
|
+
requirements: []
|
193
|
+
rubyforge_project:
|
194
|
+
rubygems_version: 2.4.8
|
195
|
+
signing_key:
|
196
|
+
specification_version: 4
|
197
|
+
summary: A project to hold common Rake tasks for Chef Cookbooks.
|
198
|
+
test_files: []
|