ci_power 0.0.30 → 0.0.31
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ci_power/debt_claim.rb +2 -2
- data/lib/ci_power/version.rb +1 -1
- metadata +2 -2
data/lib/ci_power/debt_claim.rb
CHANGED
@@ -34,11 +34,11 @@ module CiPower
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def amount
|
37
|
-
@amount.abs
|
37
|
+
@amount.to_f.abs
|
38
38
|
end
|
39
39
|
|
40
40
|
def amount_type
|
41
|
-
@amount_type ||= @amount < 0 ? 'GU-GL' : 'RG-GL'
|
41
|
+
@amount_type ||= @amount.to_f < 0 ? 'GU-GL' : 'RG-GL'
|
42
42
|
end
|
43
43
|
|
44
44
|
def to_cip(with_line_terminator = true)
|
data/lib/ci_power/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: ci_power
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.31
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Maik Duff
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-02-28 00:00:00 +01:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|