Skip to content

Releases: olbrich/ruby-units

v4.0.3

23 Mar 14:24
dcacf4a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.0.2...v4.0.3

v4.0.2

06 Feb 12:33
89fb3a8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.0.1...v4.0.2

v4.0.1

02 Nov 13:03
bb198f8
Compare
Choose a tag to compare

What's Changed

  • Allow for underscores in unit names and aliases. by @olbrich in #331
  • Version 4.0.1, update dependencies by @olbrich in #332

Full Changelog: v4.0.0...v4.0.1

v4.0.0

04 Oct 01:38
e90fc78
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 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

02 Oct 22:35
Compare
Choose a tag to compare

What's Changed

  • Use module prepend by @olbrich in #266
    • [Breaking change] This version has some minor breaking changes around the usage of 'to_unit'.
  • Refactor caching by @olbrich in #271

Full Changelog: v2.4.1...v3.0.0

v2.4.1

29 Aug 18:23
b6979d7
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.2...v2.4.1

Maintenance and Ruby 3.0

29 Dec 16:27
b7c1903
Compare
Choose a tag to compare

#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.

Bugfixes

26 Sep 17:29
Compare
Choose a tag to compare

Fixes #175 - Addition and subtraction of unitless values.

bugfixes and performance

06 Mar 22:20
Compare
Choose a tag to compare
  • 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.

Fix rational scalars

07 Dec 14:26
Compare
Choose a tag to compare
  • fixes Unit sometimes converts to Rational, sometimes converts to Float, sometimes Fixnum (#159)