git-digger 1.5.34 → 1.5.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
  (function (_, kotlin_kotlin, kotlin_com_zegreatrob_tools_digger_core, kotlin_com_zegreatrob_tools_git_adapter, kotlin_clikt_clikt_mordant, kotlin_clikt_clikt, kotlin_com_zegreatrob_tools_digger_json, kotlin_com_zegreatrob_tools_cli_tools) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var protoOf = kotlin_kotlin.$_$.p8;
5
- var initMetadataForObject = kotlin_kotlin.$_$.v7;
6
- var split = kotlin_kotlin.$_$.xa;
7
- var lastOrNull = kotlin_kotlin.$_$.c5;
4
+ var protoOf = kotlin_kotlin.$_$.q8;
5
+ var initMetadataForObject = kotlin_kotlin.$_$.w7;
6
+ var split = kotlin_kotlin.$_$.wa;
7
+ var lastOrNull = kotlin_kotlin.$_$.d5;
8
8
  var isBlank = kotlin_kotlin.$_$.ia;
9
9
  var Regex_init_$Create$ = kotlin_kotlin.$_$.t;
10
10
  var Defaults_getInstance = kotlin_com_zegreatrob_tools_digger_core.$_$.c;
@@ -18,13 +18,13 @@
18
18
  var default_0 = kotlin_clikt_clikt.$_$.i;
19
19
  var toJsonString = kotlin_com_zegreatrob_tools_digger_json.$_$.b;
20
20
  var writeToFile = kotlin_com_zegreatrob_tools_cli_tools.$_$.b;
21
- var Unit_instance = kotlin_kotlin.$_$.h3;
22
- var initMetadataForClass = kotlin_kotlin.$_$.q7;
23
- var KProperty1 = kotlin_kotlin.$_$.g9;
24
- var getPropertyCallableRef = kotlin_kotlin.$_$.n7;
21
+ var Unit_instance = kotlin_kotlin.$_$.i3;
22
+ var initMetadataForClass = kotlin_kotlin.$_$.r7;
23
+ var KProperty1 = kotlin_kotlin.$_$.h9;
24
+ var getPropertyCallableRef = kotlin_kotlin.$_$.o7;
25
25
  var toJsonString_0 = kotlin_com_zegreatrob_tools_digger_json.$_$.a;
26
26
  var PrintMessage = kotlin_clikt_clikt.$_$.c;
27
- var setOf = kotlin_kotlin.$_$.w5;
27
+ var setOf = kotlin_kotlin.$_$.x5;
28
28
  var VOID = kotlin_kotlin.$_$.g;
29
29
  var eagerOption = kotlin_clikt_clikt.$_$.j;
30
30
  var platformArgCorrection = kotlin_com_zegreatrob_tools_cli_tools.$_$.a;
@@ -38,41 +38,41 @@
38
38
  initMetadataForClass(Digger, 'Digger', Digger, CliktCommand);
39
39
  //endregion
40
40
  function Versions() {
41
- this.k2f_1 = '1.5.34';
41
+ this.u2f_1 = '1.5.36';
42
42
  }
43
43
  var Versions_instance;
44
44
  function Versions_getInstance() {
45
45
  return Versions_instance;
46
46
  }
47
47
  function _get_dir__e67350($this) {
48
- return $this.a2g_1.u1r($this, dir$factory_0());
48
+ return $this.k2g_1.e1s($this, dir$factory_0());
49
49
  }
50
50
  function _get_outputFile__pta58u($this) {
51
- return $this.b2g_1.u1r($this, outputFile$factory_0());
51
+ return $this.l2g_1.e1s($this, outputFile$factory_0());
52
52
  }
53
53
  function _get_label__euqgmb($this) {
54
- return $this.c2g_1.u1r($this, label$factory_0());
54
+ return $this.m2g_1.e1s($this, label$factory_0());
55
55
  }
56
56
  function _get_majorRegex__5j6ypp($this) {
57
- return $this.d2g_1.u1r($this, majorRegex$factory_0());
57
+ return $this.n2g_1.e1s($this, majorRegex$factory_0());
58
58
  }
59
59
  function _get_minorRegex__20z96h($this) {
60
- return $this.e2g_1.u1r($this, minorRegex$factory_0());
60
+ return $this.o2g_1.e1s($this, minorRegex$factory_0());
61
61
  }
62
62
  function _get_patchRegex__mtlu2c($this) {
63
- return $this.f2g_1.u1r($this, patchRegex$factory_0());
63
+ return $this.p2g_1.e1s($this, patchRegex$factory_0());
64
64
  }
65
65
  function _get_noneRegex__1tdbgi($this) {
66
- return $this.g2g_1.u1r($this, noneRegex$factory_0());
66
+ return $this.q2g_1.e1s($this, noneRegex$factory_0());
67
67
  }
68
68
  function _get_storyIdRegex__auqux8($this) {
69
- return $this.h2g_1.u1r($this, storyIdRegex$factory_0());
69
+ return $this.r2g_1.e1s($this, storyIdRegex$factory_0());
70
70
  }
71
71
  function _get_easeRegex__pf594o($this) {
72
- return $this.i2g_1.u1r($this, easeRegex$factory_0());
72
+ return $this.s2g_1.e1s($this, easeRegex$factory_0());
73
73
  }
74
74
  function _get_tagRegex__ibn0wy($this) {
75
- return $this.j2g_1.u1r($this, tagRegex$factory_0());
75
+ return $this.t2g_1.e1s($this, tagRegex$factory_0());
76
76
  }
77
77
  function _get_core__d4zfrg($this) {
78
78
  // Inline function 'kotlin.text.ifBlank' call
@@ -95,7 +95,7 @@
95
95
  tmp_0 = Regex_init_$Create$(tmp0_safe_receiver);
96
96
  }
97
97
  var tmp1_elvis_lhs = tmp_0;
98
- var tmp15_tagRegex = tmp1_elvis_lhs == null ? Defaults_getInstance().w1a_1 : tmp1_elvis_lhs;
98
+ var tmp15_tagRegex = tmp1_elvis_lhs == null ? Defaults_getInstance().e1b_1 : tmp1_elvis_lhs;
99
99
  var tmp16_gitWrapper = new GitAdapter(_get_dir__e67350($this));
100
100
  var tmp2_safe_receiver = _get_majorRegex__5j6ypp($this);
101
101
  var tmp_1;
@@ -107,7 +107,7 @@
107
107
  tmp_1 = Regex_init_$Create$(tmp2_safe_receiver);
108
108
  }
