-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changes
534 lines (250 loc) · 12 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
0.822 2022-02-27 Released-By: PERLANCAR; Urgency: medium
- [module Perinci::Examples::Table] add function sales().
0.821 2021-01-30 Released-By: PERLANCAR; Urgency: medium; Backward-Compatible: no
- [incompatible change] Rename functions (remove 'test_' prefix).
- Add function 'dry_run_default'.
0.820 2020-04-29 Released-By: PERLANCAR; Urgency: medium
- Replace the usage of deprecated x.schema.entity with more
specific schema.
0.819 2019-08-14 Released-By: PERLANCAR; Urgency: medium
- Add modules:
Perinci::Examples::rimeta::{IncludedPackage,ExcludedPackage}.
0.818 2019-07-19 Released-By: PERLANCAR; Urgency: medium
- test_completion(): add argument to test schema examples and arg
spec examples.
0.817 2019-07-19 Released-By: PERLANCAR; Urgency: medium
- [incompatible change] Completion: Rename function to be more
consistent.
0.816 2019-07-19 Released-By: PERLANCAR; Urgency: medium
- Completion: Replace Sah attribute 'x.examples' with Sah clause
'examples', also add example for Rinci arg spec's 'examples'
property.
0.815 2019-07-06 Released-By: PERLANCAR; Urgency: medium
- Add function: animal_choice() to demonstrate x.examples &
x.examples.summaries.
0.814 2019-06-29 Released-By: PERLANCAR
- [completion] Replace previous example with another with the same
theme as existing example (fruits).
0.813 2019-06-29 Released-By: PERLANCAR
- [completion] Add an example argument that has, in their schema,
list of valid values ('in') and their summaries
('x.in.summaries').
- Fix completion summary.
0.812 2019-04-15 Released-By: PERLANCAR
- Use slurpy instead of greedy for the example (Rinci 1.1.88).
0.811 2018-12-07 Released-By: PERLANCAR
- Add example: comment_fruit to demonstrate argument examples.
0.810 2018-11-29 Released-By: PERLANCAR
- Add argument examples ('x.examples') which is a source of sample valid
values that can be used in completion, among others. Also adds an
example for 'x.examples.summaries'.
0.80 2017-07-11 Released-By: PERLANCAR
- No functional changes.
- Replace Log::Any with Log::ger.
0.79 2017-01-12 Released-By: PERLANCAR
- Perinci::Examples::Tiny: add function noop2() like in
Perinci::Examples.
0.78 2017-01-12 Released-By: PERLANCAR
- Perinci::Examples::Tiny: Add function sum() like in
Perinci::Examples.
0.77 2016-12-10 Released-By: PERLANCAR
- test_completion(): Add arguments h1 & h2 to test completion of hash
elements.
0.76 2016-10-29 Released-By: PERLANCAR
- Add functions Perinci::Examples::Tiny::foo{1,2,3,4}.
0.75 2016-10-26 Released-By: PERLANCAR
- Completion: Return result for debugging.
0.74 2016-10-25 Released-By: PERLANCAR
- Tweak Completion: add answer that contains space.
0.73 2016-06-02 Released-By: PERLANCAR
- Add functions: Tiny::Args::has_duration_arg,
Tiny::Args::has_date_and_duration_args.
- Add module: Tiny::Result.
0.72 2016-05-20 Released-By: PERLANCAR
- Update to Data::Sah 0.76+ and Perinci::CmdLine::Lite 1.55.
- Handle undef arg.
0.71 2016-02-26 Released-By: PERLANCAR
- Add modules: ArgsAs, ResultNaked.
- Delete devscripts/bench-startup (moved to
Bencher::Scenario::PerinciExamples::Startup in
Bencher-Scenarios-Perinci).
0.70 2016-02-26 Released-By: PERLANCAR
- CmdLineSrc: Add example for cmdline_src=stdin_or_args (Rinci 1.1.79).
0.69 2016-02-04 Released-By: PERLANCAR
- Stream: Fix schemas, all streams must be arrays.
0.68 2016-01-22 Released-By: PERLANCAR
- [Incompatible change] Rename functions to make them clearer.
0.67 2016-01-22 Released-By: PERLANCAR
- Add function: Stream::num_words to test validation of streaming
output.
0.66 2016-01-22 Released-By: PERLANCAR
- Add functions: Stream::word, Stream::word_err to test validation of
streaming output.
0.65 2016-01-20 Released-By: PERLANCAR
- [Bugfix] Fix metadata of Stream::wc & Stream::wc_keys.
0.64 2016-01-19 Released-By: PERLANCAR
- Add module: Perinci::Examples::Table.
- Bump prereq version Log::Any::IfLOG to 0.07.
0.63 2015-11-28 Released-By: PERLANCAR
- Add function: Tiny::hello_naked.
0.62 2015-11-27 Released-By: PERLANCAR
- Add module: Perinci::Examples::CSV.
- Add more input streaming examples: square_input_from_stdin,
square_input_from_stdin_or_file, square_input_from_file.
0.61 2015-09-29 Released-By: PERLANCAR
- Add function: ::Tiny::Args::as_is.
0.60 2015-09-26 Released-By: PERLANCAR
- Add function: Perinci::Examples::Tiny::Args::has_date_arg.
0.59 2015-09-23 Released-By: PERLANCAR
- Add module: Perinci::Examples::Tiny::Args.
0.58 2015-09-03 Released-By: PERLANCAR
- Update x.schema.entity name (file -> filename).
0.57 2015-09-03 Released-By: PERLANCAR
- No functional changes.
- [dist] Move spec prereqs from RuntimeRequires to
DevelopRecommends to reduce deps but still allow indicating spec
requirement.
0.56 2015-08-18 Released-By: PERLANCAR
- No functional changes.
- Switch from Log::Any to Log::Any::IfLOG.
0.55 2015-07-25 Released-By: PERLANCAR
- Add module: Perinci::Examples::Version to demonstrate Riap
package metadata which contains entity_v that is different from
package $VERSION.
0.54 2015-06-16 Released-By: PERLANCAR
- Add devscripts/bench-startup.
0.53 2015-06-16 Released-By: PERLANCAR
- Add Perinci::Examples::Tiny.
0.52 2015-04-07 Released-By: PERLANCAR
- Add function: noop2.
0.51 2015-04-02 Released-By: PERLANCAR
- Adjust to DefHash 1.0.9 (rename alt.numnoun.* ->
alt.plurality.*).
- [doc] Some rewording of description, remove Synopsis.
0.50 2015-03-18 Released-By: PERLANCAR
- Add examples for cmdline_src=stdin_or_file.
0.49 2015-01-20 Released-By: PERLANCAR
- Add options --num (-n) to nat() & hash_stream().
0.48 2015-01-20 Released-By: PERLANCAR
- Add module: Perinci::Examples::Stream.
0.47 2015-01-17 Released-By: PERLANCAR
- Update to Rinci 1.1.71: FileStream now uses coderef for streaming
input/output instead of filehandle.
0.46 2015-01-11 Released-By: PERLANCAR
- No functional changes.
- Add description to functions in Perinci::Examples::FileStream.
- Typo fixes.
0.45 2015-01-04 Released-By: PERLANCAR
- Fix/tweak completion example: add description to each answer
entry.
0.44 2014-12-03 Released-By: PERLANCAR
- Add function: demo_cli_opts_shorter.
- Tweak Rinci metadata, change summary.alt.neg ->
summary.alt.bool.not to comply with DefHash 1.0.8; add
summary.alt.numnoun.singular in example.
0.43 2014-11-20 Released-By: PERLANCAR
- Rename function: funcname -> demo_cli_opts (for better name when
being made a CLI script).
0.42 2014-11-20 Released-By: PERLANCAR
- Add module: Perinci::Examples::CLI (for testing
Perinci-Sub-To-CLIOptSpec).
0.41 2014-11-12 Released-By: PERLANCAR
- Missed a function.
0.40 2014-11-12 Released-By: PERLANCAR
- CmdLineSrc: return raw args in extra result (in result metadata), to
allow testing for special arguments (without breaking existing tests).
0.39 2014-10-30 Released-By: PERLANCAR
- Rename module Perinci::Examples::File to
Perinci::Examples::FilePartial.
- Add module: Perinci::Examples::FileStream.
0.38 2014-10-29 Released-By: PERLANCAR
- Add module: Perinci::Examples::File.
- Add function: multi_status().
0.37 2014-10-24 Released-By: PERLANCAR
- Add function: test_binary (in Perinci::Examples::CmdLineSrc).
0.36 2014-10-24 Released-By: PERLANCAR
- Add more explanation about the functions/arguments; add function
'gen_random_bytes'.
0.35 2014-10-23 Released-By: PERLANCAR
- Update Rinci version.
0.34 2014-10-11 Released-By: PERLANCAR
- Use is_flag property (Rinci 1.1.57).
0.33 2014-10-11 Released-By: PERLANCAR
- Add argument submetadata examples in Perinci::Examples::SubMeta.
0.32 2014-09-11 Released-By: PERLANCAR
- Add example to demonstrate cmdline_src=stdin_line and is_password
(Rinci 1.1.53).
- Adjust to Perinci::Sub::Wrapper 0.62
(_perinci.sub.wrapper.validate_args is now renamed).
- Add function: is_palindrome (another demonstration of
cmdline.result).
0.31 2014-08-23 Released-By: SHARYANTO
- Add module: Perinci::Examples::{CmdLineResMeta}. This contains
functions that set cmdline.* result metadata to be tested when
testing Perinci::CmdLine & Perinci::CmdLine::Lite.
0.30 2014-08-22 Released-By: SHARYANTO
- Add modules: Perinci::Examples::{CmdLineSrc,Tx}. These are moved from
test script for Perinci::CmdLine.
0.29 2014-08-21 Released-By: SHARYANTO
- Add function: test_dry_run.
0.28 2014-07-31 Released-By: SHARYANTO
- Add functions: test_args_as_{array,arrayref,hashref}.
0.27 2014-07-29 Released-By: SHARYANTO
- test_completion(): Fix putting 'greedy' metadata property on
non-array arg.
0.26 2014-07-29 Released-By: SHARYANTO
- test_completion(): Add pos/greedy properties to help test
Perinci::Sub::Complete.
0.25 2014-07-23 Released-By: SHARYANTO
- Add function: gen_sample_data().
0.24 2014-07-03 Released-By: SHARYANTO
- Add function: test_common_opts().
0.23 2014-06-26 Released-By: SHARYANTO
- Add more arguments to test_completion() to test various stuffs.
0.22 2014-06-18 Released-By: SHARYANTO
- Add a2 argument to test_completion() to test element_completion.
0.21 2014-06-18 Released-By: SHARYANTO
- Add a1 argument to test_completion() to test complete_arg_elem.
0.20 2014-06-11 Released-By: SHARYANTO
- Add function: return_args.
0.19 2014-03-15 Released-By: SHARYANTO
- No functional changes. Rebuild to fix POD documentation (function
argument documentation was broken in Perinci-To-POD < 0.42).
0.18 2013-12-21 Released-By: SHARYANTO
- Add some response content to call_randlog().
- Add function arg_default to test default value from default and/or
schema.
0.17 2013-11-14 Released-By: SHARYANTO
- Add module: Perinci::Examples::Completion.
0.16 2013-11-12 Released-By: SHARYANTO
- No functional changes. Rebuild to fix t/00-compile.t generated by
older DZP::Test::Compile (2.019 < x < 2.033).
0.15 2013-10-15 Released-By: SHARYANTO
- Add function: undescribed_args.
- sum: Add examples with 'src'.
0.14 2012-12-22 Released-By: SHARYANTO
- Split scripts (bin/) to Perinci-Examples-Bin to make dependencies for
this distribution minimal (e.g. not depending on Perinci::CmdLine)
since Perinci::Examples is used in tests for other modules.
0.13 2012-11-29 Released-By: SHARYANTO
- Add call_gen_array() and call_randlog().
0.12 2012-11-08 Released-By: SHARYANTO
- No functional changes. Add some # VALIDATE_ARG and rebuild with
DZP::Rinci::Validate enabled.
0.11 2012-10-31 Released-By: SHARYANTO
- rename script: peri-{ex,eg}-test-completion
- sum_array(): Add examples in metadata and 'round' option (to test
Test::Rinci).
0.10 2012-07-19 Released-By: SHARYANTO
- Add function: merge_hash
0.09 2012-07-19 Released-By: SHARYANTO
- Add function: sum
- Add script: peri-ex-test-completion
- Tweak some metadata
0.08 2012-02-17 Released-By: SHARYANTO
- No functional changes. Fix schema for 'test_completion'.
0.07 2012-02-16 Released-By: SHARYANTO
- Add function: test_completion.
0.06 2012-02-13 Released-By: SHARYANTO
- First release of Perinci-Examples. Rename distribution from
Sub-Spec-Examples.