Patrik Ragnarsson

Results 771 comments of Patrik Ragnarsson

Yeah this looks like a bug `uri` blows up on it: ``` irb(main):004:0> URI.parse("http://`www.example.com") /Users/dentarg/.rubies/3.2.2/lib/ruby/3.2.0/uri/rfc3986_parser.rb:66:in `split': bad URI(is not URI?): "http://`www.example.com" (URI::InvalidURIError) from /Users/dentarg/.rubies/3.2.2/lib/ruby/3.2.0/uri/rfc3986_parser.rb:71:in `parse' from /Users/dentarg/.rubies/3.2.2/lib/ruby/3.2.0/uri/common.rb:193:in `parse' from (irb):4:in...

Reference: Puma require Ruby 2.4 or later: https://github.com/puma/puma/blob/6d3fd09e2d36bd63ccbb6bc71a980553aed9cc28/puma.gemspec#L31

As a reference, [Bundler 2.5.0](https://github.com/rubygems/rubygems/releases/tag/bundler-v2.5.0) released today dropped support for Ruby 2.6 and Ruby 2.7. [RubyGems 3.5.0](https://github.com/rubygems/rubygems/releases/tag/v3.5.0) too.

Good to know, JRuby 9.3 targets Ruby 2.6: https://en.wikipedia.org/wiki/JRuby#Release_history

Examples * All PRs wanting to change the gemspec (misses there's a rake task to update) * https://github.com/sporkmonger/addressable/pull/526 * ```shell $ b e rake --trace clobber ** Invoke clobber (first_time)...

https://blog.rubygems.org/2023/12/14/trusted-publishing.html

> Might be worth exploring SLSA provenance too if we're making release changes. It will come: https://github.com/rubygems/rubygems.org/issues/4286#issuecomment-1854941267

I tested "Trusted Publishers" with a dummy gem over at https://github.com/spinels/slenips

It worked 🎉 https://github.com/sporkmonger/addressable/actions/runs/9612404033/job/26512966861#step:8:13 > Successfully registered gem: addressable (2.8.7)

Cool. Maybe possible. I really want to find some time to properly play with this myself and merge it. It is really awesome work by @jarthod here. And I'm also...