1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/bundler
David Rodríguez d0bf31e6cf [rubygems/rubygems] Don't on gemspecs with invalid require_paths, just warn
These gemspecs already work most of the times. When they are installed
normally, the require_paths in the gemspec stub line becomes actually
correct, and the incorrect value in the real gemspec is ignored. It only
becomes an issue in standalone mode.

In Ruby 3.2, `Kernel#=~` has been removed, and that means that it
becomes harder for us to gracefully deal with this error in standalone
mode, because it now happens earlier due to calling `Array#=~` for this
invalid gemspec (since require_paths is incorrectly an array of arrays).

The easiest way to fix this is to actually make this just work instead
by automatically fixing the issue when reading the packaged gemspec.

https://github.com/rubygems/rubygems/commit/d3f2fe6d26
2022-06-12 02:02:20 +09:00
..
bundler [rubygems/rubygems] Add test cases from SHA1 RFC and improve test failure message 2022-06-02 22:23:42 +09:00
cache
commands [rubygems/rubygems] Fix bundle remove by invalidating cached Bundle.defintion. 2022-06-01 19:01:18 +09:00
install [rubygems/rubygems] Remove leftover debugging puts 2022-06-02 19:30:48 +09:00
lock Merge rubygems master 1e4eda741d732ca1bd7031aef0a16c7348adf7a5 2022-04-28 19:08:49 +09:00
other [rubygems/rubygems] Fix typo in multiple gemfiles warning 2022-02-10 08:38:09 +09:00
plugins [rubygems/rubygems] Remove lockfile_should_be helper 2021-11-12 06:05:07 +09:00
realworld [rubygems/rubygems] Don't on gemspecs with invalid require_paths, just warn 2022-06-12 02:02:20 +09:00
resolver
runtime [rubygems/rubygems] No need to use FileUtils to create symlinks 2022-05-30 17:42:38 +09:00
support [rubygems/rubygems] Fix crash when installing gems with symlinks 2022-05-30 17:42:39 +09:00
update [rubygems/rubygems] Remove duplicated spec 2021-11-12 06:05:09 +09:00
quality_es_spec.rb
quality_spec.rb [rubygems/rubygems] use Rubocop Lint/Debugger check rather than custom spec 2021-10-29 17:13:03 +09:00
spec_helper.rb Merge RubyGems and Bundler HEAD 2022-05-20 17:32:19 +09:00