summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
14 hours[ruby/weakref] v0.1.4Hiroshi SHIBATA
https://github.com/ruby/weakref/commit/f6bd03ed54
14 hoursSkip to Bundler 4 directlyDavid Rodríguez
14 hours[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
14 hours[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
14 hours[rubygems/rubygems] Move finding eigenclass to a methodDavid Rodríguez
https://github.com/rubygems/rubygems/commit/5ad0737e77
14 hours[rubygems/rubygems] Fix grammar in `bundle config` deprecation messageDavid Rodríguez
https://github.com/rubygems/rubygems/commit/d23b3d61ac
14 hours[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
14 hours[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
2 days[ruby/tempfile] [DOC] Fix a typoNobuyoshi Nakada
ruby/ruby#13636 https://github.com/ruby/tempfile/commit/366d9ccb8f Co-Authored-By: Tim Smith <[email protected]>
2 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://github.com/rubygems/rubygems/commit/1c282d98d5
4 days[rubygems/rubygems] Fix redefinition warnings when using modern RubyGems ↵David Rodríguez
with old Bundler https://github.com/rubygems/rubygems/commit/ce7e8e92ca
6 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://github.com/rubygems/rubygems/commit/75ac5d46a7
6 days[rubygems/rubygems] Update bundled tls certsSamuel Giddins
By running tool/update_bundled_ca_certificates.rb Signed-off-by: Samuel Giddins <[email protected]> https://github.com/rubygems/rubygems/commit/54f5278450
7 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://github.com/rubygems/rubygems/commit/45e688ae62
8 days[rubygems/rubygems] Remove duplicate documentation for `--changelog` flagJoshua Young
https://github.com/rubygems/rubygems/commit/9f1d07685f
8 days[rubygems/rubygems] Fix typos in some documentation lists making them render ↵David Rodríguez
incorrectly https://github.com/rubygems/rubygems/commit/19739ba71c
8 days[rubygems/rubygems] Update man pages monthDavid Rodríguez
https://github.com/rubygems/rubygems/commit/3e4687616a
8 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://github.com/ruby/prism/issues/3582 https://github.com/ruby/prism/commit/7f3008b2b5
8 days[ruby/net-http] Support pretty_printNobuyoshi Nakada
https://github.com/ruby/net-http/commit/bfc60454f6
9 days[ruby/net-http] Don't set content type by defaultHiroshi SHIBATA
Fixes https://github.com/ruby/net-http/issues/205 https://github.com/ruby/net-http/commit/002441da1e
9 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 leak to other gems. https://github.com/rubygems/rubygems/commit/2c3039f1b0
9 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://github.com/rubygems/rubygems/commit/3727096297
9 days[rubygems/rubygems] Validate dependencies when doing bundle installRandy Stauner
https://github.com/rubygems/rubygems/commit/b0983f392f
14 days[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://github.com/rubygems/rubygems/commit/227cafd657
14 daysMove most of Bundler::GemHelpers to Gem::PlatformSamuel Giddins
This will help centralize wheel platform selection logic eventually Signed-off-by: Samuel Giddins <[email protected]>
14 days[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://github.com/rubygems/rubygems/commit/f434c2e66c
2025-06-05[rubygems/rubygems] Slightly simplify locked specification source replacementDavid Rodríguez
https://github.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://github.com/rails/rails" ``` and then explicitly pin to an older ref, like ``` gem "rails", git: "https://github.com/rails/rails", ref: "https://github.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://github.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://github.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://github.com/rubygems/rubygems/commit/1ce0882e6f
2025-06-05[rubygems/rubygems] Refactor restarts to not need memoizing the restart versionDavid Rodríguez
https://github.com/rubygems/rubygems/commit/a9d80a7dcb
2025-06-05[rubygems/rubygems] Reduce duplication a bitDavid Rodríguez
https://github.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://github.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://github.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://github.com/rubygems/rubygems/commit/aec5a7887d
2025-06-03[rubygems/rubygems] Ignore `Gemfile`, `gems.rb` & `gems.locked` according to ↵TangRufus
`init_gems_rb` preference https://github.com/rubygems/rubygems/commit/88aeb66f41
2025-06-03[rubygems/rubygems] Remove `.git` from `spec.files` default ignore listTangRufus
https://github.com/rubygems/rubygems/commit/4f96e12ff3
2025-06-03[rubygems/rubygems] Rename `ignore_files` to `ignore_paths`TangRufus
https://github.com/rubygems/rubygems/commit/c07e3a88aa
2025-06-03[rubygems/rubygems] Add `.gitignore`, `gems.rb` & `gems.locked` into ↵TangRufus
`spec.files` default ignore list https://github.com/rubygems/rubygems/commit/6390ed7a2b
2025-06-03[rubygems/rubygems] Remove `features/` from `spec.files` default ignore listTangRufus
https://github.com/rubygems/rubygems/commit/77ba4192a7
2025-06-03[rubygems/rubygems] Only ignore `test/` when generating gems with `minitest` ↵TangRufus
or `test-unit` https://github.com/rubygems/rubygems/commit/c464f2036a
2025-06-03[rubygems/rubygems] Suffix `.circleci` with `/` in `spec.files` in the ↵TangRufus
`.gemspec` template https://github.com/rubygems/rubygems/commit/e48c6beaf6
2025-06-03[rubygems/rubygems] Suffix `.github` with `/` in `spec.files` in the ↵TangRufus
`.gemspec` template https://github.com/rubygems/rubygems/commit/edf13f7e60
2025-06-03[rubygems/rubygems] Exclude `spec` from `spec.files` in the `.gemspec` ↵TangRufus
template only when using RSpec https://github.com/rubygems/rubygems/commit/a42387b8be
2025-06-03[rubygems/rubygems] Exclude `.rspec` from `spec.files` in the `.gemspec` ↵TangRufus
template https://github.com/rubygems/rubygems/commit/331901941d
2025-06-03[rubygems/rubygems] Exclude `.rubocop.yml` and `.standard.yml` from ↵TangRufus
`spec.files` in the `.gemspec` template https://github.com/rubygems/rubygems/commit/9d937d4f7f
2025-06-03[rubygems/rubygems] Remove `appveyor` from `spec.files` default ignore listTangRufus
https://github.com/rubygems/rubygems/commit/2f2046c97b
2025-06-03[rubygems/rubygems] Refactor `spec.files` ignore list generationTangRufus
https://github.com/rubygems/rubygems/commit/c11539f325
2025-06-03[rubygems/rubygems] Moved the REMEMBERING OPTIONS section to be after ↵Matthew Hively
CONFIGURATION KEYS Since the remembering options are discouraged, the preferred method should be explained first. Slight tweak to wording Fix documentation spec test as per suggested patch https://github.com/rubygems/rubygems/commit/9f082ccf31