istox 0.1.60.3 → 0.1.60.4

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: 1eaaad6bc521987244e0de8cd0e78c1239f8ea7523c376cd1a1dd6f9f33a5676
4
- data.tar.gz: 051a56258e68bf8e072f2d11bf60f49e3061c1e191224eb5319c092ef4c8806e
3
+ metadata.gz: 1f7eac7d7eff3efacf8e0f8187a398b71f2cb09e0333f551032c77b069d8af89
4
+ data.tar.gz: c749f17e523317a7558ea4122c0c4b4d881419e3b19a0bb6c84e37d956391536
5
5
  SHA512:
6
- metadata.gz: 47532c47e68abf9ed7a31b785c2f0df4c712d1e3d27e4bd3c4279684a93434ef66c1ca95b7c0d9e7b6d723862e27cab112919fd7b368aae9039dd7af428bb557
7
- data.tar.gz: 6bd35b123a48a0658c51a77ddd5bd641d7d19e48fdda7bee1075354a7f3b7571cd2d4e64cc0ce62a01c78e92073f7c4da2e830c5791acb3b5543f0f9385fbaec
6
+ metadata.gz: 751a870cb1fe0b1b4a4ee68c20a86340dcfb51cd6e8f79bb36e24a7d78d5aa65b213ab3578deeda9bc3e7687a2c5e8e7c113ff380f7951341f9fe2a68e24bae8
7
+ data.tar.gz: a750e2371cd02a0d94f8ca00fd8b3f415edc5f16bb057a0a32a1da2f7a60dca6a105463b273ad0bdca87056f1f099b4feaf26e515f5c5c413d8b5ce9af2bbe2d
data/Gemfile.lock CHANGED
@@ -1,12 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- istox (0.1.58)
4
+ istox (0.1.60.3)
5
5
  bunny (>= 2.12.0)
6
6
  graphlient
7
+ gruf
7
8
  istox_gruf
8
9
  listen (~> 3.0.5)
9
10
  paranoia (~> 2.2)
11
+ vault (~> 0.1)
10
12
 
11
13
  GEM
12
14
  remote: https://rubygems.org/
@@ -54,6 +56,9 @@ GEM
54
56
  tzinfo (~> 1.1)
55
57
  amq-protocol (2.3.0)
56
58
  arel (9.0.0)
59
+ aws-eventstream (1.0.3)
60
+ aws-sigv4 (1.1.0)
61
+ aws-eventstream (~> 1.0, >= 1.0.2)
57
62
  builder (3.2.3)
58
63
  bullet (5.7.6)
59
64
  activesupport (>= 3.0.0)
@@ -79,21 +84,27 @@ GEM
79
84
  ffi (1.11.1)
80
85
  globalid (0.4.2)
81
86
  activesupport (>= 4.2.0)
82
- google-protobuf (3.8.0-universal-darwin)
87
+ google-protobuf (3.8.0)
83
88
  googleapis-common-protos-types (1.0.4)
84
89
  google-protobuf (~> 3.0)
85
90
  graphlient (0.3.5)
86
91
  faraday
87
92
  faraday_middleware
88
93
  graphql-client
89
- graphql (1.9.6)
94
+ graphql (1.9.7)
90
95
  graphql-client (0.14.0)
91
96
  activesupport (>= 3.0, < 6.0)
92
97
  graphql (~> 1.6)
93
- grpc (1.21.0-universal-darwin)
94
- google-protobuf (~> 3.7)
98
+ grpc (1.22.0)
99
+ google-protobuf (~> 3.8)
95
100
  googleapis-common-protos-types (~> 1.0)
96
- grpc-tools (1.21.0)
101
+ grpc-tools (1.22.0)
102
+ gruf (2.7.0)
103
+ activesupport (> 4)
104
+ concurrent-ruby (> 1)
105
+ grpc (~> 1.10)
106
+ grpc-tools (~> 1.10)
107
+ slop (~> 4.6)
97
108
  i18n (0.9.5)
98
109
  concurrent-ruby (~> 1.0)
99
110
  istox_gruf (2.7.1)
@@ -175,7 +186,7 @@ GEM
175
186
  rspec-mocks (~> 3.8.0)
176
187
  rspec-support (~> 3.8.0)
177
188
  rspec-support (3.8.0)
178
- slop (4.6.2)
189
+ slop (4.7.0)
179
190
  sprockets (3.7.2)
180
191
  concurrent-ruby (~> 1.0)
181
192
  rack (> 1, < 3)
@@ -189,6 +200,8 @@ GEM
189
200
  tzinfo (1.2.5)
190
201
  thread_safe (~> 0.1)
191
202
  uniform_notifier (1.11.0)
203
+ vault (0.12.0)
204
+ aws-sigv4
192
205
  websocket-driver (0.7.0)
193
206
  websocket-extensions (>= 0.1.0)
194
207
  websocket-extensions (0.1.3)
@@ -5,13 +5,13 @@ module Istox
5
5
  # pre check all transaction does exists
6
6
  found_txns = transactions.map do |transaction|
7
7
  receipt = ::Istox::BlockchainReceipt.where(txid: transaction.uuid).first
8
- if !receipt.nil?
8
+ if !receipt.blank?
9
9
  handling_receipt = ::Istox::BlockchainReceipt.where(txhash: transaction.id).first
10
10
  raise 'Unable to find receipt' if handling_receipt.blank?
11
- return transaction
11
+ transaction
12
12
  else
13
13
  puts 'Transaction doesnt belong here, skipping...'
14
- return nil
14
+ nil
15
15
  end
16
16
  end.compact
17
17
 
data/lib/istox/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Istox
2
- VERSION = "0.1.60.3"
2
+ VERSION = "0.1.60.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: istox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.60.3
4
+ version: 0.1.60.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siong Leng