Skip to content

Commit 21dcb48

Browse files
committed
yard: update + mkd provider = CommonMarker
1 parent 82f9bf6 commit 21dcb48

14 files changed

+111
-174
lines changed

.yardopts

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
--output-dir docs/yard
2+
--markup markdown
3+
--markup-provider commonmarker
24
-
35
--main README.md
4-
LICENSE.txt
6+
LICENSE.txt

.yardopts-dev

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
--output-dir docs/yard
22
--protected
33
--private
4+
--markup markdown
5+
--markup-provider commonmarker
46
-
57
--main README.md
6-
LICENSE.txt
8+
LICENSE.txt

Gemfile

+2-4
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ group :development, :lint do
2323
end
2424

2525
group :development, :docs do
26-
gem 'commonmarker', '~> 0.21' # for GMF support in YARD
27-
gem 'github-markup', '~> 4.0' # for GMF support in YARD
28-
gem 'redcarpet', '~> 3.5' # for GMF support in YARD
29-
gem 'yard', '~> 0.9'
26+
gem 'commonmarker', '~> 0.21' # for markdown support in YARD
27+
gem 'yard', ['>= 0.9.27', '< 0.10']
3028
end

Gemfile.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ GEM
1919
ast (~> 2.4.1)
2020
rainbow (3.0.0)
2121
rake (13.0.6)
22-
redcarpet (3.5.1)
2322
regexp_parser (2.1.1)
2423
rexml (3.2.5)
2524
rubocop (1.23.0)
@@ -35,7 +34,9 @@ GEM
3534
parser (>= 3.0.1.1)
3635
ruby-progressbar (1.11.0)
3736
unicode-display_width (2.1.0)
38-
yard (0.9.26)
37+
webrick (1.7.0)
38+
yard (0.9.27)
39+
webrick (~> 1.7.0)
3940

4041
PLATFORMS
4142
ruby
@@ -49,9 +50,8 @@ DEPENDENCIES
4950
minitest (~> 5.12)
5051
paint (~> 2.2)
5152
rake (~> 13.0)
52-
redcarpet (~> 3.5)
5353
rubocop (~> 1.23)
54-
yard (~> 0.9)
54+
yard (>= 0.9.27, < 0.10)
5555

5656
BUNDLED WITH
5757
2.2.15

