When is ruby-3.5.0-preview2 scheduled to be released? Apparently the cgi library is going to be partially removed in 3.5.0-preview2, but is still present in 3.5.0-preview1.
https://bugs.ruby-lang.org/issues/21258
Maintainer of chruby, ruby-install, bundler-audit, digest-crc, spidr, ronin, and more on GitHub!
When is ruby-3.5.0-preview2 scheduled to be released? Apparently the cgi library is going to be partially removed in 3.5.0-preview2, but is still present in 3.5.0-preview1.
https://bugs.ruby-lang.org/issues/21258
Added Ruby 3.4.4 to the ruby-versions database. ruby-install users can now safely upgrade to Ruby 3.4.4.
$ ruby-install -U ruby-3.4.4
https://www.ruby-lang.org/en/news/2025/05/14/ruby-3-4-4-released/
https://github.com/postmodern/ruby-install#readme
Just added Ruby 3.5.0-preview1 to the ruby-versions database for ruby-install users. You can now safely install Ruby 3.5.0-preview1 and test it.
$ ruby-install -U ruby-3.5.0-preview1
https://www.ruby-lang.org/en/news/2025/04/18/ruby-3-5-0-preview1-released/
https://github.com/postmodern/ruby-install#readme
Added Ruby 3.3.8 to the ruby-versions database for ruby-install users.
$ ruby-install -U ruby-3.3.8
https://www.ruby-lang.org/en/news/2025/04/09/ruby-3-3-8-released/
Added Ruby 3.4.3 to the ruby-versions database for ruby-install users.
$ ruby-install -U ruby-3.4.3
https://www.ruby-lang.org/en/news/2025/04/14/ruby-3-4-3-released/
Added Ruby 3.1.7 and 3.2.8 to the ruby-versions database for ruby-install users. These versions fix a CVE in the bundled REXML and RSS gems. Note: the 3.1 series has now reached EoL.
$ ruby-install -U ruby-3.1.7
$ ruby-install -U ruby-3.2.8
https://www.ruby-lang.org/en/news/2025/03/26/ruby-3-1-7-released/
https://www.ruby-lang.org/en/news/2025/03/26/ruby-3-2-8-released/
#ruby #ruby_install #rubyinstall
This is why I'm partial to Parslet as my go-to parser library. No generating files, no filling in missing methods, just write your rules and go.
https://kschiess.github.io/parslet/
Although, this gem needs some maintenance work. Need to figure out why the multi-threaded Rack::Handler::HTTP specs are hanging and need to ensure it works with Rack 3.x. If you're looking for a small Open Source Ruby project to contribute to, checkout net-http-server's open issues.
Released net-http-server 0.2.4 to fix warnings under Ruby 3.4.0. net-http-server is like WEBrick, but with a real HTTP parser and cleaner code.
https://github.com/postmodern/net-http-server/releases/tag/v0.2.4
@ilikepi hmm it accepts all of those as a single argument. That would work except I want to support appending to a String or writing to a file (who's path is given as a String). So I need some way to differentiate those. Initially I thought about having one method which takes different mutually exclusive keyword arguments (output: IO/StringIO, buffer: String, path: String). I could also split the method up into smaller methods, but then what's the defacto naming convention for those methods?
What are some examples of methods that write output to an optional output stream or file? Trying to figure out the best way to name this method and possibly it's keyword arguments, or split it up into smaller methods that return a String, write to an IO object, or open a file and write to it, respectively.
@svoop @pointlessone there's also String.new.
Hot Take: +"" and -"" syntax is weird.
Has someone already do a micro-benchmark of calling a method with keyword arguments with default nil values vs. positional arguments with default nil values?
@untitaker but how do you do this *automatically* so I don't have to manually find each individual commit based on it's short-hash or summary.
Lazy Git: how do you do a `git rebase -i` but automatically squash any commit to a certain directory into one giant commit?
Feature Idea that might make @github either super awesome or super annoying: add gradients and animations to Issue Labels. You could add those shifting color gradient animations, pride colors, holographic/vaporwave colors, water reflection textures, flame animation, electric spark animations, that sparkle animation that Discord uses, lots of possibilities.
@eljojo I think what I want is to generate a new `Class.new(GenericThingClass)` with the configuration baked in.
@eljojo and pass in the default values by overriding `initialize` and calling `super(...)` with the namespace's config or setting constants?