istox 0.1.81.pre.test6 → 0.1.81.pre.test7
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: 729001e75a3aabdc46971845276748d609b0bc3a7fd7fb9443c7557ee88f5e46
|
4
|
+
data.tar.gz: ba491528fe2bbcb6e61fdafe5b279cc8860b80a8f5173f5d5890916a92001b19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96e334e27ad0feb1b293895eb65daa3b2ec838625cab5ca04496d8c27292a468696ee621e737b85b39536cbe20b3fdce49c69e6735b20cb1bd95cbf02293d1c7
|
7
|
+
data.tar.gz: 0f62ea109c1607ca23841381837fcb19d5e6365d0fff8c8a42a367dcf705b08276bfbf75693bb6077c08fadbe4b9312924056fcfd42265570a38c93975fffe22
|
data/Gemfile.lock
CHANGED
@@ -28,13 +28,13 @@ module Istox
|
|
28
28
|
return if resource_handled?(receipt)
|
29
29
|
|
30
30
|
if transaction.status == 'confirmed'
|
31
|
-
resource.handle_confirm(receipt
|
31
|
+
resource.handle_confirm(receipt)
|
32
32
|
|
33
33
|
mark_resource_handled(receipt)
|
34
34
|
publish_to_frontend(resource, true, receipt, receipt.sid)
|
35
35
|
|
36
36
|
elsif transaction.status == 'failed'
|
37
|
-
resource.handle_fail(receipt
|
37
|
+
resource.handle_fail(receipt)
|
38
38
|
|
39
39
|
mark_resource_handled(receipt)
|
40
40
|
publish_to_frontend(resource, false, receipt, receipt.sid)
|
@@ -3,12 +3,12 @@ module Istox
|
|
3
3
|
extend ActiveSupport::Concern
|
4
4
|
|
5
5
|
# overrideable, when blockchain transaction has confirmed
|
6
|
-
def handle_confirm(
|
6
|
+
def handle_confirm(_receipt)
|
7
7
|
self
|
8
8
|
end
|
9
9
|
|
10
10
|
# overrideable, when blockchain transaction has failed
|
11
|
-
def handle_fail(
|
11
|
+
def handle_fail(_receipt)
|
12
12
|
self
|
13
13
|
end
|
14
14
|
|
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.81.pre.
|
4
|
+
version: 0.1.81.pre.test7
|
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-09-
|
11
|
+
date: 2019-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bunny
|