109
109
  var tmp3_elvis_lhs = tmp_1;
110
- var tmp_2 = tmp3_elvis_lhs == null ? Defaults_getInstance_0().z1a_1 : tmp3_elvis_lhs;
110
+ var tmp_2 = tmp3_elvis_lhs == null ? Defaults_getInstance_0().h1b_1 : tmp3_elvis_lhs;
111
111
  var tmp4_safe_receiver = _get_minorRegex__20z96h($this);
112
112
  var tmp_3;
113
113
  if (tmp4_safe_receiver == null) {
@@ -118,7 +118,7 @@
118
118
  tmp_3 = Regex_init_$Create$(tmp4_safe_receiver);
119
119
  }
120
120
  var tmp5_elvis_lhs = tmp_3;
121
- var tmp_4 = tmp5_elvis_lhs == null ? Defaults_getInstance_0().a1b_1 : tmp5_elvis_lhs;
121
+ var tmp_4 = tmp5_elvis_lhs == null ? Defaults_getInstance_0().i1b_1 : tmp5_elvis_lhs;
122
122
  var tmp6_safe_receiver = _get_patchRegex__mtlu2c($this);
123
123
  var tmp_5;
124
124
  if (tmp6_safe_receiver == null) {
@@ -129,7 +129,7 @@
129
129
  tmp_5 = Regex_init_$Create$(tmp6_safe_receiver);
130
130
  }
131
131
  var tmp7_elvis_lhs = tmp_5;
132
- var tmp_6 = tmp7_elvis_lhs == null ? Defaults_getInstance_0().b1b_1 : tmp7_elvis_lhs;
132
+ var tmp_6 = tmp7_elvis_lhs == null ? Defaults_getInstance_0().j1b_1 : tmp7_elvis_lhs;
133
133
  var tmp8_safe_receiver = _get_noneRegex__1tdbgi($this);
134
134
  var tmp_7;
