language stringclasses 1
value | owner stringlengths 2 15 | repo stringlengths 2 21 | sha stringlengths 45 45 | message stringlengths 7 36.3k | path stringlengths 1 199 | patch stringlengths 15 102k | is_multipart bool 2
classes |
|---|---|---|---|---|---|---|---|
Other | Homebrew | brew | 369fa8d838b180b7e65fd548c7e011f29a40eaa4.json | Update RBI files for sorbet-static-and-runtime. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -2995,17 +2995,9 @@ module Kernel
def choose(*args, &block); end
- def itself(); end
-
- def object_id(); end
-
def pretty_inspect(); end
def say(*args, &block); end
-
- def then(); end
-
- def yield_self(); end
end
module Kernel | false |
Other | Homebrew | brew | c6907f911f12cff4374d78a6f080721675e1d232.json | Sparkle: Provide channel information in Item
Making `channel` information available in the `Item` is necessary
to be able to filter out unstable items using a `strategy` block. If
an item doesn't specify a channel, then it uses the default channel
(this is what Sparkle itself uses for updates). Channels like `beta`
ar... | Library/Homebrew/livecheck/strategy/sparkle.rb | @@ -36,6 +36,8 @@ def self.match?(url)
Item = Struct.new(
# @api public
:title,
+ # @api public
+ :channel,
# @api private
:pub_date,
# @api public
@@ -102,6 +104,7 @@ def self.items_from_content(content)
os = enclosure["os... | true |
Other | Homebrew | brew | c6907f911f12cff4374d78a6f080721675e1d232.json | Sparkle: Provide channel information in Item
Making `channel` information available in the `Item` is necessary
to be able to filter out unstable items using a `strategy` block. If
an item doesn't specify a channel, then it uses the default channel
(this is what Sparkle itself uses for updates). Channels like `beta`
ar... | Library/Homebrew/test/livecheck/strategy/sparkle_spec.rb | @@ -75,6 +75,13 @@
EOS
appcast_with_omitted_items = appcast_xml.sub("</item>", "</item>\n#{extra_items}")
+ beta_channel_item = appcast_xml.sub(
+ first_item,
+ first_item.sub(
+ "</title",
+ "</title>\n<sparkle:channel>beta</sparkle:channel>",
+ ),
+ )
no_versions_it... | true |
Other | Homebrew | brew | 183cbe00014803eef4e9e3f4f6e87043c1d3b3a3.json | named_args: handle additional cask exception | Library/Homebrew/cli/named_args.rb | @@ -155,7 +155,7 @@ def load_formula_or_cask(name, only: nil, method: nil, prefer_loading_from_api:
end
return cask
- rescue Cask::CaskUnreadableError => e
+ rescue Cask::CaskUnreadableError, Cask::CaskInvalidError => e
# If we're trying to get a keg-like Cask,... | false |
Other | Homebrew | brew | b4cb47815f10d5914df2c33ccd4ac7ac569743bc.json | Sparkle: Pass all items into strategy block
It's sometimes necessary to work with all the items in a Sparkle feed
to be able to correctly identify the newest version but livecheck's
`Sparkle` strategy only passes the `item` it views as newest into a
`strategy` block.
This updates the `Sparkle` strategy to optionally ... | Library/Homebrew/livecheck/strategy/sparkle.rb | @@ -53,14 +53,17 @@ def self.match?(url)
# @api public
delegate short_version: :bundle_version
+
+ # @api public
+ delegate nice_version: :bundle_version
end
# Identify version information from a Sparkle appcast.
#
# @param content [String]... | true |
Other | Homebrew | brew | b4cb47815f10d5914df2c33ccd4ac7ac569743bc.json | Sparkle: Pass all items into strategy block
It's sometimes necessary to work with all the items in a Sparkle feed
to be able to correctly identify the newest version but livecheck's
`Sparkle` strategy only passes the `item` it views as newest into a
`strategy` block.
This updates the `Sparkle` strategy to optionally ... | Library/Homebrew/test/livecheck/strategy/sparkle_spec.rb | @@ -10,49 +10,121 @@
let(:appcast_url) { "https://www.example.com/example/appcast.xml" }
let(:non_http_url) { "ftp://brew.sh/" }
- let(:appcast_data) {
- {
- title: "Version 1.2.3",
- pub_date: "Fri, 01 Jan 2021 01:23:45 +0000",
- url: "https://www.example.com/example/e... | true |
Other | Homebrew | brew | 62eecace39149a07152fbff841ee3bf1fe58bfd8.json | Update RBI files for regexp_parser. | Library/Homebrew/sorbet/rbi/gems/regexp_parser@2.5.0.rbi | @@ -94,6 +94,7 @@ end
class Regexp::Expression::Base
include ::Regexp::Expression::Shared
include ::RuboCop::Ext::RegexpParser::Expression::Base
+ extend ::Regexp::Expression::Shared::ClassMethods
def initialize(token, options = T.unsafe(nil)); end
@@ -387,6 +388,7 @@ end
class Regexp::Expression::Qua... | false |
Other | Homebrew | brew | fa29537ca248d78a567c0a1afc670554e5bbcf91.json | Update RBI files for msgpack. | Library/Homebrew/sorbet/rbi/gems/msgpack@1.5.2.rbi | @@ -1,4 +1,4 @@
-# typed: true
+# typed: false
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `msgpack` gem.
@@ -58,15 +58,15 @@ end
module MessagePack
private
- def dump(v, *rest); end
+ def dump(v, io = T.unsafe(nil), options = T.unsafe(nil)); end
def load(src, param... | false |
Other | Homebrew | brew | addb485c748876f6d10f478357fa09558a8b7899.json | Update RBI files for rack. | Library/Homebrew/sorbet/rbi/gems/rack@2.2.3.1.rbi | @@ -660,8 +660,7 @@ end
Rack::Multipart::ATTRIBUTE = T.let(T.unsafe(nil), Regexp)
Rack::Multipart::ATTRIBUTE_CHAR = T.let(T.unsafe(nil), Regexp)
-Rack::Multipart::BROKEN_QUOTED = T.let(T.unsafe(nil), Regexp)
-Rack::Multipart::BROKEN_UNQUOTED = T.let(T.unsafe(nil), Regexp)
+Rack::Multipart::BROKEN = T.let(T.unsafe(n... | false |
Other | Homebrew | brew | 1f43bf32a4b1724d4cbedb81188f84eea93da491.json | cask: add statement when upgrade won't be installed | Library/Homebrew/cask/cmd/upgrade.rb | @@ -102,7 +102,15 @@ def self.upgrade_casks(
casks.select do |cask|
raise CaskNotInstalledError, cask if !cask.installed? && !force
- cask.outdated?(greedy: true)
+ if cask.outdated?(greedy: true)
+ true
+ elsif cask.version.latest?
+ ... | false |
Other | Homebrew | brew | 403a4d4a494643d0ecfd91f92812a6f5bfa9a9ff.json | Curl: Check all responses for protected cookies
The response from a URL protected by Cloudflare may only provide a
relevant cookie on the first response but
`#curl_http_content_headers_and_checksum` only returns the headers of
the final response. In this scenario, `#curl_check_http_content` isn't
able to properly dete... | Library/Homebrew/utils/curl.rb | @@ -198,21 +198,20 @@ def curl_output(*args, **options)
end
# Check if a URL is protected by CloudFlare (e.g. badlion.net and jaxx.io).
- # @param details [Hash] Response information from
- # `#curl_http_content_headers_and_checksum`.
+ # @param response [Hash] A response hash from `#parse_curl_re... | false |
Other | Homebrew | brew | deec796294eb165203bcbae07cd8d7e0fa7cadcb.json | Update RBI files for rubocop-performance. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -4618,6 +4618,18 @@ class RuboCop::Cop::FormulaCop
def required_dependency_name?(param0, param1); end
end
+class RuboCop::Cop::Performance::DeletePrefix
+ extend ::RuboCop::Cop::TargetRubyVersion
+end
+
+class RuboCop::Cop::Performance::DeleteSuffix
+ extend ::RuboCop::Cop::TargetRubyVersion
+end
+
+class Ru... | false |
Other | Homebrew | brew | cf3742fd472eae83856fd09bdc82967684d4ba5a.json | sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -2572,7 +2572,9 @@ module Homebrew::EnvConfig
def self.temp(); end
- def self.update_report_only_installed?(); end
+ def self.update_report_all_formulae?(); end
+
+ def self.update_report_version_changed_formulae?(); end
def self.update_to_tag?(); end
| false |
Other | Homebrew | brew | 580fb58f6264153f804d681f92be6073a6683014.json | utils/github: take last artifact rather than first | Library/Homebrew/utils/github.rb | @@ -353,7 +353,7 @@ def get_artifact_url(workflow_array)
EOS
end
- artifact.first["archive_download_url"]
+ artifact.last["archive_download_url"]
end
def public_member_usernames(org, per_page: 100) | false |
Other | Homebrew | brew | 5e6d5f68cacc5e0dbcd130ca62b811edd66bfe96.json | test/download_strategies/curl_github_packages: fix bad const override | Library/Homebrew/test/download_strategies/curl_github_packages_spec.rb | @@ -10,9 +10,11 @@
let(:url) { "https://#{GitHubPackages::URL_DOMAIN}/v2/homebrew/core/spec_test/manifests/1.2.3" }
let(:version) { "1.2.3" }
let(:specs) { {} }
+ let(:authorization) { nil }
describe "#fetch" do
before do
+ stub_const("HOMEBREW_GITHUB_PACKAGES_AUTH", authorization) if authoriza... | false |
Other | Homebrew | brew | ac2f52cef33bd374c945e51e9242859f0849bd73.json | cask: fix greedy outdated command | Library/Homebrew/cask/cask.rb | @@ -166,13 +166,11 @@ def outdated_versions(greedy: false, greedy_latest: false, greedy_auto_updates:
version
end
- if greedy || greedy_latest || (greedy_auto_updates && auto_updates)
- if latest_version.latest?
- return versions if outdated_download_sha?
+ if latest_version.... | false |
Other | Homebrew | brew | b2796ec7fb9641becb8f8486b3695668447e2ee3.json | docs: clarify application of HOMEBREW_ARTIFACT_DOMAIN
bottle URLs are treated differently than any other URL.
this change clarifies the resulting URLs in the manpage.
closes #13222 | Library/Homebrew/env_config.rb | @@ -23,7 +23,12 @@ module EnvConfig
description: "Prefix all download URLs, including those for bottles, with this value. " \
"For example, `HOMEBREW_ARTIFACT_DOMAIN=http://localhost:8080` will cause a " \
"formula with the URL `https://example.com/foo.tar.gz` to ins... | true |
Other | Homebrew | brew | b2796ec7fb9641becb8f8486b3695668447e2ee3.json | docs: clarify application of HOMEBREW_ARTIFACT_DOMAIN
bottle URLs are treated differently than any other URL.
this change clarifies the resulting URLs in the manpage.
closes #13222 | Library/Homebrew/test/download_strategies/curl_spec.rb | @@ -10,13 +10,16 @@
let(:url) { "https://example.com/foo.tar.gz" }
let(:version) { "1.2.3" }
let(:specs) { { user: "download:123456" } }
+ let(:artifact_domain) { nil }
it "parses the opts and sets the corresponding args" do
expect(strategy.send(:_curl_args)).to eq(["--user", "download:123456"])
... | true |
Other | Homebrew | brew | 38ae98cbcd2690142506aa86b34a769175e53c41.json | livecheck: improve host checks to instead check domains | Library/Homebrew/livecheck/livecheck.rb | @@ -492,34 +492,35 @@ def checkable_urls(formula_or_cask)
sig { params(url: String).returns(String) }
def preprocess_url(url)
begin
- uri = URI.parse url
- rescue URI::InvalidURIError
+ uri = Addressable::URI.parse url
+ rescue Addressable::URI::InvalidURIError
return u... | false |
Other | Homebrew | brew | d47517f635001088fb1fb7bf43231b1fd5168d3b.json | exceptions: handle backslash in args for BuildError | Library/Homebrew/exceptions.rb | @@ -479,7 +479,7 @@ def initialize(formula, cmd, args, env)
@cmd = cmd
@args = args
@env = env
- pretty_args = Array(args).map { |arg| arg.to_s.gsub " ", "\\ " }.join(" ")
+ pretty_args = Array(args).map { |arg| arg.to_s.gsub(/[\\ ]/, "\\\\\\0") }.join(" ")
super "Failed executing: #{cmd} #{pr... | false |
Other | Homebrew | brew | 2f0a53c0daf1ee1f3039ab32213916d22ff7e277.json | Livecheck: Use Homebrew curl based on root domain
At the moment, `#use_homebrew_curl?` can only be true for a
`homepage` or `stable`/cask `url` with `using: :homebrew_curl`. If
the checked URL differs from these URLs, livecheck won't use brewed
curl. This limitation prevents livecheck from using brewed curl for a
`liv... | Library/Homebrew/livecheck/livecheck.rb | @@ -5,6 +5,7 @@
require "livecheck/livecheck_version"
require "livecheck/skip_conditions"
require "livecheck/strategy"
+require "addressable"
require "ruby-progressbar"
require "uri"
@@ -529,26 +530,33 @@ def preprocess_url(url)
url
end
- # Fetch with brewed curl if using the download or homepag... | true |
Other | Homebrew | brew | 2f0a53c0daf1ee1f3039ab32213916d22ff7e277.json | Livecheck: Use Homebrew curl based on root domain
At the moment, `#use_homebrew_curl?` can only be true for a
`homepage` or `stable`/cask `url` with `using: :homebrew_curl`. If
the checked URL differs from these URLs, livecheck won't use brewed
curl. This limitation prevents livecheck from using brewed curl for a
`liv... | Library/Homebrew/test/livecheck/livecheck_spec.rb | @@ -16,7 +16,7 @@
formula("test") do
desc "Test formula"
homepage "https://brew.sh"
- url "https://brew.sh/test-0.0.1.tgz", using: :homebrew_curl
+ url "https://brew.sh/test-0.0.1.tgz"
head "https://github.com/Homebrew/brew.git"
livecheck do
@@ -31,7 +31,7 @@
cask "te... | true |
Other | Homebrew | brew | 95213893a614fa399d16efd13c9440bb0dc5e8d5.json | Revert "Livecheck: Use Homebrew curl based on root domain" | Library/Homebrew/Gemfile | @@ -6,7 +6,6 @@ source "https://rubygems.org"
# * nokogiri - use rexml instead for XML parsing
# installed gems (should all be require: false)
-gem "addressable", require: false
gem "bootsnap", require: false
gem "byebug", require: false
gem "json_schemer", require: false | true |
Other | Homebrew | brew | 95213893a614fa399d16efd13c9440bb0dc5e8d5.json | Revert "Livecheck: Use Homebrew curl based on root domain" | Library/Homebrew/Gemfile.lock | @@ -204,7 +204,6 @@ PLATFORMS
DEPENDENCIES
activesupport (< 7)
- addressable
bootsnap
byebug
concurrent-ruby | true |
Other | Homebrew | brew | 95213893a614fa399d16efd13c9440bb0dc5e8d5.json | Revert "Livecheck: Use Homebrew curl based on root domain" | Library/Homebrew/livecheck/livecheck.rb | @@ -5,7 +5,6 @@
require "livecheck/livecheck_version"
require "livecheck/skip_conditions"
require "livecheck/strategy"
-require "addressable"
require "ruby-progressbar"
require "uri"
@@ -530,33 +529,26 @@ def preprocess_url(url)
url
end
- # livecheck should fetch a URL using brewed curl if the f... | true |
Other | Homebrew | brew | 95213893a614fa399d16efd13c9440bb0dc5e8d5.json | Revert "Livecheck: Use Homebrew curl based on root domain" | Library/Homebrew/test/livecheck/livecheck_spec.rb | @@ -16,7 +16,7 @@
formula("test") do
desc "Test formula"
homepage "https://brew.sh"
- url "https://brew.sh/test-0.0.1.tgz"
+ url "https://brew.sh/test-0.0.1.tgz", using: :homebrew_curl
head "https://github.com/Homebrew/brew.git"
livecheck do
@@ -31,7 +31,7 @@
cask "te... | true |
Other | Homebrew | brew | 41d2e21f8e83234dde673a9f39e3f8103f38360c.json | Update RBI files for rubocop-rspec. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -4616,6 +4616,21 @@ class RuboCop::Cop::FormulaCop
def required_dependency_name?(param0, param1); end
end
+class RuboCop::Cop::RSpec::ChangeByZero
+ def expect_change_with_arguments(param0=T.unsafe(nil)); end
+
+ def expect_change_with_block(param0=T.unsafe(nil)); end
+
+ def on_send(node); end
+ MSG = ::T... | false |
Other | Homebrew | brew | 1c20be6c85d46d8a729f0d8ac13f5769a083e104.json | Update RBI files for sorbet-static-and-runtime. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -3591,8 +3591,6 @@ class Object
PATCH_B_SHA256 = ::T.let(nil, ::T.untyped)
REQUIRED_RUBY_X = ::T.let(nil, ::T.untyped)
REQUIRED_RUBY_Y = ::T.let(nil, ::T.untyped)
- RUBY18 = ::T.let(nil, ::T.untyped)
- RUBY19 = ::T.let(nil, ::T.untyped)
RUBY_BIN = ::T.let(nil, ::T.untyped)
RUBY_COPYRIGHT = ::T.let(n... | false |
Other | Homebrew | brew | fb8a4e565836e33f2195ff49eaf10535d8bb78a0.json | Livecheck: Use Homebrew curl based on root domain
At the moment, `#use_homebrew_curl?` can only be true for a
`homepage` or `stable`/cask `url` with `using: :homebrew_curl`. If
the checked URL differs from these URLs, livecheck won't use brewed
curl. This limitation prevents livecheck from using brewed curl for a
`liv... | Library/Homebrew/Gemfile | @@ -6,6 +6,7 @@ source "https://rubygems.org"
# * nokogiri - use rexml instead for XML parsing
# installed gems (should all be require: false)
+gem "addressable", require: false
gem "bootsnap", require: false
gem "byebug", require: false
gem "json_schemer", require: false | true |
Other | Homebrew | brew | fb8a4e565836e33f2195ff49eaf10535d8bb78a0.json | Livecheck: Use Homebrew curl based on root domain
At the moment, `#use_homebrew_curl?` can only be true for a
`homepage` or `stable`/cask `url` with `using: :homebrew_curl`. If
the checked URL differs from these URLs, livecheck won't use brewed
curl. This limitation prevents livecheck from using brewed curl for a
`liv... | Library/Homebrew/Gemfile.lock | @@ -201,6 +201,7 @@ PLATFORMS
DEPENDENCIES
activesupport (< 7)
+ addressable
bootsnap
byebug
concurrent-ruby | true |
Other | Homebrew | brew | fb8a4e565836e33f2195ff49eaf10535d8bb78a0.json | Livecheck: Use Homebrew curl based on root domain
At the moment, `#use_homebrew_curl?` can only be true for a
`homepage` or `stable`/cask `url` with `using: :homebrew_curl`. If
the checked URL differs from these URLs, livecheck won't use brewed
curl. This limitation prevents livecheck from using brewed curl for a
`liv... | Library/Homebrew/livecheck/livecheck.rb | @@ -5,6 +5,7 @@
require "livecheck/livecheck_version"
require "livecheck/skip_conditions"
require "livecheck/strategy"
+require "addressable"
require "ruby-progressbar"
require "uri"
@@ -529,26 +530,33 @@ def preprocess_url(url)
url
end
- # Fetch with brewed curl if using the download or homepag... | true |
Other | Homebrew | brew | fb8a4e565836e33f2195ff49eaf10535d8bb78a0.json | Livecheck: Use Homebrew curl based on root domain
At the moment, `#use_homebrew_curl?` can only be true for a
`homepage` or `stable`/cask `url` with `using: :homebrew_curl`. If
the checked URL differs from these URLs, livecheck won't use brewed
curl. This limitation prevents livecheck from using brewed curl for a
`liv... | Library/Homebrew/test/livecheck/livecheck_spec.rb | @@ -16,7 +16,7 @@
formula("test") do
desc "Test formula"
homepage "https://brew.sh"
- url "https://brew.sh/test-0.0.1.tgz", using: :homebrew_curl
+ url "https://brew.sh/test-0.0.1.tgz"
head "https://github.com/Homebrew/brew.git"
livecheck do
@@ -31,7 +31,7 @@
cask "te... | true |
Other | Homebrew | brew | bf34f2106554de49a8d64a0fc17edfb045c29f06.json | style: use long shfmt arguments.
This allows removing documentation explaining them. | Library/Homebrew/style.rb | @@ -240,16 +240,8 @@ def run_shfmt(files, fix: false)
files.delete(HOMEBREW_REPOSITORY/"completions/bash/brew")
files.delete(HOMEBREW_REPOSITORY/"Dockerfile")
- # shfmt options:
- # -i 2 : indent by 2 spaces
- # -ci : indent switch cases
- # -ln bash : language variant... | false |
Other | Homebrew | brew | ecc705803f0d78b5a702a313d247c59135016347.json | github_packages: add comment for image-spec pin | Library/Homebrew/github_packages.rb | @@ -151,6 +151,9 @@ def load_schemas!
end
def schema_uri(basename, uris)
+ # The current `main` version has an invalid JSON schema.
+ # Going forward, this should probably be pinned to tags.
+ # We currently use features newer than the last one (v1.0.2).
url = "https://raw.githubusercontent.com/op... | false |
Other | Homebrew | brew | c66740c5ad4e6b8be9eab296f5612260f93deff0.json | Update RBI files for regexp_parser. | Library/Homebrew/sorbet/rbi/gems/regexp_parser@2.4.0.rbi | @@ -92,6 +92,7 @@ class Regexp::Expression::Backreference::NumberRelative < ::Regexp::Expression::
end
class Regexp::Expression::Base
+ include ::Regexp::Expression::Shared
include ::RuboCop::Ext::RegexpParser::Expression::Base
def initialize(token, options = T.unsafe(nil)); end
@@ -100,20 +101,16 @@ class... | false |
Other | Homebrew | brew | 114a8c75225ce9029ffbfb92ec44f5d3924580a1.json | Update RBI files for parlour. | Library/Homebrew/sorbet/rbi/gems/parlour@8.0.0.rbi | @@ -148,7 +148,7 @@ module Parlour::Mixin::Searchable
abstract!
- Child = type_member
+ Child = type_member { { upper: Parlour::TypedObject } }
sig { abstract.returns(T::Array[Child]) }
def children; end | false |
Other | Homebrew | brew | 96785e13867bbdbb798c6319f7ac01ac1d4984fb.json | Update RBI files for activesupport. | Library/Homebrew/sorbet/rbi/gems/activesupport@6.1.6.rbi | @@ -2784,7 +2784,6 @@ end
module ActiveSupport::VERSION; end
ActiveSupport::VERSION::MAJOR = T.let(T.unsafe(nil), Integer)
ActiveSupport::VERSION::MINOR = T.let(T.unsafe(nil), Integer)
-ActiveSupport::VERSION::PRE = T.let(T.unsafe(nil), String)
ActiveSupport::VERSION::STRING = T.let(T.unsafe(nil), String)
ActiveSu... | true |
Other | Homebrew | brew | 96785e13867bbdbb798c6319f7ac01ac1d4984fb.json | Update RBI files for activesupport. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -24,6 +24,10 @@ module ActiveSupport::ForkTracker::CoreExtPrivate
include ::ActiveSupport::ForkTracker::CoreExt
end
+module ActiveSupport::VERSION
+ PRE = ::T.let(nil, ::T.untyped)
+end
+
class Addrinfo
def connect_internal(local_addrinfo, timeout=T.unsafe(nil)); end
end | true |
Other | Homebrew | brew | bd2d7d92cad7d99a629d4c9cd5abdb2d146d731d.json | Update RBI files for sorbet. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -2144,60 +2144,6 @@ end
Gem::Security::KEY_ALGORITHM = OpenSSL::PKey::RSA
-class Gem::Security::Policy
- include ::Gem::UserInteraction
- include ::Gem::DefaultUserInteraction
- include ::Gem::Text
- def check_cert(signer, issuer, time); end
-
- def check_chain(chain, time); end
-
- def check_data(public_... | false |
Other | Homebrew | brew | 40b8fd3406b2c50873f021f0787f7c253acd009e.json | url_protected_by_*: Check multiple headers
Before `#parse_curl_output` was introduced and related methods were
updated to use it, `#url_protected_by_cloudflare?` and
`#url_protected_by_incapsula?` were checking a string of all the
headers from a response and using a regex to check related header
values.
However, when... | Library/Homebrew/test/utils/curl_spec.rb | @@ -4,6 +4,115 @@
require "utils/curl"
describe "Utils::Curl" do
+ let(:details) {
+ details = {
+ normal: {},
+ cloudflare: {},
+ incapsula: {},
+ }
+
+ details[:normal][:no_cookie] = {
+ url: "https://www.example.com/",
+ final_url: nil,
+ status: ... | true |
Other | Homebrew | brew | 40b8fd3406b2c50873f021f0787f7c253acd009e.json | url_protected_by_*: Check multiple headers
Before `#parse_curl_output` was introduced and related methods were
updated to use it, `#url_protected_by_cloudflare?` and
`#url_protected_by_incapsula?` were checking a string of all the
headers from a response and using a regex to check related header
values.
However, when... | Library/Homebrew/utils/curl.rb | @@ -198,20 +198,40 @@ def curl_output(*args, **options)
end
# Check if a URL is protected by CloudFlare (e.g. badlion.net and jaxx.io).
+ # @param details [Hash] Response information from
+ # `#curl_http_content_headers_and_checksum`.
+ # @return [true, false] Whether a response contains headers i... | true |
Other | Homebrew | brew | 94449d07c07bb9d858ea11b097d1d2fd33bca187.json | parse_curl_response: Handle duplicate headers
`Curl#parse_curl_response` only includes the last instance of a given
header in its `:headers` hash (replicating pre-existing behavior).
This is a problem for headers like `Set-Cookie`, which can appear more
than once in a response.
This commit addresses the issue by coll... | Library/Homebrew/test/utils/curl_spec.rb | @@ -112,6 +112,24 @@
},
}
+ response_hash[:duplicate_header] = {
+ status_code: "200",
+ status_text: "OK",
+ headers: {
+ "cache-control" => "max-age=604800",
+ "content-type" => "text/html; charset=UTF-8",
+ "date" => "Wed, 1 Jan 2020 01:23:45 GMT"... | true |
Other | Homebrew | brew | 94449d07c07bb9d858ea11b097d1d2fd33bca187.json | parse_curl_response: Handle duplicate headers
`Curl#parse_curl_response` only includes the last instance of a given
header in its `:headers` hash (replicating pre-existing behavior).
This is a problem for headers like `Set-Cookie`, which can appear more
than once in a response.
This commit addresses the issue by coll... | Library/Homebrew/utils/curl.rb | @@ -484,10 +484,25 @@ def parse_curl_response(response_text)
response_text = response_text.sub(%r{^HTTP/.* (\d+).*$\s*}, "")
# Create a hash from the header lines
- response[:headers] =
- response_text.split("\r\n")
- .to_h { |header| header.split(/:\s*/, 2) }
- ... | true |
Other | Homebrew | brew | b886b2d1f71813700b1b84aa8a29a89a5c472808.json | Remove mentions of nonexistent command `brew diy`
The output of `brew doctor` can mention a command `brew diy`, which no
longer exists. | Library/Homebrew/cmd/link.rb | @@ -84,7 +84,7 @@ def link
formula = begin
keg.to_formula
rescue FormulaUnavailableError
- # Not all kegs may belong to formulae e.g. with `brew diy`
+ # Not all kegs may belong to formulae
nil
end
| true |
Other | Homebrew | brew | b886b2d1f71813700b1b84aa8a29a89a5c472808.json | Remove mentions of nonexistent command `brew diy`
The output of `brew doctor` can mention a command `brew diy`, which no
longer exists. | Library/Homebrew/diagnostic.rb | @@ -900,7 +900,7 @@ def check_deleted_formula
<<~EOS
Some installed kegs have no formulae!
- This means they were either deleted or installed with `brew diy`.
+ This means they were either deleted or installed manually.
You should find replacements for the following fo... | true |
Other | Homebrew | brew | c715ea7fd12271c1899d0335d30cb794bd3955b5.json | Document the `--quiet` flag on `brew update` | Library/Homebrew/cmd/update.sh | @@ -5,6 +5,7 @@
#: --merge Use `git merge` to apply updates (rather than `git rebase`).
#: --preinstall Run on auto-updates (e.g. before `brew install`). Skips some slower steps.
#: -f, --force Always do a slower, full update check (even if u... | true |
Other | Homebrew | brew | c715ea7fd12271c1899d0335d30cb794bd3955b5.json | Document the `--quiet` flag on `brew update` | Library/Homebrew/test/completions_spec.rb | @@ -200,6 +200,7 @@ def delete_completions_setting(setting: "linkcompletions")
"--help" => "Show this message.",
"--merge" => "Use `git merge` to apply updates (rather than `git rebase`).",
"--preinstall" => "Run on auto-updates (e.g. before `brew install`). Skips some slower... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/addressable@2.8.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `addressable` gem.
# Please instead update this file by running `bin/tapioca gem addressable`.
-# typed: true
-
module Addressable; end
module Addressable::IDNA | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/ast@2.4.2.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `ast` gem.
# Please instead update this file by running `bin/tapioca gem ast`.
-# typed: true
-
module AST; end
class AST::Node | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/bindata@2.4.10.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `bindata` gem.
# Please instead update this file by running `bin/tapioca gem bindata`.
-# typed: true
-
module BinData
extend ::BinData::BitFieldFactory
extend ::BinData::IntFactory | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/byebug@11.1.3.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `byebug` gem.
# Please instead update this file by running `bin/tapioca gem byebug`.
-# typed: true
-
module Byebug
class << self
def attach; end | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/coderay@1.1.3.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `coderay` gem.
# Please instead update this file by running `bin/tapioca gem coderay`.
-# typed: true
-
module CodeRay
class << self
def coderay_path(*path); end | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/commander@4.6.0.rbi | @@ -1,8 +1,10 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `commander` gem.
# Please instead update this file by running `bin/tapioca gem commander`.
-# typed: true
+::RUBY19 = T.let(T.unsafe(nil), TrueClass)
module Blank
class << self
@@ -253,14 +255... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/connection_pool@2.2.5.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `connection_pool` gem.
# Please instead update this file by running `bin/tapioca gem connection_pool`.
-# typed: true
-
class ConnectionPool
def initialize(options = T.unsafe(nil), &block); end
| true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/docile@1.4.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `docile` gem.
# Please instead update this file by running `bin/tapioca gem docile`.
-# typed: true
-
module Docile
extend ::Docile::Execution
| true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/domain_name@0.5.20190701.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `domain_name` gem.
# Please instead update this file by running `bin/tapioca gem domain_name`.
-# typed: true
-
class DomainName
def initialize(hostname); end
| true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/elftools@1.1.3.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `elftools` gem.
# Please instead update this file by running `bin/tapioca gem elftools`.
-# typed: true
-
module ELFTools; end
module ELFTools::Constants | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/hana@1.3.7.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `hana` gem.
# Please instead update this file by running `bin/tapioca gem hana`.
-# typed: true
-
module Hana; end
class Hana::Patch | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/highline@2.0.3.rbi | @@ -1,8 +1,10 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `highline` gem.
# Please instead update this file by running `bin/tapioca gem highline`.
-# typed: true
+::RUBY19 = T.let(T.unsafe(nil), TrueClass)
class HighLine
include ::HighLine::BuiltinSt... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/hpricot@0.8.6.rbi | @@ -1,8 +1,10 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `hpricot` gem.
# Please instead update this file by running `bin/tapioca gem hpricot`.
-# typed: true
+::RUBY19 = T.let(T.unsafe(nil), TrueClass)
module Hpricot
class << self
@@ -628,14 +630,1... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/http-cookie@1.0.4.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `http-cookie` gem.
# Please instead update this file by running `bin/tapioca gem http-cookie`.
-# typed: true
-
module HTTP; end
class HTTP::Cookie | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/method_source@1.0.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `method_source` gem.
# Please instead update this file by running `bin/tapioca gem method_source`.
-# typed: true
-
module MethodSource
extend ::MethodSource::CodeHelpers
| true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/mustache@1.1.1.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `mustache` gem.
# Please instead update this file by running `bin/tapioca gem mustache`.
-# typed: true
-
class Mustache
def initialize(options = T.unsafe(nil)); end
| true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/net-http-digest_auth@1.4.1.rbi | @@ -1,8 +1,8 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `net-http-digest_auth` gem.
# Please instead update this file by running `bin/tapioca gem net-http-digest_auth`.
-# typed: true
-
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapio... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/net-http-persistent@4.0.1.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `net-http-persistent` gem.
# Please instead update this file by running `bin/tapioca gem net-http-persistent`.
-# typed: true
-
class Net::HTTP::Persistent
def initialize(name: T.unsafe(nil), pro... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/patchelf@1.3.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `patchelf` gem.
# Please instead update this file by running `bin/tapioca gem patchelf`.
-# typed: true
-
module PatchELF; end
module PatchELF::Helper | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/plist@3.6.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `plist` gem.
# Please instead update this file by running `bin/tapioca gem plist`.
-# typed: true
-
module Plist
class << self
def parse_xml(filename_or_xml); end | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/pry@0.14.1.rbi | @@ -1,22 +1,24 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `pry` gem.
# Please instead update this file by running `bin/tapioca gem pry`.
-# typed: true
+::RUBY19 = T.let(T.unsafe(nil), TrueClass)
class BasicObject
def __binding__; end
end
class ... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/racc@1.6.0.rbi | @@ -1,13 +1,20 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `racc` gem.
# Please instead update this file by running `bin/tapioca gem racc`.
-# typed: true
+::RUBY19 = T.let(T.unsafe(nil), TrueClass)
class Object < ::BasicObject
+ include ::ActiveSuppor... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/rack@2.2.3.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rack` gem.
# Please instead update this file by running `bin/tapioca gem rack`.
-# typed: true
-
module Rack
class << self
def release; end
@@ -934,7 +934,11 @@ class Rack::Request
def... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/rbi@0.0.14.rbi | @@ -1842,8 +1842,17 @@ class RBI::Tree < ::RBI::NodeWithComments
sig { params(constant: ::Module, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).void }
def create_path(constant, &block); end
- sig { params(name: ::String, value: ::String).void }
- def create_type_member(name, value: T.unsafe(nil))... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/rdiscount@2.2.0.2.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rdiscount` gem.
# Please instead update this file by running `bin/tapioca gem rdiscount`.
-# typed: true
-
Markdown = RDiscount
class RDiscount | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/rexml@3.2.5.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rexml` gem.
# Please instead update this file by running `bin/tapioca gem rexml`.
-# typed: true
-
class REXML::AttlistDecl < ::REXML::Child
include ::Enumerable
| true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/ronn@0.7.3.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `ronn` gem.
# Please instead update this file by running `bin/tapioca gem ronn`.
-# typed: true
-
module Ronn
class << self
def new(filename, attributes = T.unsafe(nil), &block); end | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/rspec-github@2.3.1.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-github` gem.
# Please instead update this file by running `bin/tapioca gem rspec-github`.
-# typed: true
-
module RSpec
extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings
... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/rspec-its@1.3.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-its` gem.
# Please instead update this file by running `bin/tapioca gem rspec-its`.
-# typed: true
-
module RSpec
extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings
@@ -17... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/rspec-retry@0.6.2.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-retry` gem.
# Please instead update this file by running `bin/tapioca gem rspec-retry`.
-# typed: true
-
module RSpec
extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings
@@... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/rspec-sorbet@1.8.3.rbi | @@ -17,6 +17,8 @@ module RSpec
def context(*args, &example_group_block); end
def current_example; end
def current_example=(example); end
+ def current_scope; end
+ def current_scope=(scope); end
def describe(*args, &example_group_block); end
def example_group(*args, &example_group_block);... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/rspec-wait@0.0.9.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-wait` gem.
# Please instead update this file by running `bin/tapioca gem rspec-wait`.
-# typed: true
-
module RSpec
extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings
@@ -... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/rubocop@1.27.0.rbi | @@ -2693,10 +2693,6 @@ class RuboCop::Cop::Layout::ExtraSpacing < ::RuboCop::Cop::Base
def force_equal_sign_alignment?; end
def ignored_range?(ast, start_pos); end
def ignored_ranges(ast); end
-
- class << self
- def autocorrect_incompatible_with; end
- end
end
RuboCop::Cop::Layout::ExtraSpacing::MSG_... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `ruby-progressbar` gem.
# Please instead update this file by running `bin/tapioca gem ruby-progressbar`.
-# typed: true
-
class ProgressBar
class << self
def create(*args); end | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/rubyntlm@0.6.3.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rubyntlm` gem.
# Please instead update this file by running `bin/tapioca gem rubyntlm`.
-# typed: true
-
module Net::NTLM
class << self
def apply_des(plain, keys); end | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/simplecov-html@0.12.3.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `simplecov-html` gem.
# Please instead update this file by running `bin/tapioca gem simplecov-html`.
-# typed: true
-
module SimpleCov
extend ::SimpleCov::Configuration
| true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/simplecov@0.21.2.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `simplecov` gem.
# Please instead update this file by running `bin/tapioca gem simplecov`.
-# typed: true
-
module SimpleCov
extend ::SimpleCov::Configuration
| true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/sorbet-runtime-stub@0.2.0.rbi | @@ -1,8 +1,8 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `sorbet-runtime-stub` gem.
# Please instead update this file by running `bin/tapioca gem sorbet-runtime-stub`.
-# typed: true
-
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/tapioca@0.7.2.rbi | @@ -592,7 +592,7 @@ class Tapioca::Dsl::Compiler
abstract!
- ConstantType = type_member(upper: Module)
+ ConstantType = type_member { { upper: Module } }
sig { params(pipeline: ::Tapioca::Dsl::Pipeline, root: ::RBI::Tree, constant: ConstantType).void }
def initialize(pipeline, root, constant); end | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/tzinfo@2.0.4.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `tzinfo` gem.
# Please instead update this file by running `bin/tapioca gem tzinfo`.
-# typed: true
-
module TZInfo; end
class TZInfo::AbsoluteDayOfYearTransitionRule < ::TZInfo::DayOfYearTransit... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/unf@0.1.4.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `unf` gem.
# Please instead update this file by running `bin/tapioca gem unf`.
-# typed: true
-
module UNF; end
class UNF::Normalizer | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `unicode-display_width` gem.
# Please instead update this file by running `bin/tapioca gem unicode-display_width`.
-# typed: true
-
module Unicode; end
class Unicode::DisplayWidth | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/uri_template@0.7.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `uri_template` gem.
# Please instead update this file by running `bin/tapioca gem uri_template`.
-# typed: true
-
module URITemplate
extend ::URITemplate::ClassMethods
| true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/warning@1.2.1.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `warning` gem.
# Please instead update this file by running `bin/tapioca gem warning`.
-# typed: true
-
module Warning
extend ::Warning
extend ::Warning::Processor | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/webrick@1.7.0.rbi | @@ -1,9 +1,9 @@
+# typed: true
+
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `webrick` gem.
# Please instead update this file by running `bin/tapioca gem webrick`.
-# typed: true
-
module WEBrick::AccessLog
private
| true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi | @@ -8,10 +8,10 @@ module YARDSorbet; end
module YARDSorbet::Directives
class << self
- sig { params(docstring: String, directives: T::Array[String]).void }
+ sig { params(docstring: ::String, directives: T::Array[::String]).void }
def add_directives(docstring, directives); end
- sig { params(docst... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/gems/yard@0.9.27.rbi | @@ -79,6 +79,37 @@ end
Gem::USE_BUNDLER_FOR_GEMDEPS = T.let(T.unsafe(nil), TrueClass)
Gem::UnsatisfiableDepedencyError = Gem::UnsatisfiableDependencyError
+class IRB::SLex
+ def initialize; end
+
+ def create(token, preproc = T.unsafe(nil), postproc = T.unsafe(nil)); end
+ def def_rule(token, preproc = T.unsafe(... | true |
Other | Homebrew | brew | bb38f4bd5f0a1fdbb7b097cb06701b24bfd3f0bf.json | Renegerate all RBI files for new Sorbet | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -2938,24 +2938,6 @@ class IRB::SLex
def Fail(err=T.unsafe(nil), *rest); end
def Raise(err=T.unsafe(nil), *rest); end
-
- def create(token, preproc=T.unsafe(nil), postproc=T.unsafe(nil)); end
-
- def def_rule(token, preproc=T.unsafe(nil), postproc=T.unsafe(nil), &block); end
-
- def def_rules(*tokens, &blo... | true |
Other | Homebrew | brew | 48bf0cc7ad6acc119e75072b170a0b0ca4a5de9a.json | Update RBI files for parlour. | Library/Homebrew/sorbet/rbi/gems/parlour@6.0.1.rbi | @@ -1,1614 +0,0 @@
-# DO NOT EDIT MANUALLY
-# This is an autogenerated file for types exported from the `parlour` gem.
-# Please instead update this file by running `bin/tapioca gem parlour`.
-
-# typed: true
-
-module Kernel
- extend ::Forwardable
-end
-
-module Parlour; end
-
-class Parlour::ConflictResolver
- sig ... | true |
Other | Homebrew | brew | 48bf0cc7ad6acc119e75072b170a0b0ca4a5de9a.json | Update RBI files for parlour. | Library/Homebrew/sorbet/rbi/gems/parlour@7.0.0.rbi | @@ -0,0 +1,2154 @@
+# typed: true
+
+# DO NOT EDIT MANUALLY
+# This is an autogenerated file for types exported from the `parlour` gem.
+# Please instead update this file by running `bin/tapioca gem parlour`.
+
+module Kernel
+ extend ::Forwardable
+end
+
+module Parlour; end
+
+class Parlour::ConflictResolver
+ def ... | true |
Other | Homebrew | brew | 48bf0cc7ad6acc119e75072b170a0b0ca4a5de9a.json | Update RBI files for parlour. | Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi | @@ -3931,7 +3931,7 @@ class Parlour::Conversion::Converter
extend ::T::Private::Methods::SingletonMethodHooks
end
-module Parlour::Debugging::Tree
+class Parlour::Debugging::Tree
extend ::T::Sig
extend ::T::Private::Methods::MethodHooks
extend ::T::Private::Methods::SingletonMethodHooks
@@ -3949,6 +3949,... | true |
Other | Homebrew | brew | 12dfa1fbd214bd0950335ffbed697153847d09ab.json | Update RBI files for tapioca. | Library/Homebrew/sorbet/rbi/gems/tapioca@0.7.2.rbi | @@ -75,8 +75,17 @@ class RBI::Tree < ::RBI::NodeWithComments
sig { params(constant: ::Module, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).void }
def create_path(constant, &block); end
- sig { params(name: ::String, value: ::String).void }
- def create_type_member(name, value: T.unsafe(nil)); en... | false |
Other | Homebrew | brew | 3aaef294f6564adaf99c80d6ccf3ed1150c16d34.json | formula_installer: add check for HOMEBREW_RELOCATE_BUILD_PREFIX | Library/Homebrew/formula_installer.rb | @@ -1235,6 +1235,8 @@ def pour
prefix = Pathname(cellar).parent.to_s
return if cellar == HOMEBREW_CELLAR.to_s && prefix == HOMEBREW_PREFIX.to_s
+ return unless ENV["HOMEBREW_RELOCATE_BUILD_PREFIX"]
+
keg.relocate_build_prefix(keg, prefix, HOMEBREW_PREFIX)
end
| false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.