intercity / intercity-next

Web control panel to deploy apps on your servers (with Dokku)
https://intercity.io/
MIT License
116 stars 23 forks source link

Move VersionParser into its own gem #209

Closed jvanbaarsen closed 8 years ago

jvanbaarsen commented 8 years ago

We are using the VersionChecker in version.intercity.io as well. In order to have low maintenance if there is a bug in that piece of code, I have pulled it out into it's own gem.

michiels commented 8 years ago

@jvanbaarsen interesting! What does this VersionParser gem do?

jvanbaarsen commented 8 years ago

@michiels Exactly the same as the pulled out code

michiels commented 8 years ago

@jvanbaarsen Ah, it's more like VersionComparer instead of VersionParser. It didn't really tell me the "end benefit" based on the naming.

jvanbaarsen commented 8 years ago

@michiels It is mainly parsing a version that you put in. One of the side benefits is that you can compare.