Shopify / measured

Encapsulate measurements and their units in Ruby and Ruby on Rails.
MIT License
337 stars 28 forks source link

Also downcase conversion unit for CaseInsensitiveUnit #75

Closed thegedge closed 7 years ago

thegedge commented 7 years ago

We downcase everything else, so this was a discrepancy which I would even call a bug.

The conversion unit wasn't actually used in any comparison operations, so this doesn't actually change any internal behaviour, and since CaseInsensitiveUnit is a concept that was introduced for 2.0, doesn't break any client of the library except those using the prereleases.