135
135
  if (tmp8_safe_receiver == null) {
@@ -140,7 +140,7 @@
140
140
  tmp_7 = Regex_init_$Create$(tmp8_safe_receiver);
141
141
  }
142
142
  var tmp9_elvis_lhs = tmp_7;
143
- var tmp_8 = tmp9_elvis_lhs == null ? Defaults_getInstance_0().c1b_1 : tmp9_elvis_lhs;
143
+ var tmp_8 = tmp9_elvis_lhs == null ? Defaults_getInstance_0().k1b_1 : tmp9_elvis_lhs;
144
144
  var tmp10_safe_receiver = _get_storyIdRegex__auqux8($this);
145
145
  var tmp_9;
146
146
  if (tmp10_safe_receiver == null) {
@@ -151,7 +151,7 @@
151
151
  tmp_9 = Regex_init_$Create$(tmp10_safe_receiver);
152
152
  }
153
153
  var tmp11_elvis_lhs = tmp_9;
154
- var tmp_10 = tmp11_elvis_lhs == null ? Defaults_getInstance_0().d1b_1 : tmp11_elvis_lhs;
154
+ var tmp_10 = tmp11_elvis_lhs == null ? Defaults_getInstance_0().l1b_1 : tmp11_elvis_lhs;
155
155
  var tmp12_safe_receiver = _get_easeRegex__pf594o($this);
156
156
  var tmp_11;
157
157
  if (tmp12_safe_receiver == null) {
@@ -162,27 +162,27 @@
162
162
  tmp_11 = Regex_init_$Create$(tmp12_safe_receiver);
163
163
  }
164
164
  var tmp13_elvis_lhs = tmp_11;
165
- var tmp17_messageDigger = new MessageDigger(tmp_2, tmp_4, tmp_6, tmp_8, tmp_10, tmp13_elvis_lhs == null ? Defaults_getInstance_0().e1b_1 : tmp13_elvis_lhs);
165
+ var tmp17_messageDigger = new MessageDigger(tmp_2, tmp_4, tmp_6, tmp_8, tmp_10, tmp13_elvis_lhs == null ? Defaults_getInstance_0().m1b_1 : tmp13_elvis_lhs);
166
166
  return new DiggerCore(tmp14_label, tmp16_gitWrapper, tmp17_messageDigger, tmp15_tagRegex);
167
167
  }
168
168
  function AllContributionData() {
169
169
  CliktCommand.call(this);
170
- this.a2g_1 = argument(this, 'git-repo').w1r(this, dir$factory());
171
- this.b2g_1 = default_0(option(this, []), 'allContributionData.json').h1s(this, outputFile$factory());
172
- this.c2g_1 = default_0(option(this, []), '').h1s(this, label$factory());
173
- this.d2g_1 = option(this, []).h1s(this, majorRegex$factory());
174
- this.e2g_1 = option(this, []).h1s(this, minorRegex$factory());
175
- this.f2g_1 = option(this, []).h1s(this, patchRegex$factory());
176
- this.g2g_1 = option(this, []).h1s(this, noneRegex$factory());
177
- this.h2g_1 = option(this, []).h1s(this, storyIdRegex$factory());
178
- this.i2g_1 = option(this, []).h1s(this, easeRegex$factory());
179
- this.j2g_1 = option(this, []).h1s(this, tagRegex$factory());
180
- }
181
- protoOf(AllContributionData).g1j = function () {
182
- writeToFile(toJsonString(_get_core__d4zfrg(this).y1a()), _get_outputFile__pta58u(this));
170
+ this.k2g_1 = argument(this, 'git-repo').g1s(this, dir$factory());
171
+ this.l2g_1 = default_0(option(this, []), 'allContributionData.json').r1s(this, outputFile$factory());
172
+ this.m2g_1 = default_0(option(this, []), '').r1s(this, label$factory());
173
+ this.n2g_1 = option(this, []).r1s(this, majorRegex$factory());
174
+ this.o2g_1 = option(this, []).r1s(this, minorRegex$factory());
175
+ this.p2g_1 = option(this, []).r1s(this, patchRegex$factory());
176
+ this.q2g_1 = option(this, []).r1s(this, noneRegex$factory());
177
+ this.r2g_1 = option(this, []).r1s(this, storyIdRegex$factory());
178
+ this.s2g_1 = option(this, []).r1s(this, easeRegex$factory());
179
+ this.t2g_1 = option(this, []).r1s(this, tagRegex$factory());
180
+ }
181
+ protoOf(AllContributionData).q1j = function () {
182
+ writeToFile(toJsonString(_get_core__d4zfrg(this).g1b()), _get_outputFile__pta58u(this));
183
183
  // Inline function 'kotlin.also' call
184
184
  // Inline function 'com.zegreatrob.tools.digger.cli.AllContributionData.run.<anonymous>' call
185
- this.v1h('Data written to ' + _get_outputFile__pta58u(this));
185
+ this.f1i('Data written to ' + _get_outputFile__pta58u(this));
186
186
  return Unit_instance;
187
187
  };
