pdk 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +50 -0
  3. data/README.md +3 -9
  4. data/exe/pdk +1 -1
  5. data/lib/pdk.rb +5 -4
  6. data/lib/pdk/cli.rb +62 -59
  7. data/lib/pdk/cli/errors.rb +1 -1
  8. data/lib/pdk/cli/exec.rb +154 -29
  9. data/lib/pdk/cli/input.rb +2 -2
  10. data/lib/pdk/cli/new.rb +12 -27
  11. data/lib/pdk/cli/new/class.rb +28 -41
  12. data/lib/pdk/cli/new/module.rb +30 -41
  13. data/lib/pdk/cli/test.rb +9 -20
  14. data/lib/pdk/cli/test/unit.rb +38 -0
  15. data/lib/pdk/cli/util/option_normalizer.rb +45 -19
  16. data/lib/pdk/cli/util/option_validator.rb +24 -20
  17. data/lib/pdk/cli/validate.rb +65 -65
  18. data/lib/pdk/generate.rb +5 -0
  19. data/lib/pdk/generators/module.rb +37 -33
  20. data/lib/pdk/generators/puppet_class.rb +1 -1
  21. data/lib/pdk/generators/puppet_object.rb +19 -20
  22. data/lib/pdk/logger.rb +1 -1
  23. data/lib/pdk/module/metadata.rb +35 -18
  24. data/lib/pdk/module/templatedir.rb +40 -33
  25. data/lib/pdk/report.rb +76 -19
  26. data/lib/pdk/report/event.rb +276 -0
  27. data/lib/pdk/template_file.rb +8 -6
  28. data/lib/pdk/tests/unit.rb +8 -3
  29. data/lib/pdk/util.rb +65 -0
  30. data/lib/pdk/util/bundler.rb +167 -0
  31. data/lib/pdk/util/version.rb +34 -0
  32. data/lib/pdk/validate.rb +3 -4
  33. data/lib/pdk/validators/base_validator.rb +60 -4
  34. data/lib/pdk/validators/metadata.rb +29 -0
  35. data/lib/pdk/validators/puppet/puppet_lint.rb +47 -0
  36. data/lib/pdk/validators/puppet/puppet_parser.rb +34 -0
  37. data/lib/pdk/validators/puppet_validator.rb +30 -0
  38. data/lib/pdk/validators/ruby/rubocop.rb +59 -0
  39. data/lib/pdk/validators/ruby_validator.rb +29 -0
  40. data/lib/pdk/version.rb +1 -1
  41. data/lib/puppet/util/windows.rb +14 -0
  42. data/lib/puppet/util/windows/api_types.rb +278 -0
  43. data/lib/puppet/util/windows/file.rb +488 -0
  44. data/lib/puppet/util/windows/string.rb +16 -0
  45. data/locales/de/pdk.po +263 -78
  46. data/locales/pdk.pot +224 -65
  47. metadata +60 -8
  48. data/lib/pdk/cli/tests/unit.rb +0 -52
  49. data/lib/pdk/validators/puppet_lint.rb +0 -17
  50. data/lib/pdk/validators/puppet_parser.rb +0 -17
  51. data/lib/pdk/validators/ruby_lint.rb +0 -17
data/locales/pdk.pot CHANGED
@@ -6,10 +6,11 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: puppet development kit \n"
9
+ "Project-Id-Version: puppet development kit v0.1.0-79-gdfb32a1\n"
10
+ "\n"
10
11
  "Report-Msgid-Bugs-To: docs@puppet.com\n"
11
- "POT-Creation-Date: 2017-05-02 14:07+1000\n"
12
- "PO-Revision-Date: 2017-05-02 14:07+1000\n"
12
+ "POT-Creation-Date: 2017-06-16 16:10+0100\n"
13
+ "PO-Revision-Date: 2017-06-16 16:10+0100\n"
13
14
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
15
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
16
  "Language: \n"
@@ -18,198 +19,356 @@ msgstr ""
18
19
  "Content-Transfer-Encoding: 8bit\n"
19
20
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
20
21
 
21
- #: ../lib/pdk/cli.rb:17
22
+ #: ../lib/pdk/cli.rb:33
23
+ msgid "Specifies the URL to the template to use when creating new modules, and other parts."
24
+ msgstr ""
25
+
26
+ #: ../lib/pdk/cli.rb:38
22
27
  msgid "pdk command [options]"
23
28
  msgstr ""
24
29
 
