-
According to https://rubygems.org/gems/puma/versions/6.3.0, It looks like the problem began with version
How to Reproduce the ProblemI am using a Ruby 3.2.2 with rbenv on macOS 13.4.1 (22F82), but this issue persists on other versions of Ruby and Linux operating systems that I have tried. The following script demonstrates the issue: fetcher = Gem::SpecFetcher.fetcher
gem_dependency = Gem::Dependency.new 'puma', ">= 6.3.0"
remote_dependencies, = fetcher.spec_for_dependency gem_dependency
remote_spec, _ = remote_dependencies.first
puts remote_spec.date
# Expected Result: 2023-05-23 00:00:00 UTC
# Actual Result: 1980-01-01 00:00:00 UTC Response from RubyGemsI've already opened an issue #6815 with RubyGems, and this was their response.
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
I made this an discussion as I don't think it is something actionable in the Puma code base Also probably only @nateberkopec that can shed more light on this :) |
Beta Was this translation helpful? Give feedback.
-
Tried your script and it reproduces for me as well. But |
Beta Was this translation helpful? Give feedback.
-
Apparently I duplicated this in #3198 - which has some more investigation in it. |
Beta Was this translation helpful? Give feedback.
-
@Daniel-N-Huss This issue still persists in Puma v6.4.0. |
Beta Was this translation helpful? Give feedback.
-
Just for clarity: I am aware this issue exists, but it is very low on my list of things to fix. |
Beta Was this translation helpful? Give feedback.
This is pretty spot on https://github.com/NixOS/nixpkgs/blob/78faafa6e6684acd1ec9770161a85d3b83caf7c5/pkgs/stdenv/generic/setup.sh#L403