188
188
  function dir$factory() {
@@ -286,34 +286,34 @@
286
286
  }, null);
287
287
  }
288
288
  function _get_dir__e67350_0($this) {
289
- return $this.z2g_1.u1r($this, dir$factory_2());
289
+ return $this.j2h_1.e1s($this, dir$factory_2());
290
290
  }
291
291
  function _get_outputFile__pta58u_0($this) {
292
- return $this.a2h_1.u1r($this, outputFile$factory_2());
292
+ return $this.k2h_1.e1s($this, outputFile$factory_2());
293
293
  }
294
294
  function _get_label__euqgmb_0($this) {
295
- return $this.b2h_1.u1r($this, label$factory_2());
295
+ return $this.l2h_1.e1s($this, label$factory_2());
296
296
  }
297
297
  function _get_majorRegex__5j6ypp_0($this) {
298
- return $this.c2h_1.u1r($this, majorRegex$factory_2());
298
+ return $this.m2h_1.e1s($this, majorRegex$factory_2());
299
299
  }
300
300
  function _get_minorRegex__20z96h_0($this) {
301
- return $this.d2h_1.u1r($this, minorRegex$factory_2());
301
+ return $this.n2h_1.e1s($this, minorRegex$factory_2());
302
302
  }
303
303
  function _get_patchRegex__mtlu2c_0($this) {
304
- return $this.e2h_1.u1r($this, patchRegex$factory_2());
304
+ return $this.o2h_1.e1s($this, patchRegex$factory_2());
305
305
  }
306
306
  function _get_noneRegex__1tdbgi_0($this) {
307
- return $this.f2h_1.u1r($this, noneRegex$factory_2());
307
+ return $this.p2h_1.e1s($this, noneRegex$factory_2());
308
308
  }
309
309
  function _get_storyIdRegex__auqux8_0($this) {
310
- return $this.g2h_1.u1r($this, storyIdRegex$factory_2());
310
+ return $this.q2h_1.e1s($this, storyIdRegex$factory_2());
311
311
  }
312
312
  function _get_easeRegex__pf594o_0($this) {
313
- return $this.h2h_1.u1r($this, easeRegex$factory_2());
313
+ return $this.r2h_1.e1s($this, easeRegex$factory_2());
314
314
  }
315
315
  function _get_tagRegex__ibn0wy_0($this) {
316
- return $this.i2h_1.u1r($this, tagRegex$factory_2());
316
+ return $this.s2h_1.e1s($this, tagRegex$factory_2());
317
317
  }
318
318
  function _get_core__d4zfrg_0($this) {
319
319
  // Inline function 'kotlin.text.ifBlank' call
@@ -337,7 +337,7 @@
337
337
  tmp_2 = Regex_init_$Create$(tmp0_safe_receiver);
338
338
  }
339
339
  var tmp1_elvis_lhs = tmp_2;
340
- var tmp_3 = tmp1_elvis_lhs == null ? Defaults_getInstance_0().z1a_1 : tmp1_elvis_lhs;
340
+ var tmp_3 = tmp1_elvis_lhs == null ? Defaults_getInstance_0().h1b_1 : tmp1_elvis_lhs;
341
341
  var tmp2_safe_receiver = _get_minorRegex__20z96h_0($this);
342
342
  var tmp_4;
343
343
  if (tmp2_safe_receiver == null) {
@@ -348,7 +348,7 @@
348
348
  tmp_4 = Regex_init_$Create$(tmp2_safe_receiver);
349
349
  }
