xeroizer-float 2.15.3.15 → 2.15.3.16
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.
- data/VERSION +1 -1
- data/lib/xeroizer/models/invoice.rb +5 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.15.3.
|
|
1
|
+
2.15.3.16
|
|
@@ -113,7 +113,11 @@ module Xeroizer
|
|
|
113
113
|
|
|
114
114
|
def currency_rate
|
|
115
115
|
if attributes[:currency_rate]
|
|
116
|
-
|
|
116
|
+
if attributes[:currency_rate].is_a? BigDecimal
|
|
117
|
+
attributes[:currency_rate]
|
|
118
|
+
else
|
|
119
|
+
BigDecimal.new(attributes[:currency_rate])
|
|
120
|
+
end
|
|
117
121
|
else
|
|
118
122
|
BigDecimal.new('1.0')
|
|
119
123
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: xeroizer-float
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.15.3.
|
|
4
|
+
version: 2.15.3.16
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2013-06-
|
|
13
|
+
date: 2013-06-19 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: builder
|