feidee_utils 0.0.4.4 → 0.0.4.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25f4aacc8498733f8711c5d64df58d9585127787
|
4
|
+
data.tar.gz: dad19bf406c330c56c34c0b5f1a22d2d26ab401f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04e3f08c178d793c83a6c40baf435a065493f819dd2a74c1a85a359c4e41e0fc1be118dad36054a37df1e45bc15138882a0beecafe4523082fd9a988daf4509b
|
7
|
+
data.tar.gz: 79d9ac9988647d19e02ed3416e4f9fefc2f8d79ffce73e3dbc07f388e886f74062d7c23ceeefe1c31b31aa8a39801b47538053fd94627f313774e4d9c7b35e84
|
@@ -201,14 +201,15 @@ module FeideeUtils
|
|
201
201
|
end
|
202
202
|
|
203
203
|
def to_s
|
204
|
-
if is_transfer?
|
205
|
-
|
204
|
+
str = if is_transfer?
|
205
|
+
(type == :transfer_buyer ? "Buyer" : "Seller") +
|
206
|
+
" transfer #{amount.to_f} from #{buyer_account} to #{seller_account}"
|
206
207
|
elsif is_initial_balance?
|
207
208
|
"Balance of #{revised_account} set to #{revised_amount.to_f}"
|
208
209
|
else
|
209
|
-
"
|
210
|
-
"#{category}"
|
210
|
+
"Entry of #{revised_amount.to_f} on #{revised_account} in #{category}"
|
211
211
|
end
|
212
|
+
str + " at #{trade_at} (Transaction #{poid})";
|
212
213
|
end
|
213
214
|
|
214
215
|
class ModifiedTransaction < ModifiedRecord
|
data/lib/feidee_utils/version.rb
CHANGED