350
350
  var tmp3_elvis_lhs = tmp_4;
351
- var tmp_5 = tmp3_elvis_lhs == null ? Defaults_getInstance_0().a1b_1 : tmp3_elvis_lhs;
351
+ var tmp_5 = tmp3_elvis_lhs == null ? Defaults_getInstance_0().i1b_1 : tmp3_elvis_lhs;
352
352
  var tmp4_safe_receiver = _get_patchRegex__mtlu2c_0($this);
353
353
  var tmp_6;
354
354
  if (tmp4_safe_receiver == null) {
@@ -359,7 +359,7 @@
359
359
  tmp_6 = Regex_init_$Create$(tmp4_safe_receiver);
360
360
  }
361
361
  var tmp5_elvis_lhs = tmp_6;
362
- var tmp_7 = tmp5_elvis_lhs == null ? Defaults_getInstance_0().b1b_1 : tmp5_elvis_lhs;
362
+ var tmp_7 = tmp5_elvis_lhs == null ? Defaults_getInstance_0().j1b_1 : tmp5_elvis_lhs;
363
363
  var tmp6_safe_receiver = _get_noneRegex__1tdbgi_0($this);
364
364
  var tmp_8;
365
365
  if (tmp6_safe_receiver == null) {
@@ -370,7 +370,7 @@
370
370
  tmp_8 = Regex_init_$Create$(tmp6_safe_receiver);
371
371
  }
372
372
  var tmp7_elvis_lhs = tmp_8;
373
- var tmp_9 = tmp7_elvis_lhs == null ? Defaults_getInstance_0().c1b_1 : tmp7_elvis_lhs;
373
+ var tmp_9 = tmp7_elvis_lhs == null ? Defaults_getInstance_0().k1b_1 : tmp7_elvis_lhs;
374
374
  var tmp8_safe_receiver = _get_storyIdRegex__auqux8_0($this);
375
375
  var tmp_10;
376
376
  if (tmp8_safe_receiver == null) {
@@ -381,7 +381,7 @@
381
381
  tmp_10 = Regex_init_$Create$(tmp8_safe_receiver);
382
382
  }
383
383
  var tmp9_elvis_lhs = tmp_10;
384
- var tmp_11 = tmp9_elvis_lhs == null ? Defaults_getInstance_0().d1b_1 : tmp9_elvis_lhs;
384
+ var tmp_11 = tmp9_elvis_lhs == null ? Defaults_getInstance_0().l1b_1 : tmp9_elvis_lhs;
385
385
  var tmp10_safe_receiver = _get_easeRegex__pf594o_0($this);
386
386
  var tmp_12;
387
387
  if (tmp10_safe_receiver == null) {
@@ -392,7 +392,7 @@
392
392
  tmp_12 = Regex_init_$Create$(tmp10_safe_receiver);
393
393
  }
394
394
  var tmp11_elvis_lhs = tmp_12;
395
- var tmp_13 = new MessageDigger(tmp_3, tmp_5, tmp_7, tmp_9, tmp_11, tmp11_elvis_lhs == null ? Defaults_getInstance_0().e1b_1 : tmp11_elvis_lhs);
395
+ var tmp_13 = new MessageDigger(tmp_3, tmp_5, tmp_7, tmp_9, tmp_11, tmp11_elvis_lhs == null ? Defaults_getInstance_0().m1b_1 : tmp11_elvis_lhs);
396
396
  var tmp12_safe_receiver = _get_tagRegex__ibn0wy_0($this);
397
397
  var tmp_14;
398
398
  if (tmp12_safe_receiver == null) {
@@ -403,26 +403,26 @@
403
403
  tmp_14 = Regex_init_$Create$(tmp12_safe_receiver);
404
404
  }
405
405
  var tmp13_elvis_lhs = tmp_14;
406
- return new DiggerCore(tmp_0, tmp_1, tmp_13, tmp13_elvis_lhs == null ? Defaults_getInstance().w1a_1 : tmp13_elvis_lhs);
406
+ return new DiggerCore(tmp_0, tmp_1, tmp_13, tmp13_elvis_lhs == null ? Defaults_getInstance().e1b_1 : tmp13_elvis_lhs);
407
407
  }
