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 Nov 8, 2023
1 parent f311850 commit c537a31
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 90 deletions.
2 changes: 1 addition & 1 deletion docs/DescriptionCacheStore.html
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ <h3 class="signature " id="populate_if_empty!-instance_method">
<span class='kw'>return</span> <span class='kw'>unless</span> <span class='id identifier rubyid_eval_all'>eval_all</span>
<span class='kw'>return</span> <span class='kw'>unless</span> <span class='id identifier rubyid_database'>database</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>

<span class='const'><span class='object_link'><a href="Formula.html" title="Formula (class)">Formula</a></span></span><span class='period'>.</span><span class='id identifier rubyid_all'>all</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span> <span class='id identifier rubyid_update!'>update!</span><span class='lparen'>(</span><span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_full_name'>full_name</span><span class='comma'>,</span> <span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_desc'>desc</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
<span class='const'><span class='object_link'><a href="Formula.html" title="Formula (class)">Formula</a></span></span><span class='period'>.</span><span class='id identifier rubyid_all'>all</span><span class='lparen'>(</span><span class='label'>eval_all:</span> <span class='id identifier rubyid_eval_all'>eval_all</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span> <span class='id identifier rubyid_update!'>update!</span><span class='lparen'>(</span><span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_full_name'>full_name</span><span class='comma'>,</span> <span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_desc'>desc</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
<span class='kw'>end</span></pre>
</td>
</tr>
Expand Down
204 changes: 115 additions & 89 deletions docs/Homebrew/Cleanup.html
Original file line number Diff line number Diff line change
Expand Up @@ -1301,19 +1301,6 @@ <h3 class="signature first" id="autoremove-class_method">
<pre class="lines">


632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
Expand All @@ -1335,10 +1322,23 @@ <h3 class="signature first" id="autoremove-class_method">
663
664
665
666</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'cleanup.rb', line 632</span>
666
667
668
669
670
671
672
673
674
675
676
677
678
679</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'cleanup.rb', line 645</span>

<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_autoremove'>autoremove</span><span class='lparen'>(</span><span class='label'>dry_run:</span> <span class='kw'>false</span><span class='rparen'>)</span>
<span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>utils/autoremove</span><span class='tstring_end'>&quot;</span></span>
Expand Down Expand Up @@ -2457,15 +2457,15 @@ <h3 class="signature " id="cleanup_bootsnap-instance_method">
<pre class="lines">


499
500
501
502
503
504</pre>
512
513
514
515
516
517</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'cleanup.rb', line 499</span>
<pre class="code"><span class="info file"># File 'cleanup.rb', line 512</span>

<span class='kw'>def</span> <span class='id identifier rubyid_cleanup_bootsnap'>cleanup_bootsnap</span>
<span class='id identifier rubyid_bootsnap'>bootsnap</span> <span class='op'>=</span> <span class='id identifier rubyid_cache'>cache</span><span class='op'>/</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>bootsnap</span><span class='tstring_end'>&quot;</span></span>
Expand Down Expand Up @@ -2599,27 +2599,27 @@ <h3 class="signature " id="cleanup_cache_db-instance_method">
<pre class="lines">


506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523</pre>
523
524
525
526
527
528
529
530
531
532
533
534
535
536</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'cleanup.rb', line 506</span>
<pre class="code"><span class="info file"># File 'cleanup.rb', line 519</span>

<span class='kw'>def</span> <span class='id identifier rubyid_cleanup_cache_db'>cleanup_cache_db</span><span class='lparen'>(</span><span class='id identifier rubyid_rack'>rack</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
<span class='const'>FileUtils</span><span class='period'>.</span><span class='id identifier rubyid_rm_rf'>rm_rf</span> <span class='lbracket'>[</span>
Expand Down Expand Up @@ -3110,7 +3110,20 @@ <h3 class="signature " id="cleanup_portable_ruby-instance_method">
490
491
492
493</pre>
493
494
495
496
497
498
499
500
501
502
503
504
505
506</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'cleanup.rb', line 466</span>
Expand All @@ -3132,11 +3145,24 @@ <h3 class="signature " id="cleanup_portable_ruby-instance_method">

<span class='kw'>return</span> <span class='kw'>if</span> <span class='id identifier rubyid_portable_rubies_to_remove'>portable_rubies_to_remove</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>

<span class='id identifier rubyid_bundler_path'>bundler_path</span> <span class='op'>=</span> <span class='id identifier rubyid_vendor_dir'>vendor_dir</span><span class='op'>/</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>bundle/ruby</span><span class='tstring_end'>&quot;</span></span>
<span class='kw'>if</span> <span class='id identifier rubyid_dry_run?'>dry_run?</span>
<span class='id identifier rubyid_puts'>puts</span> <span class='const'><span class='object_link'><a href="../Utils.html" title="Utils (module)">Utils</a></span></span><span class='period'>.</span><span class='id identifier rubyid_popen_read'><span class='object_link'><a href="../Utils.html#popen_read-class_method" title="Utils.popen_read (method)">popen_read</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>git</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>-C</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='const'><span class='object_link'><a href="../top-level-namespace.html#HOMEBREW_REPOSITORY-constant" title="HOMEBREW_REPOSITORY (constant)">HOMEBREW_REPOSITORY</a></span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>clean</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>-nx</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_bundler_path'>bundler_path</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_chomp'>chomp</span>
<span class='kw'>else</span>
<span class='id identifier rubyid_puts'>puts</span> <span class='const'><span class='object_link'><a href="../Utils.html" title="Utils (module)">Utils</a></span></span><span class='period'>.</span><span class='id identifier rubyid_popen_read'><span class='object_link'><a href="../Utils.html#popen_read-class_method" title="Utils.popen_read (method)">popen_read</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>git</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>-C</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='const'><span class='object_link'><a href="../top-level-namespace.html#HOMEBREW_REPOSITORY-constant" title="HOMEBREW_REPOSITORY (constant)">HOMEBREW_REPOSITORY</a></span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>clean</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>-ffqx</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_bundler_path'>bundler_path</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_chomp'>chomp</span>
<span class='id identifier rubyid_bundler_paths'>bundler_paths</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_vendor_dir'>vendor_dir</span><span class='op'>/</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>bundle/ruby</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_children'>children</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_child'>child</span><span class='op'>|</span>
<span class='id identifier rubyid_basename'>basename</span> <span class='op'>=</span> <span class='id identifier rubyid_child'>child</span><span class='period'>.</span><span class='id identifier rubyid_basename'>basename</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>

<span class='kw'>next</span> <span class='kw'>false</span> <span class='kw'>if</span> <span class='id identifier rubyid_basename'>basename</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>.homebrew_gem_groups</span><span class='tstring_end'>&quot;</span></span>
<span class='kw'>next</span> <span class='kw'>true</span> <span class='kw'>unless</span> <span class='id identifier rubyid_child'>child</span><span class='period'>.</span><span class='id identifier rubyid_directory?'>directory?</span>

<span class='lbracket'>[</span>
<span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="../Version.html" title="Version (class)">Version</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Version.html#initialize-instance_method" title="Version#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_portable_ruby_latest_version'>portable_ruby_latest_version</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_major_minor'>major_minor</span><span class='embexpr_end'>}</span><span class='tstring_content'>.0</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
<span class='const'>RbConfig</span><span class='op'>::</span><span class='const'>CONFIG</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>ruby_version</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='comma'>,</span>
<span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_uniq'>uniq</span><span class='period'>.</span><span class='id identifier rubyid_exclude?'>exclude?</span><span class='lparen'>(</span><span class='id identifier rubyid_basename'>basename</span><span class='rparen'>)</span>
<span class='kw'>end</span>

<span class='id identifier rubyid_bundler_paths'>bundler_paths</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_bundler_path'>bundler_path</span><span class='op'>|</span>
<span class='kw'>if</span> <span class='id identifier rubyid_dry_run?'>dry_run?</span>
<span class='id identifier rubyid_puts'>puts</span> <span class='const'><span class='object_link'><a href="../Utils.html" title="Utils (module)">Utils</a></span></span><span class='period'>.</span><span class='id identifier rubyid_popen_read'><span class='object_link'><a href="../Utils.html#popen_read-class_method" title="Utils.popen_read (method)">popen_read</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>git</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>-C</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='const'><span class='object_link'><a href="../top-level-namespace.html#HOMEBREW_REPOSITORY-constant" title="HOMEBREW_REPOSITORY (constant)">HOMEBREW_REPOSITORY</a></span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>clean</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>-nx</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_bundler_path'>bundler_path</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_chomp'>chomp</span>
<span class='kw'>else</span>
<span class='id identifier rubyid_puts'>puts</span> <span class='const'><span class='object_link'><a href="../Utils.html" title="Utils (module)">Utils</a></span></span><span class='period'>.</span><span class='id identifier rubyid_popen_read'><span class='object_link'><a href="../Utils.html#popen_read-class_method" title="Utils.popen_read (method)">popen_read</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>git</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>-C</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='const'><span class='object_link'><a href="../top-level-namespace.html#HOMEBREW_REPOSITORY-constant" title="HOMEBREW_REPOSITORY (constant)">HOMEBREW_REPOSITORY</a></span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>clean</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>-ffqx</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_bundler_path'>bundler_path</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_chomp'>chomp</span>
<span class='kw'>end</span>
<span class='kw'>end</span>

<span class='id identifier rubyid_portable_rubies_to_remove'>portable_rubies_to_remove</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_portable_ruby'>portable_ruby</span><span class='op'>|</span>
Expand Down Expand Up @@ -3178,19 +3204,6 @@ <h3 class="signature " id="cleanup_python_site_packages-instance_method">
<pre class="lines">


539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
Expand Down Expand Up @@ -3225,10 +3238,23 @@ <h3 class="signature " id="cleanup_python_site_packages-instance_method">
583
584
585
586</pre>
586
587
588
589
590
591
592
593
594
595
596
597
598
599</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'cleanup.rb', line 539</span>
<pre class="code"><span class="info file"># File 'cleanup.rb', line 552</span>

<span class='kw'>def</span> <span class='id identifier rubyid_cleanup_python_site_packages'>cleanup_python_site_packages</span>
<span class='id identifier rubyid_pyc_files'>pyc_files</span> <span class='op'>=</span> <span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_h'>h</span><span class='comma'>,</span> <span class='id identifier rubyid_k'>k</span><span class='op'>|</span> <span class='id identifier rubyid_h'>h</span><span class='lbracket'>[</span><span class='id identifier rubyid_k'>k</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span> <span class='rbrace'>}</span>
Expand Down Expand Up @@ -3402,19 +3428,6 @@ <h3 class="signature " id="prune_prefix_symlinks_and_directories-instance_method
<pre class="lines">


588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
Expand Down Expand Up @@ -3444,10 +3457,23 @@ <h3 class="signature " id="prune_prefix_symlinks_and_directories-instance_method
627
628
629
630</pre>
630
631
632
633
634
635
636
637
638
639
640
641
642
643</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'cleanup.rb', line 588</span>
<pre class="code"><span class="info file"># File 'cleanup.rb', line 601</span>

<span class='kw'>def</span> <span class='id identifier rubyid_prune_prefix_symlinks_and_directories'>prune_prefix_symlinks_and_directories</span>
<span class='const'>ObserverPathnameExtension</span><span class='period'>.</span><span class='id identifier rubyid_reset_counts!'>reset_counts!</span>
Expand Down Expand Up @@ -3527,22 +3553,22 @@ <h3 class="signature " id="rm_ds_store-instance_method">
<pre class="lines">


525
526
527
528
529
530
531
532
533
534
535
536
537</pre>
538
539
540
541
542
543
544
545
546
547
548
549
550</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'cleanup.rb', line 525</span>
<pre class="code"><span class="info file"># File 'cleanup.rb', line 538</span>

<span class='kw'>def</span> <span class='id identifier rubyid_rm_ds_store'>rm_ds_store</span><span class='lparen'>(</span><span class='id identifier rubyid_dirs'>dirs</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
<span class='id identifier rubyid_dirs'>dirs</span> <span class='op'>||=</span> <span class='const'><span class='object_link'><a href="../Keg.html" title="Keg (class)">Keg</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Keg.html#MUST_EXIST_DIRECTORIES-constant" title="Keg::MUST_EXIST_DIRECTORIES (constant)">MUST_EXIST_DIRECTORIES</a></span></span> <span class='op'>+</span> <span class='lbracket'>[</span>
Expand Down

0 comments on commit c537a31

Please sign in to comment.