istox 0.1.64 → 0.1.65
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: baeba6e8a85adc10e2f67cd95ee7edc73fcf3825903078d67591969a21d8730f
|
4
|
+
data.tar.gz: 548dd49ffa13f5d57cc4d7a23c847d655b79f7a91f9fc7160a932a8f9293918c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebe7b75b9dd7c31c3a06d48ac462f610d66999c7c840a9b8421ff77966e9cd3283e6d063119787853f56cc4283303a4523fdd8af7beb992a2d1648b1e738f666
|
7
|
+
data.tar.gz: bc99791700da0446769ef60f52aab77b0d85f3f4e51b6596d40f0ea8ce2ddae4661ab6ce0a1dcb74e9fdcc66368ae4949f6fa5c374f5a2b176f56f9ff8152a75
|
@@ -20,7 +20,7 @@ module Istox
|
|
20
20
|
uuid
|
21
21
|
end
|
22
22
|
|
23
|
-
def create!(tx_message, model, sid, action)
|
23
|
+
def create!(tx_message, model, sid, action, is_request: false)
|
24
24
|
klass = ::Istox::BlockchainReceiptService.blockchain_receipt_class
|
25
25
|
|
26
26
|
# delete the previous existing blockchain receipts
|
@@ -38,7 +38,8 @@ module Istox
|
|
38
38
|
txid: tx_message.uuid,
|
39
39
|
resource_name: model.class.name,
|
40
40
|
resource_id: model.id,
|
41
|
-
resource_action: action
|
41
|
+
resource_action: action,
|
42
|
+
is_request: is_request
|
42
43
|
})
|
43
44
|
else
|
44
45
|
blockchain_receipt = klass.new(
|
@@ -46,7 +47,8 @@ module Istox
|
|
46
47
|
txid: tx_message.uuid,
|
47
48
|
resource_name: model.class.name,
|
48
49
|
resource_id: model.id,
|
49
|
-
resource_action: action
|
50
|
+
resource_action: action,
|
51
|
+
is_request: is_request
|
50
52
|
)
|
51
53
|
blockchain_receipt.save!
|
52
54
|
end
|
data/lib/istox/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: istox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.65
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Siong Leng
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bunny
|