pdk 1.10.0 → 1.11.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 +50 -1
- data/lib/pdk.rb +16 -1
- data/lib/pdk/analytics.rb +28 -0
- data/lib/pdk/analytics/client/google_analytics.rb +138 -0
- data/lib/pdk/analytics/client/noop.rb +23 -0
- data/lib/pdk/analytics/util.rb +17 -0
- data/lib/pdk/cli.rb +37 -0
- data/lib/pdk/cli/build.rb +2 -0
- data/lib/pdk/cli/bundle.rb +2 -1
- data/lib/pdk/cli/convert.rb +2 -0
- data/lib/pdk/cli/exec.rb +28 -1
- data/lib/pdk/cli/new/class.rb +2 -0
- data/lib/pdk/cli/new/defined_type.rb +2 -0
- data/lib/pdk/cli/new/module.rb +2 -0
- data/lib/pdk/cli/new/provider.rb +2 -0
- data/lib/pdk/cli/new/task.rb +2 -0
- data/lib/pdk/cli/test.rb +0 -1
- data/lib/pdk/cli/test/unit.rb +13 -10
- data/lib/pdk/cli/update.rb +21 -0
- data/lib/pdk/cli/util.rb +35 -0
- data/lib/pdk/cli/util/interview.rb +7 -1
- data/lib/pdk/cli/validate.rb +9 -2
- data/lib/pdk/config.rb +94 -0
- data/lib/pdk/config/errors.rb +5 -0
- data/lib/pdk/config/json.rb +23 -0
- data/lib/pdk/config/namespace.rb +273 -0
- data/lib/pdk/config/validator.rb +31 -0
- data/lib/pdk/config/value.rb +94 -0
- data/lib/pdk/config/yaml.rb +31 -0
- data/lib/pdk/generate/module.rb +3 -2
- data/lib/pdk/logger.rb +21 -1
- data/lib/pdk/module/build.rb +58 -0
- data/lib/pdk/module/convert.rb +1 -1
- data/lib/pdk/module/metadata.rb +1 -0
- data/lib/pdk/module/templatedir.rb +24 -5
- data/lib/pdk/module/update_manager.rb +2 -2
- data/lib/pdk/report/event.rb +3 -3
- data/lib/pdk/template_file.rb +1 -1
- data/lib/pdk/tests/unit.rb +10 -12
- data/lib/pdk/util.rb +9 -0
- data/lib/pdk/util/bundler.rb +5 -9
- data/lib/pdk/util/filesystem.rb +37 -0
- data/lib/pdk/util/puppet_version.rb +1 -1
- data/lib/pdk/util/ruby_version.rb +16 -6
- data/lib/pdk/util/template_uri.rb +72 -43
- data/lib/pdk/util/version.rb +1 -1
- data/lib/pdk/util/windows.rb +1 -0
- data/lib/pdk/util/windows/api_types.rb +0 -7
- data/lib/pdk/util/windows/file.rb +1 -1
- data/lib/pdk/util/windows/string.rb +1 -1
- data/lib/pdk/validate/base_validator.rb +8 -6
- data/lib/pdk/validate/puppet/puppet_syntax.rb +1 -1
- data/lib/pdk/validate/ruby/rubocop.rb +1 -1
- data/lib/pdk/version.rb +1 -1
- data/locales/pdk.pot +223 -114
- metadata +103 -50
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.11.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-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -30,6 +30,20 @@ dependencies:
|
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 3.0.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: childprocess
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 0.7.1
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 0.7.1
|
33
47
|
- !ruby/object:Gem::Dependency
|
34
48
|
name: cri
|
35
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -37,9 +51,9 @@ dependencies:
|
|
37
51
|
- - ">="
|
38
52
|
- !ruby/object:Gem::Version
|
39
53
|
version: 2.10.1
|
40
|
-
- - "
|
54
|
+
- - "<="
|
41
55
|
- !ruby/object:Gem::Version
|
42
|
-
version: 2.
|
56
|
+
version: 2.15.6
|
43
57
|
type: :runtime
|
44
58
|
prerelease: false
|
45
59
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -47,23 +61,37 @@ dependencies:
|
|
47
61
|
- - ">="
|
48
62
|
- !ruby/object:Gem::Version
|
49
63
|
version: 2.10.1
|
50
|
-
- - "
|
64
|
+
- - "<="
|
51
65
|
- !ruby/object:Gem::Version
|
52
|
-
version: 2.
|
66
|
+
version: 2.15.6
|
53
67
|
- !ruby/object:Gem::Dependency
|
54
|
-
name:
|
68
|
+
name: diff-lcs
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - '='
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '1.3'
|
74
|
+
type: :runtime
|
75
|
+
prerelease: false
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - '='
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '1.3'
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: ffi
|
55
83
|
requirement: !ruby/object:Gem::Requirement
|
56
84
|
requirements:
|
57
85
|
- - "~>"
|
58
86
|
- !ruby/object:Gem::Version
|
59
|
-
version:
|
87
|
+
version: 1.9.0
|
60
88
|
type: :runtime
|
61
89
|
prerelease: false
|
62
90
|
version_requirements: !ruby/object:Gem::Requirement
|
63
91
|
requirements:
|
64
92
|
- - "~>"
|
65
93
|
- !ruby/object:Gem::Version
|
66
|
-
version:
|
94
|
+
version: 1.9.0
|
67
95
|
- !ruby/object:Gem::Dependency
|
68
96
|
name: gettext-setup
|
69
97
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,33 +107,33 @@ dependencies:
|
|
79
107
|
- !ruby/object:Gem::Version
|
80
108
|
version: '0.24'
|
81
109
|
- !ruby/object:Gem::Dependency
|
82
|
-
name:
|
110
|
+
name: hitimes
|
83
111
|
requirement: !ruby/object:Gem::Requirement
|
84
112
|
requirements:
|
85
113
|
- - '='
|
86
114
|
- !ruby/object:Gem::Version
|
87
|
-
version:
|
115
|
+
version: 1.3.0
|
88
116
|
type: :runtime
|
89
117
|
prerelease: false
|
90
118
|
version_requirements: !ruby/object:Gem::Requirement
|
91
119
|
requirements:
|
92
120
|
- - '='
|
93
121
|
- !ruby/object:Gem::Version
|
94
|
-
version:
|
122
|
+
version: 1.3.0
|
95
123
|
- !ruby/object:Gem::Dependency
|
96
|
-
name:
|
124
|
+
name: json-schema
|
97
125
|
requirement: !ruby/object:Gem::Requirement
|
98
126
|
requirements:
|
99
127
|
- - '='
|
100
128
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
129
|
+
version: 2.8.0
|
102
130
|
type: :runtime
|
103
131
|
prerelease: false
|
104
132
|
version_requirements: !ruby/object:Gem::Requirement
|
105
133
|
requirements:
|
106
134
|
- - '='
|
107
135
|
- !ruby/object:Gem::Version
|
108
|
-
version:
|
136
|
+
version: 2.8.0
|
109
137
|
- !ruby/object:Gem::Dependency
|
110
138
|
name: json_pure
|
111
139
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,117 +149,131 @@ dependencies:
|
|
121
149
|
- !ruby/object:Gem::Version
|
122
150
|
version: 2.1.0
|
123
151
|
- !ruby/object:Gem::Dependency
|
124
|
-
name:
|
152
|
+
name: minitar
|
125
153
|
requirement: !ruby/object:Gem::Requirement
|
126
154
|
requirements:
|
127
|
-
- -
|
155
|
+
- - "~>"
|
128
156
|
- !ruby/object:Gem::Version
|
129
|
-
version:
|
157
|
+
version: 0.6.1
|
130
158
|
type: :runtime
|
131
159
|
prerelease: false
|
132
160
|
version_requirements: !ruby/object:Gem::Requirement
|
133
161
|
requirements:
|
134
|
-
- -
|
162
|
+
- - "~>"
|
135
163
|
- !ruby/object:Gem::Version
|
136
|
-
version:
|
164
|
+
version: 0.6.1
|
137
165
|
- !ruby/object:Gem::Dependency
|
138
|
-
name:
|
166
|
+
name: net-ssh
|
139
167
|
requirement: !ruby/object:Gem::Requirement
|
140
168
|
requirements:
|
141
|
-
- -
|
169
|
+
- - "~>"
|
142
170
|
- !ruby/object:Gem::Version
|
143
|
-
version:
|
171
|
+
version: 4.2.0
|
144
172
|
type: :runtime
|
145
173
|
prerelease: false
|
146
174
|
version_requirements: !ruby/object:Gem::Requirement
|
147
175
|
requirements:
|
148
|
-
- -
|
176
|
+
- - "~>"
|
149
177
|
- !ruby/object:Gem::Version
|
150
|
-
version:
|
178
|
+
version: 4.2.0
|
151
179
|
- !ruby/object:Gem::Dependency
|
152
|
-
name:
|
180
|
+
name: pathspec
|
181
|
+
requirement: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - "~>"
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: 0.2.1
|
186
|
+
type: :runtime
|
187
|
+
prerelease: false
|
188
|
+
version_requirements: !ruby/object:Gem::Requirement
|
189
|
+
requirements:
|
190
|
+
- - "~>"
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: 0.2.1
|
193
|
+
- !ruby/object:Gem::Dependency
|
194
|
+
name: tty-prompt
|
153
195
|
requirement: !ruby/object:Gem::Requirement
|
154
196
|
requirements:
|
155
197
|
- - '='
|
156
198
|
- !ruby/object:Gem::Version
|
157
|
-
version:
|
199
|
+
version: 0.13.1
|
158
200
|
type: :runtime
|
159
201
|
prerelease: false
|
160
202
|
version_requirements: !ruby/object:Gem::Requirement
|
161
203
|
requirements:
|
162
204
|
- - '='
|
163
205
|
- !ruby/object:Gem::Version
|
164
|
-
version:
|
206
|
+
version: 0.13.1
|
165
207
|
- !ruby/object:Gem::Dependency
|
166
|
-
name:
|
208
|
+
name: tty-spinner
|
167
209
|
requirement: !ruby/object:Gem::Requirement
|
168
210
|
requirements:
|
169
|
-
- -
|
211
|
+
- - '='
|
170
212
|
- !ruby/object:Gem::Version
|
171
|
-
version: 0.
|
213
|
+
version: 0.5.0
|
172
214
|
type: :runtime
|
173
215
|
prerelease: false
|
174
216
|
version_requirements: !ruby/object:Gem::Requirement
|
175
217
|
requirements:
|
176
|
-
- -
|
218
|
+
- - '='
|
177
219
|
- !ruby/object:Gem::Version
|
178
|
-
version: 0.
|
220
|
+
version: 0.5.0
|
179
221
|
- !ruby/object:Gem::Dependency
|
180
|
-
name:
|
222
|
+
name: tty-which
|
181
223
|
requirement: !ruby/object:Gem::Requirement
|
182
224
|
requirements:
|
183
|
-
- -
|
225
|
+
- - '='
|
184
226
|
- !ruby/object:Gem::Version
|
185
|
-
version: 0.
|
227
|
+
version: 0.3.0
|
186
228
|
type: :runtime
|
187
229
|
prerelease: false
|
188
230
|
version_requirements: !ruby/object:Gem::Requirement
|
189
231
|
requirements:
|
190
|
-
- -
|
232
|
+
- - '='
|
191
233
|
- !ruby/object:Gem::Version
|
192
|
-
version: 0.
|
234
|
+
version: 0.3.0
|
193
235
|
- !ruby/object:Gem::Dependency
|
194
|
-
name:
|
236
|
+
name: concurrent-ruby
|
195
237
|
requirement: !ruby/object:Gem::Requirement
|
196
238
|
requirements:
|
197
239
|
- - "~>"
|
198
240
|
- !ruby/object:Gem::Version
|
199
|
-
version: 1.
|
241
|
+
version: 1.1.5
|
200
242
|
type: :runtime
|
201
243
|
prerelease: false
|
202
244
|
version_requirements: !ruby/object:Gem::Requirement
|
203
245
|
requirements:
|
204
246
|
- - "~>"
|
205
247
|
- !ruby/object:Gem::Version
|
206
|
-
version: 1.
|
248
|
+
version: 1.1.5
|
207
249
|
- !ruby/object:Gem::Dependency
|
208
|
-
name:
|
250
|
+
name: facter
|
209
251
|
requirement: !ruby/object:Gem::Requirement
|
210
252
|
requirements:
|
211
|
-
- -
|
253
|
+
- - "~>"
|
212
254
|
- !ruby/object:Gem::Version
|
213
|
-
version:
|
255
|
+
version: 2.5.1
|
214
256
|
type: :runtime
|
215
257
|
prerelease: false
|
216
258
|
version_requirements: !ruby/object:Gem::Requirement
|
217
259
|
requirements:
|
218
|
-
- -
|
260
|
+
- - "~>"
|
219
261
|
- !ruby/object:Gem::Version
|
220
|
-
version:
|
262
|
+
version: 2.5.1
|
221
263
|
- !ruby/object:Gem::Dependency
|
222
|
-
name:
|
264
|
+
name: httpclient
|
223
265
|
requirement: !ruby/object:Gem::Requirement
|
224
266
|
requirements:
|
225
267
|
- - "~>"
|
226
268
|
- !ruby/object:Gem::Version
|
227
|
-
version:
|
269
|
+
version: 2.8.3
|
228
270
|
type: :runtime
|
229
271
|
prerelease: false
|
230
272
|
version_requirements: !ruby/object:Gem::Requirement
|
231
273
|
requirements:
|
232
274
|
- - "~>"
|
233
275
|
- !ruby/object:Gem::Version
|
234
|
-
version:
|
276
|
+
version: 2.8.3
|
235
277
|
- !ruby/object:Gem::Dependency
|
236
278
|
name: deep_merge
|
237
279
|
requirement: !ruby/object:Gem::Requirement
|
@@ -259,6 +301,10 @@ files:
|
|
259
301
|
- README.md
|
260
302
|
- exe/pdk
|
261
303
|
- lib/pdk.rb
|
304
|
+
- lib/pdk/analytics.rb
|
305
|
+
- lib/pdk/analytics/client/google_analytics.rb
|
306
|
+
- lib/pdk/analytics/client/noop.rb
|
307
|
+
- lib/pdk/analytics/util.rb
|
262
308
|
- lib/pdk/answer_file.rb
|
263
309
|
- lib/pdk/cli.rb
|
264
310
|
- lib/pdk/cli/build.rb
|
@@ -285,6 +331,13 @@ files:
|
|
285
331
|
- lib/pdk/cli/util/option_normalizer.rb
|
286
332
|
- lib/pdk/cli/util/option_validator.rb
|
287
333
|
- lib/pdk/cli/validate.rb
|
334
|
+
- lib/pdk/config.rb
|
335
|
+
- lib/pdk/config/errors.rb
|
336
|
+
- lib/pdk/config/json.rb
|
337
|
+
- lib/pdk/config/namespace.rb
|
338
|
+
- lib/pdk/config/validator.rb
|
339
|
+
- lib/pdk/config/value.rb
|
340
|
+
- lib/pdk/config/yaml.rb
|
288
341
|
- lib/pdk/generate.rb
|
289
342
|
- lib/pdk/generate/defined_type.rb
|
290
343
|
- lib/pdk/generate/module.rb
|
@@ -355,7 +408,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
355
408
|
version: '0'
|
356
409
|
requirements: []
|
357
410
|
rubyforge_project:
|
358
|
-
rubygems_version: 2.6.
|
411
|
+
rubygems_version: 2.7.6.2
|
359
412
|
signing_key:
|
360
413
|
specification_version: 4
|
361
414
|
summary: A key part of the Puppet Development Kit, the shortest path to better modules
|