Skip to content

v0.0.7

Choose a tag to compare

@sebscholl sebscholl released this 02 May 22:21
· 15 commits to main since this release
0e08ec7

Fixed

  • Display#to_s now formats the decimal value using ui_decimals, matching ui(decorated: false). Previously to_s used raw BigDecimal#to_s("F") which dropped trailing zeros (USDC|1.5 instead of USDC|1.50), defeating the purpose of the compact format carrying the display-ready amount.
  • Amount#as_json returns the compact string (to_s), preventing a SystemStackError (stack level too deep) when calling as_json or to_json on an Amount in Rails.
  • Removed LICENSE.txt from gemspec files list (moved to repo root).