gnucash 1.0.2 → 1.0.3

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.
@@ -13,6 +13,9 @@ module Gnucash
13
13
  # _String_: The description of the transaction
14
14
  attr_accessor :description
15
15
 
16
+ # _Array_ of _Hash_ with keys +account+ and +value+
17
+ attr_accessor :splits
18
+
16
19
  # Create a new Transaction object
17
20
  # === Arguments
18
21
  # +book+ _Book_:: The Gnucash::Book containing the transaction
@@ -32,7 +35,7 @@ module Gnucash
32
35
  end
33
36
  account.add_transaction(AccountTransaction.new(self, value))
34
37
  {
35
- account_id: account_id,
38
+ account: account,
36
39
  value: value,
37
40
  }
38
41
  end
@@ -1,4 +1,4 @@
1
1
  module Gnucash
2
2
  # gem version
3
- VERSION = "1.0.2"
3
+ VERSION = "1.0.3"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gnucash
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-20 00:00:00.000000000 Z
12
+ date: 2013-08-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri