From de0a7eee2cf886f8e55e56aef1a1a011b7c00b55 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Tue, 2 Apr 2024 23:55:24 +0100 Subject: [PATCH] Add the `debug` gem for test debugging --- .gitignore | 5 +++++ Library/Homebrew/Gemfile | 2 ++ Library/Homebrew/Gemfile.lock | 16 ++++++++++++++++ Library/Homebrew/sorbet/tapioca/config.yml | 7 +++++++ Library/Homebrew/vendor/bundle/bundler/setup.rb | 11 +++++++++++ 5 files changed, 41 insertions(+) diff --git a/.gitignore b/.gitignore index 7f978ca750f96..29db8f57101ae 100644 --- a/.gitignore +++ b/.gitignore @@ -76,12 +76,14 @@ **/vendor/bundle/ruby/*/gems/coderay-*/ **/vendor/bundle/ruby/*/gems/colorize-*/ **/vendor/bundle/ruby/*/gems/commander-*/ +**/vendor/bundle/ruby/*/gems/debug-*/ **/vendor/bundle/ruby/*/gems/diff-lcs-*/ **/vendor/bundle/ruby/*/gems/docile-*/ **/vendor/bundle/ruby/*/gems/ecma-re-validator-*/ **/vendor/bundle/ruby/*/gems/erubi-*/ **/vendor/bundle/ruby/*/gems/hana-*/ **/vendor/bundle/ruby/*/gems/highline-*/ +**/vendor/bundle/ruby/*/gems/irb-*/ **/vendor/bundle/ruby/*/gems/jaro_winkler-*/ **/vendor/bundle/ruby/*/gems/json-*/ **/vendor/bundle/ruby/*/gems/json_schemer-*/ @@ -105,7 +107,9 @@ **/vendor/bundle/ruby/*/gems/racc-*/ **/vendor/bundle/ruby/*/gems/rainbow-*/ **/vendor/bundle/ruby/*/gems/rbi-*/ +**/vendor/bundle/ruby/*/gems/rdoc-*/ **/vendor/bundle/ruby/*/gems/regexp_parser-*/ +**/vendor/bundle/ruby/*/gems/reline-*/ **/vendor/bundle/ruby/*/gems/rexml-*/ **/vendor/bundle/ruby/*/gems/rspec-*/ **/vendor/bundle/ruby/*/gems/rspec-core-*/ @@ -126,6 +130,7 @@ !**/vendor/bundle/ruby/*/gems/sorbet-runtime-*/ **/vendor/bundle/ruby/*/gems/spoom-*/ **/vendor/bundle/ruby/*/gems/stackprof-*/ +**/vendor/bundle/ruby/*/gems/stringio-*/ **/vendor/bundle/ruby/*/gems/strscan-*/ **/vendor/bundle/ruby/*/gems/syntax_tree-*/ **/vendor/bundle/ruby/*/gems/tapioca-*/ diff --git a/Library/Homebrew/Gemfile b/Library/Homebrew/Gemfile index 533593a96f489..1f20df7d6dbd1 100644 --- a/Library/Homebrew/Gemfile +++ b/Library/Homebrew/Gemfile @@ -48,6 +48,8 @@ group :style, optional: true do gem "rubocop-sorbet", require: false end group :tests, optional: true do + gem "psych", "< 5", require: false + gem "debug", require: false gem "parallel_tests", require: false gem "rspec", require: false gem "rspec-github", require: false diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 588773a4e0f51..0639fec41ec70 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -10,6 +10,9 @@ GEM coderay (1.1.3) commander (4.6.0) highline (~> 2.0.0) + debug (1.9.2) + irb (~> 1.10) + reline (>= 0.3.8) diff-lcs (1.5.1) docile (1.4.0) elftools (1.3.0) @@ -17,6 +20,10 @@ GEM erubi (1.12.0) hana (1.3.7) highline (2.0.3) + io-console (0.7.2) + irb (1.12.0) + rdoc + reline (>= 0.4.2) json (2.7.1) json_schemer (2.1.1) hana (~> 1.3) @@ -47,13 +54,19 @@ GEM pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) + psych (4.0.6) + stringio public_suffix (5.0.5) racc (1.7.3) rainbow (3.1.1) rbi (0.1.9) prism (>= 0.18.0, < 0.25) sorbet-runtime (>= 0.5.9204) + rdoc (6.6.3.1) + psych (>= 4.0.0) regexp_parser (2.9.0) + reline (0.5.0) + io-console (~> 0.5) rexml (3.2.6) rspec (3.13.0) rspec-core (~> 3.13.0) @@ -133,6 +146,7 @@ GEM sorbet-static-and-runtime (>= 0.5.10187) thor (>= 0.19.2) stackprof (0.2.26) + stringio (3.1.0) tapioca (0.13.1) bundler (>= 2.2.25) netrc (>= 0.11.0) @@ -163,6 +177,7 @@ PLATFORMS DEPENDENCIES addressable bootsnap + debug json_schemer kramdown method_source @@ -172,6 +187,7 @@ DEPENDENCIES patchelf plist pry + psych (< 5) rexml rspec rspec-github diff --git a/Library/Homebrew/sorbet/tapioca/config.yml b/Library/Homebrew/sorbet/tapioca/config.yml index 1b7f462111291..6373d611389c6 100644 --- a/Library/Homebrew/sorbet/tapioca/config.yml +++ b/Library/Homebrew/sorbet/tapioca/config.yml @@ -6,17 +6,23 @@ gem: - json - msgpack # These aren't needed: + - byebug - coderay - commander + - debug - diff-lcs - docile - hana - highline + - io-console + - irb - language_server-protocol - netrc - parallel - public_suffix - racc + - rdoc + - reline - rexml - rspec-github - rspec-mocks @@ -32,6 +38,7 @@ gem: - ruby-prof - simplecov_json_formatter - simpleidn + - stringio - unf - unf_ext - unicode-display_width diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 7455949f6da08..bff3f418563d6 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -38,6 +38,17 @@ def self.extension_api_version $:.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/highline-2.0.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/commander-4.6.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stringio-3.1.0") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/stringio-3.1.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/psych-4.0.6") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/psych-4.0.6/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rdoc-6.6.3.1/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/io-console-0.7.2") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/io-console-0.7.2/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/reline-0.5.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/irb-1.12.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/debug-1.9.2") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/debug-1.9.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/diff-lcs-1.5.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/docile-1.4.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.3.0/lib")