25
- #: ../lib/pdk/cli.rb:18
30
+ #: ../lib/pdk/cli.rb:39
26
31
  msgid "Puppet Development Kit"
27
32
  msgstr ""
28
33
 
29
- #: ../lib/pdk/cli.rb:19
34
+ #: ../lib/pdk/cli.rb:40
30
35
  msgid "The shortest path to better modules."
31
36
  msgstr ""
32
37
 
33
- #: ../lib/pdk/cli.rb:21
38
+ #: ../lib/pdk/cli.rb:43
34
39
  msgid "show help for this command"
35
40
  msgstr ""
36
41
 
37
- #: ../lib/pdk/cli.rb:26
42
+ #: ../lib/pdk/cli.rb:48
38
43
  msgid "Specify desired output format. Valid formats are '%{available_formats}'. You may also specify a file to which the formatted output will be directed, for example: '--format=junit:report.xml'. This option may be specified multiple times as long as each option specifies a distinct target file."
39
44
  msgstr ""
40
45
 
41
- #: ../lib/pdk/cli.rb:45
46
+ #: ../lib/pdk/cli.rb:67
42
47
  msgid "Enable debug output."
43
48
  msgstr ""
44
49
 
45
- #: ../lib/pdk/cli/new.rb:11
50
+ #: ../lib/pdk/cli/errors.rb:6
51
+ msgid "An unexpected error has occurred, try running the command again with --debug"
52
+ msgstr ""
53
+
54
+ #: ../lib/pdk/cli/exec.rb:37
55
+ msgid "Using '%{vendored_bin_path}'"
56
+ msgstr ""
57
+
58
+ #: ../lib/pdk/cli/exec.rb:40
59
+ msgid "Trying '%{fallback}' from the system PATH, instead of '%{vendored_bin_path}'"
60
+ msgstr ""
61
+
62
+ #: ../lib/pdk/cli/exec.rb:70
63
+ msgid "Expected execution context to be :system or :module but got '%{context}'"
64
+ msgstr ""
65
+
66
+ #: ../lib/pdk/cli/exec.rb:129
67
+ msgid "Failed to execute '%{command}': %{message}"
68
+ msgstr ""
69
+
70
+ #: ../lib/pdk/cli/new.rb:5
46
71
  msgid "new <type> [options]"
47
72
  msgstr ""
48
73
 
49
- #: ../lib/pdk/cli/new.rb:12
74
+ #: ../lib/pdk/cli/new.rb:6
50
75
  msgid "create a new module, etc."
51
76
  msgstr ""
52
77
 
53
- #: ../lib/pdk/cli/new.rb:13
78
+ #: ../lib/pdk/cli/new.rb:7
54
79
  msgid "Creates a new instance of <type> using the options relevant to that type of thing"
55
80
  msgstr ""
56
81
 
57
- #: ../lib/pdk/cli/new/module.rb:15
58
- msgid "module [options] <module_name> [target_dir]"
82
+ #: ../lib/pdk/cli/new/class.rb:5
83
+ msgid "class [options] <class_name> [parameter[:type]] [parameter[:type]] ..."
59
84
  msgstr ""
60
85
 
61
- #: ../lib/pdk/cli/new/module.rb:16
62
- msgid "Create a new module named <module_name> using given options"
86
+ #: ../lib/pdk/cli/new/class.rb:6
87
+ msgid "Create a new class named <class_name> using given options"
88
+ msgstr ""
89
+
90
+ #: ../lib/pdk/cli/new/class.rb:22
91
+ msgid "'%{name}' is not a valid class name"
92
+ msgstr ""
93
+
94
+ #: ../lib/pdk/cli/new/module.rb:5
95
+ msgid "module [options] <module_name> [target_dir]"
63
96
  msgstr ""
64
97
 
65
- #: ../lib/pdk/cli/new/module.rb:18
66
- msgid "Overrides the template to use for this module."
98
+ #: ../lib/pdk/cli/new/module.rb:6
99
+ msgid "Create a new module named <module_name> using given options"
67
100
  msgstr ""
68
101
 
69
- #: ../lib/pdk/cli/new/module.rb:20
102
+ #: ../lib/pdk/cli/new/module.rb:10
70
103
  msgid "Specifies the license this module is written under. This should be a identifier from https://spdx.org/licenses/. Common values are 'Apache-2.0', 'MIT', or 'proprietary'."
71
104
  msgstr ""
72
105
 
