summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2025-07-19[ruby/fileutils] Make `ln_s` forward `target_directory` to `ln_sr`Nobuyoshi Nakada
https://github.com/ruby/fileutils/commit/b487f09eed
2025-07-19[ruby/fileutils] A workaround for RBSNobuyoshi Nakada
https://github.com/ruby/fileutils/commit/c3abf39e7a
2025-07-19[ruby/fileutils] A workaround for RBSNobuyoshi Nakada
https://github.com/ruby/fileutils/commit/fde0f0713a
2025-07-19[ruby/fileutils] Just the parent path of the destination symlink should existNobuyoshi Nakada
https://github.com/ruby/fileutils/commit/71225b1b46
2025-07-19[ruby/fileutils] FileUtils.remove_dir checks directoryErik Berlin
https://github.com/ruby/fileutils/commit/f0d7fc817b
2025-07-19[ruby/fileutils] Use shorter symlink by real pathsNobuyoshi Nakada
https://github.com/ruby/fileutils/commit/277f7f2ff8
2025-07-19[ruby/fileutils] Fix up `FileUtils#ln_sr`Nobuyoshi Nakada
https://github.com/ruby/fileutils/commit/2836a164ed
2025-07-18[ruby/fileutils] If `noop`, return before checking the argumentNobuyoshi Nakada
Get rid of failure in rbs. https://github.com/ruby/fileutils/commit/e44b7b366c
2025-07-18[ruby/fileutils] [DOC] Fix optional argument descriptionsAkihiko Odaki
Several optional positional arguments were incorrectly denoted as keyword arguments so correct them. https://github.com/ruby/fileutils/commit/c25f069f96
2025-07-18[ruby/fileutils] Fix `ln_sf` with multiple sources and `target_directory: false`Nobuyoshi Nakada
In this case, an ArgumentError is now raised rather than ignoring the option, just as GNU coreutils' `ln` would error on the command line. Fixes https://github.com/ruby/fileutils/pull/128 as well. https://github.com/ruby/fileutils/commit/4fc578a75f
2025-07-17Set development version to Bundler 2.8.0.dev and RubyGems 3.8.0.devDavid Rodríguez
Next version for both will be 4.0.0, however, extra work is necessary to get CI passing against the new major. So for now, I'm bumping just the minor version.
2025-07-17Cancel `--force` deprecation in favor of `--redownload`David Rodríguez
I realized `--redownload` is not a good name, because it does not necessarily redownloads gems. It only forces reinstallation even if gem is already installed. So I believe `--force` is actually a better name and the introduction of `--force` was a misunderstanding of what the `--force` flag did at the time. Let's cancel the deprecation of `--force`. For now the `--redownload` alias is left around until we decide what to do with it.
2025-07-17[rubygems/rubygems] Restore treating "--" as an unknown platformDavid Rodríguez
Rather than crashing when parsing it. https://github.com/rubygems/rubygems/commit/aa0064e4c7
2025-07-17[rubygems/rubygems] Fix `bundle binstub --path=foo` not printing a ↵David Rodríguez
deprecation warning Like others, it's a remembered option which we are deprecating in favor of configuration. https://github.com/rubygems/rubygems/commit/801d5dd943
2025-07-17[rubygems/rubygems] Fix `bundle cache path=foo` not printing a deprecation ↵David Rodríguez
message https://github.com/rubygems/rubygems/commit/0af03eea5d
2025-07-17[rubygems/rubygems] Remove unnecessary `flag_deprecation` methodDavid Rodríguez
https://github.com/rubygems/rubygems/commit/d1f8e1c4ac
2025-07-17[rubygems/rubygems] Refactor remembered flag deprecation logicDavid Rodríguez
https://github.com/rubygems/rubygems/commit/88dd7d2d45
2025-07-15[ruby/erb] Version 5.0.2Takashi Kokubun
https://github.com/ruby/erb/commit/e8f3e64581
2025-07-15Make Pathname#mkpath builtinJean Boussier
[Feature #17473]
2025-07-15Move builtin methods to pathname.rbinc from lib/pathname.rbHiroshi SHIBATA
2025-07-15Make Pathname to embedded classHiroshi SHIBATA
2025-07-14[ruby/uri] [DOC] Update old use of `URI::Parser`Nobuyoshi Nakada
https://github.com/ruby/uri/commit/d2a79c6343
2025-07-14[ruby/uri] [DOC] Document private visibility tooNobuyoshi Nakada
For the references to URI::RFC2396_Parser private methods. https://github.com/ruby/uri/commit/372fbb455d
2025-07-14[ruby/uri] [DOC] Fix referencesNobuyoshi Nakada
These are instance methods, not class methods. And `URI::Parser` was moved to URI::RFC2396_Parser at [r46491] [r46491]: https://github.com/ruby/ruby/commit/bb83f32dc3e0 https://github.com/ruby/uri/commit/452d74390c
2025-07-14[rubygems/rubygems] Fix more warnings when running old Bundler with latest ↵David Rodríguez
RubyGems Also fix platform warnings when Bundler's entrypoint is bundler's binstub. https://github.com/rubygems/rubygems/commit/4b1df58403
2025-07-14[rubygems/rubygems] Avoid more warnings when using RubyGems with old BundlerDavid Rodríguez
We were only avoiding them when the RUBYGEMS_GEMDEPS variable is used. Avoid the warnings in general, whenever the entrypoint to Bundler is `require`. https://github.com/rubygems/rubygems/commit/8683faef36
2025-07-14[rubygems/rubygems] Change helper to load only Bundler extensions to RubyGemsDavid Rodríguez
We'll want to reuse this helper in other situations where we don't want all Bundler loaded. https://github.com/rubygems/rubygems/commit/9e7018b0a1
2025-07-14[rubygems/rubygems] Move loading Bundler without platform warnings to a methodDavid Rodríguez
https://github.com/rubygems/rubygems/commit/e068f0649a
2025-07-14[rubygems/rubygems] No need to detect ancient binstubs eitherDavid Rodríguez
https://github.com/rubygems/rubygems/commit/346d491a11
2025-07-14[rubygems/rubygems] Improve some heredoc indentationsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/6ee3a33048
2025-07-14[rubygems/rubygems] Stop generating binstubs with support for RubyGems ↵David Rodríguez
before 2.6.2 RubyGems generated binstubs still provide support for this ancient version. This makes no sense since we prevent downgrades to such old versions. https://github.com/rubygems/rubygems/commit/089cdc3b77
2025-07-14[rubygems/rubygems] Load RubyGems extensions in the first placeDavid Rodríguez
This is not currently causing any issues, but I think the most correct thing to do is that Bundler loads the extensions to RubyGems in the first place, so that they are available from the beginning. https://github.com/rubygems/rubygems/commit/88faa5c7bb
2025-07-12[ruby/uri] Improve performance of `URI::MailTo::EMAIL_REGEXP`Nobuyoshi Nakada
Fix the performance regression at #172 for valid emails. ``` yml prelude: | require 'uri/mailto' n = 1000 re = URI::MailTo::EMAIL_REGEXP benchmark: n.t..t.: re.match?("n.t..t.@docomo.ne.jp") example: re.match?("example@example.info") ``` | |released| 788274b| c5974f0| this| |:--------|-------:|-------:|-------:|-------:| |n.t..t. | 3.795M| 4.864M| 4.993M| 8.739M| | | -| 1.28x| 1.32x| 2.30x| |example | 3.911M| 3.740M| 2.838M| 3.880M| | | 1.38x| 1.32x| -| 1.37x| https://github.com/ruby/uri/commit/7363a134ac
2025-07-12[ruby/uri] Do not allow empty host names, as they are not allowed by RFC 3986Jeremy Evans
Pointed out by John Hawthorn. Fixes [Bug #20686] https://github.com/ruby/uri/commit/c0cfa04a66
2025-07-12[ruby/uri] Prohibit successive dots in emailNobuyoshi Nakada
https://github.com/ruby/uri/commit/32335923bf
2025-07-12[ruby/uri] lib/uri/mailto.rb (EMAIL_REGEXP): use assertions surrounding the ↵Nikita Levchuk
local part instead of a character class https://github.com/ruby/uri/commit/2d7d2d9988
2025-07-12[ruby/uri] lib/uri/mailto.rb (EMAIL_REGEXP): the local part should not ↵Nikita Levchuk
contain leading or trailing dots https://github.com/ruby/uri/commit/618e2bb640
2025-07-12[ruby/uri] Make URI::regexp schemes case sensitiveNobuyoshi Nakada
(https://github.com/ruby/uri/pull/38) https://github.com/ruby/uri/commit/0c2b6468fa
2025-07-12[ruby/uri] Fix the message for unexpected argumentNobuyoshi Nakada
Use just `self` instead of `self.class`, in `URI::Generic.build`. Since this is a class method, `self.class` is always `Class` even in inherited sub classes, and does not have `#component` method. https://github.com/ruby/uri/commit/6f44d3d40e
2025-07-10Warn to use tsort for Ruby 3.6 that will be released at 2026Hiroshi SHIBATA
2025-07-10[rubygems/rubygems] Update vendored resolv to 0.6.2Hiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/afbbc02763
2025-07-09[rubygems/rubygems] Update gemspec based on provided github username when existsSweta Sanghavi
* Conditionally set changelog_url if gh username passed and enabled * conditionally set homepage, source code uri, homepage uri when gh username passed in * update documentation to say username will also be used for gemspec file https://github.com/rubygems/rubygems/commit/1c1ada593b
2025-07-09[rubygems/rubygems] Let s3_uri_signer accept the HTTP methodPeteris Rudzusiks
https://github.com/rubygems/rubygems/commit/35fc7f9547
2025-07-09[rubygems/rubygems] Correctly sign S3 HEAD requestsPeteris Rudzusiks
We sometimes send HEAD requests. The s3_uri_signer.rb code allways assumed GETs. This lead to consistently getting 403 responses back from S3. Recently, S3 attempted to change the behaviour of how 403s are handled when TCP connections are reused, which escalated this bug from "just noise" to "breaks gem installs". They've reverted that behaviour, so the severity of this problem is back to "just noise". Either way, it's a bug in rubygems and warrants a fix it. https://github.com/rubygems/rubygems/commit/c38f502b73
2025-07-09[rubygems/rubygems] Fix date format in S3 URI signerPeteris Rudzusiks
%M is minute of the hour. %m is month of year. We want the former, not the latter. https://github.com/rubygems/rubygems/commit/d7ca3fa279
2025-07-09[rubygems/rubygems] Add blank line after every questionDavid Rodríguez
To try make output a bit less messy. https://github.com/rubygems/rubygems/commit/92c8bc6769
2025-07-09[rubygems/rubygems] Use shorter questions as prompts in `bundle gem`David Rodríguez
If we use long explanations as prompts, sometimes the prompt gets printed twice due to a (I think) reline/readline bug. https://github.com/rubygems/rubygems/commit/987e0dfa90
2025-07-09[rubygems/rubygems] Reword MIT explanation to make sense after reorderingDavid Rodríguez
Previous wording assumed explanation was displayed after the question, not before. https://github.com/rubygems/rubygems/commit/04eb3430ba
2025-07-08[ruby/resolv] v0.6.2Hiroshi SHIBATA
https://github.com/ruby/resolv/commit/a28aaed4cb
2025-07-08[ruby/resolv] Limit decompressed name lengthYusuke Endoh
RFC 1035 specifies the 255-octet maximum name length. This change set checks the limit. https://github.com/ruby/resolv/commit/4c2f71b5e8