408
408
  function CurrentContributionData() {
409
409
  CliktCommand.call(this);
410
- this.z2g_1 = argument(this, 'git-repo').w1r(this, dir$factory_1());
411
- this.a2h_1 = default_0(option(this, []), 'currentContributionData.json').h1s(this, outputFile$factory_1());
412
- this.b2h_1 = default_0(option(this, []), '').h1s(this, label$factory_1());
413
- this.c2h_1 = option(this, []).h1s(this, majorRegex$factory_1());
414
- this.d2h_1 = option(this, []).h1s(this, minorRegex$factory_1());
415
- this.e2h_1 = option(this, []).h1s(this, patchRegex$factory_1());
416
- this.f2h_1 = option(this, []).h1s(this, noneRegex$factory_1());
417
- this.g2h_1 = option(this, []).h1s(this, storyIdRegex$factory_1());
418
- this.h2h_1 = option(this, []).h1s(this, easeRegex$factory_1());
419
- this.i2h_1 = option(this, []).h1s(this, tagRegex$factory_1());
420
- }
421
- protoOf(CurrentContributionData).g1j = function () {
422
- writeToFile(toJsonString_0(_get_core__d4zfrg_0(this).x1a()), _get_outputFile__pta58u_0(this));
410
+ this.j2h_1 = argument(this, 'git-repo').g1s(this, dir$factory_1());
411
+ this.k2h_1 = default_0(option(this, []), 'currentContributionData.json').r1s(this, outputFile$factory_1());
412
+ this.l2h_1 = default_0(option(this, []), '').r1s(this, label$factory_1());
413
+ this.m2h_1 = option(this, []).r1s(this, majorRegex$factory_1());
414
+ this.n2h_1 = option(this, []).r1s(this, minorRegex$factory_1());
415
+ this.o2h_1 = option(this, []).r1s(this, patchRegex$factory_1());
416
+ this.p2h_1 = option(this, []).r1s(this, noneRegex$factory_1());
417
+ this.q2h_1 = option(this, []).r1s(this, storyIdRegex$factory_1());
418
+ this.r2h_1 = option(this, []).r1s(this, easeRegex$factory_1());
419
+ this.s2h_1 = option(this, []).r1s(this, tagRegex$factory_1());
420
+ }
421
+ protoOf(CurrentContributionData).q1j = function () {
422
+ writeToFile(toJsonString_0(_get_core__d4zfrg_0(this).f1b()), _get_outputFile__pta58u_0(this));
423
423
  // Inline function 'kotlin.also' call
424
424
  // Inline function 'com.zegreatrob.tools.digger.cli.CurrentContributionData.run.<anonymous>' call
425
- this.v1h('Data written to ' + _get_outputFile__pta58u_0(this));
425
+ this.f1i('Data written to ' + _get_outputFile__pta58u_0(this));
426
426
  return Unit_instance;
427
427
  };
428
428
  function dir$factory_1() {
@@ -529,20 +529,20 @@
529
529
  return function ($this$eagerOption) {
530
530
  // Inline function 'com.github.ajalt.clikt.parameters.options.versionOption.<anonymous>' call
531
531
  var it = $version;
532
- var tmp$ret$0 = $this.o1e_1 + ' version ' + it;
532
+ var tmp$ret$0 = $this.y1e_1 + ' version ' + it;
533
533
  throw new PrintMessage(tmp$ret$0);
534
534
  };
535
535
  }
536
536
  function Digger() {
537
537
  CliktCommand.call(this);
538
538
  // Inline function 'com.github.ajalt.clikt.parameters.options.versionOption' call
539
- var version = Versions_instance.k2f_1;
539
+ var version = Versions_instance.u2f_1;
540
540
  var help = 'Show the version and exit';
541
541
  var names = setOf('--version');
542
542
  eagerOption(this, names, help, VOID, VOID, VOID, Digger$lambda(version, this));
543
543
  }
544
- protoOf(Digger).g1j = function () {
545
- this.v1h('Welcome to Digger CLI.');
544
+ protoOf(Digger).q1j = function () {
545
+ this.f1i('Welcome to Digger CLI.');
546
546
  };
547
547
  function main_0(args) {
548
548
  return main(cli(), platformArgCorrection(args));