istox 0.1.157.11.5 → 0.1.157.11.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b01d1847ed67c15cb068f8dcf9d1d6a53abbeb0b74da4b23f4a296de13f62972
4
- data.tar.gz: e657d854a701397b604b38c5d04316e4836d2a3f693e3ba439ba1cbf7c0d2283
3
+ metadata.gz: 79fdadccf1aefbf3f9fa94231c164fd6c8d78cc98e30c33a737e38fc3d8d9587
4
+ data.tar.gz: 97479d667d74a9d8a1a46fa8b474553c30323837d8a25c74f0b1a4e5c5c20e04
5
5
  SHA512:
6
- metadata.gz: 6832e5070d6e31057d1bc13d76cc4b50d5a10b8f8903a557975cf529c59bffa329eb144b567711c1571ec063421a693ec592ed2baeb9600f7c6293af33c061c5
7
- data.tar.gz: '0494c2c63f494f3bc1459d8c345504312286e072166e85c51d6f53d4f810436d1727a5d10f7fe38358132bc9bd846f72192c3b56127cf14884db584e9ee42480'
6
+ metadata.gz: 6e9b016f3904899036f86e6b19112380047b589884c123917775713ba3f9a763f9b049a5b14b566117a9f6162959afa59fb32125e2ecd68d6bf5b05aef775859
7
+ data.tar.gz: 7b7ef9208fda580d05fc0c58e9b1c050f35c62624085e0d4712ad7cfe7c58d83502bd58b8d9fc5e5e46bea098d34b73554dd3a1f0b667d1175dcd7d429d49cdb
@@ -18,7 +18,7 @@ module Istox
18
18
 
19
19
  # format a money, eg. 20000.134 > SGD 20,000.14, position can be :front or :behind, abs_num: whether to absolute the number
20
20
  def money(input, round_mode: :half_up, precision: 2, currency:, position: :front, abs_num: false, hide_currency: false)
21
- precision = ::CommonHelper.get_currency_decimal(currency, precision)
21
+ precision = ::Istox::CommonHelper.get_currency_decimal(currency, precision)
22
22
 
23
23
  result = number(input, round_mode: round_mode, precision: precision, abs_num: abs_num)
24
24
 
data/lib/istox/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Istox
2
- VERSION = '0.1.157.11.5'.freeze
2
+ VERSION = '0.1.157.11.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: istox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.157.11.5
4
+ version: 0.1.157.11.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siong Leng