plurimath 0.8.6 → 0.8.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c30796b1e8f3dc56d40ceef4b2514dadf60a951f55fabb89177abb2431333e62
4
- data.tar.gz: 16f211f6fc509983f762d119e0f736cee4670295d24a14d16177f029c8a1d898
3
+ metadata.gz: '0648b7ffe98de3f19067203ce8f5fc58cfed078c3c78a1b6bde359b9ad7948f0'
4
+ data.tar.gz: bffd63b86cc6c8316dbe47bb6e3eb5fcac26f73b6ffc4622ecd31b1f0229b0d7
5
5
  SHA512:
6
- metadata.gz: 01c6f282735448b7e776a76d7d3d458ba01276162cc999330125e20c1a7972d8c2aa18bdee3512256ab403a2beb0f605e0493e774f44077cc1da462e51895e33
7
- data.tar.gz: e7a9152de4bcdd8aeb9ef01b78f12b38900d72f2fab51d8ba439dc1614f92ada6128c2225eaa8ed1f0d28e19e689fa1739725008422b090870b2927dfaf43358
6
+ metadata.gz: d0402ad97a49a4374ce6491a6c9a8130645affae8d7f3b15efca9f20f59d476a97609169dac38483f8575806cfb569876aba14fc3ce3edbe881332f53bc8551d
7
+ data.tar.gz: a6729ce0456b3b5d277799cb0315bc5611b428ee7dc62284500783b9fb1d0c401c36f38c4e07403577cb8b3f330114930b774eb0e13b4be70f8f03e9595e36a8
@@ -50,7 +50,6 @@ module Plurimath
50
50
  end
51
51
 
52
52
  def localize_number(num)
53
- num = num.match?(/\./) ? num.to_f : num.to_i
54
53
  localized = localize(BigDecimal(num.to_s))
55
54
  return localized.to_s if @precision.zero?
56
55
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Plurimath
4
- VERSION = "0.8.6"
4
+ VERSION = "0.8.7"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plurimath
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.6
4
+ version: 0.8.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-05 00:00:00.000000000 Z
11
+ date: 2024-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: twitter_cldr