msfukuiの日記

おおまさのみみはそらのみみ。

Semantic Versioning を扱う gem を作ったら既にありました。

書いた後で気が付いた。
自分、ちゃんと最初に調べておこうよー。

GitHub - joecorcoran/semantic_versioning: A Ruby utility for working with software version numbers as specified by Semantic Versioning (semver.org). Ruby classes to represent versions and sorted sets of versions. No funny business. Updated as the SemVer spec develops.

でも上記のソースコードや Gem::Version, bundler のコードを読んでていろんな書き方があって楽しかったです。
あと、travis.ci の設定や gem の作り方とかも楽しかったです。
言語の勉強のよい題材だったりもするのかなー、とも思いました。