73
- #: ../lib/pdk/cli/new/module.rb:22
106
+ #: ../lib/pdk/cli/new/module.rb:13
74
107
  msgid "Specifies the version control driver. Valid values: 'git', 'none'. Default: 'git'."
75
108
  msgstr ""
76
109
 
77
- #: ../lib/pdk/cli/new/module.rb:24
110
+ #: ../lib/pdk/cli/new/module.rb:15
78
111
  msgid "When specified, skips interactive querying of metadata."
79
112
  msgstr ""
80
113
 
81
- #: ../lib/pdk/cli/new/module.rb:27
114
+ #: ../lib/pdk/cli/new/module.rb:29
115
+ msgid ""
116
+ "'%{module_name}' is not a valid module name.\n"
117
+ "Module names must begin with a lowercase letter and can only include lowercase letters, digits, and underscores."
118
+ msgstr ""
119
+
120
+ #: ../lib/pdk/cli/new/module.rb:40
82
121
  msgid "Creating new module: %{modname}"
83
122
  msgstr ""
84
123
 
85
- #: ../lib/pdk/cli/test.rb:14
124
+ #: ../lib/pdk/cli/test.rb:5
86
125
  msgid "test [type] [options]"
87
126
  msgstr ""
88
127
 
89
- #: ../lib/pdk/cli/test.rb:15
128
+ #: ../lib/pdk/cli/test.rb:6
90
129
  msgid "Run tests."
91
130
  msgstr ""
92
131
 
93
- #: ../lib/pdk/cli/tests/unit.rb:16
132
+ #: ../lib/pdk/cli/test/unit.rb:5
94
133
  msgid "unit [options]"
95
134
  msgstr ""
96
135
 
97
- #: ../lib/pdk/cli/tests/unit.rb:17
136
+ #: ../lib/pdk/cli/test/unit.rb:6
98
137
  msgid "Run unit tests."
99
138
  msgstr ""
100
139
 
101
- #: ../lib/pdk/cli/tests/unit.rb:19
140
+ #: ../lib/pdk/cli/test/unit.rb:8
102
141
  msgid "list all available unit tests and their descriptions"
103
142
  msgstr ""
104
143
 
105
- #: ../lib/pdk/cli/tests/unit.rb:21
144
+ #: ../lib/pdk/cli/test/unit.rb:10
106
145
  msgid "a comma-separated list of tests to run"
107
146
  msgstr ""
108
147
 
109
- #: ../lib/pdk/cli/tests/unit.rb:25
148
+ #: ../lib/pdk/cli/test/unit.rb:14
110
149
  msgid "options to pass through to the actual test-runner"
111
150
  msgstr ""
112
151
 
113
- #: ../lib/pdk/cli/tests/unit.rb:31
152
+ #: ../lib/pdk/cli/test/unit.rb:22
114
153
  msgid "List of all available unit tests: (TODO)"
115
154
  msgstr ""
116
155
 
117
- #: ../lib/pdk/cli/tests/unit.rb:44
118
- msgid "Running unit tests: %{tests}"
119
- msgstr ""
120
-
121
156
  #: ../lib/pdk/cli/util/option_normalizer.rb:6
122
157
  msgid "Error: expected comma separated list"
123
158
  msgstr ""
124
159
 
160
+ #: ../lib/pdk/cli/util/option_normalizer.rb:33
161
+ msgid "'%{name}' is not a valid parameter name"
162
+ msgstr ""
163
+
164
+ #: ../lib/pdk/cli/util/option_normalizer.rb:37
165
+ msgid "'%{type}' is not a valid data type"
166
+ msgstr ""
167
+
125
168
  #: ../lib/pdk/cli/util/option_validator.rb:14
126
169
  msgid "Error: the following values are invalid: %{invalid_entries}"
127
170
  msgstr ""
128
171
 
129
- #: ../lib/pdk/cli/validate.rb:15
172
+ #: ../lib/pdk/cli/util/option_validator.rb:69
173
+ msgid "Non-standard data type '%{type}', make sure the type is available in your code, or dependencies"
174
+ msgstr ""
175
+
176
+ #: ../lib/pdk/cli/validate.rb:4
130
177
  msgid "validate [options]"
131
178
  msgstr ""
132
179
 
133
- #: ../lib/pdk/cli/validate.rb:16
180
+ #: ../lib/pdk/cli/validate.rb:5
134
181
  msgid "Run static analysis tests."
135
182
  msgstr ""
136
183
 
