News for hackers. Stuff that matters.
Re:Show HN: Shale – a Ruby object mapper and serializer for ... by beerkg on Tuesday May 31, 2022 @10:20AM (#31569795)
I have a mixed feelings about this, standard library's vulnerabilities are part of Ruby's vulnerabilities, so you would update your Ruby version anyway. But you're right specifing version explicitly would prevent this.
Re:Show HN: Shale – a Ruby object mapper and serializer for ... by zwp on Tuesday May 31, 2022 @11:30AM (#31570687)
I think one of the motivations for splitting the stdlib into gems was for exactly for this kind of scenario: some users might not be able to update their Ruby immediately. The ruby-lang advisory explicitly recommends bumping the REXML version.
Re:Show HN: Shale – a Ruby object mapper and serializer for ... by NegativeLatency on Tuesday May 31, 2022 @12:13PM (#31571316)
I have definitely been in situations where I couldn't update the ruby version in a timely manner, but have been able to bump a gem version (like in this example)