istox 0.2.19 → 0.2.20.pre.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +44 -24
- data/lib/istox/consumers/blockchain_status_handler.rb +8 -2
- data/lib/istox/version.rb +1 -1
- metadata +4 -4
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/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,10 +63,10 @@ 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
|
-
awesome_print (1.
|
69
|
+
awesome_print (1.9.2)
|
70
70
|
aws-eventstream (1.1.1)
|
71
71
|
aws-partitions (1.470.0)
|
72
72
|
aws-sdk-core (3.114.3)
|
@@ -91,8 +91,9 @@ GEM
|
|
91
91
|
bullet (5.7.6)
|
92
92
|
activesupport (>= 3.0.0)
|
93
93
|
uniform_notifier (~> 1.11.0)
|
94
|
-
bunny (2.
|
94
|
+
bunny (2.19.0)
|
95
95
|
amq-protocol (~> 2.3, >= 2.3.1)
|
96
|
+
sorted_set (~> 1, >= 1.0.2)
|
96
97
|
byebug (11.1.3)
|
97
98
|
coderay (1.1.2)
|
98
99
|
concurrent-ruby (1.1.9)
|
@@ -111,31 +112,45 @@ GEM
|
|
111
112
|
i18n (~> 0.5)
|
112
113
|
fakeredis (0.7.0)
|
113
114
|
redis (>= 3.2, < 5.0)
|
114
|
-
faraday (1.
|
115
|
+
faraday (1.8.0)
|
116
|
+
faraday-em_http (~> 1.0)
|
117
|
+
faraday-em_synchrony (~> 1.0)
|
118
|
+
faraday-excon (~> 1.1)
|
119
|
+
faraday-httpclient (~> 1.0.1)
|
115
120
|
faraday-net_http (~> 1.0)
|
121
|
+
faraday-net_http_persistent (~> 1.1)
|
122
|
+
faraday-patron (~> 1.0)
|
123
|
+
faraday-rack (~> 1.0)
|
116
124
|
multipart-post (>= 1.2, < 3)
|
117
|
-
ruby2_keywords
|
125
|
+
ruby2_keywords (>= 0.0.4)
|
126
|
+
faraday-em_http (1.0.0)
|
127
|
+
faraday-em_synchrony (1.0.0)
|
128
|
+
faraday-excon (1.1.0)
|
129
|
+
faraday-httpclient (1.0.1)
|
118
130
|
faraday-net_http (1.0.1)
|
119
|
-
|
131
|
+
faraday-net_http_persistent (1.2.0)
|
132
|
+
faraday-patron (1.0.0)
|
133
|
+
faraday-rack (1.0.0)
|
134
|
+
faraday_middleware (1.2.0)
|
120
135
|
faraday (~> 1.0)
|
121
|
-
ffi (1.15.
|
136
|
+
ffi (1.15.4)
|
122
137
|
globalid (0.4.2)
|
123
138
|
activesupport (>= 4.2.0)
|
124
|
-
google-protobuf (3.
|
125
|
-
googleapis-common-protos-types (1.0
|
126
|
-
google-protobuf (~> 3.
|
139
|
+
google-protobuf (3.19.1-x86_64-darwin)
|
140
|
+
googleapis-common-protos-types (1.3.0)
|
141
|
+
google-protobuf (~> 3.14)
|
127
142
|
graphlient (0.5.0)
|
128
143
|
faraday (>= 1.0)
|
129
144
|
faraday_middleware
|
130
145
|
graphql-client
|
131
|
-
graphql (1.
|
132
|
-
graphql-client (0.
|
146
|
+
graphql (1.13.0)
|
147
|
+
graphql-client (0.17.0)
|
133
148
|
activesupport (>= 3.0)
|
134
|
-
graphql (~> 1.
|
135
|
-
grpc (1.
|
136
|
-
google-protobuf (~> 3.
|
149
|
+
graphql (~> 1.10)
|
150
|
+
grpc (1.42.0-x86_64-darwin)
|
151
|
+
google-protobuf (~> 3.18)
|
137
152
|
googleapis-common-protos-types (~> 1.0)
|
138
|
-
grpc-tools (1.
|
153
|
+
grpc-tools (1.42.0)
|
139
154
|
hashie (3.5.7)
|
140
155
|
i18n (0.9.5)
|
141
156
|
concurrent-ruby (~> 1.0)
|
@@ -165,8 +180,8 @@ GEM
|
|
165
180
|
nokogiri (1.11.7)
|
166
181
|
mini_portile2 (~> 2.5.0)
|
167
182
|
racc (~> 1.4)
|
168
|
-
oj (3.
|
169
|
-
ougai (
|
183
|
+
oj (3.13.9)
|
184
|
+
ougai (2.0.0)
|
170
185
|
oj (~> 3.10)
|
171
186
|
paranoia (2.4.3)
|
172
187
|
activerecord (>= 4.0, < 6.2)
|
@@ -207,18 +222,19 @@ GEM
|
|
207
222
|
rake (>= 0.8.7)
|
208
223
|
thor (>= 0.19.0, < 2.0)
|
209
224
|
rake (10.5.0)
|
210
|
-
rb-fsevent (0.
|
225
|
+
rb-fsevent (0.11.0)
|
211
226
|
rb-inotify (0.10.1)
|
212
227
|
ffi (~> 1.0)
|
228
|
+
rbtree (0.4.4)
|
213
229
|
redis (4.3.1)
|
214
230
|
redis-actionpack (5.2.0)
|
215
231
|
actionpack (>= 5, < 7)
|
216
232
|
redis-rack (>= 2.1.0, < 3)
|
217
233
|
redis-store (>= 1.1.0, < 2)
|
218
|
-
redis-activesupport (5.2.
|
234
|
+
redis-activesupport (5.2.1)
|
219
235
|
activesupport (>= 3, < 7)
|
220
236
|
redis-store (>= 1.3, < 2)
|
221
|
-
redis-namespace (1.8.
|
237
|
+
redis-namespace (1.8.1)
|
222
238
|
redis (>= 3.0.4)
|
223
239
|
redis-rack (2.1.3)
|
224
240
|
rack (>= 2.0.8, < 3)
|
@@ -250,8 +266,12 @@ GEM
|
|
250
266
|
rspec-mocks (~> 3.8.0)
|
251
267
|
rspec-support (~> 3.8.0)
|
252
268
|
rspec-support (3.8.0)
|
253
|
-
ruby2_keywords (0.0.
|
254
|
-
|
269
|
+
ruby2_keywords (0.0.5)
|
270
|
+
set (1.0.2)
|
271
|
+
slop (4.9.1)
|
272
|
+
sorted_set (1.0.3)
|
273
|
+
rbtree
|
274
|
+
set (~> 1.0)
|
255
275
|
sprockets (4.0.2)
|
256
276
|
concurrent-ruby (~> 1.0)
|
257
277
|
rack (> 1, < 3)
|
@@ -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..."
|
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
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
|
@@ -530,9 +530,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
530
530
|
version: '0'
|
531
531
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
532
532
|
requirements:
|
533
|
-
- - "
|
533
|
+
- - ">"
|
534
534
|
- !ruby/object:Gem::Version
|
535
|
-
version:
|
535
|
+
version: 1.3.1
|
536
536
|
requirements: []
|
537
537
|
rubygems_version: 3.0.8
|
538
538
|
signing_key:
|