Skip to content

Commit

Permalink
docs: updates from Homebrew/brew
Browse files Browse the repository at this point in the history
  • Loading branch information
BrewTestBot committed Dec 20, 2023
1 parent f080fa2 commit 5bb075c
Show file tree
Hide file tree
Showing 9 changed files with 98 additions and 82 deletions.
20 changes: 10 additions & 10 deletions docs/RuboCop/Cop/FormulaAudit/GenerateCompletionsDSL.html
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,6 @@ <h3 class="signature first" id="audit_formula-instance_method">
<pre class="lines">


465
466
467
468
469
470
471
472
473
474
475
Expand Down Expand Up @@ -279,10 +271,18 @@ <h3 class="signature first" id="audit_formula-instance_method">
510
511
512
513</pre>
513
514
515
516
517
518
519
520
521</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 465</span>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 473</span>

<span class='kw'>def</span> <span class='id identifier rubyid_audit_formula'>audit_formula</span><span class='lparen'>(</span><span class='id identifier rubyid__node'>_node</span><span class='comma'>,</span> <span class='id identifier rubyid__class_node'>_class_node</span><span class='comma'>,</span> <span class='id identifier rubyid__parent_class_node'>_parent_class_node</span><span class='comma'>,</span> <span class='id identifier rubyid_body_node'>body_node</span><span class='rparen'>)</span>
<span class='id identifier rubyid_install'>install</span> <span class='op'>=</span> <span class='id identifier rubyid_find_method_def'>find_method_def</span><span class='lparen'>(</span><span class='id identifier rubyid_body_node'>body_node</span><span class='comma'>,</span> <span class='symbol'>:install</span><span class='rparen'>)</span>
Expand Down
12 changes: 6 additions & 6 deletions docs/RuboCop/Cop/FormulaAudit/MacOSOnLinux.html
Original file line number Diff line number Diff line change
Expand Up @@ -279,14 +279,14 @@ <h3 class="signature first" id="audit_formula-instance_method">
<pre class="lines">


452
453
454
455
456</pre>
460
461
462
463
464</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 452</span>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 460</span>

