Skip to content

Use Versionaire instead #2

@bkuhlmann

Description

@bkuhlmann

Hello. 👋 This isn't really an issue in the truest sense but wasn't sure where to log this information so opted to create an issue on this project instead. I was surprised to see this gem show up and had only stumbled across it because I had been doing some OAuth work as of late.

Anyway, I'm the maintainer of the Vesionaire gem -- which is actively maintained -- where I had solved this issue back in 2016. I've written and spoken about versioning within Ruby for many years and use Versionaire in all of my projects.

The main qualm I have this with the design of this gem and my gem is that while we are both adding version support to Ruby but this project is not providing a primitive type. In essence a whole value object that is immutable but easily comparable. With structs you now have proper encapsulation of version data which provides a richer experience. It looks like there are performance concerns (although, I've not checked) since the design of this gem constantly requires one to obtain major, minor, patch level information by constantly converting to an array and then using magic numbers to pluck out which segment of the version you want to use. This operation is done repeatedly throughout this design.

Anyway, I'm not sure what actions are to be taken here. Mostly wanted to pop up and express concerns with this design and how it conflicts with an established gem. If anything, I'd think you'd want to point people to the Versionaire gem since it provides a much more robust Object API. 😅

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions