summaryrefslogtreecommitdiff
path: root/lib/rubygems
AgeCommit message (Collapse)Author
5 days[rubygems/rubygems] Clear temporary directoryNobuyoshi Nakada
https://github.com/rubygems/rubygems/commit/4158034d89
2024-04-04[rubygems/rubygems] Allow to use String keys some of configurationHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/ee0bef2786
2024-04-04[rubygems/rubygems] Re-order configuraiton keysHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/b2a88983db
2024-03-31[rubygems/rubygems] [commands/rebuild] Remove unused DATE_FORMAT constant.Ellen Marie Dash
https://github.com/rubygems/rubygems/commit/3c4e3fadc9
2024-03-29[rubygems/rubygems] [gemspec_helpers] Fix Rubocop warning.Ellen Marie Dash
https://github.com/rubygems/rubygems/commit/4ebf6ee5ac
2024-03-29[rubygems/rubygems] [build, rebuild] Split common find_gemspec() out to ↵Ellen Marie Dash
GemspecHelpers. https://github.com/rubygems/rubygems/commit/2f80a595c4
2024-03-29[rubygems/rubygems] Improve formatting of "gem rebuild --help" output.Ellen Marie Dash
https://github.com/rubygems/rubygems/commit/701550f9dd
2024-03-29[rubygems/rubygems] [rebuild] If --diff is not passed and a rebuild fails, ↵Ellen Marie Dash
suggest passing --diff. https://github.com/rubygems/rubygems/commit/7caadd182c
2024-03-29[rubygems/rubygems] [rebuild_command] Bail early if the RubyGems version ↵Ellen Marie Dash
doesn't match. https://github.com/rubygems/rubygems/commit/a691170dc7
2024-03-29[rubygems/rubygems] [rebuild_command] Use Gem.* helpers.Ellen Marie Dash
https://github.com/rubygems/rubygems/commit/8644ce7193
2024-03-29[rubygems/rubygems] [rebuild_command] Clean up help text.Ellen Marie Dash
https://github.com/rubygems/rubygems/commit/4446389f2e
2024-03-29[rubygems/rubygems] [rebuild_command] Use temporary directory instead of the ↵Ellen Marie Dash
working directory. https://github.com/rubygems/rubygems/commit/f2e4e5b56f
2024-03-29[rubygems/rubygems] [rebuild_command] Add --diff flag to try using diffoscope.Ellen Marie Dash
https://github.com/rubygems/rubygems/commit/3e9545193a
2024-03-29[rubygems/rubygems] [rebuild_command] Avoid leaking files.Ellen Marie Dash
https://github.com/rubygems/rubygems/commit/3b88553d0d
2024-03-29[rubygems/rubygems] Add "gem rebuild" command.Ellen Marie Dash
https://github.com/rubygems/rubygems/commit/6d661573f0
2024-03-28Allow FormatError to take either String or Gem for sourceJake Zimmerman
Most of the calls to `FormatError.new` pass `@gem` for the second argument, which has a `path` method. But in one case—on package.rb:691 in `verify_gz`, the `source` argument is a `String`. So if there's ever a GZip decode error when attempting to read the contents of the `data.tar.gz` file, instead of reporting the underlying GZip error (which might be something like "unexpected end of file"), we would report instead a NoMethodError coming from package.rb ``` Exception while verifying sorbet-0.5.11301.gem ERROR: While executing gem ... (NoMethodError) undefined method `path' for "data.tar.gz":String @path = source.path ^^^^^ ``` There are two ways to fix this: 1. Make `FormatError#initialize` aware of the fact that `source` might sometimes be a `String` 2. Make the call to `FormatError.new` in `verify_gz` pass `@gem` instead of `entry.full_name`. I've chosen 1 because I think it's more useful to see "unexpected end of file in data.tar.gz" instead of "unexpected end of file in sorbet-0.5.11301.gem." The end of file **is actually** in data.tar.gz, not in the gem file itself, which was decoded successfully.
2024-03-27Update vendored resolv to 0.4.0Hiroshi SHIBATA
2024-03-25[rubygems/rubygems] Fix resolver bug where ActivationRequest objects were ↵David Rodriguez
not properly compared They were delegating their `#hash` value to a class not overriding that method, and so were returning inconsistent results. https://github.com/rubygems/rubygems/commit/723e4ee0fc
2024-03-24[rubygems/rubygems] Remove typo nameNobuyoshi Nakada
It is more 2 years since #5109, probably enough time to warn. https://github.com/rubygems/rubygems/commit/1e9433e77f
2024-03-22[rubygems/rubygems] Respect global umask when writing regular filesDavid Rodriguez
https://github.com/rubygems/rubygems/commit/fd5cb7396f
2024-03-19Don't replace doc url for vendored filesHiroshi SHIBATA
2024-03-05[DOC] fix some commentscui fliter
Signed-off-by: cui fliter <imcusg@gmail.com>
2024-02-27[rubygems/rubygems] Warn on empty or open required_ruby_version ↵Josef Šimánek
specification attribute. https://github.com/rubygems/rubygems/commit/e4bb33747a
2024-02-26[rubygems/rubygems] Skip to load vendored libraries if it's already loadedHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/3f5093fac9
2024-02-26[rubygems/rubygems] Use wrapper file for vendored tsortHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/93514afa28
2024-02-26[rubygems/rubygems] Rename wrapper files for vendored libraries with ↵Hiroshi SHIBATA
'vendored_' prefix https://github.com/rubygems/rubygems/commit/cfc908c8c1
2024-02-21[rubygems/rubygems] Commit missing new methodSamuel Giddins
https://github.com/rubygems/rubygems/commit/5265b4ce3d
2024-02-21[rubygems/rubygems] Use a writer method on the module instead of a constantSamuel Giddins
https://github.com/rubygems/rubygems/commit/240d84eea3
2024-02-21[rubygems/rubygems] Control whether YAML aliases are enabled in ↵Samuel Giddins
Gem::SafeYAML.safe_load via a constant https://github.com/rubygems/rubygems/commit/6bedb1cb79
2024-02-21[rubygems/rubygems] Use Hash#compactHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/9d4ff6ff30 Co-authored-by: Samuel Giddins <segiddins@segiddins.me>
2024-02-21[rubygems/rubygems] Skip nil-value keys to make metadata reproducibleNobuyoshi Nakada
Nil-value keys in a mapping end with a space or not depending on libyaml versions, and result metadata are different per platforms. This commit makes to skip such keys to make metadata reproducible accross platforms. https://github.com/rubygems/rubygems/commit/74b4db8d30
2024-02-21[rubygems/rubygems] Use https instead of httpHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/bcbe6f7b7a
2024-02-20[rubygems/rubygems] Keep Gem.install_extension_in_lib for compatibilityHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/b2bf239147
2024-02-20[rubygems/rubygems] Now install extension in lib is trueHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/bbcad80772
2024-02-20[rubygems/rubygems] Gem.install_extension_in_lib is now under the ↵Hiroshi SHIBATA
Gem.configuration https://github.com/rubygems/rubygems/commit/c394375b28
2024-02-20[rubygems/rubygems] Allow to set install_extension_in_lib as Gem configurationHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/c59d40f425
2024-02-13[rubygems/rubygems] Update SPDX license list as of 2024-02-08License Update
https://github.com/rubygems/rubygems/commit/ec3de95d79
2024-02-07[rubygems/rubygems] #to_spec must fallback for prereleases alwaysKim Emmanuel
https://github.com/rubygems/rubygems/commit/6302798a32
2024-02-07[rubygems/rubygems] fix Gem::Dependency#to_spec returning nil when ↵Kim Emmanuel
prerelease is the only available version https://github.com/rubygems/rubygems/commit/a7dcc7214b
2024-02-05[rubygems/rubygems] Revert "Simplify how extensions are built"David Rodriguez
This reverts commit https://github.com/rubygems/rubygems/commit/0b8faf1e3926. https://github.com/rubygems/rubygems/commit/7528e0f1ce
2024-02-02[rubygems/rubygems] feat: Gem::Specification#initialize_copy deep-copies ↵Mike Dalessio
requirements to avoid accidentally mutating the original's state when doing: ```ruby spec2 = spec.dup spec2.required_rubygems_version.concat([">= 3.3.22"]) ``` see https://github.com/rake-compiler/rake-compiler/pull/236 for a real-world use case that would be made simpler with this behavior. https://github.com/rubygems/rubygems/commit/c1d52389f0
2024-02-02[rubygems/rubygems] feat: Gem::Requirement#initialize_copy deep-copies ↵Mike Dalessio
@requirements to avoid accidentally mutating the original's state when doing: ```ruby req2 = req.dup req2.concat([">= 3.3.22"]) ``` see https://github.com/rake-compiler/rake-compiler/pull/236 for a real-world use case that would be made simpler with this behavior. https://github.com/rubygems/rubygems/commit/8e0c03144e
2024-02-02[rubygems/rubygems] Fix var name and also update other placesVitaliy Serov
https://github.com/rubygems/rubygems/commit/f72a7989cd
2024-02-02[rubygems/rubygems] Change gem login message to clear up that username can ↵Vitaliy Serov
be also used https://github.com/rubygems/rubygems/commit/2bf6163eaf
2024-01-30[rubygems/rubygems] Update namespace Gem::Resolver::Molinillo to Gem::MolinilloHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/6c4caf3ab0
2024-01-30[rubygems/rubygems] Rename molinillo wrapper file to vendored_molinillo.rbHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/d7c15f6fd7
2024-01-30Move molinillo under the vendor directoryHiroshi SHIBATA
2024-01-30Move tsort under the vendor directoryHiroshi SHIBATA
2024-01-30Move timeout under the vendor directoryHiroshi SHIBATA
2024-01-30Move net-http under the vendor directoryHiroshi SHIBATA