| Age | Commit message (Collapse) | Author |
|
https://github.com/ruby/rubygems/commit/09e6031a11
|
|
If we use "system" variable in BUNDLE_VERSION on Bundler configuration,
we can use bundler version provided by system installation.
But the current logic returns the first activated version of bundler
like 2.7.2. It makes to confuse users.
https://github.com/ruby/rubygems/commit/4eb66d9549
|
|
https://github.com/ruby/rubygems/commit/81dbd42abf
|
|
https://github.com/ruby/rubygems/commit/15e46a3a68
|
|
This approach better simulate that ["http://gems.example.com/"] is the
default list of sources, rather than ["https://rubygems.org/"].
https://github.com/rubygems/rubygems/commit/55130c259a
|
|
https://github.com/rubygems/rubygems/commit/b58829a868
|
|
https://github.com/rubygems/rubygems/commit/64bdff1e1e
|
|
https://github.com/rubygems/rubygems/commit/9a859078ab
|
|
This will help centralize wheel platform selection logic eventually
Signed-off-by: Samuel Giddins <segiddins@segiddins.me>
|
|
It does not seem noisy anymore.
https://github.com/rubygems/rubygems/commit/060c5e960a
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/11490
|
|
https://github.com/rubygems/rubygems/commit/ed585f2fca
|
|
https://github.com/rubygems/rubygems/commit/339f099870
|
|
It is saved in `setup` and restored in `teardown`.
https://github.com/rubygems/rubygems/commit/880c5de667
|
|
https://github.com/rubygems/rubygems/commit/b545daa95d
|
|
If we move test directory removal to the very end, I think we should not
leak anything.
https://github.com/rubygems/rubygems/commit/fb3d8944b5
|
|
https://github.com/rubygems/rubygems/commit/00d91f141b
|
|
## The problem
Currently the tests are executed in the fixed name directory "tmp"
under the top source directory. However it makes the tests fail when
the source path contains symlinks. Or unable to even start if the top
source directory is read-only, e.g., remote-mounting in read-only mode
from virtual machines.
Also, with the fixed directory, there is no way to avoid `pend` in
`TestGemPackage#test_extract_symlink_parent_doesnt_delete_user_dir`.
## The fix
Instead of creating the fixed name directory, this PR allows to use a
different path given with the environment variable "GEM_TEST_TMPDIR".
The default path is, as well as the current behavior, "tmp" from the
top source directory.
### Caveat
It is the caller's responsibility to make the directory safe (owned,
world unwritable, or sticky) when setting the environment variable.
https://github.com/rubygems/rubygems/commit/bf00850656
|
|
https://github.com/rubygems/rubygems/commit/50cda56fc3
|
|
The `RUBY_CODESIGN` environment variable is used by mkmf-generated
Makefile to sign extension bundles on macOS. The variable specifies a
key identifier to use for signing given by the user. However, the key
is usually stored in `$HOME/Library/Keychains` directory, and the test
suite creates a fake `$HOME` directory. This causes the test suite to
try to find the specified key from the fake home directory, which
results in a failure.
https://github.com/rubygems/rubygems/commit/ddcfc65bf7
|
|
On Windows, open files cannot be removed and `FileUtils.rm_rf` just
silently fails. This means also handle leaks, not only temporary file
leaks.
https://github.com/rubygems/rubygems/commit/80a9c3ec08
|
|
This is a fix-up of #7483.
Test method names in Rubygems are often very long, and the path under
the temporary directory generated from them can easily exceed system
limits.
Even without including the method name in the path name, by saving the
method and path name pair, it is possible to find the method from the
remaining path name.
https://github.com/rubygems/rubygems/commit/de55064a3d
|
|
This reverts commit 6aa5067ab970e70693529cde5102fab587158f7f.
|
|
This check was added to check if other tests still remain tempdir, and these tests do on Windows.
* `TestGemCommandsSetupCommand#test_destdir_flag_does_not_try_to_write_to_the_default_gem_home`
* `TestGemInstaller#test_install_build_root_when_gem_home_not_writable_does_not_fallback_to_user_install_inside_build_root`
Also some tests fail due to too long path names.
|
|
As `Gem.state_file` is placed under `Gem.state_home` directory, when
the latter is reset, also the former should be reset.
If left unreset, the file for a previously run test will be re-created
and will not be deleted.
https://github.com/rubygems/rubygems/commit/1378d07afd
|
|
|
|
https://github.com/rubygems/rubygems/commit/77b0805474
|
|
https://github.com/rubygems/rubygems/commit/07ebc9f844
|
|
https://github.com/rubygems/rubygems/commit/d059b9ec4d
|
|
Improved performance / reduced allocations
https://github.com/rubygems/rubygems/commit/b04726c9a7
|
|
https://github.com/rubygems/rubygems/commit/bb66253f2c
|
|
https://github.com/rubygems/rubygems/commit/5c36556d2e
|
|
Resetting `@default_specifications_dir` to `nil` means that the
`Gem.default_specifications_dir` needs to be invoked. However, given
that this method might be overridden by operating_system.rb and similar,
this might lead to various test failures. Providing the default value
makes the issues go away.
https://github.com/rubygems/rubygems/commit/59626cb650
|
|
https://github.com/rubygems/rubygems/commit/10c26a483d
|
|
`extension_in_lib` helper improves readibility and it also uses `stub`
on on background instead of custom code.
https://github.com/rubygems/rubygems/commit/aacc8ac22c
|
|
|
|
https://github.com/rubygems/rubygems/commit/9175b8cf2a
|
|
Bundler::YAMLSerializer.load
https://github.com/rubygems/rubygems/commit/080880ac23
|
|
https://github.com/rubygems/rubygems/commit/d842e2092f
|
|
https://github.com/rubygems/rubygems/commit/e7d31405ea
|
|
https://github.com/rubygems/rubygems/commit/1ed5fc018e
|
|
https://github.com/rubygems/rubygems/commit/4eaac27107
|
|
|
|
https://github.com/rubygems/rubygems/commit/132a56569d
|
|
https://github.com/rubygems/rubygems/commit/d8a75a5f84
|
|
https://github.com/rubygems/rubygems/commit/d900453ca2
|
|
https://github.com/rubygems/rubygems/commit/f1a20c4c69
|
|
https://github.com/rubygems/rubygems/commit/241f376c32
|
|
https://github.com/rubygems/rubygems/commit/b18a4ef076
|
|
https://github.com/rubygems/rubygems/commit/7f27ab32b8
|