summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
93 min.Mark RClass instance that may be namespaced with RCLASS_NAMESPACEABLEJean Boussier
9 hours[rubygems/rubygems] Handle RubyGems installing to custom dir with ↵Nicholas La Roux
non-existent parent dirs https://.com/rubygems/rubygems/commit/4701123601
9 hours[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://.com/rubygems/rubygems/commit/e32c5a9e5c
9 hours[rubygems/rubygems] Make `HTTP_ERRORS` list look like `FAIL_ERRORS` listDavid Rodríguez
https://.com/rubygems/rubygems/commit/bfa6770e39
9 hours[rubygems/rubygems] Simplify non retriable errors listDavid Rodríguez
https://.com/rubygems/rubygems/commit/627a7615f2
9 hours[rubygems/rubygems] Move `HTTP_ERRORS` together with the other error constantsDavid Rodríguez
https://.com/rubygems/rubygems/commit/57e8ae7aa6
9 hours[rubygems/rubygems] Deprecate unused `Bundler#SpecSet` methodsDavid Rodríguez
https://.com/rubygems/rubygems/commit/380c95ce05
4 days[ruby/weakref] v0.1.4Hiroshi SHIBATA
https://.com/ruby/weakref/commit/f6bd03ed54
4 daysSkip to Bundler 4 directlyDavid Rodríguez
4 days[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://.com/rubygems/rubygems/commit/a751d36456
4 days[rubygems/rubygems] Fix running gem commands in a `bundle exec` contextDavid Rodríguez
They should only load plugins from gems in the bundle. https://.com/rubygems/rubygems/commit/a229507820
4 days[rubygems/rubygems] Move finding eigenclass to a methodDavid Rodríguez
https://.com/rubygems/rubygems/commit/5ad0737e77
4 days[rubygems/rubygems] Fix grammar in `bundle config` deprecation messageDavid Rodríguez
https://.com/rubygems/rubygems/commit/d23b3d61ac
4 days[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://.com/rubygems/rubygems/commit/4e92e9b209
4 days[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://.com/rubygems/rubygems/commit/ec5d33695e
6 days[ruby/tempfile] [DOC] Fix a typoNobuyoshi Nakada
ruby/ruby#13636 https://.com/ruby/tempfile/commit/366d9ccb8f Co-Authored-By: Tim Smith <[email protected]>
6 days[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://.com/rubygems/rubygems/commit/1c282d98d5
7 days[rubygems/rubygems] Fix redefinition warnings when using modern RubyGems ↵David Rodríguez
with old Bundler https://.com/rubygems/rubygems/commit/ce7e8e92ca
10 days[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://.com/rubygems/rubygems/commit/75ac5d46a7
10 days[rubygems/rubygems] Update bundled tls certsSamuel Giddins
By running tool/update_bundled_ca_certificates.rb Signed-off-by: Samuel Giddins <[email protected]> https://.com/rubygems/rubygems/commit/54f5278450
11 days[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://.com/rubygems/rubygems/commit/45e688ae62
11 days[rubygems/rubygems] Remove duplicate documentation for `--changelog` flagJoshua Young
https://.com/rubygems/rubygems/commit/9f1d07685f
11 days[rubygems/rubygems] Fix typos in some documentation lists making them render ↵David Rodríguez
incorrectly https://.com/rubygems/rubygems/commit/19739ba71c
11 days[rubygems/rubygems] Update man pages monthDavid Rodríguez
https://.com/rubygems/rubygems/commit/3e4687616a
12 days[ruby/prism] Fix parser translator during string escaping with invalid utf-8Earlopain
Instead, prefer `scan_byte` over `get_byte` since that already returns the byte as an integer, sidestepping conversion issues. Fixes https://.com/ruby/prism/issues/3582 https://.com/ruby/prism/commit/7f3008b2b5
12 days[ruby/net-http] Support pretty_printNobuyoshi Nakada
https://.com/ruby/net-http/commit/bfc60454f6
12 days[ruby/net-http] Don't set content type by defaultHiroshi SHIBATA
Fixes https://.com/ruby/net-http/issues/205 https://.com/ruby/net-http/commit/002441da1e
12 days[rubygems/rubygems] Fix `gem pristine` sometimes not resetting extensionsDavid Rodríguez
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 to other gems. https://.com/rubygems/rubygems/commit/2c3039f1b0
12 days[rubygems/rubygems] Install the best matching gem for the current platform ↵Samuel Giddins
in gem install Instead of picking essentially a random matching platform Signed-off-by: Samuel Giddins <[email protected]> https://.com/rubygems/rubygems/commit/3727096297
12 days[rubygems/rubygems] Validate dependencies when doing bundle installRandy Stauner
https://.com/rubygems/rubygems/commit/b0983f392f
2025-06-06[rubygems/rubygems] Ignore local specifications if they have incorrect ↵David Rodríguez
dependencies Currently ruby-dev installs an incorrect gemspec for rdoc, that does not declare its dependency on psych. This seems like a ruby-core bug, but it seems best for Bundler to ignore it, go with the remote specification instead, and print a warning. https://.com/rubygems/rubygems/commit/227cafd657
2025-06-06Move most of Bundler::GemHelpers to Gem::PlatformSamuel Giddins
This will help centralize wheel platform selection logic eventually Signed-off-by: Samuel Giddins <[email protected]>
2025-06-06[rubygems/rubygems] Cache commit SHA ref revisionsThomas Marshall
If the `ref` option is a specific commit SHA, we can check to see if it's already fetched locally. If it is, then we don't need to re-fetch it from the remote. The `ref` option might not be a commit SHA, so we're using the `#commit` method which returns the full SHA if it's a commit ref, or the locked revision, or nil. This is a small improvement that will make `bundle update` slightly faster in cases for git-sourced gems pinned to a specific commit. https://.com/rubygems/rubygems/commit/f434c2e66c
2025-06-05[rubygems/rubygems] Slightly simplify locked specification source replacementDavid Rodríguez
https://.com/rubygems/rubygems/commit/22f0a07377
2025-06-05[rubygems/rubygems] Fix git source unlocking for multi-gem repositories like ↵David Rodríguez
Rails If you have ``` gem "rails", git: "https://.com/rails/rails" ``` and then explicitly pin to an older ref, like ``` gem "rails", git: "https://.com/rails/rails", ref: "https://.com/rubygems/rubygems/commit/99bacb5aa8e5" ``` Then `bundle install` fails, because locked sources fail to be updated to use the new source. This commit fixes the problem by making sure get their source properly replaced. https://.com/rubygems/rubygems/commit/5de8c2e0cf
2025-06-05[rubygems/rubygems] Fix `bundle update --bundler` when restarts disabledDavid Rodríguez
There's no reason why we should not update bundler as requested, even if restarts are disabled. https://.com/rubygems/rubygems/commit/e59acd2a0d
2025-06-05[rubygems/rubygems] Look in configured path when checking if self-update ↵David Rodríguez
version is installed https://.com/rubygems/rubygems/commit/1ce0882e6f
2025-06-05[rubygems/rubygems] Refactor restarts to not need memoizing the restart versionDavid Rodríguez
https://.com/rubygems/rubygems/commit/a9d80a7dcb
2025-06-05[rubygems/rubygems] Reduce duplication a bitDavid Rodríguez
https://.com/rubygems/rubygems/commit/0574c62fc0
2025-06-05[rubygems/rubygems] Fix headings levels in ChangelogsAntoine Marguerie
And adapt release scripts and configuration to the new structure. https://.com/rubygems/rubygems/commit/3deb1aedae
2025-06-05[rubygems/rubygems] Deprecate x64-mingw32 legacy Windows platform in favor ↵Nicholas La Roux
of x64-mingw-ucrt https://.com/rubygems/rubygems/commit/71c969be44
2025-06-04Added warning for CGI.parseHiroshi SHIBATA
2025-06-03[rubygems/rubygems] Only ignore `.gitignore` when generating gems with gitTangRufus
https://.com/rubygems/rubygems/commit/aec5a7887d
2025-06-03[rubygems/rubygems] Ignore `Gemfile`, `gems.rb` & `gems.locked` according to ↵TangRufus
`init_gems_rb` preference https://.com/rubygems/rubygems/commit/88aeb66f41
2025-06-03[rubygems/rubygems] Remove `.git` from `spec.files` default ignore listTangRufus
https://.com/rubygems/rubygems/commit/4f96e12ff3
2025-06-03[rubygems/rubygems] Rename `ignore_files` to `ignore_paths`TangRufus
https://.com/rubygems/rubygems/commit/c07e3a88aa
2025-06-03[rubygems/rubygems] Add `.gitignore`, `gems.rb` & `gems.locked` into ↵TangRufus
`spec.files` default ignore list https://.com/rubygems/rubygems/commit/6390ed7a2b
2025-06-03[rubygems/rubygems] Remove `features/` from `spec.files` default ignore listTangRufus
https://.com/rubygems/rubygems/commit/77ba4192a7
2025-06-03[rubygems/rubygems] Only ignore `test/` when generating gems with `minitest` ↵TangRufus
or `test-unit` https://.com/rubygems/rubygems/commit/c464f2036a
2025-06-03[rubygems/rubygems] Suffix `.circleci` with `/` in `spec.files` in the ↵TangRufus
`.gemspec` template https://.com/rubygems/rubygems/commit/e48c6beaf6