Skip to content

Releases: bfoz/units-ruby

Version 3.0.1

23 Mar 06:43
Compare
Choose a tag to compare
  • Fixed dividing zero-with-units by number-with-units
  • Fixed coercion of Rationals to play nice with Operators

Version 3

22 Mar 07:11
Compare
Choose a tag to compare
  • Removed support for addition and subtraction with plain old literals

Version 2.4

18 Nov 21:16
Compare
Choose a tag to compare
  • Better comparisons with Operator proxies
  • Added convert_to for explicitly converting units
  • Added a conversion cache to Operator

Version 2.3

15 Apr 05:33
Compare
Choose a tag to compare
  • Architectural cleaning
  • Added per_ style unit construction
  • Operations on unlike units now yield proxy objects instead of raising exceptions
  • Added unit-query methods (i.e. three_meters.meters?)

Version 2.2

13 Jan 05:20
Compare
Choose a tag to compare

Bug fixes and tweaks

Version 2.1

13 Jan 05:20
Compare
Choose a tag to compare
v2.1

Version 2.1