diff --git a/docs/Formula.html b/docs/Formula.html index 23b663729..17a48eb39 100644 --- a/docs/Formula.html +++ b/docs/Formula.html @@ -5521,8 +5521,6 @@
-3251 -3252 3253 3254 3255 @@ -5532,10 +5530,12 @@+3262 +3263 +32643259 3260 3261 -3262
# File 'formula.rb', line 3251 +# File 'formula.rb', line 3253 def allow_network_access!(phases = []) phases_array = Array(phases) @@ -5621,12 +5621,12 @@
-3461 -3462 -3463+3463 +3464 +3465
# File 'formula.rb', line 3461 +# File 'formula.rb', line 3463 def bottle(&block) stable.bottle(&block) @@ -5686,8 +5686,6 @@
-3273 -3274 3275 3276 3277 @@ -5697,10 +5695,12 @@+3284 +3285 +32863281 3282 3283 -3284
# File 'formula.rb', line 3273 +# File 'formula.rb', line 3275 def deny_network_access!(phases = []) phases_array = Array(phases) @@ -5749,12 +5749,12 @@
-3628 -3629 -3630+3630 +3631 +3632
# File 'formula.rb', line 3628 +# File 'formula.rb', line 3630 def deprecated_option(hash) specs.each { |spec| spec.deprecated_option(hash) } @@ -5816,12 +5816,12 @@
-3916 -3917 -3918+3918 +3919 +3920
# File 'formula.rb', line 3916 +# File 'formula.rb', line 3918 def deprecation_date @deprecation_date @@ -5891,12 +5891,12 @@
-3922 -3923 -3924+3924 +3925 +3926
# File 'formula.rb', line 3922 +# File 'formula.rb', line 3924 def deprecation_reason @deprecation_reason @@ -6026,12 +6026,12 @@
-3958 -3959 -3960+3960 +3961 +3962
# File 'formula.rb', line 3958 +# File 'formula.rb', line 3960 def disable_date @disable_date @@ -6089,12 +6089,12 @@
-3964 -3965 -3966+3966 +3967 +3968
# File 'formula.rb', line 3964 +# File 'formula.rb', line 3966 def disable_reason @disable_reason @@ -6141,18 +6141,18 @@
-3512 -3513 3514 3515 3516 3517 3518 3519 -3520+3520 +3521 +3522
# File 'formula.rb', line 3512 +# File 'formula.rb', line 3514 def head(val = nil, specs = {}, &block) if block @@ -6291,16 +6291,16 @@
-3234 -3235 3236 3237 3238 3239 -3240+3240 +3241 +3242
# File 'formula.rb', line 3234 +# File 'formula.rb', line 3236 def license(args = nil) if args.nil? @@ -6351,15 +6351,15 @@
-3807 -3808 3809 3810 3811 -3812+3812 +3813 +3814
# File 'formula.rb', line 3807 +# File 'formula.rb', line 3809 def livecheck(&block) return @livecheck unless block @@ -6406,12 +6406,12 @@
-3419 -3420 -3421+3421 +3422 +3423
# File 'formula.rb', line 3419 +# File 'formula.rb', line 3421 def mirror(val) stable.mirror(val) @@ -6462,12 +6462,12 @@
-3617 -3618 -3619+3619 +3620 +3621
# File 'formula.rb', line 3617 +# File 'formula.rb', line 3619 def option(name, description = "") specs.each { |spec| spec.option(name, description) } @@ -6579,14 +6579,14 @@
-3825 -3826 3827 3828 -3829+3829 +3830 +3831
# File 'formula.rb', line 3825 +# File 'formula.rb', line 3827 def service(&block) return @service_block unless block @@ -6630,12 +6630,12 @@
-3433 -3434 -3435+3435 +3436 +3437
# File 'formula.rb', line 3433 +# File 'formula.rb', line 3435 def sha256(val) stable.sha256(val) @@ -6682,14 +6682,14 @@
-3494 -3495 3496 3497 -3498+3498 +3499 +3500
# File 'formula.rb', line 3494 +# File 'formula.rb', line 3496 def stable(&block) return @stable unless block @@ -6743,12 +6743,12 @@
-3392 -3393 -3394+3394 +3395 +3396
# File 'formula.rb', line 3392 +# File 'formula.rb', line 3394 def url(val, specs = {}) stable.url(val, specs) @@ -6789,12 +6789,12 @@
-3404 -3405 -3406+3406 +3407 +3408
# File 'formula.rb', line 3404 +# File 'formula.rb', line 3406 def version(val = nil) stable.version(val) @@ -7828,13 +7828,13 @@
-3673 -3674 3675 -3676+3676 +3677 +3678
# File 'formula.rb', line 3673 +# File 'formula.rb', line 3675 def conflicts_with(*names) opts = names.last.is_a?(Hash) ? names.pop : {} @@ -7870,12 +7870,12 @@
-3713 -3714 -3715+3715 +3716 +3717
# File 'formula.rb', line 3713 +# File 'formula.rb', line 3715 def cxxstdlib_check(check_type) define_method(:skip_cxxstdlib_check?) { true } if check_type == :skip @@ -7945,12 +7945,12 @@
-3581 -3582 -3583+3583 +3584 +3585
# File 'formula.rb', line 3581 +# File 'formula.rb', line 3583 def depends_on(dep) specs.each { |spec| spec.depends_on(dep) } @@ -7998,16 +7998,16 @@
-3896 -3897 3898 3899 3900 3901 -3902+3902 +3903 +3904
# File 'formula.rb', line 3896 +# File 'formula.rb', line 3898 def deprecate!(date:, because:) @deprecation_date = Date.parse(date) @@ -8067,12 +8067,12 @@
-3908 -3909 -3910+3910 +3911 +3912
# File 'formula.rb', line 3908 +# File 'formula.rb', line 3910 def deprecated? @deprecated == true @@ -8120,8 +8120,6 @@
-3933 -3934 3935 3936 3937 @@ -8131,10 +8129,12 @@+3944 +3945 +39463941 3942 3943 -3944
# File 'formula.rb', line 3933 +# File 'formula.rb', line 3935 def disable!(date:, because:) @disable_date = Date.parse(date) @@ -8199,12 +8199,12 @@
-3950 -3951 -3952+3952 +3953 +3954
# File 'formula.rb', line 3950 +# File 'formula.rb', line 3952 def disabled? @disabled == true @@ -8259,12 +8259,12 @@
-3740 -3741 -3742+3742 +3743 +3744
# File 'formula.rb', line 3740 +# File 'formula.rb', line 3742 def fails_with(compiler, &block) specs.each { |spec| spec.fails_with(compiler, &block) } @@ -8289,17 +8289,17 @@
-3176 -3177 3178 3179 3180 3181 3182 -3183+3183 +3184 +3185
# File 'formula.rb', line 3176 +# File 'formula.rb', line 3178 def freeze specs.each(&:freeze) @@ -8339,13 +8339,13 @@
-3538 -3539 3540 -3541+3541 +3542 +3543
# File 'formula.rb', line 3538 +# File 'formula.rb', line 3540 def go_resource(name, &block) # odeprecated "Formula#go_resource", "Go modules" @@ -8382,8 +8382,6 @@
-3148 -3149 3150 3151 3152 @@ -8397,10 +8395,12 @@+3163 +3164 +31653160 3161 3162 -3163
# File 'formula.rb', line 3148 +# File 'formula.rb', line 3150 def inherited(child) super @@ -8492,12 +8492,12 @@
-3706 -3707 -3708+3708 +3709 +3710
# File 'formula.rb', line 3706 +# File 'formula.rb', line 3708 def keg_only(reason, explanation = "") @keg_only_reason = KegOnlyReason.new(reason, explanation) @@ -8537,13 +8537,13 @@
-3972 -3973 3974 -3975+3975 +3976 +3977
# File 'formula.rb', line 3972 +# File 'formula.rb', line 3974 def link_overwrite(*paths) paths.flatten! @@ -8594,12 +8594,12 @@
-3310 -3311 -3312+3312 +3313 +3314
# File 'formula.rb', line 3310 +# File 'formula.rb', line 3312 def livecheckable? @livecheckable == true @@ -8696,12 +8696,12 @@
-3755 -3756 -3757+3757 +3758 +3759
# File 'formula.rb', line 3755 +# File 'formula.rb', line 3757 def needs(*standards) specs.each { |spec| spec.needs(*standards) } @@ -8777,15 +8777,15 @@
-3288 -3289 3290 3291 3292 -3293+3293 +3294 +3295
# File 'formula.rb', line 3288 +# File 'formula.rb', line 3290 def network_access_allowed?(phase) raise ArgumentError, "Unknown phase: #{phase}" unless SUPPORTED_NETWORK_ACCESS_PHASES.include?(phase) @@ -8944,12 +8944,12 @@
-3665 -3666 -3667+3667 +3668 +3669
# File 'formula.rb', line 3665 +# File 'formula.rb', line 3667 def patch(strip = :p1, src = nil, &block) specs.each { |spec| spec.patch(strip, src, &block) } @@ -9011,8 +9011,6 @@
-3848 -3849 3850 3851 3852 @@ -9045,10 +9043,12 @@+3882 +3883 +38843879 3880 3881 -3882
# File 'formula.rb', line 3848 +# File 'formula.rb', line 3850 def pour_bottle?(only_if: nil, &block) @pour_bottle_check = PourBottleCheck.new(self) @@ -9121,14 +9121,14 @@
-3531 -3532 3533 3534 -3535+3535 +3536 +3537
# File 'formula.rb', line 3531 +# File 'formula.rb', line 3533 def resource(name, klass = Resource, &block) specs.each do |spec| @@ -9180,12 +9180,12 @@
-3318 -3319 -3320+3320 +3321 +3322
# File 'formula.rb', line 3318 +# File 'formula.rb', line 3320 def service? @service_block.present? @@ -9226,14 +9226,14 @@
-3687 -3688 3689 3690 -3691+3691 +3692 +3693
# File 'formula.rb', line 3687 +# File 'formula.rb', line 3689 def skip_clean(*paths) paths.flatten! @@ -9313,12 +9313,12 @@
-3789 -3790 -3791+3791 +3792 +3793
# File 'formula.rb', line 3789 +# File 'formula.rb', line 3791 def test(&block) define_method(:test, &block) @@ -9384,12 +9384,12 @@
-3597 -3598 -3599+3599 +3600 +3601
# File 'formula.rb', line 3597 +# File 'formula.rb', line 3599 def uses_from_macos(dep, bounds = {}) specs.each { |spec| spec.uses_from_macos(dep, bounds) } diff --git a/docs/Language/Node.html b/docs/Language/Node.html index 83233563e..bf75ad9b5 100644 --- a/docs/Language/Node.html +++ b/docs/Language/Node.html @@ -277,18 +277,18 @@
+80 +81 +82 83 84 85 86 87 -88 -89 -90 -91+88
# File 'language/node.rb', line 83 +# File 'language/node.rb', line 80 def self.local_npm_install_args setup_npm_environment @@ -586,19 +586,13 @@+7774 75 76 -77 -78 -79 -80
# File 'language/node.rb', line 56 def self.std_npm_install_args(libexec) setup_npm_environment - # tell npm to not install .brew_home by adding it to the .npmignore file - # (or creating a new one if no .npmignore file already exists) - open(".npmignore", "a") { |f| f.write("\n.brew_home\n") } pack = pack_for_installation diff --git a/docs/Language/Node/Shebang.html b/docs/Language/Node/Shebang.html index 68d2dd08c..5a92ab305 100644 --- a/docs/Language/Node/Shebang.html +++ b/docs/Language/Node/Shebang.html @@ -266,16 +266,16 @@
+111 +112 +113 114 115 116 -117 -118 -119 -120+117
# File 'language/node.rb', line 114 +# File 'language/node.rb', line 111 def detected_node_shebang(formula = T.cast(self, Formula)) node_deps = formula.deps.map(&:name).grep(/^node(@.+)?$/)