Portable Ruby 3.4.3

This commit is contained in:
Patrick Linnane 2025-04-22 19:23:10 +01:00
parent 82511c708c
commit 5d8d453a90
No known key found for this signature in database
352 changed files with 5611 additions and 968 deletions

3
.gitignore vendored
View File

@ -40,7 +40,7 @@
# Ignore Ruby gems for versions other than we explicitly vendor.
# Keep this in sync with the list in standalone/init.rb.
**/vendor/bundle/ruby/*/
!**/vendor/bundle/ruby/3.3.0/
!**/vendor/bundle/ruby/3.4.0/
# Ignore Bundler binary files
**/vendor/bundle/ruby/*/gems/**/*.bundle
@ -79,6 +79,7 @@
**/vendor/bundle/ruby/*/gems/coderay-*/
**/vendor/bundle/ruby/*/gems/colorize-*/
**/vendor/bundle/ruby/*/gems/commander-*/
**/vendor/bundle/ruby/*/gems/csv-*/
**/vendor/bundle/ruby/*/gems/diff-lcs-*/
**/vendor/bundle/ruby/*/gems/docile-*/
**/vendor/bundle/ruby/*/gems/ecma-re-validator-*/

View File

@ -27,8 +27,6 @@ AllCops:
- "**/*.rbi"
Exclude:
- "Homebrew/sorbet/rbi/{dsl,gems}/**/*.rbi"
# TODO: remove file and exclusion in Ruby 3.4
- "Homebrew/sorbet/rbi/parser*.rbi"
- "Homebrew/bin/*"
- "Homebrew/vendor/**/*"
- "Taps/*/*/vendor/**/*"

View File

@ -1 +1 @@
3.3.8
3.4.3

View File

@ -5,9 +5,9 @@ source "https://rubygems.org"
# The default case (no envs), should always be a restrictive bound on the lowest supported minor version.
# This is the branch that Dependabot will use.
if ENV.fetch("HOMEBREW_USE_RUBY_FROM_PATH", "").empty?
ruby "~> 3.3.0"
ruby "~> 3.4.0"
else
ruby ">= 3.3.0"
ruby ">= 3.4.0"
end
# disallowed gems (should not be used)
@ -74,6 +74,9 @@ end
group :formula_analytics, optional: true do
gem "pycall", require: false
end
group :contributions, optional: true do
gem "csv", require: false
end
# shared gems (used by multiple groups)
group :audit, :bump_unversioned_casks, :livecheck, optional: true do

View File

@ -10,6 +10,7 @@ GEM
bindata (2.5.1)
coderay (1.1.3)
concurrent-ruby (1.3.5)
csv (3.3.4)
diff-lcs (1.6.1)
docile (1.4.1)
elftools (1.3.1)
@ -169,6 +170,7 @@ DEPENDENCIES
addressable
base64
concurrent-ruby
csv
json_schemer
kramdown
method_source
@ -210,7 +212,7 @@ DEPENDENCIES
yard-sorbet
RUBY VERSION
ruby 3.3.8p144
ruby 3.4.3p32
BUNDLED WITH
2.5.22
2.6.7

View File

@ -43,6 +43,8 @@ module Homebrew
sig { override.void }
def run
Homebrew.install_bundler_gems!(groups: ["contributions"]) if args.csv?
results = {}
grand_totals = {}
@ -124,7 +126,7 @@ module Homebrew
sig { params(totals: T::Hash[String, T::Hash[Symbol, Integer]]).returns(String) }
def generate_csv(totals)
require "csv" # TODO: this will be removed from Ruby 3.4
require "csv"
CSV.generate do |csv|
csv << %w[user repo author committer coauthor review total]

View File

@ -2,6 +2,7 @@
# frozen_string_literal: true
require "abstract_command"
require "fileutils"
module Homebrew
module DevCmd

View File

@ -2,6 +2,7 @@
# frozen_string_literal: true
require "abstract_command"
require "fileutils"
module Homebrew
module DevCmd

View File

@ -3,6 +3,7 @@
require "abstract_command"
require "utils/git"
require "fileutils"
module Homebrew
module DevCmd

View File

