Closed
Description
Version
Docker's ruby:3.3.2-bookworm
image.
Ruby 3.3.2 implicitly includes CSV 3.2.8
We recently bumped CSV to 3.3.2 in our Gemfile.lock
Reproduction
CSV.open(Tempfile.new.path, 577)
Expected Behavior
CSV.open returns an IO object/file handle.
Current Behavior
NoMethodError: undefined method
include?' for an instance of Integer`
Additional Info
This previously worked in 3.2.8. We believe that commit b706d91 introduced this behavior.
Our understanding of the docs is that CSV.open mimics Ruby's File.open mode argument, which does accepts numeric permissions File.open(Tempfile.new.path, 577)
returns a file handle.
Metadata
Metadata
Assignees
Labels
No labels