Skip to content

Fails due to Fixnum removal after upgrading to Ruby 3.2 #15

@hwo411

Description

@hwo411

Ruby 3.2 removed Fixnum and Sequel bit fields now fails with uninitialized constant Sequel::Plugins::BitFields::Fixnum.

https://github.com/sdepold/sequel-bit_fields/blob/master/lib/sequel/plugins/bit_fields.rb#L82

We need to change it to Integer, wonder if we should release next major version and require Ruby > 2.4 or just conditionally wrap this part to use Integer after Ruby 2.4 and Fixnum before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions