mudrat_projector 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mudrat_projector/transaction_handler.rb +1 -1
- data/lib/mudrat_projector/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bf2f1f03b4a07d34561f98dcce3c8d0c595de72
|
4
|
+
data.tar.gz: 3cba29707ac266cfbc55e58a24fb8a580cd9a380
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dab5b6d8e424a2c9da76cf39417facd82e14673e2807e4b55ac12a60e87e953972e2e44720d8ce255687a6d5d4d9aaa41130309154a9ed61674d56ed75526377
|
7
|
+
data.tar.gz: 6ed8d35b56f5d68f5158a62df9f7d9741715cab811864c0ff41a1bf97678a73d40c47d7380d0f1dbdb66aae8420ddfef6f93e5a8a8335f00b8b463410b19f98a
|
@@ -7,7 +7,7 @@ module MudratProjector
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def << transaction
|
10
|
-
defer(transaction)
|
10
|
+
return defer(transaction) if transaction.date > @projection.range.end
|
11
11
|
in_projection, leftover = transaction.slice @projection.range.end
|
12
12
|
@projection.add_transaction_batch in_projection
|
13
13
|
defer leftover if leftover
|