Ruby Units Versions Save

A unit handling library for ruby

v4.0.3

1 month ago

What's Changed

Full Changelog: https://github.com/olbrich/ruby-units/compare/v4.0.2...v4.0.3

v4.0.2

3 months ago

What's Changed

Full Changelog: https://github.com/olbrich/ruby-units/compare/v4.0.1...v4.0.2

v4.0.1

6 months ago

What's Changed

Full Changelog: https://github.com/olbrich/ruby-units/compare/v4.0.0...v4.0.1

v4.0.0

7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/olbrich/ruby-units/compare/v3.0.0...v4.0.0

WARNING: The time format HH:mm:ss,nsec has been replaced with HH:mm:ss.msec to better line up with how people use this and to align better with the Time parsing in Ruby.

v3.0.0

1 year ago

What's Changed

Full Changelog: https://github.com/olbrich/ruby-units/compare/v2.4.1...v3.0.0

v2.4.1

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/olbrich/ruby-units/compare/v2.3.2...v2.4.1

v2.3.2

3 years ago

#178 Removes Jeweler #213 Fix specs related to differences in Complex comparisons in Ruby 2.7 #211 Add support for Ruby 3.0 and general maintenance. Readme also updated.

Support for Ruby 2.3 and 2.4 has been dropped. This means that I will not be fixing bugs related to those ruby versions, and I will not be avoiding using language features added in 2.5+. At this point there are no known incompatibilities with older versions.

v2.3.1

5 years ago

Fixes #175 - Addition and subtraction of unitless values.

v2.3.0

6 years ago
  • Update ruby versions (#163)
  • fix: temperature converting rational issue (#164)
  • Fix add (+) and subtract (-) for BigDecimal scalars. (#167)

#167 significantly improves performance when summing arrays of Units, particularly when the scalar is a BigDecimal, but represents a potentially breaking change.

v2.2.1

6 years ago
  • fixes Unit sometimes converts to Rational, sometimes converts to Float, sometimes Fixnum (#159)