<span class='kw'>def</span> <span class='id identifier rubyid_audit_formula'>audit_formula</span><span class='lparen'>(</span><span class='id identifier rubyid__node'>_node</span><span class='comma'>,</span> <span class='id identifier rubyid__class_node'>_class_node</span><span class='comma'>,</span> <span class='id identifier rubyid__parent_class_node'>_parent_class_node</span><span class='comma'>,</span> <span class='id identifier rubyid_body_node'>body_node</span><span class='rparen'>)</span>
<span class='id identifier rubyid_audit_macos_references'>audit_macos_references</span><span class='lparen'>(</span><span class='id identifier rubyid_body_node'>body_node</span><span class='comma'>,</span>
Expand Down
32 changes: 16 additions & 16 deletions docs/RuboCop/Cop/FormulaAudit/Miscellaneous.html
Original file line number Diff line number Diff line change
Expand Up @@ -247,14 +247,6 @@ <h3 class="signature first" id="audit_formula-instance_method">
<pre class="lines">


608
609
610
611
612
613
614
615
616
617
618
Expand Down Expand Up @@ -477,10 +469,18 @@ <h3 class="signature first" id="audit_formula-instance_method">
835
836
837
838</pre>
838
839
840
841
842
843
844
845
846</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 608</span>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 616</span>

<span class='kw'>def</span> <span class='id identifier rubyid_audit_formula'>audit_formula</span><span class='lparen'>(</span><span class='id identifier rubyid__node'>_node</span><span class='comma'>,</span> <span class='id identifier rubyid__class_node'>_class_node</span><span class='comma'>,</span> <span class='id identifier rubyid__parent_class_node'>_parent_class_node</span><span class='comma'>,</span> <span class='id identifier rubyid_body_node'>body_node</span><span class='rparen'>)</span>
<span class='kw'>return</span> <span class='kw'>if</span> <span class='id identifier rubyid_body_node'>body_node</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
Expand Down Expand Up @@ -761,14 +761,14 @@ <h3 class="signature " id="modifier?-instance_method">
<pre class="lines">


840
841
842
843
844</pre>
848
849
850
851
852</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 840</span>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 848</span>

<span class='kw'>def</span> <span class='id identifier rubyid_modifier?'>modifier?</span><span class='lparen'>(</span><span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span>
<span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>unless</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_if_type?'>if_type?</span>
Expand Down
20 changes: 10 additions & 10 deletions docs/RuboCop/Cop/FormulaAudit/OnSystemConditionals.html
Original file line number Diff line number Diff line change
Expand Up @@ -305,14 +305,6 @@ <h3 class="signature first" id="audit_formula-instance_method">
<pre class="lines">


413
414
415
416
417
418
419
420
421
422
423
Expand All @@ -333,10 +325,18 @@ <h3 class="signature first" id="audit_formula-instance_method">
438
439
440
441</pre>
441
442
443
444
445
446
447
448
449</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 413</span>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 421</span>

<span class='kw'>def</span> <span class='id identifier rubyid_audit_formula'>audit_formula</span><span class='lparen'>(</span><span class='id identifier rubyid__node'>_node</span><span class='comma'>,</span> <span class='id identifier rubyid__class_node'>_class_node</span><span class='comma'>,</span> <span class='id identifier rubyid__parent_class_node'>_parent_class_node</span><span class='comma'>,</span> <span class='id identifier rubyid_body_node'>body_node</span><span class='rparen'>)</span>
<span class='const'><span class='object_link'><a href="#NO_ON_SYSTEM_METHOD_NAMES-constant" title="RuboCop::Cop::FormulaAudit::OnSystemConditionals::NO_ON_SYSTEM_METHOD_NAMES (constant)">NO_ON_SYSTEM_METHOD_NAMES</a></span></span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_formula_method_name'>formula_method_name</span><span class='op'>|</span>
Expand Down
22 changes: 19 additions & 3 deletions docs/RuboCop/Cop/FormulaAudit/PythonVersions.html
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,15 @@ <h3 class="signature first" id="audit_formula-instance_method">
397
398
399
400</pre>
400
401
402
403
404
405
406
407
408</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 371</span>
Expand All @@ -272,9 +280,17 @@ <h3 class="signature first" id="audit_formula-instance_method">
<span class='id identifier rubyid_string_content'>string_content</span><span class='lparen'>(</span><span class='id identifier rubyid_parameters'>parameters</span><span class='lparen'>(</span><span class='id identifier rubyid_dep'>dep</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_start_with?'>start_with?</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>python@</span><span class='tstring_end'>&quot;</span></span>
<span class='kw'>end</span>

<span class='kw'>return</span> <span class='kw'>if</span> <span class='id identifier rubyid_python_formula_node'>python_formula_node</span><span class='period'>.</span><span class='id identifier rubyid_blank?'>blank?</span>
<span class='id identifier rubyid_python_version'>python_version</span> <span class='op'>=</span> <span class='kw'>if</span> <span class='id identifier rubyid_python_formula_node'>python_formula_node</span><span class='period'>.</span><span class='id identifier rubyid_blank?'>blank?</span>
<span class='id identifier rubyid_other_python_nodes'>other_python_nodes</span> <span class='op'>=</span> <span class='id identifier rubyid_find_every_method_call_by_name'>find_every_method_call_by_name</span><span class='lparen'>(</span><span class='id identifier rubyid_body_node'>body_node</span><span class='comma'>,</span> <span class='symbol'>:depends_on</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_select'>select</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_dep'>dep</span><span class='op'>|</span>
<span class='id identifier rubyid_parameters'>parameters</span><span class='lparen'>(</span><span class='id identifier rubyid_dep'>dep</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='period'>.</span><span class='id identifier rubyid_instance_of?'>instance_of?</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="../../../RuboCop.html" title="RuboCop (module)">RuboCop</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../AST.html" title="RuboCop::AST (module)">AST</a></span></span><span class='op'>::</span><span class='const'>HashNode</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span>
<span class='id identifier rubyid_string_content'>string_content</span><span class='lparen'>(</span><span class='id identifier rubyid_parameters'>parameters</span><span class='lparen'>(</span><span class='id identifier rubyid_dep'>dep</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_start_with?'>start_with?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>python@</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
<span class='kw'>end</span>
<span class='kw'>return</span> <span class='kw'>if</span> <span class='id identifier rubyid_other_python_nodes'>other_python_nodes</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>!=</span> <span class='int'>1</span>

<span class='id identifier rubyid_python_version'>python_version</span> <span class='op'>=</span> <span class='id identifier rubyid_string_content'>string_content</span><span class='lparen'>(</span><span class='id identifier rubyid_parameters'>parameters</span><span class='lparen'>(</span><span class='id identifier rubyid_python_formula_node'>python_formula_node</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>@</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_last'>last</span>
<span class='id identifier rubyid_string_content'>string_content</span><span class='lparen'>(</span><span class='id identifier rubyid_parameters'>parameters</span><span class='lparen'>(</span><span class='id identifier rubyid_other_python_nodes'>other_python_nodes</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>@</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_last'>last</span>
<span class='kw'>else</span>
<span class='id identifier rubyid_string_content'>string_content</span><span class='lparen'>(</span><span class='id identifier rubyid_parameters'>parameters</span><span class='lparen'>(</span><span class='id identifier rubyid_python_formula_node'>python_formula_node</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>@</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_last'>last</span>
<span class='kw'>end</span>

<span class='id identifier rubyid_find_strings'>find_strings</span><span class='lparen'>(</span><span class='id identifier rubyid_body_node'>body_node</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_str'>str</span><span class='op'>|</span>
<span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='id identifier rubyid_string_content'>string_content</span><span class='lparen'>(</span><span class='id identifier rubyid_str'>str</span><span class='rparen'>)</span>
Expand Down
20 changes: 10 additions & 10 deletions docs/RuboCop/Cop/FormulaAudit/SingleGenerateCompletionsDSLCall.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,6 @@ <h3 class="signature first" id="audit_formula-instance_method">
<pre class="lines">


548
549
550
551
552
553
554
555
556
557
558
Expand Down Expand Up @@ -285,10 +277,18 @@ <h3 class="signature first" id="audit_formula-instance_method">
598
599
600
601</pre>
601
602
603
604
605
606
607
608
609</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 548</span>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 556</span>

<span class='kw'>def</span> <span class='id identifier rubyid_audit_formula'>audit_formula</span><span class='lparen'>(</span><span class='id identifier rubyid__node'>_node</span><span class='comma'>,</span> <span class='id identifier rubyid__class_node'>_class_node</span><span class='comma'>,</span> <span class='id identifier rubyid__parent_class_node'>_parent_class_node</span><span class='comma'>,</span> <span class='id identifier rubyid_body_node'>body_node</span><span class='rparen'>)</span>
<span class='id identifier rubyid_install'>install</span> <span class='op'>=</span> <span class='id identifier rubyid_find_method_def'>find_method_def</span><span class='lparen'>(</span><span class='id identifier rubyid_body_node'>body_node</span><span class='comma'>,</span> <span class='symbol'>:install</span><span class='rparen'>)</span>
Expand Down
20 changes: 10 additions & 10 deletions docs/RuboCop/Cop/FormulaAuditStrict/MakeCheck.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,14 +225,6 @@ <h3 class="signature first" id="audit_formula-instance_method">
<pre class="lines">


879
880
881
882
883
884
885
886
887
888
889
Expand All @@ -244,10 +236,18 @@ <h3 class="signature first" id="audit_formula-instance_method">
895
896
897
898</pre>
898
899
900
901
902
903
904
905
906</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 879</span>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 887</span>

<span class='kw'>def</span> <span class='id identifier rubyid_audit_formula'>audit_formula</span><span class='lparen'>(</span><span class='id identifier rubyid__node'>_node</span><span class='comma'>,</span> <span class='id identifier rubyid__class_node'>_class_node</span><span class='comma'>,</span> <span class='id identifier rubyid__parent_class_node'>_parent_class_node</span><span class='comma'>,</span> <span class='id identifier rubyid_body_node'>body_node</span><span class='rparen'>)</span>
<span class='kw'>return</span> <span class='kw'>if</span> <span class='id identifier rubyid_formula_tap'>formula_tap</span> <span class='op'>!=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>homebrew-core</span><span class='tstring_end'>&quot;</span></span>
Expand Down
14 changes: 7 additions & 7 deletions docs/RuboCop/Cop/FormulaAuditStrict/Requirements.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,15 +205,15 @@ <h3 class="signature first" id="audit_formula-instance_method">
<pre class="lines">


903
904
905
906
907
908</pre>
911
912
913
914
915
916</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 903</span>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 911</span>

<span class='kw'>def</span> <span class='id identifier rubyid_audit_formula'>audit_formula</span><span class='lparen'>(</span><span class='id identifier rubyid__node'>_node</span><span class='comma'>,</span> <span class='id identifier rubyid__class_node'>_class_node</span><span class='comma'>,</span> <span class='id identifier rubyid__parent_class_node'>_parent_class_node</span><span class='comma'>,</span> <span class='id identifier rubyid__body_node'>_body_node</span><span class='rparen'>)</span>
<span class='id identifier rubyid_problem'>problem</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Formulae should depend on a versioned `openjdk` instead of :java</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_depends_on?'>depends_on?</span> <span class='symbol'>:java</span>
Expand Down
20 changes: 10 additions & 10 deletions docs/RuboCop/Cop/FormulaAuditStrict/RustCheck.html
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,6 @@ <h3 class="signature first" id="audit_formula-instance_method">
<pre class="lines">


917
918
919
920
921
922
923
924
925
926
927
Expand Down Expand Up @@ -266,10 +258,18 @@ <h3 class="signature first" id="audit_formula-instance_method">
949
950
951
952</pre>
952
953
954
955
956
957
958
959
960</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 917</span>
<pre class="code"><span class="info file"># File 'rubocops/lines.rb', line 925</span>

<span class='kw'>def</span> <span class='id identifier rubyid_audit_formula'>audit_formula</span><span class='lparen'>(</span><span class='id identifier rubyid__node'>_node</span><span class='comma'>,</span> <span class='id identifier rubyid__class_node'>_class_node</span><span class='comma'>,</span> <span class='id identifier rubyid__parent_class_node'>_parent_class_node</span><span class='comma'>,</span> <span class='id identifier rubyid_body_node'>body_node</span><span class='rparen'>)</span>
<span class='kw'>return</span> <span class='kw'>if</span> <span class='id identifier rubyid_body_node'>body_node</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
Expand Down

0 comments on commit 5bb075c

Please sign in to comment.