ruby/lib
David Rodríguez d12c8cbf14 [rubygems/rubygems] Fix `gem pristine etc` resetting gem twice sometimes
If a default version and a regular version of etc are present at the
same time, RubyGems will end up duplicating work and running pristine
twice.

The `etc` gem is special because it's loaded by RubyGems by default.
When doing this, RubyGems will activate the regularly installed version.
The when `gem pristine` runs, it will find to installed specifications
but materialize both to the already activated specification.

Before:

```
$ gem pristine etc --version 1.4.3
Restoring gems to pristine condition...
Building native extensions. This could take a while...
Restored etc-1.4.3
Building native extensions. This could take a while...
Restored etc-1.4.3
```

After:

```
$ gem pristine etc --version 1.4.3
Restoring gems to pristine condition...
Skipped etc-1.4.3, it is a default gem
Building native extensions. This could take a while...
Restored etc-1.4.3
```

https://github.com/rubygems/rubygems/commit/5c279ac56b
2024-10-10 14:54:04 +00:00
..
bundler [rubygems/rubygems] Fix specs with missing extensions getting activated 2024-10-10 14:51:32 +00:00
cgi [ruby/cgi] Add snake case aliases for escapeURIComponent 2023-11-07 10:22:30 +00:00
did_you_mean [ruby/did_you_mean] Move development dependencies to Gemfile 2024-05-05 23:22:28 +00:00
erb [ruby/erb] Version 4.0.4 2024-01-04 22:34:59 +00:00
error_highlight [ruby/error_highlight] Fix error with prism when method given no arguments 2024-09-24 13:28:01 +00:00
forwardable
irb [ruby/irb] Change debug test workaround to use ENV 2024-10-08 15:15:43 +00:00
logger [ruby/logger] Bump up 1.6.1 2024-09-02 02:29:24 +00:00
net [ruby/net-http] implement talking SSL to the proxy too 2024-07-11 01:56:08 +00:00
open3 [ruby/open3] Bump up v0.2.1 2023-12-16 11:48:49 +08:00
optparse [ruby/optparse] Fix typo [ci skip] 2024-04-18 10:27:19 +09:00
prism [ruby/prism] Attempt to assume binary is UTF-8 2024-10-09 15:42:23 +00:00
random [ruby/securerandom] Update UUID documentation with RFC9562 links 2024-06-20 08:34:31 +00:00
rdoc [ruby/rdoc] Improve method source toggling 2024-10-10 09:45:41 +00:00
reline [ruby/reline] Add cursor keys for application keypad mode to default 2024-10-07 00:37:33 +00:00
ruby_vm/rjit Optimized instruction for Hash#freeze 2024-09-05 12:46:02 +02:00
rubygems [rubygems/rubygems] Fix `gem pristine etc` resetting gem twice sometimes 2024-10-10 14:54:04 +00:00
set [ruby/set] Drop support for Ruby 2 2023-12-23 16:50:29 +09:00
syntax_suggest chore: remove repetitive words (#10573) 2024-04-18 15:32:34 +00:00
unicode_normalize
uri [ruby/uri] Fix spelling of "cannot" 2024-09-17 22:12:12 +00:00
yaml [ruby/yaml] Make PStore support as optional 2024-01-31 05:56:39 +00:00
English.gemspec [ruby/English] Bump up 0.8.0 2023-11-07 07:32:00 +00:00
English.rb [ruby/English] Combine duplicate aliases into single sections to more clearly denote sameness and make more concise. 2023-11-07 07:24:50 +00:00
benchmark.gemspec [ruby/benchmark] Set required_ruby_version = ">= 2.1.0" 2024-09-08 16:43:50 +00:00
benchmark.rb [ruby/benchmark] Add example for Benchmark.realtime 2024-09-27 04:31:47 +00:00
bundled_gems.rb Don't warn the bundled gems that are migrated at Ruby 3.0. 2024-09-30 18:53:21 +09:00
bundler.rb [rubygems/rubygems] Remove compatibility code with old RubyGems 2024-10-02 21:33:02 +00:00
cgi.rb [ruby/cgi] Bump up 0.4.1 2023-12-05 06:38:55 +00:00
delegate.gemspec Move gemspec files to top of lib directory. 2023-05-25 15:47:48 +09:00
delegate.rb Do not include a backtick in error messages and backtraces 2024-02-15 18:42:31 +09:00
did_you_mean.rb
erb.gemspec
erb.rb [ruby/erb] [DOC] Use indented heredoc 2023-03-21 15:05:29 +00:00
error_highlight.rb
fileutils.gemspec [ruby/fileutils] Update license files same as ruby/ruby 2024-08-27 00:39:24 +00:00
fileutils.rb [ruby/fileutils] [DOC] FileUtils::VERSION 2024-02-21 16:57:30 +00:00
find.gemspec [ruby/find] find.gemspec: Drop executables dir config 2024-05-17 02:05:31 +00:00
find.rb [ruby/find] Bump up 0.2.0 2023-11-07 12:53:16 +09:00
forwardable.rb
ipaddr.gemspec
ipaddr.rb [ruby/ipaddr] Add IPAddr.cidr to return ip address in cidr notation 2024-04-18 10:27:19 +09:00
irb.rb [ruby/irb] Move parse_command method to Context 2024-08-27 12:49:23 +00:00
logger.rb [ruby/logger] Guarantee level_override exists 2024-08-21 01:10:56 +00:00
mkmf.rb Remove leading spaces from `LIBPATHFLAG` and `RPATHFLAG` 2024-09-29 23:07:16 +09:00
open-uri.gemspec [ruby/open-uri] Expose OpenURI::VERSION 2023-04-13 09:47:40 +00:00
open-uri.rb [ruby/open-uri] Update error message for `request_specific_fields` option validation 2024-09-08 14:13:00 +00:00
open3.rb Manually sync with https://github.com/ruby/open3/pull/22 and related PRs 2023-11-30 12:21:25 +09:00
optionparser.rb
optparse.rb [ruby/optparse] Prefer `require_relative` 2024-09-03 04:43:25 +00:00
ostruct.gemspec [ruby/ostruct] Use Gemfile instead of Gem::Specification#add_development_dependency 2023-10-19 06:55:40 +00:00
ostruct.rb Do not include a backtick in error messages and backtraces 2024-02-15 18:42:31 +09:00
pp.gemspec [ruby/pp] Expose PP::VERSION 2023-04-14 01:49:51 +00:00
pp.rb prettyprint hash with colon style 2024-10-03 18:47:09 +09:00
prettyprint.gemspec [ruby/prettyprint] Expose PrettyPrint::VERSION 2023-04-14 01:52:08 +00:00
prettyprint.rb [ruby/prettyprint] Bump up 0.2.0 2023-11-07 01:10:12 +00:00
prism.rb [ruby/prism] Remove Debug module 2024-05-24 17:19:38 +00:00
pstore.gemspec Move gemspec files to top of lib directory. 2023-05-25 15:47:48 +09:00
pstore.rb Do not include a backtick in error messages and backtraces 2024-02-15 18:42:31 +09:00
rdoc.rb [ruby/rdoc] [DOC] Fix links (https://github.com/ruby/rdoc/pull/1169) 2024-09-02 15:36:53 +00:00
readline.gemspec [ruby/readline] Bump up v0.0.4 2023-12-16 13:49:13 +08:00
readline.rb [ruby/readline] Fix readline-ext gem loading in non Unix-like environments 2023-12-16 13:49:12 +08:00
reline.rb [ruby/reline] Add a timeout to cursor_pos 2024-10-02 17:36:35 +00:00
resolv.gemspec [ruby/resolv] Add spec extensions 2024-09-10 08:33:32 +00:00
resolv.rb Call Resolv::DNS::Config#lazy_initialize explicitly if that instance is not initialized 2024-10-08 15:52:49 +09:00
ruby2_keywords.gemspec
rubygems.rb [rubygems/rubygems] Remove temporary `.lock` files left around by gem installer 2024-09-16 11:37:58 +00:00
securerandom.gemspec [ruby/securerandom] Update file list to package 2023-12-29 16:10:30 +00:00
securerandom.rb [ruby/securerandom] Bump up v0.3.1 2023-12-16 12:10:38 +08:00
set.rb Added missing block arg 2024-09-19 16:23:08 +09:00
shellwords.gemspec [ruby/shellwords] Exclude unnecessary files from the packages 2024-07-03 10:15:22 +00:00
shellwords.rb [ruby/shellwords] [DOC] Beautify links and formats 2024-07-03 10:15:26 +00:00
singleton.gemspec Move gemspec files to top of lib directory. 2023-05-25 15:47:48 +09:00
singleton.rb [ruby/singleton] Fixed double assignment 2024-10-02 05:33:31 +00:00
syntax_suggest.rb
tempfile.gemspec [ruby/tempfile] Fix for environment without git 2024-02-27 01:31:12 +00:00
tempfile.rb [ruby/tempfile] Support anonymous tempfile on earlier than Ruby 3.2 2024-08-26 02:49:02 +00:00
time.gemspec [ruby/time] Exclude unnecessary files from package 2024-03-06 15:47:31 +00:00
time.rb [ruby/time] Bump up v0.4.0 2024-09-06 00:31:38 +00:00
timeout.gemspec [ruby/timeout] Provide a 'Changelog' link on rubygems.org/gems/timeout 2023-12-25 21:12:49 +09:00
timeout.rb [ruby/timeout] timeout.rb: Update documentation 2024-08-28 10:58:23 +00:00
tmpdir.gemspec [ruby/tmpdir] Fix for environment without git 2024-02-27 01:31:50 +00:00
tmpdir.rb [ruby/tmpdir] Reject empty parent path 2024-09-10 08:44:50 +00:00
tsort.gemspec Fixed version detection paths in ruby repository 2023-04-03 12:00:59 +09:00
tsort.rb [ruby/tsort] Bump up 0.2.0 2023-11-07 01:59:17 +00:00
un.gemspec [ruby/un] Expose UN::VERSION 2023-04-13 09:47:22 +00:00
un.rb [ruby/un] Bump up 0.3.0 2023-11-06 09:29:53 +00:00
uri.rb Use www.rfc-editor.org for RFC text. 2024-03-28 11:44:45 +09:00
weakref.gemspec Move gemspec files to top of lib directory. 2023-05-25 15:47:48 +09:00
weakref.rb [ruby/weakref] Bump up 0.1.3 2023-11-07 01:46:40 +00:00
yaml.rb [ruby/yaml] Bump up 0.3.0 2023-11-06 19:03:04 +09:00