docs/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
- Windows Hello PIN/Password [#101][#101]
1212
- Chore:
1313
- MFA required for gem release
14+
- Dependencies:
15+
- Update to yard [v0.9.27](https://github.com/lsegal/yard/releases/tag/v0.9.27)
16+
- Move from Redcarpet to CommonMarker markdown provider
1417

1518
[#101]:https://github.com/noraj/haiti/issues/101
1619

docs/yard/HashIdentifier.html

+15-23
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<title>
77
Class: HashIdentifier
88

9-
&mdash; Documentation by YARD 0.9.26
9+
&mdash; Documentation by YARD 0.9.27
1010

1111
</title>
1212

@@ -108,8 +108,7 @@
108108

109109
<h2>Overview</h2><div class="docstring">
110110
<div class="discussion">
111-
112-
<p>The global Hash Identifier class</p>
111+
<p>The global Hash Identifier class</p>
113112

114113

115114
</div>
@@ -183,8 +182,7 @@ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collaps
183182

184183

185184

186-
<span class="summary_desc"><div class='inline'>
187-
<p>The hash (as provided).</p>
185+
<span class="summary_desc"><div class='inline'><p>The hash (as provided).</p>
188186
</div></span>
189187

190188
</li>
@@ -212,8 +210,7 @@ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collaps
212210

213211

214212

215-
<span class="summary_desc"><div class='inline'>
216-
<p>List of <span class='object_link'><a href="HashIdentifier/Chf.html" title="HashIdentifier::Chf (class)">Chf</a></span> objects, representing the identified hashes.</p>
213+
<span class="summary_desc"><div class='inline'><p>List of <span class='object_link'><a href="HashIdentifier/Chf.html" title="HashIdentifier::Chf (class)">Chf</a></span> objects, representing the identified hashes.</p>
217214
</div></span>
218215

219216
</li>
@@ -251,8 +248,7 @@ <h2>
251248

252249

253250

254-
<span class="summary_desc"><div class='inline'>
255-
<p>A new instance of hash identifier.</p>
251+
<span class="summary_desc"><div class='inline'><p>A new instance of hash identifier.</p>
256252
</div></span>
257253

258254
</li>
@@ -281,8 +277,7 @@ <h3 class="signature first" id="initialize-instance_method">
281277

282278
</h3><div class="docstring">
283279
<div class="discussion">
284-
285-
<p>A new instance of hash identifier</p>
280+
<p>A new instance of hash identifier</p>
286281

287282

288283
</div>
@@ -301,8 +296,7 @@ <h3 class="signature first" id="initialize-instance_method">
301296

302297

303298
&mdash;
304-
<div class='inline'>
305-
<p>the hash to identify</p>
299+
<div class='inline'><p>the hash to identify</p>
306300
</div>
307301

308302
</li>
@@ -353,8 +347,7 @@ <h3 class="signature first" id="hash-instance_method">
353347

354348
</h3><div class="docstring">
355349
<div class="discussion">
356-
357-
<p>Returns the hash (as provided).</p>
350+
<p>Returns the hash (as provided).</p>
358351

359352

360353
</div>
@@ -380,8 +373,7 @@ <h3 class="signature first" id="hash-instance_method">
380373

381374

382375
&mdash;
383-
<div class='inline'>
384-
<p>the hash (as provided)</p>
376+
<div class='inline'><p>the hash (as provided)</p>
385377
</div>
386378

387379
</li>
@@ -422,8 +414,8 @@ <h3 class="signature " id="type-instance_method">
422414

423415
</h3><div class="docstring">
424416
<div class="discussion">
425-
426-
<p>Returns list of <span class='object_link'><a href="HashIdentifier/Chf.html" title="HashIdentifier::Chf (class)">Chf</a></span> objects, representing the identified hashes.</p>
417+
<p>Returns list of <span class='object_link'><a href="HashIdentifier/Chf.html" title="HashIdentifier::Chf (class)">Chf</a></span> objects, representing the identified
418+
hashes.</p>
427419

428420

429421
</div>
@@ -441,8 +433,8 @@ <h3 class="signature " id="type-instance_method">
441433

442434

443435
&mdash;
444-
<div class='inline'>
445-
<p>list of <span class='object_link'><a href="HashIdentifier/Chf.html" title="HashIdentifier::Chf (class)">Chf</a></span> objects, representing the identified hashes</p>
436+
<div class='inline'><p>list of <span class='object_link'><a href="HashIdentifier/Chf.html" title="HashIdentifier::Chf (class)">Chf</a></span> objects, representing the identified
437+
hashes</p>
446438
</div>
447439

448440
</li>
@@ -476,9 +468,9 @@ <h3 class="signature " id="type-instance_method">
476468
</div>
477469

478470
<div id="footer">
479-
Generated on Tue Aug 24 15:46:02 2021 by
471+
Generated on Tue Nov 30 17:29:07 2021 by
480472
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
481-
0.9.26 (ruby-3.0.1).
473+
0.9.27 (ruby-3.0.1).
482474
</div>
483475

484476
</div>

docs/yard/HashIdentifier/Chf.html

+23-39
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<title>
77
Class: HashIdentifier::Chf
88

9-
&mdash; Documentation by YARD 0.9.26
9+
&mdash; Documentation by YARD 0.9.27
1010

1111
</title>
1212

@@ -101,8 +101,7 @@
101101

102102
<h2>Overview</h2><div class="docstring">
103103
<div class="discussion">
104-
105-
<p>Cryptographic hash function object</p>
104+
<p>Cryptographic hash function object</p>
106105

107106

108107
</div>
@@ -139,8 +138,7 @@ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collaps
139138

140139

141140

142-
<span class="summary_desc"><div class='inline'>
143-
<p>Display by default or not.</p>
141+
<span class="summary_desc"><div class='inline'><p>Display by default or not.</p>
144142
</div></span>
145143

146144
</li>
@@ -168,8 +166,7 @@ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collaps
168166

169167

170168

171-
<span class="summary_desc"><div class='inline'>
172-
<p>Hashcat hash ID.</p>
169+
<span class="summary_desc"><div class='inline'><p>Hashcat hash ID.</p>
173170
</div></span>
174171

175172
</li>
@@ -197,8 +194,7 @@ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collaps
197194

198195

199196

200-
<span class="summary_desc"><div class='inline'>
201-
<p>John the Ripper hash reference.</p>
197+
<span class="summary_desc"><div class='inline'><p>John the Ripper hash reference.</p>
202198
</div></span>
203199

204200
</li>
@@ -226,8 +222,7 @@ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collaps
226222

227223

228224

229-
<span class="summary_desc"><div class='inline'>
230-
<p>Name of the identified hash type.</p>
225+
<span class="summary_desc"><div class='inline'><p>Name of the identified hash type.</p>
231226
</div></span>
232227

233228
</li>
@@ -255,8 +250,7 @@ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collaps
255250

256251

257252

258-
<span class="summary_desc"><div class='inline'>
259-
<p>Examples of hashes.</p>
253+
<span class="summary_desc"><div class='inline'><p>Examples of hashes.</p>
260254
</div></span>
261255

262256
</li>
@@ -294,8 +288,7 @@ <h2>
294288

295289

296290

297-
<span class="summary_desc"><div class='inline'>
298-
<p>A new instance of Chf.</p>
291+
<span class="summary_desc"><div class='inline'><p>A new instance of Chf.</p>
299292
</div></span>
300293

301294
</li>
@@ -318,8 +311,7 @@ <h3 class="signature first" id="initialize-instance_method">
318311

319312
</h3><div class="docstring">
320313
<div class="discussion">
321-
322-
<p>Returns a new instance of Chf.</p>
314+
<p>Returns a new instance of Chf.</p>
323315

324316

325317
</div>
@@ -374,8 +366,8 @@ <h3 class="signature first" id="extended-instance_method">
374366

375367
</h3><div class="docstring">
376368
<div class="discussion">
377-
378-
<p>Returns Display by default or not. If true it is displayed in extended mode only, mostly hash type using salt.</p>
369+
<p>Returns Display by default or not. If true it is displayed in
370+
extended mode only, mostly hash type using salt.</p>
379371

380372

381373
</div>
@@ -393,8 +385,8 @@ <h3 class="signature first" id="extended-instance_method">
393385

394386

395387
&mdash;
396-
<div class='inline'>
397-
<p>Display by default or not. If true it is displayed in extended mode only, mostly hash type using salt.</p>
388+
<div class='inline'><p>Display by default or not. If true it is displayed in
389+
extended mode only, mostly hash type using salt.</p>
398390
</div>
399391

400392
</li>
@@ -435,8 +427,7 @@ <h3 class="signature " id="hashcat-instance_method">
435427

436428
</h3><div class="docstring">
437429
<div class="discussion">
438-
439-
<p>Returns Hashcat hash ID. nil if unknown.</p>
430+
<p>Returns Hashcat hash ID. nil if unknown.</p>
440431

441432

442433
</div>
@@ -454,8 +445,7 @@ <h3 class="signature " id="hashcat-instance_method">
454445

455446

456447
&mdash;
457-
<div class='inline'>
458-
<p>Hashcat hash ID. nil if unknown.</p>
448+
<div class='inline'><p>Hashcat hash ID. nil if unknown.</p>
459449
</div>
460450

461451
</li>
@@ -496,8 +486,7 @@ <h3 class="signature " id="john-instance_method">
496486

497487
</h3><div class="docstring">
498488
<div class="discussion">
499-
500-
<p>Returns John the Ripper hash reference. nil if unknown.</p>
489+
<p>Returns John the Ripper hash reference. nil if unknown.</p>
501490

502491

503492
</div>
@@ -515,8 +504,7 @@ <h3 class="signature " id="john-instance_method">
515504

516505

517506
&mdash;
518-
<div class='inline'>
519-
<p>John the Ripper hash reference. nil if unknown.</p>
507+
<div class='inline'><p>John the Ripper hash reference. nil if unknown.</p>
520508
</div>
521509

522510
</li>
@@ -557,8 +545,7 @@ <h3 class="signature " id="name-instance_method">
557545

558546
</h3><div class="docstring">
559547
<div class="discussion">
560-
561-
<p>Returns name of the identified hash type.</p>
548+
<p>Returns name of the identified hash type.</p>
562549

563550

564551
</div>
@@ -576,8 +563,7 @@ <h3 class="signature " id="name-instance_method">
576563

577564

578565
&mdash;
579-
<div class='inline'>
580-
<p>name of the identified hash type</p>
566+
<div class='inline'><p>name of the identified hash type</p>
581567
</div>
582568

583569
</li>
@@ -618,8 +604,7 @@ <h3 class="signature " id="samples-instance_method">
618604

619605
</h3><div class="docstring">
620606
<div class="discussion">
621-
622-
<p>Returns Examples of hashes.</p>
607+
<p>Returns Examples of hashes.</p>
623608

624609

625610
</div>
@@ -637,8 +622,7 @@ <h3 class="signature " id="samples-instance_method">
637622

638623

639624
&mdash;
640-
<div class='inline'>
641-
<p>Examples of hashes</p>
625+
<div class='inline'><p>Examples of hashes</p>
642626
</div>
643627

644628
</li>
@@ -672,9 +656,9 @@ <h3 class="signature " id="samples-instance_method">
672656
</div>
673657

674658
<div id="footer">
675-
Generated on Tue Aug 24 15:46:02 2021 by
659+
Generated on Tue Nov 30 17:29:07 2021 by
676660
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
677-
0.9.26 (ruby-3.0.1).
661+
0.9.27 (ruby-3.0.1).
678662
</div>
679663

680664
</div>

0 commit comments

Comments
 (0)