gnucash 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gnucash/transaction.rb +4 -1
- data/lib/gnucash/version.rb +1 -1
- metadata +2 -2
data/lib/gnucash/transaction.rb
CHANGED
@@ -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
|
-
|
38
|
+
account: account,
|
36
39
|
value: value,
|
37
40
|
}
|
38
41
|
end
|
data/lib/gnucash/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2013-08-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|