137
- #: ../lib/pdk/cli/validate.rb:17
138
- msgid "Run metadata-json-lint, puppet parser validate, puppet-lint, or rubocop."
184
+ #: ../lib/pdk/cli/validate.rb:6
185
+ msgid "Run metadata, puppet, or ruby validation."
139
186
  msgstr ""
140
187
 
141
- #: ../lib/pdk/cli/validate.rb:19
188
+ #: ../lib/pdk/cli/validate.rb:8
142
189
  msgid "list all available validators"
143
190
  msgstr ""
144
191
 
145
- #: ../lib/pdk/cli/validate.rb:28
192
+ #: ../lib/pdk/cli/validate.rb:19
146
193
  msgid "Available validators: %{validator_names}"
147
194
  msgstr ""
148
195
 
149
- #: ../lib/pdk/cli/validate.rb:42
196
+ #: ../lib/pdk/cli/validate.rb:33
150
197
  msgid "Unknown validator '%{v}'. Available validators: %{validators}"
151
198
  msgstr ""
152
199
 
153
- #: ../lib/pdk/cli/validate.rb:52 ../lib/pdk/cli/validate.rb:56
200
+ #: ../lib/pdk/cli/validate.rb:43 ../lib/pdk/cli/validate.rb:47
154
201
  msgid "Running all available validators..."
155
202
  msgstr ""
156
203
 
157
- #: ../lib/pdk/generators/module.rb:36
204
+ #: ../lib/pdk/generators/module.rb:31
205
+ msgid "The destination directory '%{dir}' already exists"
206
+ msgstr ""
207
+
208
+ #: ../lib/pdk/generators/module.rb:71
209
+ msgid "Unable to create directory '%{dir}'"
210
+ msgstr ""
211
+
212
+ #: ../lib/pdk/generators/module.rb:77
158
213
  msgid "We need to create a metadata.json file for this module. Please answer the following questions; if the question is not applicable to this module, feel free to leave it blank."
159
214
  msgstr ""
160
215
 
161
- #: ../lib/pdk/generators/module.rb:44
162
- msgid "What is the name of your module?"
216
+ #: ../lib/pdk/generators/module.rb:85
217
+ msgid "What is your Puppet Forge username?"
163
218
  msgstr ""
164
219
 
165
- #: ../lib/pdk/generators/module.rb:48
166
- msgid "We're sorry, we could not parse that as a module name: %{message}"
220
+ #: ../lib/pdk/generators/module.rb:88
221
+ msgid "We're sorry, we could not parse your module name: %{message}"
167
222
  msgstr ""
168
223
 
169
- #: ../lib/pdk/generators/module.rb:53
224
+ #: ../lib/pdk/generators/module.rb:93
170
225
  msgid "Puppet uses Semantic Versioning (semver.org) to version modules."
171
226
  msgstr ""
172
227
 
173
- #: ../lib/pdk/generators/module.rb:54
174
- msgid "What version is this module? [%{default_version}]"
228
+ #: ../lib/pdk/generators/module.rb:94
229
+ msgid "What version is this module?"
175
230
  msgstr ""
176
231
 
177
- #: ../lib/pdk/generators/module.rb:57
232
+ #: ../lib/pdk/generators/module.rb:97
178
233
  msgid "We're sorry, we could not parse that as a Semantic Version: %{message}"
179
234
  msgstr ""
180
235
 
181
- #: ../lib/pdk/generators/module.rb:61
182
- msgid "Who wrote this module? [%{default_author}]"
236
+ #: ../lib/pdk/generators/module.rb:102
237
+ msgid "Who wrote this module?"
183
238
  msgstr ""
184
239
 
185
- #: ../lib/pdk/generators/module.rb:65
186
- msgid "What license does this module code fall under? [%{default_license}]"
240
+ #: ../lib/pdk/generators/module.rb:107
241
+ msgid "What license does this module code fall under?"
187
242
  msgstr ""
188
243
 
189
- #: ../lib/pdk/generators/module.rb:69
244
+ #: ../lib/pdk/generators/module.rb:112
190
245
  msgid "How would you describe this module in a single sentence?"
191
246
  msgstr ""
192
247
 
193
- #: ../lib/pdk/generators/module.rb:72
248
+ #: ../lib/pdk/generators/module.rb:116
194
249
  msgid "Where is this module's source code repository?"
195
250
  msgstr ""
196
251
 
197
- #: ../lib/pdk/generators/module.rb:75
198
- msgid "Where can others go to learn more about this module? [%{default_project_page}]"
252
+ #: ../lib/pdk/generators/module.rb:120
253
+ msgid "Where can others go to learn more about this module?"
199
254
  msgstr ""