@ -67,10 +67,10 @@ class Cask::Cask
def deprecation_reason(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
def deprecation_replacement_formula(*args, &block); end
def deprecation_replacement_cask(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
def deprecation_replacement_cask(*args, &block); end
def deprecation_replacement_formula(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
def desc(*args, &block); end
@ -88,10 +88,10 @@ class Cask::Cask
def disable_reason(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
def disable_replacement_formula(*args, &block); end
def disable_replacement_cask(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
def disable_replacement_cask(*args, &block); end
def disable_replacement_formula(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T::Boolean) }
def disabled?(*args, &block); end

View File

@ -52,10 +52,10 @@ class Formula
def deprecation_reason(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
def deprecation_replacement_formula(*args, &block); end
def deprecation_replacement_cask(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
def deprecation_replacement_cask(*args, &block); end
def deprecation_replacement_formula(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
def deps(*args, &block); end
@ -70,10 +70,10 @@ class Formula
def disable_reason(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
def disable_replacement_formula(*args, &block); end
def disable_replacement_cask(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) }
def disable_replacement_cask(*args, &block); end
def disable_replacement_formula(*args, &block); end
sig { params(args: T.untyped, block: T.untyped).returns(T::Boolean) }
def disabled?(*args, &block); end

File diff suppressed because it is too large Load Diff

View File

@ -4001,10 +4001,10 @@ module ELFTools::Structs; end
# source://elftools//lib/elftools/structs.rb#123
class ELFTools::Structs::ELF32_Phdr < ::ELFTools::Structs::ELFStruct
class << self
# source://bindata/2.5.0/lib/bindata/base.rb#53
# source://bindata/2.5.1/lib/bindata/base.rb#53
def inherited(subclass); end
# source://bindata/2.5.0/lib/bindata/dsl.rb#280
# source://bindata/2.5.1/lib/bindata/dsl.rb#280
def new(*args); end
end
end
@ -4014,10 +4014,10 @@ end
# source://elftools//lib/elftools/structs.rb#155
class ELFTools::Structs::ELF32_sym < ::ELFTools::Structs::ELFStruct
class << self
# source://bindata/2.5.0/lib/bindata/base.rb#53
# source://bindata/2.5.1/lib/bindata/base.rb#53
def inherited(subclass); end
# source://bindata/2.5.0/lib/bindata/dsl.rb#280
# source://bindata/2.5.1/lib/bindata/dsl.rb#280
def new(*args); end
end
end
@ -4027,10 +4027,10 @@ end
# source://elftools//lib/elftools/structs.rb#136
class ELFTools::Structs::ELF64_Phdr < ::ELFTools::Structs::ELFStruct
class << self
# source://bindata/2.5.0/lib/bindata/base.rb#53
# source://bindata/2.5.1/lib/bindata/base.rb#53
def inherited(subclass); end
# source://bindata/2.5.0/lib/bindata/dsl.rb#280
# source://bindata/2.5.1/lib/bindata/dsl.rb#280
def new(*args); end
end
end
@ -4040,10 +4040,10 @@ end
# source://elftools//lib/elftools/structs.rb#166
class ELFTools::Structs::ELF64_sym < ::ELFTools::Structs::ELFStruct
class << self
# source://bindata/2.5.0/lib/bindata/base.rb#53
# source://bindata/2.5.1/lib/bindata/base.rb#53
def inherited(subclass); end
# source://bindata/2.5.0/lib/bindata/dsl.rb#280
# source://bindata/2.5.1/lib/bindata/dsl.rb#280
def new(*args); end
end
end
@ -4081,11 +4081,11 @@ class ELFTools::Structs::ELFStruct < ::BinData::Record
# BinData hash(Snapshot) that behaves like HashWithIndifferentAccess
#
# source://bindata/2.5.0/lib/bindata/struct.rb#107
# source://bindata/2.5.1/lib/bindata/struct.rb#107
def to_h; end
class << self
# source://bindata/2.5.0/lib/bindata/base.rb#53
# source://bindata/2.5.1/lib/bindata/base.rb#53
def inherited(subclass); end
# Hooks the constructor.
@ -4124,10 +4124,10 @@ ELFTools::Structs::ELFStruct::CHOICE_SIZE_T = T.let(T.unsafe(nil), Proc)
# source://elftools//lib/elftools/structs.rb#191
class ELFTools::Structs::ELF_Dyn < ::ELFTools::Structs::ELFStruct
class << self
# source://bindata/2.5.0/lib/bindata/base.rb#53
# source://bindata/2.5.1/lib/bindata/base.rb#53
def inherited(subclass); end
# source://bindata/2.5.0/lib/bindata/dsl.rb#280
# source://bindata/2.5.1/lib/bindata/dsl.rb#280
def new(*args); end
end
end
@ -4137,10 +4137,10 @@ end
# source://elftools//lib/elftools/structs.rb#80
class ELFTools::Structs::ELF_Ehdr < ::ELFTools::Structs::ELFStruct
class << self
# source://bindata/2.5.0/lib/bindata/base.rb#53
# source://bindata/2.5.1/lib/bindata/base.rb#53
def inherited(subclass); end
# source://bindata/2.5.0/lib/bindata/dsl.rb#280
# source://bindata/2.5.1/lib/bindata/dsl.rb#280
def new(*args); end
end
end
@ -4150,10 +4150,10 @@ end
# source://elftools//lib/elftools/structs.rb#183
class ELFTools::Structs::ELF_Nhdr < ::ELFTools::Structs::ELFStruct
class << self
# source://bindata/2.5.0/lib/bindata/base.rb#53
# source://bindata/2.5.1/lib/bindata/base.rb#53
def inherited(subclass); end
# source://bindata/2.5.0/lib/bindata/dsl.rb#280
# source://bindata/2.5.1/lib/bindata/dsl.rb#280
def new(*args); end
end
end
@ -4173,10 +4173,10 @@ class ELFTools::Structs::ELF_Rel < ::ELFTools::Structs::ELFStruct
def r_addend; end
class << self
# source://bindata/2.5.0/lib/bindata/base.rb#53
# source://bindata/2.5.1/lib/bindata/base.rb#53
def inherited(subclass); end
# source://bindata/2.5.0/lib/bindata/dsl.rb#280
# source://bindata/2.5.1/lib/bindata/dsl.rb#280
def new(*args); end
end
end
@ -4186,10 +4186,10 @@ end
# source://elftools//lib/elftools/structs.rb#212
class ELFTools::Structs::ELF_Rela < ::ELFTools::Structs::ELFStruct
class << self
# source://bindata/2.5.0/lib/bindata/base.rb#53
# source://bindata/2.5.1/lib/bindata/base.rb#53
def inherited(subclass); end
# source://bindata/2.5.0/lib/bindata/dsl.rb#280
# source://bindata/2.5.1/lib/bindata/dsl.rb#280
def new(*args); end
end
end
@ -4199,10 +4199,10 @@ end
# source://elftools//lib/elftools/structs.rb#108
class ELFTools::Structs::ELF_Shdr < ::ELFTools::Structs::ELFStruct
class << self
# source://bindata/2.5.0/lib/bindata/base.rb#53
# source://bindata/2.5.1/lib/bindata/base.rb#53
def inherited(subclass); end
# source://bindata/2.5.0/lib/bindata/dsl.rb#280
# source://bindata/2.5.1/lib/bindata/dsl.rb#280
def new(*args); end
end
end

View File

@ -895,7 +895,7 @@ end
# source://minitest//lib/minitest.rb#592
Minitest::Reportable::BASE_DIR = T.let(T.unsafe(nil), String)
# source://minitest//lib/minitest.rb#735
# source://minitest//lib/minitest.rb#733
class Minitest::Reporter < ::Minitest::AbstractReporter
# @return [Reporter] a new instance of Reporter
#

View File

@ -3741,7 +3741,7 @@ class RBI::Rewriters::Merge::Conflict < ::T::Struct
def to_s; end
class << self
# source://sorbet-runtime/0.5.11998/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -4086,7 +4086,7 @@ class RBI::Rewriters::RemoveKnownDefinitions::Operation < ::T::Struct
def to_s; end
class << self
# source://sorbet-runtime/0.5.11998/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end

View File

@ -1930,6 +1930,7 @@ end
# source://rbs//lib/rbs/collection/sources/rubygems.rb#9
class RBS::Collection::Sources::Rubygems
include ::RBS::Collection::Sources::Base
include ::Singleton::SingletonInstanceMethods
include ::Singleton
extend ::Singleton::SingletonClassMethods
@ -1968,6 +1969,7 @@ end
# source://rbs//lib/rbs/collection/sources/stdlib.rb#9
class RBS::Collection::Sources::Stdlib
include ::RBS::Collection::Sources::Base
include ::Singleton::SingletonInstanceMethods
include ::Singleton
extend ::Singleton::SingletonClassMethods

View File

@ -269,100 +269,6 @@ class RSpec::Core::BacktraceFormatter
def matches?(patterns, line); end
end
# @private
#
# source://rspec-core//lib/rspec/core/bisect/utilities.rb#3
module RSpec::Core::Bisect; end
# @private
#
# source://rspec-core//lib/rspec/core/bisect/utilities.rb#8
class RSpec::Core::Bisect::BisectFailedError < ::StandardError
class << self
# source://rspec-core//lib/rspec/core/bisect/utilities.rb#9
def for_failed_spec_run(spec_output); end
end
end
# Wraps a pipe to support sending objects between a child and
# parent process. Where supported, encoding is explicitly
# set to ensure binary data is able to pass from child to
# parent.
#
# @private
#
# source://rspec-core//lib/rspec/core/bisect/utilities.rb#36
class RSpec::Core::Bisect::Channel
# @return [Channel] a new instance of Channel
#
# source://rspec-core//lib/rspec/core/bisect/utilities.rb#41
def initialize; end
# source://rspec-core//lib/rspec/core/bisect/utilities.rb#62
def close; end
# source://rspec-core//lib/rspec/core/bisect/utilities.rb#56
def receive; end
# source://rspec-core//lib/rspec/core/bisect/utilities.rb#50
def send(message); end
end
# source://rspec-core//lib/rspec/core/bisect/utilities.rb#38
RSpec::Core::Bisect::Channel::MARSHAL_DUMP_ENCODING = T.let(T.unsafe(nil), Encoding)
# @private
#
# source://rspec-core//lib/rspec/core/bisect/utilities.rb#5
class RSpec::Core::Bisect::ExampleSetDescriptor < ::Struct
# Returns the value of attribute all_example_ids
#
# @return [Object] the current value of all_example_ids
def all_example_ids; end
# Sets the attribute all_example_ids
#
# @param value [Object] the value to set the attribute all_example_ids to.
# @return [Object] the newly set value
def all_example_ids=(_); end
# Returns the value of attribute failed_example_ids
#
# @return [Object] the current value of failed_example_ids
def failed_example_ids; end
# Sets the attribute failed_example_ids
#
# @param value [Object] the value to set the attribute failed_example_ids to.
# @return [Object] the newly set value
def failed_example_ids=(_); end
class << self
def [](*_arg0); end
def inspect; end
def keyword_init?; end
def members; end
def new(*_arg0); end
end
end
# Wraps a `formatter` providing a simple means to notify it in place
# of an `RSpec::Core::Reporter`, without involving configuration in
# any way.
#
# @private
#
# source://rspec-core//lib/rspec/core/bisect/utilities.rb#19
class RSpec::Core::Bisect::Notifier
# @return [Notifier] a new instance of Notifier
#
# source://rspec-core//lib/rspec/core/bisect/utilities.rb#20
def initialize(formatter); end
# source://rspec-core//lib/rspec/core/bisect/utilities.rb#24
def publish(event, *args); end
end
# Stores runtime configuration information.
#
# Configuration options are loaded from multiple files and joined together
@ -4882,38 +4788,6 @@ module RSpec::Core::Formatters
end
end
# Contains common logic for formatters used by `--bisect` to communicate results
# back to the bisect runner.
#
# Subclasses must define a `notify_results(all_example_ids, failed_example_ids)`
# method.
#
# @private
#
# source://rspec-core//lib/rspec/core/formatters/base_bisect_formatter.rb#12
class RSpec::Core::Formatters::BaseBisectFormatter
# @return [BaseBisectFormatter] a new instance of BaseBisectFormatter
#
# source://rspec-core//lib/rspec/core/formatters/base_bisect_formatter.rb#17
def initialize(expected_failures); end
# source://rspec-core//lib/rspec/core/formatters/base_bisect_formatter.rb#23
def example_failed(notification); end
# source://rspec-core//lib/rspec/core/formatters/base_bisect_formatter.rb#27
def example_finished(notification); end
# source://rspec-core//lib/rspec/core/formatters/base_bisect_formatter.rb#37
def start_dump(_notification); end
class << self
# @private
#
# source://rspec-core//lib/rspec/core/formatters/base_bisect_formatter.rb#13
def inherited(formatter); end
end
end
# RSpec's built-in formatters are all subclasses of
# RSpec::Core::Formatters::BaseFormatter.
#
@ -5038,27 +4912,6 @@ class RSpec::Core::Formatters::BaseTextFormatter < ::RSpec::Core::Formatters::Ba
def seed(notification); end
end
# Used by `--bisect`. When it shells out and runs a portion of the suite, it uses
# this formatter as a means to have the status reported back to it, via DRb.
#
# Note that since DRb calls carry considerable overhead compared to normal
# method calls, we try to minimize the number of DRb calls for perf reasons,
# opting to communicate only at the start and the end of the run, rather than
# after each example.
#
# @private
#
# source://rspec-core//lib/rspec/core/formatters/bisect_drb_formatter.rb#15
class RSpec::Core::Formatters::BisectDRbFormatter < ::RSpec::Core::Formatters::BaseBisectFormatter
# @return [BisectDRbFormatter] a new instance of BisectDRbFormatter
#
# source://rspec-core//lib/rspec/core/formatters/bisect_drb_formatter.rb#16
def initialize(_output); end
# source://rspec-core//lib/rspec/core/formatters/bisect_drb_formatter.rb#23
def notify_results(results); end
end
# ConsoleCodes provides helpers for formatting console output
# with ANSI codes, e.g. color's and bold.
#
@ -9559,6 +9412,9 @@ class RSpec::Core::OutputWrapper
# source://rspec-core//lib/rspec/core/output_wrapper.rb#23
def tty?(*args, &block); end
# source://rspec-core//lib/rspec/core/output_wrapper.rb#23
def ttyname(*args, &block); end
# source://rspec-core//lib/rspec/core/output_wrapper.rb#23
def ungetbyte(*args, &block); end

View File

@ -11,70 +11,70 @@
# source://rspec-expectations//lib/rspec/matchers/english_phrasing.rb#1
module RSpec
class << self
# source://rspec-core/3.13.2/lib/rspec/core.rb#70
# source://rspec-core/3.13.3/lib/rspec/core.rb#70
def clear_examples; end
# source://rspec-core/3.13.2/lib/rspec/core.rb#85
# source://rspec-core/3.13.3/lib/rspec/core.rb#85
def configuration; end
# source://rspec-core/3.13.2/lib/rspec/core.rb#49
# source://rspec-core/3.13.3/lib/rspec/core.rb#49
def configuration=(_arg0); end
# source://rspec-core/3.13.2/lib/rspec/core.rb#97
# source://rspec-core/3.13.3/lib/rspec/core.rb#97
def configure; end
# source://rspec-core/3.13.2/lib/rspec/core.rb#194
# source://rspec-core/3.13.3/lib/rspec/core.rb#194
def const_missing(name); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def context(*args, &example_group_block); end
# source://rspec-core/3.13.2/lib/rspec/core.rb#122
# source://rspec-core/3.13.3/lib/rspec/core.rb#122
def current_example; end
# source://rspec-core/3.13.2/lib/rspec/core.rb#128
# source://rspec-core/3.13.3/lib/rspec/core.rb#128
def current_example=(example); end
# source://rspec-core/3.13.2/lib/rspec/core.rb#154
# source://rspec-core/3.13.3/lib/rspec/core.rb#154
def current_scope; end
# source://rspec-core/3.13.2/lib/rspec/core.rb#134
# source://rspec-core/3.13.3/lib/rspec/core.rb#134
def current_scope=(scope); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def describe(*args, &example_group_block); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def example_group(*args, &example_group_block); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def fcontext(*args, &example_group_block); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def fdescribe(*args, &example_group_block); end
# source://rspec-core/3.13.2/lib/rspec/core.rb#58
# source://rspec-core/3.13.3/lib/rspec/core.rb#58
def reset; end
# source://rspec-core/3.13.2/lib/rspec/core/shared_example_group.rb#110
# source://rspec-core/3.13.3/lib/rspec/core/shared_example_group.rb#110
def shared_context(name, *args, &block); end
# source://rspec-core/3.13.2/lib/rspec/core/shared_example_group.rb#110
# source://rspec-core/3.13.3/lib/rspec/core/shared_example_group.rb#110
def shared_examples(name, *args, &block); end
# source://rspec-core/3.13.2/lib/rspec/core/shared_example_group.rb#110
# source://rspec-core/3.13.3/lib/rspec/core/shared_example_group.rb#110
def shared_examples_for(name, *args, &block); end
# source://rspec-core/3.13.2/lib/rspec/core.rb#160
# source://rspec-core/3.13.3/lib/rspec/core.rb#160
def world; end
# source://rspec-core/3.13.2/lib/rspec/core.rb#49
# source://rspec-core/3.13.3/lib/rspec/core.rb#49
def world=(_arg0); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def xcontext(*args, &example_group_block); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def xdescribe(*args, &example_group_block); end
end
end

View File

@ -8,70 +8,70 @@
# source://rspec-sorbet//lib/rspec/sorbet/doubles.rb#6
module RSpec
class << self
# source://rspec-core/3.13.2/lib/rspec/core.rb#70
# source://rspec-core/3.13.3/lib/rspec/core.rb#70
def clear_examples; end
# source://rspec-core/3.13.2/lib/rspec/core.rb#85
# source://rspec-core/3.13.3/lib/rspec/core.rb#85
def configuration; end
# source://rspec-core/3.13.2/lib/rspec/core.rb#49
# source://rspec-core/3.13.3/lib/rspec/core.rb#49
def configuration=(_arg0); end
# source://rspec-core/3.13.2/lib/rspec/core.rb#97
# source://rspec-core/3.13.3/lib/rspec/core.rb#97
def configure; end
# source://rspec-core/3.13.2/lib/rspec/core.rb#194
# source://rspec-core/3.13.3/lib/rspec/core.rb#194
def const_missing(name); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def context(*args, &example_group_block); end
# source://rspec-core/3.13.2/lib/rspec/core.rb#122
# source://rspec-core/3.13.3/lib/rspec/core.rb#122
def current_example; end
# source://rspec-core/3.13.2/lib/rspec/core.rb#128
# source://rspec-core/3.13.3/lib/rspec/core.rb#128
def current_example=(example); end
# source://rspec-core/3.13.2/lib/rspec/core.rb#154
# source://rspec-core/3.13.3/lib/rspec/core.rb#154
def current_scope; end
# source://rspec-core/3.13.2/lib/rspec/core.rb#134
# source://rspec-core/3.13.3/lib/rspec/core.rb#134
def current_scope=(scope); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def describe(*args, &example_group_block); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def example_group(*args, &example_group_block); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def fcontext(*args, &example_group_block); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def fdescribe(*args, &example_group_block); end
# source://rspec-core/3.13.2/lib/rspec/core.rb#58
# source://rspec-core/3.13.3/lib/rspec/core.rb#58
def reset; end
# source://rspec-core/3.13.2/lib/rspec/core/shared_example_group.rb#110
# source://rspec-core/3.13.3/lib/rspec/core/shared_example_group.rb#110
def shared_context(name, *args, &block); end
# source://rspec-core/3.13.2/lib/rspec/core/shared_example_group.rb#110
# source://rspec-core/3.13.3/lib/rspec/core/shared_example_group.rb#110
def shared_examples(name, *args, &block); end
# source://rspec-core/3.13.2/lib/rspec/core/shared_example_group.rb#110
# source://rspec-core/3.13.3/lib/rspec/core/shared_example_group.rb#110
def shared_examples_for(name, *args, &block); end
# source://rspec-core/3.13.2/lib/rspec/core.rb#160
# source://rspec-core/3.13.3/lib/rspec/core.rb#160
def world; end
# source://rspec-core/3.13.2/lib/rspec/core.rb#49
# source://rspec-core/3.13.3/lib/rspec/core.rb#49
def world=(_arg0); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def xcontext(*args, &example_group_block); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def xdescribe(*args, &example_group_block); end
end
end
@ -91,7 +91,7 @@ module RSpec::Sorbet::Doubles
# @return [void]
#
# source://sorbet-runtime/0.5.11746/lib/types/private/methods/_methods.rb#257
# source://sorbet-runtime/0.5.12026/lib/types/private/methods/_methods.rb#257
def allow_instance_doubles!(*args, **_arg1, &blk); end
# source://rspec-sorbet//lib/rspec/sorbet/doubles.rb#36

View File

@ -10,70 +10,70 @@ module RSpec
extend ::RSpec::Support::Warnings
class << self
# source://rspec-core/3.13.2/lib/rspec/core.rb#70
# source://rspec-core/3.13.3/lib/rspec/core.rb#70
def clear_examples; end
# source://rspec-core/3.13.2/lib/rspec/core.rb#85
# source://rspec-core/3.13.3/lib/rspec/core.rb#85
def configuration; end
# source://rspec-core/3.13.2/lib/rspec/core.rb#49
# source://rspec-core/3.13.3/lib/rspec/core.rb#49
def configuration=(_arg0); end
# source://rspec-core/3.13.2/lib/rspec/core.rb#97
# source://rspec-core/3.13.3/lib/rspec/core.rb#97
def configure; end
# source://rspec-core/3.13.2/lib/rspec/core.rb#194
# source://rspec-core/3.13.3/lib/rspec/core.rb#194
def const_missing(name); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def context(*args, &example_group_block); end
# source://rspec-core/3.13.2/lib/rspec/core.rb#122
# source://rspec-core/3.13.3/lib/rspec/core.rb#122
def current_example; end
# source://rspec-core/3.13.2/lib/rspec/core.rb#128
# source://rspec-core/3.13.3/lib/rspec/core.rb#128
def current_example=(example); end
# source://rspec-core/3.13.2/lib/rspec/core.rb#154
# source://rspec-core/3.13.3/lib/rspec/core.rb#154
def current_scope; end
# source://rspec-core/3.13.2/lib/rspec/core.rb#134
# source://rspec-core/3.13.3/lib/rspec/core.rb#134
def current_scope=(scope); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def describe(*args, &example_group_block); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def example_group(*args, &example_group_block); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def fcontext(*args, &example_group_block); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def fdescribe(*args, &example_group_block); end
# source://rspec-core/3.13.2/lib/rspec/core.rb#58
# source://rspec-core/3.13.3/lib/rspec/core.rb#58
def reset; end
# source://rspec-core/3.13.2/lib/rspec/core/shared_example_group.rb#110
# source://rspec-core/3.13.3/lib/rspec/core/shared_example_group.rb#110
def shared_context(name, *args, &block); end
# source://rspec-core/3.13.2/lib/rspec/core/shared_example_group.rb#110
# source://rspec-core/3.13.3/lib/rspec/core/shared_example_group.rb#110
def shared_examples(name, *args, &block); end
# source://rspec-core/3.13.2/lib/rspec/core/shared_example_group.rb#110
# source://rspec-core/3.13.3/lib/rspec/core/shared_example_group.rb#110
def shared_examples_for(name, *args, &block); end
# source://rspec-core/3.13.2/lib/rspec/core.rb#160
# source://rspec-core/3.13.3/lib/rspec/core.rb#160
def world; end
# source://rspec-core/3.13.2/lib/rspec/core.rb#49
# source://rspec-core/3.13.3/lib/rspec/core.rb#49
def world=(_arg0); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def xcontext(*args, &example_group_block); end
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
def xdescribe(*args, &example_group_block); end
end
end

View File

@ -814,6 +814,9 @@ module RuboCop::AST::CollectionNode
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19
def fetch(*_arg0, **_arg1, &_arg2); end
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19
def fetch_values(*_arg0, **_arg1, &_arg2); end
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19
def fill(*_arg0, **_arg1, &_arg2); end
@ -4397,7 +4400,7 @@ end
# Doc on how this fits in the compiling process:
# /docs/modules/ROOT/pages/node_pattern.adoc
#
# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#17
# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#16
class RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler < ::RuboCop::AST::NodePattern::Compiler::Subcompiler
# Calls `compile_sequence`; the actual `compile` method
# will be used for the different terms of the sequence.
@ -6285,7 +6288,7 @@ class RuboCop::AST::ProcessedSource
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#77
def lines; end
# source://rubocop-md/2.0.0/lib/rubocop/markdown/rubocop_ext.rb#85
# source://rubocop-md/2.0.1/lib/rubocop/markdown/rubocop_ext.rb#85
def parse(src, *args); end
# Returns the value of attribute parser_engine.

View File

@ -840,7 +840,7 @@ class RuboCop::CommentConfig
# source://rubocop//lib/rubocop/comment_config.rb#63
def comment_only_line?(line_number); end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def config(*_arg0, **_arg1, &_arg2); end
# source://rubocop//lib/rubocop/comment_config.rb#51
@ -864,7 +864,7 @@ class RuboCop::CommentConfig
# source://rubocop//lib/rubocop/comment_config.rb#30
def processed_source; end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def registry(*_arg0, **_arg1, &_arg2); end
private
@ -1040,10 +1040,10 @@ class RuboCop::Config
# source://rubocop//lib/rubocop/config.rb#31
def initialize(hash = T.unsafe(nil), loaded_path = T.unsafe(nil)); end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def [](*_arg0, **_arg1, &_arg2); end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def []=(*_arg0, **_arg1, &_arg2); end
# @return [Boolean]
@ -1087,13 +1087,13 @@ class RuboCop::Config
# source://rubocop//lib/rubocop/config.rb#200
def cop_enabled?(name); end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def delete(*_arg0, **_arg1, &_arg2); end
# source://rubocop//lib/rubocop/config.rb#139
def deprecation_check; end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def dig(*_arg0, **_arg1, &_arg2); end
# @return [Boolean]
@ -1101,10 +1101,10 @@ class RuboCop::Config
# source://rubocop//lib/rubocop/config.rb#204
def disabled_new_cops?; end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def each(*_arg0, **_arg1, &_arg2); end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def each_key(*_arg0, **_arg1, &_arg2); end
# @return [Boolean]
@ -1112,7 +1112,7 @@ class RuboCop::Config
# source://rubocop//lib/rubocop/config.rb#208
def enabled_new_cops?; end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def fetch(*_arg0, **_arg1, &_arg2); end
# @return [Boolean]
@ -1174,10 +1174,10 @@ class RuboCop::Config
# source://rubocop//lib/rubocop/config.rb#110
def internal?; end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def key?(*_arg0, **_arg1, &_arg2); end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def keys(*_arg0, **_arg1, &_arg2); end
# source://rubocop//lib/rubocop/config.rb#81
@ -1194,10 +1194,10 @@ class RuboCop::Config
# source://rubocop//lib/rubocop/config.rb#115
def make_excludes_absolute; end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def map(*_arg0, **_arg1, &_arg2); end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def merge(*_arg0, **_arg1, &_arg2); end
# source://rubocop//lib/rubocop/config.rb#293
@ -1223,7 +1223,7 @@ class RuboCop::Config
# source://rubocop//lib/rubocop/config.rb#253
def possibly_include_hidden?; end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def replace(*_arg0, **_arg1, &_arg2); end
# source://rubocop//lib/rubocop/config.rb#105
@ -1240,22 +1240,22 @@ class RuboCop::Config
# source://rubocop//lib/rubocop/config.rb#297
def target_rails_version; end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def target_ruby_version(*_arg0, **_arg1, &_arg2); end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def to_h(*_arg0, **_arg1, &_arg2); end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def to_hash(*_arg0, **_arg1, &_arg2); end
# source://rubocop//lib/rubocop/config.rb#101
def to_s; end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def transform_values(*_arg0, **_arg1, &_arg2); end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def validate(*_arg0, **_arg1, &_arg2); end
# source://rubocop//lib/rubocop/config.rb#92
@ -2435,10 +2435,10 @@ class RuboCop::ConfigValidator
# source://rubocop//lib/rubocop/config_validator.rb#28
def initialize(config); end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def for_all_cops(*_arg0, **_arg1, &_arg2); end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def smart_loaded_path(*_arg0, **_arg1, &_arg2); end
# source://rubocop//lib/rubocop/config_validator.rb#65
@ -4965,7 +4965,7 @@ class RuboCop::Cop::Commissioner::InvestigationReport < ::Struct
# source://rubocop//lib/rubocop/cop/commissioner.rb#35
def merge(investigation); end
# source://rubocop-md/2.0.0/lib/rubocop/markdown/rubocop_ext.rb#64
# source://rubocop-md/2.0.1/lib/rubocop/markdown/rubocop_ext.rb#64
def offenses; end
# source://rubocop//lib/rubocop/cop/commissioner.rb#23
@ -5339,7 +5339,7 @@ class RuboCop::Cop::Corrector < ::Parser::Source::TreeRewriter
# Legacy
#
# source://parser/3.3.7.4/lib/parser/source/tree_rewriter.rb#252
# source://parser/3.3.8.0/lib/parser/source/tree_rewriter.rb#252
def rewrite; end
# Swaps sources at the given ranges.
@ -31628,36 +31628,36 @@ end
module RuboCop::Cop::RSpec; end
class RuboCop::Cop::RSpec::MultipleExpectations < ::RuboCop::Cop::RSpec::Base
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/multiple_expectations.rb#78
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/multiple_expectations.rb#78
def aggregate_failures?(param0 = T.unsafe(nil), param1); end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/multiple_expectations.rb#89
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/multiple_expectations.rb#89
def aggregate_failures_block?(param0 = T.unsafe(nil)); end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/multiple_expectations.rb#86
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/multiple_expectations.rb#86
def expect?(param0 = T.unsafe(nil)); end
# source://rubocop//lib/rubocop/cop/exclude_limit.rb#11
def max=(value); end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/multiple_expectations.rb#93
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/multiple_expectations.rb#93
def on_block(node); end
private
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/multiple_expectations.rb#109
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/multiple_expectations.rb#109
def example_with_aggregate_failures?(example_node); end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/multiple_expectations.rb#116
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/multiple_expectations.rb#116
def find_aggregate_failures(example_node); end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/multiple_expectations.rb#121
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/multiple_expectations.rb#121
def find_expectation(node, &block); end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/multiple_expectations.rb#132
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/multiple_expectations.rb#132
def flag_example(node, expectation_count:); end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/multiple_expectations.rb#143
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/multiple_expectations.rb#143
def max_expectations; end
end
@ -31665,30 +31665,30 @@ class RuboCop::Cop::RSpec::MultipleMemoizedHelpers < ::RuboCop::Cop::RSpec::Base
# source://rubocop//lib/rubocop/cop/exclude_limit.rb#11
def max=(value); end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#91
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#91
def on_block(node); end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#102
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#102
def on_new_investigation; end
private
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#111
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#111
def all_helpers(node); end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#141
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#141
def allow_subject?; end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#109
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#109
def example_group_memoized_helpers; end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#116
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#116
def helpers(node); end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#137
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#137
def max; end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#127
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#127
def variable_nodes(node); end
end
@ -31696,27 +31696,27 @@ class RuboCop::Cop::RSpec::NestedGroups < ::RuboCop::Cop::RSpec::Base
# source://rubocop//lib/rubocop/cop/exclude_limit.rb#11
def max=(value); end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/nested_groups.rb#107
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/nested_groups.rb#107
def on_top_level_group(node); end
private
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/nested_groups.rb#157
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/nested_groups.rb#157
def allowed_groups; end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/nested_groups.rb#134
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/nested_groups.rb#134
def count_up_nesting?(node, example_group); end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/nested_groups.rb#119
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/nested_groups.rb#119
def find_nested_example_groups(node, nesting: T.unsafe(nil), &block); end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/nested_groups.rb#144
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/nested_groups.rb#144
def max_nesting; end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/nested_groups.rb#148
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/nested_groups.rb#148
def max_nesting_config; end
# source://rubocop-rspec/3.5.0/lib/rubocop/cop/rspec/nested_groups.rb#140
# source://rubocop-rspec/3.6.0/lib/rubocop/cop/rspec/nested_groups.rb#140
def message(nesting); end
end
@ -42842,10 +42842,10 @@ class RuboCop::Cop::Style::MagicCommentFormat::CommentRange
# source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#125
def directives; end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def loc(*_arg0, **_arg1, &_arg2); end
# source://rubocop-ast/1.44.0/lib/rubocop/ast/utilities/simple_forwardable.rb#19
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
def text(*_arg0, **_arg1, &_arg2); end
# A magic comment can contain one value (normal style) or
@ -59545,10 +59545,10 @@ RuboCop::Formatter::PacmanFormatter::FALLBACK_TERMINAL_WIDTH = T.let(T.unsafe(ni
RuboCop::Formatter::PacmanFormatter::GHOST = T.let(T.unsafe(nil), String)
# source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#17
RuboCop::Formatter::PacmanFormatter::PACDOT = T.let(T.unsafe(nil), Rainbow::NullPresenter)
RuboCop::Formatter::PacmanFormatter::PACDOT = T.let(T.unsafe(nil), Rainbow::Presenter)
# source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#16
RuboCop::Formatter::PacmanFormatter::PACMAN = T.let(T.unsafe(nil), Rainbow::NullPresenter)
RuboCop::Formatter::PacmanFormatter::PACMAN = T.let(T.unsafe(nil), Rainbow::Presenter)
# This formatter display dots for files with no offenses and
# letters for files with problems in the them. In the end it
@ -61352,13 +61352,13 @@ class RuboCop::Runner
# source://rubocop//lib/rubocop/runner.rb#56
def errors; end
# source://rubocop-md/2.0.0/lib/rubocop/markdown/rubocop_ext.rb#50
# source://rubocop-md/2.0.1/lib/rubocop/markdown/rubocop_ext.rb#50
def file_finished(file, offenses); end
# source://rubocop-md/2.0.0/lib/rubocop/markdown/rubocop_ext.rb#44
# source://rubocop-md/2.0.1/lib/rubocop/markdown/rubocop_ext.rb#44
def file_offense_cache(file); end
# source://rubocop-md/2.0.0/lib/rubocop/markdown/rubocop_ext.rb#36
# source://rubocop-md/2.0.1/lib/rubocop/markdown/rubocop_ext.rb#36
def get_processed_source(*args); end
# source://rubocop//lib/rubocop/runner.rb#67
@ -61614,7 +61614,7 @@ class RuboCop::TargetFinder
# @api private
# @return [Boolean]
#
# source://rubocop-md/2.0.0/lib/rubocop/markdown/rubocop_ext.rb#78
# source://rubocop-md/2.0.1/lib/rubocop/markdown/rubocop_ext.rb#78
def ruby_file?(file); end
# Finds all Ruby source files under the current or other supplied directory. A Ruby source file

View File

@ -1332,7 +1332,7 @@ class Spoom::Coverage::D3::ColorPalette < ::T::Struct
prop :strong, ::String
class << self
# source://sorbet-runtime/0.5.11933/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -1810,7 +1810,7 @@ class Spoom::Coverage::Snapshot < ::T::Struct
sig { params(obj: T::Hash[::String, T.untyped]).returns(::Spoom::Coverage::Snapshot) }
def from_obj(obj); end
# source://sorbet-runtime/0.5.11933/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2005,7 +2005,7 @@ class Spoom::Deadcode::Definition < ::T::Struct
def to_json(*args); end
class << self
# source://sorbet-runtime/0.5.11933/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -3283,7 +3283,7 @@ class Spoom::Deadcode::Send < ::T::Struct
def each_arg_assoc(&block); end
class << self
# source://sorbet-runtime/0.5.11933/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -3305,7 +3305,7 @@ class Spoom::ExecResult < ::T::Struct
def to_s; end
class << self
# source://sorbet-runtime/0.5.11933/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -3585,7 +3585,7 @@ class Spoom::FileTree::Node < ::T::Struct
def path; end
class << self
# source://sorbet-runtime/0.5.11933/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -3668,7 +3668,7 @@ class Spoom::Git::Commit < ::T::Struct
def timestamp; end
class << self
# source://sorbet-runtime/0.5.11933/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
# Parse a line formatted as `%h %at` into a `Commit`
@ -3819,7 +3819,7 @@ class Spoom::LSP::Diagnostic < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Diagnostic) }
def from_json(json); end
# source://sorbet-runtime/0.5.11933/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -3860,7 +3860,7 @@ class Spoom::LSP::DocumentSymbol < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::DocumentSymbol) }
def from_json(json); end
# source://sorbet-runtime/0.5.11933/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -3934,7 +3934,7 @@ class Spoom::LSP::Hover < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Hover) }
def from_json(json); end
# source://sorbet-runtime/0.5.11933/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -3965,7 +3965,7 @@ class Spoom::LSP::Location < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Location) }
def from_json(json); end
# source://sorbet-runtime/0.5.11933/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -4052,7 +4052,7 @@ class Spoom::LSP::Position < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Position) }
def from_json(json); end
# source://sorbet-runtime/0.5.11933/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -4096,7 +4096,7 @@ class Spoom::LSP::Range < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Range) }
def from_json(json); end
# source://sorbet-runtime/0.5.11933/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -4187,7 +4187,7 @@ class Spoom::LSP::SignatureHelp < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::SignatureHelp) }
def from_json(json); end
# source://sorbet-runtime/0.5.11933/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -4778,7 +4778,7 @@ class Spoom::Model::Reference < ::T::Struct
sig { params(name: ::String, location: ::Spoom::Location).returns(::Spoom::Model::Reference) }
def constant(name, location); end
# source://sorbet-runtime/0.5.11933/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
# : (String name, Spoom::Location location) -> Reference

View File

@ -55,26 +55,16 @@ module RBI; end
# source://tapioca//lib/tapioca/rbi_ext/model.rb#5
class RBI::Tree < ::RBI::NodeWithComments
# source://rbi/0.2.4/lib/rbi/model.rb#121
sig do
params(
loc: T.nilable(::RBI::Loc),
comments: T::Array[::RBI::Comment],
block: T.nilable(T.proc.params(node: ::RBI::Tree).void)
).void
end
# source://rbi/0.3.2/lib/rbi/model.rb#119
def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
# source://rbi/0.2.4/lib/rbi/model.rb#128
sig { params(node: ::RBI::Node).void }
# source://rbi/0.3.2/lib/rbi/model.rb#126
def <<(node); end
# source://rbi/0.2.4/lib/rbi/rewriters/add_sig_templates.rb#66
sig { params(with_todo_comment: T::Boolean).void }
# source://rbi/0.3.2/lib/rbi/rewriters/add_sig_templates.rb#63
def add_sig_templates!(with_todo_comment: T.unsafe(nil)); end
# source://rbi/0.2.4/lib/rbi/rewriters/annotate.rb#49
sig { params(annotation: ::String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void }
# source://rbi/0.3.2/lib/rbi/rewriters/annotate.rb#46
def annotate!(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end
# source://tapioca//lib/tapioca/rbi_ext/model.rb#38
@ -138,69 +128,51 @@ class RBI::Tree < ::RBI::NodeWithComments
end
def create_type_variable(name, type:, variance: T.unsafe(nil), fixed: T.unsafe(nil), upper: T.unsafe(nil), lower: T.unsafe(nil)); end
# source://rbi/0.2.4/lib/rbi/rewriters/deannotate.rb#41
sig { params(annotation: ::String).void }
# source://rbi/0.3.2/lib/rbi/rewriters/deannotate.rb#38
def deannotate!(annotation); end
# source://rbi/0.2.4/lib/rbi/model.rb#134
sig { returns(T::Boolean) }
# source://rbi/0.3.2/lib/rbi/model.rb#132
def empty?; end
# source://rbi/0.2.4/lib/rbi/rewriters/filter_versions.rb#118
sig { params(version: ::Gem::Version).void }
# source://rbi/0.3.2/lib/rbi/rewriters/filter_versions.rb#113
def filter_versions!(version); end
# source://rbi/0.2.4/lib/rbi/rewriters/flatten_singleton_methods.rb#60
sig { void }
# source://rbi/0.3.2/lib/rbi/rewriters/flatten_singleton_methods.rb#58
def flatten_singleton_methods!; end
# source://rbi/0.2.4/lib/rbi/rewriters/flatten_visibilities.rb#60
sig { void }
# source://rbi/0.3.2/lib/rbi/rewriters/flatten_visibilities.rb#57
def flatten_visibilities!; end
# source://rbi/0.2.4/lib/rbi/rewriters/group_nodes.rb#81
sig { void }
# source://rbi/0.3.2/lib/rbi/rewriters/group_nodes.rb#78
def group_nodes!; end
# source://rbi/0.2.4/lib/rbi/index.rb#68
sig { returns(::RBI::Index) }
# source://rbi/0.3.2/lib/rbi/index.rb#64
def index; end
# source://rbi/0.2.4/lib/rbi/rewriters/merge_trees.rb#324
sig do
params(
other: ::RBI::Tree,
left_name: ::String,
right_name: ::String,
keep: ::RBI::Rewriters::Merge::Keep
).returns(::RBI::MergeTree)
end
# source://rbi/0.3.2/lib/rbi/rewriters/merge_trees.rb#314
def merge(other, left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end
# source://rbi/0.2.4/lib/rbi/rewriters/nest_non_public_members.rb#46
sig { void }
# source://rbi/0.3.2/lib/rbi/rewriters/nest_non_public_members.rb#43
def nest_non_public_members!; end
# source://rbi/0.2.4/lib/rbi/rewriters/nest_singleton_methods.rb#36
sig { void }
# source://rbi/0.3.2/lib/rbi/rewriters/nest_singleton_methods.rb#33
def nest_singleton_methods!; end
# source://rbi/0.2.4/lib/rbi/rewriters/nest_top_level_members.rb#63
sig { void }
# source://rbi/0.3.2/lib/rbi/rewriters/nest_top_level_members.rb#60
def nest_top_level_members!; end
# source://rbi/0.2.4/lib/rbi/model.rb#112
sig { returns(T::Array[::RBI::Node]) }
# source://rbi/0.3.2/lib/rbi/model.rb#116
def nodes; end
# source://rbi/0.2.4/lib/rbi/rewriters/attr_to_methods.rb#53
sig { void }
# source://rbi/0.3.2/lib/rbi/rewriters/attr_to_methods.rb#50
def replace_attributes_with_methods!; end
# source://rbi/0.2.4/lib/rbi/rewriters/sort_nodes.rb#119
sig { void }
# source://rbi/0.3.2/lib/rbi/rewriters/sort_nodes.rb#118
def sort_nodes!; end
# source://rbi/0.3.2/lib/rbi/rewriters/translate_rbs_sigs.rb#82
def translate_rbs_sigs!; end
private
# source://tapioca//lib/tapioca/rbi_ext/model.rb#123
@ -218,7 +190,7 @@ class RBI::TypedParam < ::T::Struct
const :type, ::String
class << self
# source://sorbet-runtime/0.5.11845/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -1179,7 +1151,7 @@ class Tapioca::ConfigHelper::ConfigError < ::T::Struct
const :message_parts, T::Array[::Tapioca::ConfigHelper::ConfigErrorMessagePart]
class << self
# source://sorbet-runtime/0.5.11845/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -1190,7 +1162,7 @@ class Tapioca::ConfigHelper::ConfigErrorMessagePart < ::T::Struct
const :colors, T::Array[::Symbol]
class << self
# source://sorbet-runtime/0.5.11845/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2264,7 +2236,7 @@ class Tapioca::GemInfo < ::T::Struct
sig { params(spec: ::Bundler::LazySpecification).returns(::Tapioca::GemInfo) }
def from_spec(spec); end
# source://sorbet-runtime/0.5.11845/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.12026/lib/types/struct.rb#13
def inherited(s); end
end
end

View File

@ -20,7 +20,7 @@ else
end
# This list should match .gitignore
vendored_versions = ["3.3"].freeze
vendored_versions = ["3.4"].freeze
vendored_versions.include?("#{ruby_major}.#{ruby_minor}")
end.freeze

View File

@ -10,7 +10,7 @@ Homebrew::FastBootRequire.from_rubylibdir("English")
module Homebrew
# Keep in sync with the `Gemfile.lock`'s BUNDLED WITH.
# After updating this, run `brew vendor-gems --update=--bundler`.
HOMEBREW_BUNDLER_VERSION = "2.5.22"
HOMEBREW_BUNDLER_VERSION = "2.6.7"
# Bump this whenever a committed vendored gem is later added to or exclusion removed from gitignore.
# This will trigger it to reinstall properly if `brew install-bundler-gems` needs it.

View File

@ -2,7 +2,7 @@
# When bumping to a new major/minor version, also update the bounds in the Gemfile
# HOMEBREW_LIBRARY set by bin/brew
# shellcheck disable=SC2154
export HOMEBREW_REQUIRED_RUBY_VERSION="3.3"
export HOMEBREW_REQUIRED_RUBY_VERSION="3.4"
HOMEBREW_PORTABLE_RUBY_VERSION="$(cat "${HOMEBREW_LIBRARY}/Homebrew/vendor/portable-ruby-version")"
# Disable Ruby options we don't need.

View File

@ -44,6 +44,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/bindata-2.5.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/coderay-1.1.3/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/concurrent-ruby-1.3.5/lib/concurrent-ruby")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/csv-3.3.4/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/diff-lcs-1.6.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/docile-1.4.1/lib")
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.3.1/lib")

Some files were not shown because too many files have changed in this diff Show More