summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2025-09-22[ruby/erb] [DOC] Correct two errorsBurdetteLamar
https://github.com/ruby/erb/commit/1512314a3b
2025-09-22[ruby/erb] [DOC] Doc for #def_method and #def_moduleBurdetteLamar
https://github.com/ruby/erb/commit/a082298db7
2025-09-22[ruby/erb] [DOC] Doc for ERB#def_classBurdetteLamar
https://github.com/ruby/erb/commit/4ca7784f10
2025-09-19[rubygems/rubygems] Switch `cache_all` to be `true` by defaultDavid Rodríguez
And make it a standard setting. https://github.com/rubygems/rubygems/commit/17e356fa94
2025-09-19[rubygems/rubygems] Pull `Gem.win_platform?` out of a hot pathAaron Patterson
`normalize_path` is a pretty hot path, it's called many times per file in each gem. Since the platform isn't going to change from call to call, we can conditionally define `normalize_path` based on the value of `Gem.win_platform?`. https://github.com/rubygems/rubygems/commit/d5e61411f2
2025-09-19[rubygems/rubygems] Completely remove passing `--ext` to `bundle gem` ↵David Rodríguez
without a value https://github.com/rubygems/rubygems/commit/9f34bf6854 Co-authored-by: Martin Emde <martinemde@users.noreply.github.com>
2025-09-19[rubygems/rubygems] Switch `lockfile_checksums` to be true by defaultDavid Rodríguez
https://github.com/rubygems/rubygems/commit/47c3dc19ee Co-authored-by: Jonathan Barquero <jonbarlo@hotmail.com>
2025-09-19[rubygems/rubygems] Make `bundle show --outdated` raise an errorDavid Rodríguez
https://github.com/rubygems/rubygems/commit/3bbbf4a4e5
2025-09-19[rubygems/rubygems] Move error handling to right behind the optionDavid Rodríguez
This is where error handling happens in all the other options, so it's where we'll look when we completely remove error handling for these removed CLI flags in the next major. https://github.com/rubygems/rubygems/commit/40d660c607
2025-09-19[rubygems/rubygems] Make `--local-git` flag to `bundle plugin install` raise ↵David Rodríguez
an error https://github.com/rubygems/rubygems/commit/8bfe317e6d
2025-09-19[rubygems/rubygems] Fix parallel installation issueDavid Rodríguez
If using a gem with precompiled versions having different dependencies than the generic version from a path source, and with a lockfile including a precompiled version, we would materialize the generic version, but end up using dependencies for the precompiled version. That will result in the parallel installer missing the specifications for the extra dependencies of the generic version, causing a crash. If we are materializing for installation, make sure we use the materialized specification when traversing dependencies. https://github.com/rubygems/rubygems/commit/5f75d75de7
2025-09-18[ruby/erb] [DOC] Doc for ERB#set_eoutvarBurdetteLamar
https://github.com/ruby/erb/commit/cb4911f5f0
2025-09-18[ruby/erb] [DOC] Correct error in #make_compiler exampleBurdetteLamar
https://github.com/ruby/erb/commit/5e6fea0417
2025-09-18[ruby/erb] [DOC] Doc for ERB#make_compilerBurdetteLamar
https://github.com/ruby/erb/commit/ad8231cd68
2025-09-18[ruby/erb] [DOC] Remove example from ERB.version (will get out-of-date)BurdetteLamar
https://github.com/ruby/erb/commit/b0ccb1e317
2025-09-18[ruby/erb] [DOC] Tweak for ERB.new (argument eoutvar)BurdetteLamar
https://github.com/ruby/erb/commit/b629d578c0
2025-09-18[ruby/erb] [DOC] Correct link in doc for attribute #encodingBurdetteLamar
https://github.com/ruby/erb/commit/3e57b27566
2025-09-18[ruby/erb] [DOC] Doc for constant VERSIONBurdetteLamar
https://github.com/ruby/erb/commit/9b16b2d553
2025-09-18[ruby/erb] [DOC] Doc for constant NOT_GIVENBurdetteLamar
https://github.com/ruby/erb/commit/dd6db81d43
2025-09-18[ruby/erb] [DOC] Doc for attribute srcBurdetteLamar
https://github.com/ruby/erb/commit/7556e6817c
2025-09-18[ruby/erb] [DOC] `ERB::Version`Nobuyoshi Nakada
https://github.com/ruby/erb/commit/7fed01c4de
2025-09-18[ruby/erb] [DOC] Fix the location of `url_encode` docNobuyoshi Nakada
The documentation must be just before the definition. https://github.com/ruby/erb/commit/62282e32d9
2025-09-18[ruby/erb] [DOC] Fix the description of #new_toplevelNobuyoshi Nakada
(https://github.com/ruby/erb/pull/78) https://github.com/ruby/erb/commit/de0f18579e
2025-09-17[ruby/erb] [DOC] Doc for #new_toplevelBurdetteLamar
https://github.com/ruby/erb/commit/dee5dd4da8
2025-09-17[ruby/erb] [DOC] More on encodingsBurdetteLamar
https://github.com/ruby/erb/commit/d5f6f65a89
2025-09-17[ruby/erb] [DOC] Doc for ERB#runBurdetteLamar
https://github.com/ruby/erb/commit/77830cb205
2025-09-17[ruby/erb] [DOC] Adds section 'Error Reporting'Burdette Lamar
(https://github.com/ruby/erb/pull/75) https://github.com/ruby/erb/commit/8dc0eacaad
2025-09-17[rubygems/rubygems] Stop trying to remove every file on extractionAaron Patterson
When we're extracting a gem, it should be extracted to an empty directory. Trying to remove every file before extracting the file greatly slows the tar extraction process. This change increases tar extraction speed by about 10%: Master branch: ``` aaron@tc ~/g/tartest (main)> ruby -I../rubygems/lib:../vernier/lib test.rb {MEAN: 0.https://github.com/rubygems/rubygems/commit/670195550005} {stddev: 0.https://github.com/rubygems/rubygems/commit/029875687861} {"mib/s": 20.https://github.com/rubygems/rubygems/commit/889425481677} ``` This commit: ``` aaron@tc ~/g/tartest (main)> ruby -I../rubygems/lib:../vernier/lib test.rb {MEAN: 0.https://github.com/rubygems/rubygems/commit/600223749969} {stddev: 0.https://github.com/rubygems/rubygems/commit/037224226667} {"mib/s": 23.https://github.com/rubygems/rubygems/commit/324635189326} ``` https://github.com/rubygems/rubygems/commit/e40a153560
2025-09-17[rubygems/rubygems] Finalize `bundle install --binstubs` removalDavid Rodríguez
https://github.com/rubygems/rubygems/commit/ccb65ce0ea
2025-09-17[rubygems/rubygems] Fix grammar in `bundle install --binstubs` removal messageDavid Rodríguez
https://github.com/rubygems/rubygems/commit/feb258c712
2025-09-17[rubygems/rubygems] Move `bundle install --binstubs` deprecation to cli.rbDavid Rodríguez
For consistency with the other deprecations. https://github.com/rubygems/rubygems/commit/28e300cee1
2025-09-17[rubygems/rubygems] Make `bundle remove --install` raise an errorDavid Rodríguez
https://github.com/rubygems/rubygems/commit/444022cfd3
2025-09-17[ruby/erb] [DOC] More on bindingsBurdette Lamar
(https://github.com/ruby/erb/pull/74) https://github.com/ruby/erb/commit/125ce1f897
2025-09-16[ruby/erb] [DOC] Enhanced doc for ERB.resultBurdette Lamar
(https://github.com/ruby/erb/pull/73) https://github.com/ruby/erb/commit/04bb746fc7
2025-09-16[ruby/erb] [DOC] Improve section 'In Brief' in ERB class docBurdette Lamar
(https://github.com/ruby/erb/pull/71) https://github.com/ruby/erb/commit/f4abab7195
2025-09-16[ruby/erb] [DOC] Enhanced doc for ERB.versionBurdette Lamar
(https://github.com/ruby/erb/pull/72) https://github.com/ruby/erb/commit/df7bdcd5cb
2025-09-16[ruby/erb] [DOC] Fix typos (https://github.com/ruby/erb/pull/70)Burdette Lamar
https://github.com/ruby/erb/commit/aae3a5be34
2025-09-16[rubygems/rubygems] Remove aggregate source mentionsDavid Rodríguez
It's a term from times with multiple remote sources, let's move on :) https://github.com/rubygems/rubygems/commit/6439b8944e
2025-09-16[rubygems/rubygems] Completely remove multisources supportDavid Rodríguez
https://github.com/rubygems/rubygems/commit/8f9d6c54a1
2025-09-16[rubygems/rubygems] Simplify an edge case of not adding lower bound requirementsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/1bc5e74281
2025-09-16[rubygems/rubygems] Multisource checks are only relevant when there's a lockfileDavid Rodríguez
https://github.com/rubygems/rubygems/commit/4c110d3289
2025-09-16[rubygems/rubygems] Handle locked sources more simillarly to locked specsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/0a2f5ed717
2025-09-16[rubygems/rubygems] Use `IO.copy_stream` with IO object directlyAaron Patterson
Before this patch we would use `IO.copy_stream` with the tar entry object rather than just straight to the IO. That means every time copy_stream wanted data, we would have to proxy the call. The reason we did this is because every tar entry object _shares_ the same IO object, and previous to https://github.com/rubygems/rubygems/commit/8927533b0a47 we would call `IO.copy_stream` _without_ a size. Without passing a size, copy_stream will just read until there is nothing left to read, so these proxy object emulate finding "the end of the file" (where "end of file" means "end of tar chunk"). Without emulating this "end of file" behavior, copy_stream would just keep reading past the end of the tar chunk. However, now that we're passing the size to copy_stream, we can bypass the proxy object overhead and just use the IO object directly because copy_stream knows exactly the number of bytes it needs to read and will stop when it reaches the goal. https://github.com/rubygems/rubygems/commit/857002c135
2025-09-16[rubygems/rubygems] Remove `allow_offline_install` settingDavid Rodríguez
And let the feature always be enabled, so I'm not sure why we'd need this configurable. https://github.com/rubygems/rubygems/commit/5a27f0c1e3
2025-09-16[rubygems/rubygems] Complete rubocop flags and settings removalDavid Rodríguez
If the CLI flags are used, we abort early as usual. As per the settings, I decided to ignore them. We've been migrating them automatically to the new name for a long time and we don't yet have a standard way to deprecate and remove settings (we should probably use the existing setting validators). So I think it's fine for now to do what we normally do (ignore the setting). https://github.com/rubygems/rubygems/commit/8311de6e69
2025-09-16[rubygems/rubygems] Fix `--no-rubocop` deprecation messageDavid Rodríguez
https://github.com/rubygems/rubygems/commit/2c16b0e11e
2025-09-16[rubygems/rubygems] Fix `rubocop` config removal messageDavid Rodríguez
In Bundler 4, configuration will no longer be updated. https://github.com/rubygems/rubygems/commit/33a4718d7a
2025-09-16[rubygems/rubygems] Pass the file size to IO.copy_streamAaron Patterson
When extracting tar files, the tar header actually knows the exact size of the file we need to extract. Before this commit, we would read the file from the tar file until it returned `nil`. We can be a little more efficient when copying by passing the size to copy_stream https://github.com/rubygems/rubygems/commit/8927533b0a
2025-09-16[rubygems/rubygems] Use File#chmod rather than FileUtils.chmodAaron Patterson
We already have the open file descriptor, so we can avoid the overhead of resolving the filepath (as well as the overhead inside `FileUtils`) by just calling `chmod` on the file descriptor itself. https://github.com/rubygems/rubygems/commit/60c14bbeee
2025-09-15[ruby/erb] [DOC] More on class ERBBurdette Lamar
(https://github.com/ruby/erb/pull/69) * [DOC] More on class …ERB * [DOC] More on class …ERB * More * More * More https://github.com/ruby/erb/commit/d9d73ed58e