summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2025-07-01[ruby/optparse] Use Dir.glob and base keyword arg for the installer of Ruby ↵Hiroshi SHIBATA
package https://github.com/ruby/optparse/commit/24374b42d3
2025-06-30[ruby/prism] Fix parser translator with trailing backslash in `%W` /`%I` arrayEarlopain
https://docs.ruby-lang.org/en/master/syntax/literals_rdoc.html#label-25w+and+-25W-3A+String-Array+Literals > %W allow escape sequences described in Escape Sequences. However the continuation line <newline> is not usable because it is interpreted as the escaped newline described above. https://github.com/ruby/prism/commit/f5c7460ad5
2025-06-30[rubygems/rubygems] Update some reference to Bundler 3 to Bundler 4David Rodríguez
https://github.com/rubygems/rubygems/commit/53174e0aa6
2025-06-30[rubygems/rubygems] Use Bundler.settings[gem.bundle]Hiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/b16511598e
2025-06-30[rubygems/rubygems] Added manpagesHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/f2826dafce
2025-06-30[rubygems/rubygems] Added bundle option to method_optionHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/1413086e92
2025-06-30[rubygems/rubygems] Added --bundle option for triggering bundle install ↵Hiroshi SHIBATA
automatically after bundle gem https://github.com/rubygems/rubygems/commit/59ac0db26b
2025-06-30[rubygems/rubygems] Remove "double CI" for testing Bundler 4 modeDavid Rodríguez
Since now every functionality that changes in Bundler 4 is under a setting, we can enable that setting to test the new functionality, without having to run our full CI twice. This can actually be seen as increasing coverage, because Bundler 4 functionality will now be tested on Windows, MacOS, or any other environment where previously "Bundler 4 mode" was not running. https://github.com/rubygems/rubygems/commit/1cb3e009fc
2025-06-30[rubygems/rubygems] Added push_rubygem to default scope at gem signin commandHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/9b9ba0bf1e
2025-06-29[ruby/optparse] JRuby does not have EXECUTABLE_EXTS in RbConfg::CONFIGNobuyoshi Nakada
https://github.com/ruby/optparse/commit/15b2f00b6b
2025-06-29[ruby/optparse] Fix OptionParser#program_name not to strip suffix unexpectedlyNobuyoshi Nakada
https://github.com/ruby/optparse/commit/740ffa76c0
2025-06-29[ruby/optparse] Enhance to support 'Set' object as an enumkwatch
(https://github.com/ruby/optparse/pull/76) * Enhance to support 'Set' object as an enum * Add test script for '#make_swithc()' --------- https://github.com/ruby/optparse/commit/3869000e98 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2025-06-28Make `uplevel` suitable as the option to `Kernel#warn`Nobuyoshi Nakada
Make Gem::BUNDLED_GEMS.uplevel returns `nil` if `require` frame is not found, for the simplicity.
2025-06-28Use symbols as `level` instead of stringsNobuyoshi Nakada
2025-06-26[ruby/uri] [DOC] State that uri library is needed to call Kernel#URINobuyoshi Nakada
So that the example works as-is. https://github.com/ruby/uri/commit/30212d311e
2025-06-26[ruby/uri] Fix a typoNobuyoshi Nakada
https://github.com/ruby/uri/commit/b636e83d99 Co-authored-by: Olle Jonsson <olle.jonsson@gmail.com>
2025-06-26[ruby/uri] Use Lo category chars as escaped charsNobuyoshi Nakada
TruffleRuby does not allow Symbol categories as identifiers. https://github.com/ruby/uri/commit/5531d42375
2025-06-26[ruby/uri] Escape reserved characters in scheme nameNobuyoshi Nakada
Fix https://github.com/ruby/uri/pull/89 https://github.com/ruby/uri/commit/d543c0dafa
2025-06-26[rubygems/rubygems] Simulate Bundler 4 in a better wayDavid Rodríguez
Overriding the version constant feels too magic and creates a set of problems. For example, Bundler will lock the simulated version, and that can cause issues when the lockfile is used under an environment not simulating Bundler 4 (it will try to auto-install and auto-switch to a version that does not exist). On top of that, it can only be configured with an ENV variable which is not too flexible. This commit takes a different approach of using a setting, which is configurable through ENV or `bundle config`, and pass the simulated version to `Bundler::FeatureFlag`. The real version is still the one set by `VERSION`, but anything that `Bundler::FeatureFlag` controls will use the logic of the "simulated version". In particular, all feature flags and deprecation messages will respect the simulated version, and this is exactly the set of functionality that we want users to be able to easily try before releasing it. https://github.com/rubygems/rubygems/commit/8129402193
2025-06-26[rubygems/rubygems] Use Gem::Version` methods instead of string splittingDavid Rodríguez
https://github.com/rubygems/rubygems/commit/75fed35264
2025-06-26[rubygems/rubygems] Centralize managing major version dependent behavior in ↵David Rodríguez
`FeatureFlag` class https://github.com/rubygems/rubygems/commit/7708e5b784
2025-06-26[rubygems/rubygems] Remove redundant receiversDavid Rodríguez
https://github.com/rubygems/rubygems/commit/d7b9c4532e
2025-06-26[rubygems/rubygems] No need to reset this variableDavid Rodríguez
https://github.com/rubygems/rubygems/commit/f96fedf1f1
2025-06-25[rubygems/rubygems] Add missing `require "fileutils"` in ↵MSP-Greg
lib/rubygems/installer.rb https://github.com/rubygems/rubygems/commit/9a9d0e423e
2025-06-24[ruby/timeout] Gracefully handle a call to ensure_timeout_thread_created in ↵Benoit Daloze
a signal handler * Fixes the issue described in https://github.com/ruby/timeout/issues/17#issuecomment-1461498517 for TruffleRuby and JRuby. * CRuby is currently unable to use Timeout in a signal handler due to https://bugs.ruby-lang.org/issues/19473. https://github.com/ruby/timeout/commit/7a48e1c079
2025-06-24[ruby/resolv] v0.6.1Hiroshi SHIBATA
https://github.com/ruby/resolv/commit/6b57765f8d
2025-06-24Revert accidentally commit with 96a0c2065a95d076978de41e8bfacbd19858d0bbHiroshi SHIBATA
2025-06-24[rubygems/rubygems] Fix `Bundler.original_env['GEM_HOME']` when Bundler is ↵David Rodríguez
trampolined https://github.com/rubygems/rubygems/commit/4c450eb05e
2025-06-24[rubygems/rubygems] Remove no longer necessary workarounds for restartsDavid Rodríguez
Since we no longer pass ruby CLI flags in our spec commands, we no longer need the previous workaround and can get the realworld code tested. https://github.com/rubygems/rubygems/commit/fd92c855fb
2025-06-23Mark RClass instance that may be namespaced with RCLASS_NAMESPACEABLEJean Boussier
2025-06-23[rubygems/rubygems] Handle RubyGems installing to custom dir with ↵Nicholas La Roux
non-existent parent dirs https://github.com/rubygems/rubygems/commit/4701123601
2025-06-23[rubygems/rubygems] Handle `Errno::EADDRNOTAVAIL` gracefullyDavid Rodríguez
As showed by the unskiped spec, on Windows trying to use the 0.0.0.0 interface raises this error, and it's raised as a generic system error when trying to create a `bundler.lock` file. Here's is a better place to handle that. https://github.com/rubygems/rubygems/commit/e32c5a9e5c
2025-06-23[rubygems/rubygems] Make `HTTP_ERRORS` list look like `FAIL_ERRORS` listDavid Rodríguez
https://github.com/rubygems/rubygems/commit/bfa6770e39
2025-06-23[rubygems/rubygems] Simplify non retriable errors listDavid Rodríguez
https://github.com/rubygems/rubygems/commit/627a7615f2
2025-06-23[rubygems/rubygems] Move `HTTP_ERRORS` together with the other error constantsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/57e8ae7aa6
2025-06-23[rubygems/rubygems] Deprecate unused `Bundler#SpecSet` methodsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/380c95ce05
2025-06-19[ruby/weakref] v0.1.4Hiroshi SHIBATA
https://github.com/ruby/weakref/commit/f6bd03ed54
2025-06-19Skip to Bundler 4 directlyDavid Rodríguez
2025-06-19[rubygems/rubygems] Use `persist-credentials: false` in templateLandon Grindheim
`actions/checkout` defaults this value to `true`, causing credentials to be written to `.git/config`. By setting it to `false`, we lessen the likelihood of secrets being written to disk. https://github.com/rubygems/rubygems/commit/a751d36456
2025-06-19[rubygems/rubygems] Fix running gem commands in a `bundle exec` contextDavid Rodríguez
They should only load plugins from gems in the bundle. https://github.com/rubygems/rubygems/commit/a229507820
2025-06-19[rubygems/rubygems] Move finding eigenclass to a methodDavid Rodríguez
https://github.com/rubygems/rubygems/commit/5ad0737e77
2025-06-19[rubygems/rubygems] Fix grammar in `bundle config` deprecation messageDavid Rodríguez
https://github.com/rubygems/rubygems/commit/d23b3d61ac
2025-06-19[rubygems/rubygems] Allow enabling "Bundler 3 mode" more easilyDavid Rodríguez
Currently to test Bundler 3 mode we have to actually edit the version file to simulate we're running a future version. This is inconvenient. Instead, allow passing an environment variable, `BUNDLER_3_MODE`, to set the "working mode" Bundler should use. This can now be set easily by end users to enable them to try out the changes in the future version and give us feedback. It's unclear how version auto-switching should work when this environment variable is set, so the auto-switching feature will be disabled in that case. https://github.com/rubygems/rubygems/commit/4e92e9b209
2025-06-19[rubygems/rubygems] Never ignore gems from path sources during activationDavid Rodríguez
The "ignore" attribute is a RubyGems thing to mark when a installed gem should be ignored for activation because its extensions are not properly compiled. In the case of gems from path sources, the warning is not accurate because extensions are compiled into the local lib path, which is not where RubyGems leaves its sentinel `gem.build_complete` file. Also, there's a single version of each gem in the path source available to Bundler, so we always certainly want to consider that for activation and never makes sense to ignore it. https://github.com/rubygems/rubygems/commit/ec5d33695e
2025-06-17[ruby/tempfile] [DOC] Fix a typoNobuyoshi Nakada
ruby/ruby#13636 https://github.com/ruby/tempfile/commit/366d9ccb8f Co-Authored-By: Tim Smith <tsmith84@gmail.com>
2025-06-17[rubygems/rubygems] Fix `gem install` sometimes compiling the wrong source filesDavid Rodríguez
If a previous copy of a gem is already installed, RubyGems will not reinstall the gem but only recompile its extensions. This seems like a good idea, but only if the gem is being installed from the registry. If we are installing a locally built package, then the package should be completely reinstalled and extensions compiled from the sources in the locally built package, not from the sources in the previous installation. https://github.com/rubygems/rubygems/commit/1c282d98d5
2025-06-16[rubygems/rubygems] Fix redefinition warnings when using modern RubyGems ↵David Rodríguez
with old Bundler https://github.com/rubygems/rubygems/commit/ce7e8e92ca
2025-06-13[rubygems/rubygems] Recognize JRuby loaded from a classloader, not just any JARCody Cutrer
Such is the case if you embed JRuby into an application dynamically (such as via OSGi). From my test environment: ``` irb(main):006:0> $LOADED_FEATURES.grep(/cli.rb/) => ["uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/bundler/cli.rb"] ``` https://github.com/rubygems/rubygems/commit/75ac5d46a7
2025-06-13[rubygems/rubygems] Update bundled tls certsSamuel Giddins
By running tool/update_bundled_ca_certificates.rb Signed-off-by: Samuel Giddins <segiddins@segiddins.me> https://github.com/rubygems/rubygems/commit/54f5278450
2025-06-12[rubygems/rubygems] Removed ccache or sccache from args of Rust builderHiroshi SHIBATA
``` " = note: some arguments are omitted. use `--verbose` to show all linker arguments\n" + " = note: error: unexpected argument '-W' found\n" + " \n" + " tip: to pass '-W' as a value, use '-- -W'\n" + " \n" + " Usage: sccache [OPTIONS] <--dist-auth|--debug-preprocessor-cache|--dist-status|--show-stats|--show-adv-stats|--start-server|--stop-server|--zero-stats|--package-toolchain <EXE> <OUT>|CMD>\n" + " \n" + " For more information, try '--help'.\n" + " \n" + ``` https://github.com/rubygems/rubygems/commit/45e688ae62