Age | Commit message (Collapse) | Author |
|
https://github.com/rubygems/rubygems/commit/4158034d89
|
|
https://github.com/rubygems/rubygems/commit/ee0bef2786
|
|
https://github.com/rubygems/rubygems/commit/b2a88983db
|
|
https://github.com/rubygems/rubygems/commit/3c4e3fadc9
|
|
https://github.com/rubygems/rubygems/commit/4ebf6ee5ac
|
|
GemspecHelpers.
https://github.com/rubygems/rubygems/commit/2f80a595c4
|
|
https://github.com/rubygems/rubygems/commit/701550f9dd
|
|
suggest passing --diff.
https://github.com/rubygems/rubygems/commit/7caadd182c
|
|
doesn't match.
https://github.com/rubygems/rubygems/commit/a691170dc7
|
|
https://github.com/rubygems/rubygems/commit/8644ce7193
|
|
https://github.com/rubygems/rubygems/commit/4446389f2e
|
|
working directory.
https://github.com/rubygems/rubygems/commit/f2e4e5b56f
|
|
https://github.com/rubygems/rubygems/commit/3e9545193a
|
|
https://github.com/rubygems/rubygems/commit/3b88553d0d
|
|
https://github.com/rubygems/rubygems/commit/6d661573f0
|
|
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.
|
|
|
|
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
|
|
It is more 2 years since #5109, probably enough time to warn.
https://github.com/rubygems/rubygems/commit/1e9433e77f
|
|
https://github.com/rubygems/rubygems/commit/fd5cb7396f
|
|
|
|
Signed-off-by: cui fliter <imcusg@gmail.com>
|
|
specification attribute.
https://github.com/rubygems/rubygems/commit/e4bb33747a
|
|
https://github.com/rubygems/rubygems/commit/3f5093fac9
|
|
https://github.com/rubygems/rubygems/commit/93514afa28
|
|
'vendored_' prefix
https://github.com/rubygems/rubygems/commit/cfc908c8c1
|
|
https://github.com/rubygems/rubygems/commit/5265b4ce3d
|
|
https://github.com/rubygems/rubygems/commit/240d84eea3
|
|
Gem::SafeYAML.safe_load via a constant
https://github.com/rubygems/rubygems/commit/6bedb1cb79
|
|
https://github.com/rubygems/rubygems/commit/9d4ff6ff30
Co-authored-by: Samuel Giddins <segiddins@segiddins.me>
|
|
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
|
|
https://github.com/rubygems/rubygems/commit/bcbe6f7b7a
|
|
https://github.com/rubygems/rubygems/commit/b2bf239147
|
|
https://github.com/rubygems/rubygems/commit/bbcad80772
|
|
Gem.configuration
https://github.com/rubygems/rubygems/commit/c394375b28
|
|
https://github.com/rubygems/rubygems/commit/c59d40f425
|
|
https://github.com/rubygems/rubygems/commit/ec3de95d79
|
|
https://github.com/rubygems/rubygems/commit/6302798a32
|
|
prerelease is the only available version
https://github.com/rubygems/rubygems/commit/a7dcc7214b
|
|
This reverts commit https://github.com/rubygems/rubygems/commit/0b8faf1e3926.
https://github.com/rubygems/rubygems/commit/7528e0f1ce
|
|
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
|
|
@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
|
|
https://github.com/rubygems/rubygems/commit/f72a7989cd
|
|
be also used
https://github.com/rubygems/rubygems/commit/2bf6163eaf
|
|
https://github.com/rubygems/rubygems/commit/6c4caf3ab0
|
|
https://github.com/rubygems/rubygems/commit/d7c15f6fd7
|
|
|
|
|
|
|
|
|