200
255
 
201
- #: ../lib/pdk/generators/module.rb:78
202
- msgid "Where can others go to file issues about this module? [%{default_issues_url}]"
256
+ #: ../lib/pdk/generators/module.rb:124
257
+ msgid "Where can others go to file issues about this module?"
203
258
  msgstr ""
204
259
 
205
- #: ../lib/pdk/generators/module.rb:86
206
- msgid "About to generate this metadata; continue? [n/Y]"
260
+ #: ../lib/pdk/generators/module.rb:133
261
+ msgid "About to generate this module; continue?"
207
262
  msgstr ""
208
263
 
209
- #: ../lib/pdk/generators/module.rb:89
264
+ #: ../lib/pdk/generators/module.rb:134
210
265
  msgid "Aborting..."
211
266
  msgstr ""
212
267
 
213
- #: ../lib/pdk/validators/base_validator.rb:8
268
+ #: ../lib/pdk/generators/puppet_object.rb:87
269
+ msgid "Unable to generate class, '%{file}' already exists."
270
+ msgstr ""
271
+
272
+ #: ../lib/pdk/generators/puppet_object.rb:112
273
+ msgid "Creating '%{file}' from template."
274
+ msgstr ""
275
+
276
+ #: ../lib/pdk/generators/puppet_object.rb:135
277
+ msgid "No %{dir_type} template specified; trying next template directory."
278
+ msgstr ""
279
+
280
+ #: ../lib/pdk/generators/puppet_object.rb:148
281
+ msgid "Unable to find a %{type} template in %{url}, trying next template directory"
282
+ msgstr ""
283
+
284
+ #: ../lib/pdk/generators/puppet_object.rb:150
285
+ msgid "Unable to find the %{type} template in %{url}."
286
+ msgstr ""
287
+
288
+ #: ../lib/pdk/generators/puppet_object.rb:207
289
+ msgid "'%{dir}' does not contain valid Puppet module metadata: %{msg}"
290
+ msgstr ""
291
+
292
+ #: ../lib/pdk/module/metadata.rb:46
293
+ msgid "'%{file}' does not exist or is not a file"
294
+ msgstr ""
295
+
296
+ #: ../lib/pdk/module/metadata.rb:50
297
+ msgid "Unable to open '%{file}' for reading"
298
+ msgstr ""
299
+
300
+ #: ../lib/pdk/module/metadata.rb:56
301
+ msgid "Invalid JSON in metadata.json: %{msg}"
302
+ msgstr ""
303
+
304
+ #: ../lib/pdk/module/templatedir.rb:53
305
+ msgid "Unable to clone git repository '%{repo}' to '%{dest}'"
306
+ msgstr ""
307
+
308
+ #: ../lib/pdk/module/templatedir.rb:106
309
+ msgid "Rendering '%{template}'..."
310
+ msgstr ""
311
+
312
+ #: ../lib/pdk/module/templatedir.rb:112
313
+ msgid ""
314
+ "Failed to render template '%{template}'\n"
315
+ "%{exception}: %{message}"
316
+ msgstr ""
317
+
318
+ #: ../lib/pdk/module/templatedir.rb:176
319
+ msgid "The specified template '%{path}' is not a directory"
320
+ msgstr ""
321
+
322
+ #: ../lib/pdk/module/templatedir.rb:180
323
+ msgid "The template at '%{path}' does not contain a moduleroot directory"
324
+ msgstr ""
325
+
326
+ #: ../lib/pdk/module/templatedir.rb:224
327
+ msgid "'%{file}' is not a valid YAML file: %{message}"
328
+ msgstr ""
329
+
330
+ #: ../lib/pdk/template_file.rb:62
331
+ msgid "'%{template}' is not a readable file"
332
+ msgstr ""
333
+
334
+ #: ../lib/pdk/tests/unit.rb:19
335
+ msgid "Running unit tests: %{tests}"
336
+ msgstr ""
337
+
338
+ #: ../lib/pdk/util/bundler.rb:15
339
+ msgid "No Gemfile found in '%{cwd}', skipping bundler management"
340
+ msgstr ""
341
+
342
+ #: ../lib/pdk/util/bundler.rb:21
343
+ msgid "Unable to resolve Gemfile dependencies."
344
+ msgstr ""
345
+
346
+ #: ../lib/pdk/util/bundler.rb:27
347
+ msgid "Unable to install missing Gemfile dependencies."
348
+ msgstr ""
349
+
350
+ #: ../lib/pdk/util/bundler.rb:42
351
+ msgid "Checking for missing Gemfile dependencies"
352
+ msgstr ""
353
+
354
+ #: ../lib/pdk/util/bundler.rb:52
355
+ msgid "Resolving Gemfile dependencies"
356
+ msgstr ""
357
+
358
+ #: ../lib/pdk/util/bundler.rb:68
359
+ msgid "Installing missing Gemfile dependencies"
360
+ msgstr ""
361
+
362
+ #: ../lib/pdk/util/bundler.rb:115
363
+ msgid ""
364
+ "done.\n"
365
+ msgstr ""
366
+
367
+ #: ../lib/pdk/util/bundler.rb:115
368
+ msgid ""
369
+ "FAILURE!\n"
370
+ msgstr ""
371
+
372
+ #: ../lib/pdk/validators/base_validator.rb:25
214
373
  msgid "Running %{cmd} with options: %{options}"
