istox 0.2.17.pre.50 → 0.2.20.pre.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -0
- data/.rubocop.yml +0 -0
- data/.solargraph.yml +0 -0
- data/CODE_OF_CONDUCT.md +0 -0
- data/Gemfile +0 -0
- data/Gemfile.lock +19 -17
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/lib/istox/constants/error.rb +0 -0
- data/lib/istox/consumers/blockchain_status_handler.rb +8 -2
- data/lib/istox/helpers/gruf_listener_hook.rb +0 -0
- data/lib/istox/helpers/my_open_struct.rb +0 -0
- data/lib/istox/helpers/rate_limit.rb +0 -0
- data/lib/istox/helpers/regex_helper.rb +0 -0
- data/lib/istox/helpers/result_handler.rb +1 -1
- data/lib/istox/helpers/vault.rb +0 -0
- data/lib/istox/interfaces/chainhub/transaction.rb +0 -0
- data/lib/istox/models/concerns/blockchain_receipt_query.rb +0 -0
- data/lib/istox/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bf7deab6894c93e79e4c0bae0df5d78086c10fe7d5ea7992d3e4aeb687e3506
|
4
|
+
data.tar.gz: ac840fea4b0423e27c7c4d9d8a742a03f5e8149607cdf9f3be67dac8396dc516
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 280707ae94c1ff45488b5073a69a3b1ba3c04366318115840e39152c31c966237eb56789c31b5616d50b560490a8cef64efe1cf15c2d01f8f5a71997762106fc
|
7
|
+
data.tar.gz: c1dab138b1600c79159f1e970f7a74c01ece5429b8522da836c3062074f099a6a60d0f9b24d37d95147f5b54d6d5ec81b3ab86eb10ec1c2729be0a7b82566717
|
data/.gitignore
CHANGED
File without changes
|
data/.rubocop.yml
CHANGED
File without changes
|
data/.solargraph.yml
CHANGED
File without changes
|
data/CODE_OF_CONDUCT.md
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
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.20.pre.0)
|
5
5
|
amazing_print
|
6
6
|
awesome_print
|
7
7
|
aws-sdk-sns (~> 1)
|
@@ -63,7 +63,7 @@ GEM
|
|
63
63
|
i18n (>= 0.7, < 2)
|
64
64
|
minitest (~> 5.1)
|
65
65
|
tzinfo (~> 1.1)
|
66
|
-
amazing_print (1.
|
66
|
+
amazing_print (1.4.0)
|
67
67
|
amq-protocol (2.3.2)
|
68
68
|
arel (9.0.0)
|
69
69
|
awesome_print (1.9.2)
|
@@ -74,8 +74,8 @@ GEM
|
|
74
74
|
aws-partitions (~> 1, >= 1.239.0)
|
75
75
|
aws-sigv4 (~> 1.1)
|
76
76
|
jmespath (~> 1.0)
|
77
|
-
aws-sdk-sns (1.
|
78
|
-
aws-sdk-core (~> 3, >= 3.
|
77
|
+
aws-sdk-sns (1.37.0)
|
78
|
+
aws-sdk-core (~> 3, >= 3.109.0)
|
79
79
|
aws-sigv4 (~> 1.1)
|
80
80
|
aws-sdk-xray (1.4.0)
|
81
81
|
aws-sdk-core (~> 3)
|
@@ -112,7 +112,7 @@ GEM
|
|
112
112
|
i18n (~> 0.5)
|
113
113
|
fakeredis (0.7.0)
|
114
114
|
redis (>= 3.2, < 5.0)
|
115
|
-
faraday (1.
|
115
|
+
faraday (1.8.0)
|
116
116
|
faraday-em_http (~> 1.0)
|
117
117
|
faraday-em_synchrony (~> 1.0)
|
118
118
|
faraday-excon (~> 1.1)
|
@@ -120,6 +120,7 @@ GEM
|
|
120
120
|
faraday-net_http (~> 1.0)
|
121
121
|
faraday-net_http_persistent (~> 1.1)
|
122
122
|
faraday-patron (~> 1.0)
|
123
|
+
faraday-rack (~> 1.0)
|
123
124
|
multipart-post (>= 1.2, < 3)
|
124
125
|
ruby2_keywords (>= 0.0.4)
|
125
126
|
faraday-em_http (1.0.0)
|
@@ -129,26 +130,27 @@ GEM
|
|
129
130
|
faraday-net_http (1.0.1)
|
130
131
|
faraday-net_http_persistent (1.2.0)
|
131
132
|
faraday-patron (1.0.0)
|
132
|
-
|
133
|
+
faraday-rack (1.0.0)
|
134
|
+
faraday_middleware (1.2.0)
|
133
135
|
faraday (~> 1.0)
|
134
|
-
ffi (1.15.
|
136
|
+
ffi (1.15.4)
|
135
137
|
globalid (0.4.2)
|
136
138
|
activesupport (>= 4.2.0)
|
137
|
-
google-protobuf (3.
|
138
|
-
googleapis-common-protos-types (1.
|
139
|
+
google-protobuf (3.19.1-x86_64-darwin)
|
140
|
+
googleapis-common-protos-types (1.3.0)
|
139
141
|
google-protobuf (~> 3.14)
|
140
142
|
graphlient (0.5.0)
|
141
143
|
faraday (>= 1.0)
|
142
144
|
faraday_middleware
|
143
145
|
graphql-client
|
144
|
-
graphql (1.
|
145
|
-
graphql-client (0.
|
146
|
+
graphql (1.13.0)
|
147
|
+
graphql-client (0.17.0)
|
146
148
|
activesupport (>= 3.0)
|
147
|
-
graphql (~> 1.
|
148
|
-
grpc (1.
|
149
|
-
google-protobuf (~> 3.
|
149
|
+
graphql (~> 1.10)
|
150
|
+
grpc (1.42.0-x86_64-darwin)
|
151
|
+
google-protobuf (~> 3.18)
|
150
152
|
googleapis-common-protos-types (~> 1.0)
|
151
|
-
grpc-tools (1.
|
153
|
+
grpc-tools (1.42.0)
|
152
154
|
hashie (3.5.7)
|
153
155
|
i18n (0.9.5)
|
154
156
|
concurrent-ruby (~> 1.0)
|
@@ -178,7 +180,7 @@ GEM
|
|
178
180
|
nokogiri (1.11.7)
|
179
181
|
mini_portile2 (~> 2.5.0)
|
180
182
|
racc (~> 1.4)
|
181
|
-
oj (3.
|
183
|
+
oj (3.13.9)
|
182
184
|
ougai (2.0.0)
|
183
185
|
oj (~> 3.10)
|
184
186
|
paranoia (2.4.3)
|
@@ -265,7 +267,7 @@ GEM
|
|
265
267
|
rspec-support (~> 3.8.0)
|
266
268
|
rspec-support (3.8.0)
|
267
269
|
ruby2_keywords (0.0.5)
|
268
|
-
set (1.0.
|
270
|
+
set (1.0.2)
|
269
271
|
slop (4.9.1)
|
270
272
|
sorted_set (1.0.3)
|
271
273
|
rbtree
|
data/README.md
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
File without changes
|
@@ -27,10 +27,16 @@ module Istox
|
|
27
27
|
|
28
28
|
resource = begin
|
29
29
|
cls = class_eval("::#{receipt.resource_name}", __FILE__, __LINE__)
|
30
|
+
if receipt.resource_name == 'Auth::ReferralProgramPayoutList' && receipt.request_reason.present?
|
31
|
+
data = JSON.parse(receipt.request_reason, object_class: OpenStruct)
|
32
|
+
id = data.ref_id
|
33
|
+
else
|
34
|
+
id = receipt.resource_id
|
35
|
+
end
|
30
36
|
if cls.respond_to?('with_deleted')
|
31
|
-
cls.with_deleted.find(
|
37
|
+
cls.with_deleted.find(id)
|
32
38
|
else
|
33
|
-
cls.find(
|
39
|
+
cls.find(id)
|
34
40
|
end
|
35
41
|
rescue NameError
|
36
42
|
log.warn "Transaction bind to #{receipt.resource_name} with id #{receipt.resource_id} class not found, skipping..."
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/istox/helpers/vault.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
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.2.
|
4
|
+
version: 0.2.20.pre.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Siong Leng
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: amazing_print
|
@@ -519,7 +519,7 @@ files:
|
|
519
519
|
homepage: http://www.abc.com
|
520
520
|
licenses: []
|
521
521
|
metadata: {}
|
522
|
-
post_install_message:
|
522
|
+
post_install_message:
|
523
523
|
rdoc_options: []
|
524
524
|
require_paths:
|
525
525
|
- lib
|
@@ -534,8 +534,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
534
534
|
- !ruby/object:Gem::Version
|
535
535
|
version: 1.3.1
|
536
536
|
requirements: []
|
537
|
-
rubygems_version: 3.
|
538
|
-
signing_key:
|
537
|
+
rubygems_version: 3.0.8
|
538
|
+
signing_key:
|
539
539
|
specification_version: 4
|
540
540
|
summary: istox backend shared gem
|
541
541
|
test_files: []
|