ruby/lib/rubygems/commands
David Rodríguez dba72134de [rubygems/rubygems] Fix gem pristine sometimes not resetting extensions
If `gem pristine foo` is run, and there's a default copy of foo, only
executables for it are reset. However, that was causing other copies of
`foo` to only reset executables, which is unexpected.

We should not modify `options[:only_executables]`, but respect its value
for every gem, and make sure special handling for default gems does not
leak to other gems.

2c3039f1b0
2025-06-11 08:48:57 +09:00
..
build_command.rb [rubygems/rubygems] [build, rebuild] Split common find_gemspec() out to GemspecHelpers. 2024-03-29 08:03:40 +00:00
cert_command.rb [rubygems/rubygems] Use modern hashes consistently 2023-12-07 22:29:33 +00:00
check_command.rb [rubygems/rubygems] Use modern hashes consistently 2023-12-07 22:29:33 +00:00
cleanup_command.rb [rubygems/rubygems] More aggressive Performance/FlatMap cop configuration 2024-11-26 15:11:05 +09:00
contents_command.rb [rubygems/rubygems] Enable Performance/MapCompact cop 2024-11-26 15:11:05 +09:00
dependency_command.rb [rubygems/rubygems] Use modern hashes consistently 2023-12-07 22:29:33 +00:00
environment_command.rb [rubygems/rubygems] Add credentials file path to "gem env". 2025-01-09 18:13:57 +00:00
exec_command.rb [rubygems/rubygems] Have "gem exec" sort executable names in error message. 2025-03-27 13:57:25 +09:00
fetch_command.rb [rubygems/rubygems] Fix gem fetch always exiting with zero status code 2024-09-09 08:44:27 +00:00
generate_index_command.rb [rubygems/rubygems] Extract generate_index command to rubygems-generate_index gem 2023-12-08 06:09:51 +00:00
help_command.rb [rubygems/rubygems] Use https instead of http 2024-02-21 03:30:22 +00:00
info_command.rb [rubygems/rubygems] Use modern hashes consistently 2023-12-07 22:29:33 +00:00
install_command.rb [rubygems/rubygems] Remove unreachable code 2024-09-06 18:44:36 +00:00
list_command.rb [rubygems/rubygems] Use modern hashes consistently 2023-12-07 22:29:33 +00:00
lock_command.rb [rubygems/rubygems] Use modern hashes consistently 2023-12-07 22:29:33 +00:00
mirror_command.rb util/rubocop -A --only Layout/EmptyLineAfterMagicComment 2023-03-23 17:18:49 +09:00
open_command.rb [rubygems/rubygems] Use modern hashes consistently 2023-12-07 22:29:33 +00:00
outdated_command.rb util/rubocop -A --only Layout/EmptyLineAfterMagicComment 2023-03-23 17:18:49 +09:00
owner_command.rb [rubygems/rubygems] Use modern hashes consistently 2023-12-07 22:29:33 +00:00
pristine_command.rb [rubygems/rubygems] Fix gem pristine sometimes not resetting extensions 2025-06-11 08:48:57 +09:00
push_command.rb [rubygems/rubygems] Avoid unnecessary splat allocation 2025-04-22 11:27:24 +09:00
query_command.rb [rubygems/rubygems] Use modern hashes consistently 2023-12-07 22:29:33 +00:00
rdoc_command.rb [rubygems/rubygems] More aggressive Performance/FlatMap cop configuration 2024-11-26 15:11:05 +09:00
rebuild_command.rb [rubygems/rubygems] [commands/rebuild] Remove unused DATE_FORMAT constant. 2024-03-31 02:37:13 +00:00
search_command.rb [rubygems/rubygems] Use modern hashes consistently 2023-12-07 22:29:33 +00:00
server_command.rb util/rubocop -A --only Layout/EmptyLineAfterMagicComment 2023-03-23 17:18:49 +09:00
setup_command.rb [rubygems/rubygems] Fix headings levels in Changelogs 2025-06-05 19:12:39 +09:00
signin_command.rb util/rubocop -A --only Layout/EmptyLineAfterMagicComment 2023-03-23 17:18:49 +09:00
signout_command.rb util/rubocop -A --only Layout/EmptyLineAfterMagicComment 2023-03-23 17:18:49 +09:00
sources_command.rb Vendor uri gem in RubyGems 2024-01-29 12:14:21 +09:00
specification_command.rb [rubygems/rubygems] Use modern hashes consistently 2023-12-07 22:29:33 +00:00
stale_command.rb util/rubocop -A --only Layout/EmptyLineAfterMagicComment 2023-03-23 17:18:49 +09:00
uninstall_command.rb [rubygems/rubygems] Fix gem uninstall <name>:<version> failing on shadowed default gems 2024-08-21 12:07:10 +00:00
unpack_command.rb [rubygems/rubygems] remove useless comments from unpack_command.rb 2024-01-04 00:39:54 +00:00
update_command.rb [rubygems/rubygems] Remove comment about oldest supported version 2024-11-25 14:56:09 +00:00
which_command.rb [rubygems/rubygems] Use modern hashes consistently 2023-12-07 22:29:33 +00:00
yank_command.rb util/rubocop -A --only Layout/EmptyLineAfterMagicComment 2023-03-23 17:18:49 +09:00