ruby/spec/bundler/commands
David Rodríguez 13305bf0c9 [rubygems/rubygems] Fix crash when running `bundle outdated` in debug mode
Previously it would crash like this:

````
$ /Users/deivid/.asdf/installs/ruby/3.1.2/bin/ruby -I/Users/deivid/Code/rubygems/rubygems/bundler/spec -r/Users/deivid/Code/rubygems/rubygems/bundler/spec/support/artifice/fail.rb -r/Users/deivid/Code/rubygems/rubygems/bundler/spec/support/hax.rb /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/bin/bundle outdated --patch --strict --filter-patch
Running `bundle outdated --filter-patch --patch --strict` with bundler 2.4.0.dev
Found changes from the lockfile, re-resolving dependencies because bundler is unlocking Using a local server, bundler won't use the CompactIndex API
Fetching source index from file:///Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/remote4/
Resolving dependencies...
--- ERROR REPORT TEMPLATE -------------------------------------------------------

```
RuntimeError: LazySpecification has not been materialized yet (calling :loaded_from [])
  /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/lazy_specification.rb:147:in `method_missing'
  /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/cli/outdated.rb:214:in `gem_column_for'
  /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/cli/outdated.rb:174:in `block in print_gems_table'
  /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/cli/outdated.rb:173:in `map'
  /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/cli/outdated.rb:173:in `print_gems_table'
  /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/cli/outdated.rb:123:in `run'
  /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/cli.rb:420:in `outdated'
  /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
  /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/cli.rb:31:in `dispatch'
  /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
  /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/cli.rb:25:in `start'
  /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/exe/bundle:48:in `block in <top (required)>'
  /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/lib/bundler/friendly_errors.rb:120:in `with_friendly_errors'
  /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/gems/bundler-2.4.0.dev/exe/bundle:36:in `<top (required)>'
  /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/bin/bundle:25:in `load'
  /Users/deivid/Code/rubygems/rubygems/bundler/tmp/1/gems/system/bin/bundle:25:in `<main>'
```
````

https://github.com/rubygems/rubygems/commit/23c46f3b57
2022-08-01 23:14:23 +09:00
..
add_spec.rb [rubygems/rubygems] Add `github` and `ref` options to `bundle add` 2021-12-11 00:13:25 +09:00
binstubs_spec.rb [rubygems/rubygems] Fix a test for `bin/bundle update --bundler` to pass on ruby/ruby. 2022-03-23 00:01:17 +09:00
cache_spec.rb Sync latest Bundler & RubyGems 2022-02-01 08:09:23 +09:00
check_spec.rb [rubygems/rubygems] Fix corrupted lockfile when using `gemspec` and multiple sources 2022-02-11 18:20:20 +09:00
clean_spec.rb [rubygems/rubygems] Fix pending Bundler specs 2022-06-26 11:16:11 +09:00
config_spec.rb [rubygems/rubygems] Fix crash when commenting out a mirror in configuration 2022-05-30 17:43:12 +09:00
console_spec.rb Try to fix other failures of writing XDG_CONFIG_HOME 2021-04-19 21:40:29 +09:00
doctor_spec.rb [rubygems/rubygems] Use `Fiddle` in `bundle doctor` to check for dynamic library presence 2022-01-13 18:16:05 +09:00
exec_spec.rb Merge RubyGems and Bundler master 2022-02-28 11:39:20 +09:00
fund_spec.rb Merge prepare version of Bundler 2.2.0 2020-12-08 17:30:02 +09:00
help_spec.rb Track Bundler master(2.3.0.dev) branch at 55634a8af18a52df86c4275d70fa1179118bcc20 2021-01-04 13:14:43 +09:00
info_spec.rb [rubygems/rubygems] Use main as default branch for Bundler specs 2022-07-27 01:04:11 +09:00
init_spec.rb [rubygems/rubygems] s/bundle!/bundle 2020-06-18 19:14:15 +09:00
inject_spec.rb Merge RubyGems and Bundler master 2022-02-28 11:39:20 +09:00
install_spec.rb Merge rubygems master from 446cc57a7c 2022-07-29 15:46:15 +09:00
issue_spec.rb [bundler/bundler] Normalize file:// handling in specs 2019-08-03 09:29:55 +09:00
licenses_spec.rb Merge prepare version of Bundler 2.2.0 2020-12-08 17:30:02 +09:00
list_spec.rb Merge prepare version of Bundler 2.2.0 2020-12-08 17:30:02 +09:00
lock_spec.rb Merge rubygems master from 446cc57a7c 2022-07-29 15:46:15 +09:00
newgem_spec.rb [rubygems/rubygems] Change generated namespaced test class name in minitest 2022-01-20 01:04:53 +09:00
open_spec.rb [rubygems/rubygems] Use main as default branch for Bundler specs 2022-07-27 01:04:11 +09:00
outdated_spec.rb [rubygems/rubygems] Fix crash when running `bundle outdated` in debug mode 2022-08-01 23:14:23 +09:00
post_bundle_message_spec.rb [rubygems/rubygems] Remove redundant part of error message 2021-08-31 19:06:14 +09:00
pristine_spec.rb [rubygems/rubygems] Use main as default branch for Bundler specs 2022-07-27 01:04:11 +09:00
remove_spec.rb [rubygems/rubygems] Use main as default branch for Bundler specs 2022-07-27 01:04:11 +09:00
show_spec.rb [rubygems/rubygems] Use main as default branch for Bundler specs 2022-07-27 01:04:11 +09:00
update_spec.rb Merge rubygems master from 446cc57a7c 2022-07-29 15:46:15 +09:00
version_spec.rb [rubygems/rubygems] s/bundle!/bundle 2020-06-18 19:14:15 +09:00
viz_spec.rb [rubygems/rubygems] s/bundle!/bundle 2020-06-18 19:14:15 +09:00