acts_as_account 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/acts_as_account/journal.rb +2 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e4b9d9a8021a37ab77cd81cb132783f6a97a6a2
|
4
|
+
data.tar.gz: 6a814f056664c1ac989a4475409968b3dbd0b11e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62dc3234a50a85aa9e26d9ddc59580cfb01386262b0d981c956f05b07c09655e77e40562ae7887fc4734d78f6674525a1b3a33e86f11d7e75a7c6ff6278645f4
|
7
|
+
data.tar.gz: 42fa52c418890778f3ec3d9a8ffa69b8be79574bba1f9b545dd20d380c07770cc988f95400029b964d65baf0db0c97dd06edd794d6cce9c0e487f82c3057060c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.3
|
@@ -53,11 +53,10 @@ module ActsAsAccount
|
|
53
53
|
:reference => reference,
|
54
54
|
:valuta => valuta)
|
55
55
|
|
56
|
-
account.
|
57
|
-
account.postings_count += 1
|
56
|
+
account.class.update_counters account.id, :postings_count => 1, :balance => posting.amount
|
58
57
|
|
59
58
|
posting.save(:validate => false)
|
60
59
|
account.save(:validate => false)
|
61
60
|
end
|
62
61
|
end
|
63
|
-
end
|
62
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_account
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thies C. Arntzen, Norman Timmler, Matthias Frick, Phillip Oertel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|