215
374
  msgstr ""
metadata CHANGED
@@ -1,29 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Schmitt
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-06-05 00:00:00.000000000 Z
11
+ date: 2017-06-21 00:00:00.000000000 Z
12
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.15'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.15'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: cri
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
31
  - - "~>"
18
32
  - !ruby/object:Gem::Version
19
- version: 2.7.1
33
+ version: 2.9.1
20
34
  type: :runtime
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
24
38
  - - "~>"
25
39
  - !ruby/object:Gem::Version
26
- version: 2.7.1
40
+ version: 2.9.1
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: childprocess
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +66,34 @@ dependencies:
52
66
  - - "~>"
53
67
  - !ruby/object:Gem::Version
54
68
  version: '0.24'
69
+ - !ruby/object:Gem::Dependency
70
+ name: tty-spinner
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.4'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.4'
83
+ - !ruby/object:Gem::Dependency
84
+ name: deep_merge
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.1'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.1'
55
97
  description: A CLI to facilitate easy, unified development workflows for Puppet modules.
56
98
  email:
57
99
  - david.schmitt@puppet.com
@@ -60,6 +102,7 @@ executables:
60
102
  extensions: []
61
103
  extra_rdoc_files: []
62
104
  files:
105
+ - CHANGELOG.md
63
106
  - LICENSE
64
107
  - README.md
65
108
  - exe/pdk
@@ -72,7 +115,7 @@ files:
72
115
  - lib/pdk/cli/new/class.rb
73
116
  - lib/pdk/cli/new/module.rb
74
117
  - lib/pdk/cli/test.rb
75
- - lib/pdk/cli/tests/unit.rb
118
+ - lib/pdk/cli/test/unit.rb
76
119
  - lib/pdk/cli/util/option_normalizer.rb
77
120
  - lib/pdk/cli/util/option_validator.rb
78
121
  - lib/pdk/cli/validate.rb
@@ -85,16 +128,25 @@ files:
85
128
  - lib/pdk/module/metadata.rb
86
129
  - lib/pdk/module/templatedir.rb
87
130
  - lib/pdk/report.rb
131
+ - lib/pdk/report/event.rb
88
132
  - lib/pdk/template_file.rb
89
133
  - lib/pdk/tests/unit.rb
90
134
  - lib/pdk/util.rb
135
+ - lib/pdk/util/bundler.rb
136
+ - lib/pdk/util/version.rb
91
137
  - lib/pdk/validate.rb
92
138
  - lib/pdk/validators/base_validator.rb
93
139
  - lib/pdk/validators/metadata.rb
94
- - lib/pdk/validators/puppet_lint.rb
95
- - lib/pdk/validators/puppet_parser.rb
96
- - lib/pdk/validators/ruby_lint.rb
140
+ - lib/pdk/validators/puppet/puppet_lint.rb
141
+ - lib/pdk/validators/puppet/puppet_parser.rb
142
+ - lib/pdk/validators/puppet_validator.rb
143
+ - lib/pdk/validators/ruby/rubocop.rb
144
+ - lib/pdk/validators/ruby_validator.rb
97
145
  - lib/pdk/version.rb
146
+ - lib/puppet/util/windows.rb
147
+ - lib/puppet/util/windows/api_types.rb
148
+ - lib/puppet/util/windows/file.rb
149
+ - lib/puppet/util/windows/string.rb
98
150
  - locales/config.yaml
99
151
  - locales/de/pdk.po
100
152
  - locales/pdk.pot