openai/openai-ruby: Ruby 4 compatibility

A small contribution to OpenAI’s Ruby API client from yours truly was just merged.

It adds the required cgi gem dependency, which is no longer part of the stdlib in Ruby 4. It also expands CI to cover all supported Ruby versions to help prevent future issues like this.

OpenAI Ruby client contribution