xeroizer-float 2.15.3.14 → 2.15.3.15

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 CHANGED
@@ -1 +1 @@
1
- 2.15.3.14
1
+ 2.15.3.15
@@ -55,6 +55,7 @@ module Xeroizer
55
55
  decimal :sub_total, :calculated => true
56
56
  decimal :total_tax, :calculated => true
57
57
  decimal :total, :calculated => true
58
+ decimal :remaining_credit
58
59
  datetime_utc :updated_date_utc, :api_name => 'UpdatedDateUTC'
59
60
  string :currency_code
60
61
  decimal :currency_rate, :calculated => true
@@ -38,6 +38,8 @@ class CreditNoteTest < Test::Unit::TestCase
38
38
  assert_equal(credit_note.attributes[:sub_total], credit_note.sub_total)
39
39
  assert_equal(credit_note.attributes[:total_tax], credit_note.total_tax)
40
40
  assert_equal(credit_note.attributes[:total], credit_note.total)
41
+
42
+ assert_equal(credit_note.attributes[:remaining_credit], credit_note.remaining_credit)
41
43
  end
42
44
  end
43
45
 
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.14
4
+ version: 2.15.3.15
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-05-20 00:00:00.000000000 Z
13
+ date: 2013-06-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: builder