summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2025-10-09[ruby/prism] Bump to vKevin Newton
https://github.com/ruby/prism/commit/7574837b7b
2025-10-09[rubygems/rubygems] Removed Bundler.current_ruby.maglev*? and raise ↵Hiroshi SHIBATA
Bundler::RemovedError https://github.com/rubygems/rubygems/commit/0d4e77d798 Co-authored-by: David Rodríguez <2887858+deivid-rodriguez@users.noreply.github.com>
2025-10-09[rubygems/rubygems] Bump up to Bundler 4.0.0.dev that is next major versionHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/a51334ba99
2025-10-09[rubygems/rubygems] Bump up to RubyGems 4.0.0.dev that is next major versionHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/5b963fb7d3
2025-10-09[rubygems/rubygems] Fix `bundle install` when the Gemfile contains ↵Edouard CHIN
"install_if" git gems: - Fix https://github.com/rubygems/rubygems/pull/8985 - ### Problem If you have a Gemfile that contains a `install_if` git gem, it will be impossible to add other gems in the Gemfile and run `bundle install`, you'll get a "The git source [...] is not yet checked out". ### Context The change that modified this behaviour was in https://github.com/rubygems/rubygems/commit/abbea0cc94dd, and the issue is about the call to `current_dependencies`. This call filters out irrelevant dependencies such as the one that get condtionnally installed. By doing so, we skip over setting the source based of the lockfile for that dependency https://github.com/rubygems/rubygems/blob/ade324bdc8ea77b342f203cb7f3929a456d725ed/bundler/lib/bundler/definition.rb#L978 Ultimately, because of this, the dependency source doesn't have any additional information such as the `revision`. Down the line, when we end up to converge the spec, Bundler will attempt to get the revision for that spec but won't be able to because the git source isn't configured to allow running git operations. ### Solution Filter out the irrelevant only spec only after we have set its source. https://github.com/rubygems/rubygems/commit/d2af439671
2025-10-07[ruby/error_highlight] Improve English comments and messagesYusuke Endoh
https://github.com/ruby/error_highlight/commit/5f976265ef
2025-10-07[ruby/uri] Bump up to v1.0.4Hiroshi SHIBATA
https://github.com/ruby/uri/commit/e5074739c3
2025-10-07[ruby/uri] Add authority accessorNobuyoshi Nakada
https://github.com/ruby/uri/commit/6c6449e15f
2025-10-07[ruby/uri] Clear user info totally at setting any of authority infoNobuyoshi Nakada
Fix CVE-2025-27221. https://hackerone.com/reports/3221142 https://github.com/ruby/uri/commit/5cec76b9e8
2025-10-06[ruby/erb] Version 5.0.3Takashi Kokubun
https://github.com/ruby/erb/commit/ddfc1ba57e
2025-10-06[ruby/pp] Bump up to 0.6.3Nobuyoshi Nakada
https://github.com/ruby/pp/commit/c1992ce07d
2025-10-05[ruby/pp] Reduce substring creationsNobuyoshi Nakada
https://github.com/ruby/pp/commit/fee2d39099
2025-10-05[ruby/pp] Simplify recursive state handlingNobuyoshi Nakada
https://github.com/ruby/pp/commit/0e89466269
2025-10-05[ruby/pp] Update pp for Set to use new inspect formatJeremy Evans
(https://github.com/ruby/pp/pull/43) Ruby 3.5 will use `Set[1, 2, 3]`. This updates pp to use the same format. https://github.com/ruby/pp/commit/507eebf711
2025-10-05[ruby/pp] Refine `Set#pretty_print` checkNobuyoshi Nakada
https://github.com/ruby/pp/commit/6615b62d7b
2025-10-05[ruby/pp] Do not override the methods in set.rbNobuyoshi Nakada
These methods are defined for built-in `Set` class on Ruby 3.5. https://github.com/ruby/pp/commit/352081dbbf
2025-10-05[ruby/pp] Fix ::Data warning on Ruby 2.7Benoit Daloze
* It was showing on require 'pp': lib/pp.rb:525: warning: constant ::Data is deprecated * Fixes https://github.com/ruby/pp/issues/51 https://github.com/ruby/pp/commit/4fd8f4e0bb
2025-10-05[ruby/pp] Support new instance_variables_to_inspect method from Ruby coreJason Frey
This supports the new `instance_variables_to_inspect` method from Ruby core that was added in ruby/ruby#13555. If `instance_variables_to_inspect` is defined, then `pretty_print_instance_variables` will use it. Additionally, this commit introduces tests for both `pretty_print_instance_variables` and `instance_variables_to_inspect`. https://github.com/ruby/pp/commit/9cea466c95
2025-10-03Use LSAN_OPTIONS instead of ASAN_OPTIONS in mkmfPeter Zhu
Newer versions of clang's LSAN uses LSAN_OPTIONS environment variable instead of ASAN_OPTIONS.
2025-09-26[ruby/ipaddr] Fix `#ipv4_compat` returning invalid prefixTaketo Takashima
https://github.com/ruby/ipaddr/commit/7c85bb8dfd Co-authored-by: Tietew <tietew@gmail.com>
2025-09-26[ruby/erb] Enhancements (mostly documentation)Burdette Lamar
(https://github.com/ruby/erb/pull/85) https://github.com/ruby/erb/commit/692597b9a2
2025-09-26[rubygems/rubygems] add loading support on Windowssodacris
https://github.com/rubygems/rubygems/commit/04574ba59a
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