You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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).