istox 0.2.14.1 → 0.2.14.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/istox/helpers/blockchain_service.rb +3 -0
- data/lib/istox/models/blockchain_receipt.rb +2 -0
- data/lib/istox/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bce8aeff0172a935744cd551d7484db72b031c6d5c1987e333556ca78371472
|
4
|
+
data.tar.gz: c64f7d731ad1295b6713225e347484c20cc52e240f33c096a5b2196f4ab3f1e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0aff2668703907f10658e8d083224e26a15b01871aa73f7118b4405475b96d1442b8c451fa0261a173cc8b42c06c60af939fb2be60b91811e8a36818de53f19b
|
7
|
+
data.tar.gz: c5bef66c72b43dcd00f9c536a6bc8e186c1d9f657ec749346638ccc624b1762c08a1a5f9173ba609b426187353c8af40784ebfad09aee849dc1a33fe3c1efb11
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
istox (0.2.
|
4
|
+
istox (0.2.14.2)
|
5
5
|
amazing_print
|
6
6
|
awesome_print
|
7
7
|
aws-sdk-sns (~> 1)
|
@@ -134,7 +134,7 @@ GEM
|
|
134
134
|
ffi (1.15.3)
|
135
135
|
globalid (0.4.2)
|
136
136
|
activesupport (>= 4.2.0)
|
137
|
-
google-protobuf (3.17.3)
|
137
|
+
google-protobuf (3.17.3-universal-darwin)
|
138
138
|
googleapis-common-protos-types (1.1.0)
|
139
139
|
google-protobuf (~> 3.14)
|
140
140
|
graphlient (0.5.0)
|
@@ -145,7 +145,7 @@ GEM
|
|
145
145
|
graphql-client (0.16.0)
|
146
146
|
activesupport (>= 3.0)
|
147
147
|
graphql (~> 1.8)
|
148
|
-
grpc (1.38.0)
|
148
|
+
grpc (1.38.0-universal-darwin)
|
149
149
|
google-protobuf (~> 3.15)
|
150
150
|
googleapis-common-protos-types (~> 1.0)
|
151
151
|
grpc-tools (1.38.0)
|
@@ -44,6 +44,9 @@ module Istox
|
|
44
44
|
## for request there we need a lock to prevent there is not duplicate request exist for single model
|
45
45
|
::Istox::RaceConditionHelper.acquire!(key) if is_request
|
46
46
|
|
47
|
+
## validate the request, this validation is overridable by inherited class
|
48
|
+
receipt.validate_request!(model.class.name, model.id) if is_request
|
49
|
+
|
47
50
|
# delete the previous existing blockchain receipts
|
48
51
|
klass.where(resource_name: model.class.name, resource_id: model.id).destroy_all
|
49
52
|
|
data/lib/istox/version.rb
CHANGED