1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/rubygems
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
..
commands [rubygems/rubygems] Make code to find target update version easier to follow 2022-05-28 19:22:54 +09:00
core_ext
ext Merge RubyGems and Bundler HEAD 2022-05-20 17:32:19 +09:00
optparse Merge 3f7d0352e8 2022-04-28 19:08:49 +09:00
package Merge rubygems/rubygems HEAD. 2022-01-19 15:01:44 +09:00
request
request_set [rubygems/rubygems] Normalize end alignment style with Bundler 2022-01-19 11:20:36 +09:00
resolver [rubygems/rubygems] Fix gem install <non-existent-gem> --force crash 2022-01-06 23:52:48 +09:00
security
source [rubygems/rubygems] Add missing open3 requires 2022-04-28 19:08:49 +09:00
ssl_certs
tsort
util
available_set.rb
basic_specification.rb [rubygems/rubygems] Normalize end alignment style with Bundler 2022-01-19 11:20:36 +09:00
bundler_version_finder.rb [rubygems/rubygems] Normalize end alignment style with Bundler 2022-01-19 11:20:36 +09:00
command.rb [rubygems/rubygems] Normalize end alignment style with Bundler 2022-01-19 11:20:36 +09:00
command_manager.rb [rubygems/rubygems] Support the change of did_you_mean about Exception#detailed_message 2022-05-23 20:51:17 +09:00
compatibility.rb [rubygems/rubygems] Move :stopdoc: directive 2022-03-15 01:18:03 +09:00
config_file.rb [rubygems/rubygems] Normalize end alignment style with Bundler 2022-01-19 11:20:36 +09:00
defaults.rb
dependency.rb
dependency_installer.rb
dependency_list.rb
deprecate.rb
doctor.rb [rubygems/rubygems] Normalize end alignment style with Bundler 2022-01-19 11:20:36 +09:00
errors.rb
exceptions.rb
ext.rb Merge RubyGems/Bundler master 2022-04-28 19:08:49 +09:00
gem_runner.rb [rubygems/rubygems] Normalize end alignment style with Bundler 2022-01-19 11:20:36 +09:00
gemcutter_utilities.rb Merge RubyGems and Bundler HEAD 2022-05-20 17:32:19 +09:00
indexer.rb
install_default_message.rb
install_message.rb
install_update_options.rb [rubygems/rubygems] Normalize end alignment style with Bundler 2022-01-19 11:20:36 +09:00
installer.rb Merge RubyGems and Bundler HEAD 2022-05-20 17:32:19 +09:00
installer_uninstaller_utils.rb
local_remote_options.rb Merge RubyGems and Bundler HEAD 2022-05-20 17:32:19 +09:00
mock_gem_ui.rb
name_tuple.rb
openssl.rb
optparse.rb
package.rb [rubygems/rubygems] [DOC] Enable Gem::Package example 2022-03-15 08:40:35 +09:00
package_task.rb
path_support.rb
platform.rb [rubygems/rubygems] Normalize end alignment style with Bundler 2022-01-19 11:20:36 +09:00
psych_additions.rb Merge rubygems/rubygems HEAD. 2022-01-19 15:01:44 +09:00
psych_tree.rb
query_utils.rb Merge RubyGems and Bundler HEAD 2022-05-20 17:32:19 +09:00
rdoc.rb
remote_fetcher.rb [rubygems/rubygems] Normalize end alignment style with Bundler 2022-01-19 11:20:36 +09:00
request.rb Merge rubygems master 1e4eda741d732ca1bd7031aef0a16c7348adf7a5 2022-04-28 19:08:49 +09:00
request_set.rb
requirement.rb
resolver.rb
s3_uri_signer.rb
safe_yaml.rb Merge rubygems/rubygems HEAD. 2022-01-19 15:01:44 +09:00
security.rb Merge rubygems/rubygems HEAD. 2022-01-19 15:01:44 +09:00
security_option.rb
source.rb [rubygems/rubygems] Normalize end alignment style with Bundler 2022-01-19 11:20:36 +09:00
source_list.rb [rubygems/rubygems] Normalize end alignment style with Bundler 2022-01-19 11:20:36 +09:00
spec_fetcher.rb Merge RubyGems and Bundler HEAD 2022-05-20 17:32:19 +09:00
specification.rb [rubygems/rubygems] Don't on gemspecs with invalid require_paths, just warn 2022-06-12 02:02:20 +09:00
specification_policy.rb Merge RubyGems and Bundler HEAD 2022-05-20 17:32:19 +09:00
stub_specification.rb [rubygems/rubygems] Rename Gem.open_with_flock to Gem.open_file 2022-01-20 06:45:28 +09:00
text.rb [DOC] Change URLs from git.io 2022-04-27 10:13:23 +09:00
tsort.rb
uninstaller.rb [rubygems/rubygems] Normalize end alignment style with Bundler 2022-01-19 11:20:36 +09:00
unknown_command_spell_checker.rb
uri.rb
uri_formatter.rb
user_interaction.rb [rubygems/rubygems] Normalize end alignment style with Bundler 2022-01-19 11:20:36 +09:00
util.rb Merge RubyGems and Bundler HEAD 2022-05-20 17:32:19 +09:00
validator.rb
version.rb [rubygems/rubygems] Unify loading Gem::Requirement 2022-06-06 18:36:31 +09:00
version_option.rb