| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is based on the list in Gem::UpdateSuggestion and Bundler::Fetcher;
these have similar purposes (determining whether/what CI we're executing
in), and can benefit from being combined and updated (they're both
slightly out of date).
Noteable changes:
* We'll consider ourselves to be on a CI in more cases - if CI_NAME or
TASKCLUSTER_ROOT_URL are set specifically, since those represent two
cases that were either overlooked or are no longer covered by the
existing implementation. (Or possibly TaskCluster still does provide
RUN_ID, but failed to document it)
* We will notice/track a few additional services in ci_strings (cirrus,
dsari, taskcluster), stop tracking 'snap' (they went under in 2017),
and update buildbox to buildkite (they've been called that for 8
years, and the BUILDBOX envs have been deprecated for 3).
* We'll also sort/uniq/downcase the values (all of which only matter
because of the special case of CI_NAME).
https://github.com/rubygems/rubygems/commit/60652b942f
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/70243b1d72
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/10c26a483d
|
|
|
|
|
|
| |
in <code> - fix rubygems.org link - fix zenspider.com link
https://github.com/rubygems/rubygems/commit/9eaac94a63
|
|
|
|
|
|
| |
safely load permitted classes/symbols
https://github.com/rubygems/rubygems/commit/7e4478fe73
|
| |
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/132a56569d
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/52ae4452c2
|
| |
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/05cc97bdf8
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/e8a5db50af
|
| |
|
| |
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/b595d3cf0f
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/01c2b5542f
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/3594945391
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/cb554f6eb7
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/f4f45ab27e
|
|
|
|
|
|
| |
ruby_version
https://github.com/rubygems/rubygems/commit/b420e287a3
|
|
|
|
|
|
| |
https://github.com/rubygems/rubygems/pull/2216 is imcomplete to remove this method.
https://github.com/rubygems/rubygems/commit/34ef915d12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently Bundler needs to do cumbersome operations to revert custom
RubyGems require on a `bundler/setup` context. This causes issues when
third party gems also monkeypatch require, since Bundler will also undo
those decorations.
This commit allows it to use the simpler approach of properly telling
RubyGems that it needs to default to built-in require without any extra
magic.
https://github.com/rubygems/rubygems/commit/1df5009e14
Co-authored-by: Xavier Noria <fxn@hashref.com>
|
|
|
|
| |
from https://github.com/rubygems/rubygems/commit/0635c1423db5d7c461d53bf0c3329bca75de7609
|
|
|
|
|
|
|
|
|
| |
Since RDoc does not parse string literals as documents, `eval` the
entire file instead of embedding in a here-document.
On the contrary, as `gem_original_require` alias is an implementation
detail but not for users, it should not be documented.
https://github.com/rubygems/rubygems/commit/cad4cf16cf
|
|
|
|
| |
from https://github.com/rubygems/rubygems/commit/72fd3dd2096af16d797ad0cd8e0d2a8869e240b3
|
| |
|
| |
|
|
|
|
|
|
| |
Add test for not leaving empty files if ENOSPC is raised during 'gem install'
https://github.com/rubygems/rubygems/commit/8e0e20f079
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
... to prevent "circular require" when `--disable-gems` is used.
This is a simplified case of https://github.com/ruby/ruby/commit/e5a0abc5dedfd011986b16e8f8cf5cda476984c9
```
$ bundle exec ruby -we 'system("ruby", "-w", "--disable-gems", "-e", "")'
<internal:/home/mame/work/ruby/local/lib/ruby/3.2.0+3/rubygems/core_ext/kernel_require.rb>:85: warning: <internal:/home/mame/work/ruby/local/lib/ruby/3.2.0+3/rubygems/core_ext/kernel_require.rb>:85: warning: loading in progress, circular require considered harmful - /home/mame/work/ruby/local/lib/ruby/3.2.0+3/bundler/setup.rb
```
When bundler/setup is require'ed under --disable-gems mode, it loads
rubygems by `require "rubygems" unless defined?(Gem)` in
https://github.com/rubygems/rubygems/blob/0b1f682a6d65e57b86ba4853cba23cac361c769d/bundler/lib/bundler/rubygems_integration.rb#L3
In this case, require'ing bundler/setup from rubygems.rb is circular.
This change makes rubygems.rb to require "bundler/setup" only when
`Bundler` is not defined.
https://github.com/rubygems/rubygems/commit/b4608dee5e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ruby interpreter loads some special gems at startup: did_you_mean,
error_highlight, and syntax_suggest. These gems are loaded before
`bundler/setup` is loaded by `RUBYOPT=-rbundler/setup`.
So, the versions of the gems are not controllable by Gemfile.
This change will `require "bundler/setup"` in rubygems.rb (i.e., before
the special gems are loaded). Now `bundle exec` sets an environment
variable `BUNDLER_SETUP`, and rubygems requires the variable if defined.
See also: https://bugs.ruby-lang.org/issues/19089
https://github.com/rubygems/rubygems/commit/963cb65a2d
|
|
|
|
| |
Pick from https://github.com/rubygems/rubygems/commit/dfbb5a38114640e0d8d616861607f3de73ee0199
|
|
|
|
| |
Pick from https://github.com/rubygems/rubygems/commit/8331e63263081a6aa690d8025d2957f30c4e814a
|
|
|
|
| |
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
|
|
|
|
|
|
|
| |
If directories are already created (the common case), fileutils won't be
required at all.
https://github.com/rubygems/rubygems/commit/63a9b94fc9
|
|
|
|
|
|
|
|
| |
to load
Show an absolute path instead of an unhelpful relative path.
https://github.com/rubygems/rubygems/commit/f1eed36e2f
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It was being explicitly required from `Gem::Specification` but also a
strange autoload was set for it at `Gem::Version`. The autoload was non
standard because it should've been done in the `Gem` module, not in
`Gem::Specification`, since that's where the constant is expected to get
defined. Doing this might get deprecated in the future, and it was not
being effective anyways due to the explicit require.
Unify everything with an `autoload` at the right place.
https://github.com/rubygems/rubygems/commit/174ea3e24c
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/125415593ead9ab69a9f0bb5392c9d7ec61b1f51
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/3f7d0352e84b29d4a2d4cd93b31e5ebdb5f79cc6
|
| |
|
|
|
|
|
|
| |
rdoc uses + for typewriter font rather than backticks.
https://github.com/rubygems/rubygems/commit/be320f1e0c
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/3e06a91435
|
|
|
|
|
|
| |
Since it only uses `flock` on Windows.
https://github.com/rubygems/rubygems/commit/b877de4d9c
|
|
|
|
|
|
|
| |
It was introduced to fix some race conditions there, but it doesn't seem
necessary on other systems and it's actually causing issues there.
https://github.com/rubygems/rubygems/commit/27b682c812
|
|
|
|
| |
Picked at 12aeef6ba9a3be0022be9934c1a3e4c46a03ed3a
|
| |
|
|
|
|
|
|
| |
It reduces memory usage about 204kb (1.4%).
https://github.com/rubygems/rubygems/commit/b7d4b8c8a6
|
| |
|
|
|
|
|
|
|
|
| |
`io.flock(File::LOCK_EX)` fails on Solaris when the io is opened as
read-only. Due to this issue, `make install` of the ruby package failed
on Solaris.
https://github.com/rubygems/rubygems/commit/5905d17ab2
|
| |
|
| |
|