pdk 1.12.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +33 -0
- data/README.md +2 -4
- data/lib/pdk/cli.rb +1 -0
- data/lib/pdk/cli/config.rb +20 -0
- data/lib/pdk/cli/config/get.rb +24 -0
- data/lib/pdk/cli/exec.rb +1 -1
- data/lib/pdk/cli/exec/command.rb +1 -1
- data/lib/pdk/cli/exec_group.rb +1 -1
- data/lib/pdk/cli/new.rb +1 -0
- data/lib/pdk/cli/new/unit_test.rb +49 -0
- data/lib/pdk/cli/util/interview.rb +3 -1
- data/lib/pdk/cli/util/spinner.rb +13 -0
- data/lib/pdk/config.rb +9 -1
- data/lib/pdk/config/namespace.rb +67 -16
- data/lib/pdk/generate.rb +9 -1
- data/lib/pdk/generate/defined_type.rb +1 -0
- data/lib/pdk/generate/module.rb +2 -1
- data/lib/pdk/generate/puppet_class.rb +1 -0
- data/lib/pdk/generate/puppet_object.rb +38 -3
- data/lib/pdk/module/convert.rb +18 -9
- data/lib/pdk/module/metadata.rb +3 -3
- data/lib/pdk/module/templatedir.rb +6 -1
- data/lib/pdk/tests/unit.rb +2 -2
- data/lib/pdk/util.rb +1 -0
- data/lib/pdk/util/filesystem.rb +15 -0
- data/lib/pdk/util/puppet_strings.rb +101 -0
- data/lib/pdk/util/ruby_version.rb +1 -0
- data/lib/pdk/validate/base_validator.rb +3 -8
- data/lib/pdk/version.rb +1 -1
- data/locales/pdk.pot +146 -86
- metadata +24 -39
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -48,22 +48,16 @@ dependencies:
|
|
48
48
|
name: cri
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - "
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 2.10.1
|
54
|
-
- - "<="
|
51
|
+
- - "~>"
|
55
52
|
- !ruby/object:Gem::Version
|
56
|
-
version: 2.
|
53
|
+
version: '2.10'
|
57
54
|
type: :runtime
|
58
55
|
prerelease: false
|
59
56
|
version_requirements: !ruby/object:Gem::Requirement
|
60
57
|
requirements:
|
61
|
-
- - "
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
version: 2.10.1
|
64
|
-
- - "<="
|
58
|
+
- - "~>"
|
65
59
|
- !ruby/object:Gem::Version
|
66
|
-
version: 2.
|
60
|
+
version: '2.10'
|
67
61
|
- !ruby/object:Gem::Dependency
|
68
62
|
name: diff-lcs
|
69
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -162,20 +156,6 @@ dependencies:
|
|
162
156
|
- - "~>"
|
163
157
|
- !ruby/object:Gem::Version
|
164
158
|
version: 0.6.1
|
165
|
-
- !ruby/object:Gem::Dependency
|
166
|
-
name: net-ssh
|
167
|
-
requirement: !ruby/object:Gem::Requirement
|
168
|
-
requirements:
|
169
|
-
- - "~>"
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
version: 4.2.0
|
172
|
-
type: :runtime
|
173
|
-
prerelease: false
|
174
|
-
version_requirements: !ruby/object:Gem::Requirement
|
175
|
-
requirements:
|
176
|
-
- - "~>"
|
177
|
-
- !ruby/object:Gem::Version
|
178
|
-
version: 4.2.0
|
179
159
|
- !ruby/object:Gem::Dependency
|
180
160
|
name: pathspec
|
181
161
|
requirement: !ruby/object:Gem::Requirement
|
@@ -194,44 +174,44 @@ dependencies:
|
|
194
174
|
name: tty-prompt
|
195
175
|
requirement: !ruby/object:Gem::Requirement
|
196
176
|
requirements:
|
197
|
-
- -
|
177
|
+
- - "~>"
|
198
178
|
- !ruby/object:Gem::Version
|
199
|
-
version: 0.13
|
179
|
+
version: '0.13'
|
200
180
|
type: :runtime
|
201
181
|
prerelease: false
|
202
182
|
version_requirements: !ruby/object:Gem::Requirement
|
203
183
|
requirements:
|
204
|
-
- -
|
184
|
+
- - "~>"
|
205
185
|
- !ruby/object:Gem::Version
|
206
|
-
version: 0.13
|
186
|
+
version: '0.13'
|
207
187
|
- !ruby/object:Gem::Dependency
|
208
188
|
name: tty-spinner
|
209
189
|
requirement: !ruby/object:Gem::Requirement
|
210
190
|
requirements:
|
211
|
-
- -
|
191
|
+
- - "~>"
|
212
192
|
- !ruby/object:Gem::Version
|
213
|
-
version: 0.5
|
193
|
+
version: '0.5'
|
214
194
|
type: :runtime
|
215
195
|
prerelease: false
|
216
196
|
version_requirements: !ruby/object:Gem::Requirement
|
217
197
|
requirements:
|
218
|
-
- -
|
198
|
+
- - "~>"
|
219
199
|
- !ruby/object:Gem::Version
|
220
|
-
version: 0.5
|
200
|
+
version: '0.5'
|
221
201
|
- !ruby/object:Gem::Dependency
|
222
202
|
name: tty-which
|
223
203
|
requirement: !ruby/object:Gem::Requirement
|
224
204
|
requirements:
|
225
|
-
- -
|
205
|
+
- - "~>"
|
226
206
|
- !ruby/object:Gem::Version
|
227
|
-
version: 0.3
|
207
|
+
version: '0.3'
|
228
208
|
type: :runtime
|
229
209
|
prerelease: false
|
230
210
|
version_requirements: !ruby/object:Gem::Requirement
|
231
211
|
requirements:
|
232
|
-
- -
|
212
|
+
- - "~>"
|
233
213
|
- !ruby/object:Gem::Version
|
234
|
-
version: 0.3
|
214
|
+
version: '0.3'
|
235
215
|
- !ruby/object:Gem::Dependency
|
236
216
|
name: concurrent-ruby
|
237
217
|
requirement: !ruby/object:Gem::Requirement
|
@@ -309,6 +289,8 @@ files:
|
|
309
289
|
- lib/pdk/cli.rb
|
310
290
|
- lib/pdk/cli/build.rb
|
311
291
|
- lib/pdk/cli/bundle.rb
|
292
|
+
- lib/pdk/cli/config.rb
|
293
|
+
- lib/pdk/cli/config/get.rb
|
312
294
|
- lib/pdk/cli/convert.rb
|
313
295
|
- lib/pdk/cli/errors.rb
|
314
296
|
- lib/pdk/cli/exec.rb
|
@@ -325,6 +307,7 @@ files:
|
|
325
307
|
- lib/pdk/cli/new/provider.rb
|
326
308
|
- lib/pdk/cli/new/task.rb
|
327
309
|
- lib/pdk/cli/new/transport.rb
|
310
|
+
- lib/pdk/cli/new/unit_test.rb
|
328
311
|
- lib/pdk/cli/test.rb
|
329
312
|
- lib/pdk/cli/test/unit.rb
|
330
313
|
- lib/pdk/cli/update.rb
|
@@ -333,6 +316,7 @@ files:
|
|
333
316
|
- lib/pdk/cli/util/interview.rb
|
334
317
|
- lib/pdk/cli/util/option_normalizer.rb
|
335
318
|
- lib/pdk/cli/util/option_validator.rb
|
319
|
+
- lib/pdk/cli/util/spinner.rb
|
336
320
|
- lib/pdk/cli/validate.rb
|
337
321
|
- lib/pdk/config.rb
|
338
322
|
- lib/pdk/config/errors.rb
|
@@ -366,6 +350,7 @@ files:
|
|
366
350
|
- lib/pdk/util/bundler.rb
|
367
351
|
- lib/pdk/util/filesystem.rb
|
368
352
|
- lib/pdk/util/git.rb
|
353
|
+
- lib/pdk/util/puppet_strings.rb
|
369
354
|
- lib/pdk/util/puppet_version.rb
|
370
355
|
- lib/pdk/util/ruby_version.rb
|
371
356
|
- lib/pdk/util/template_uri.rb
|
@@ -413,7 +398,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
413
398
|
version: '0'
|
414
399
|
requirements: []
|
415
400
|
rubyforge_project:
|
416
|
-
rubygems_version: 2.
|
401
|
+
rubygems_version: 2.6.14.4
|
417
402
|
signing_key:
|
418
403
|
specification_version: 4
|
419
404
|
summary: A key part of the Puppet Development Kit, the shortest path to better modules
|