sibit 0.21.6 → 0.21.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sibit.rb +1 -1
- data/lib/sibit/bestof.rb +2 -0
- data/lib/sibit/firstof.rb +2 -0
- data/lib/sibit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50666b6edfe2a5cfe5020fe7e2457b2b79ef3675960d5f3d36f6fc977462d05b
|
4
|
+
data.tar.gz: 6abb381f5b710c959cecc339d1a0070b6925a14e4bb43652e3f7d9248ca5278e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce15881b3d8f273868c58edb6a95b75782115193ee0b96d6a621eb4df9d7df692c0bee5439f509ca76ee0e3305d55ed438d23b67edd4f5e49d6bf1227b747ba3
|
7
|
+
data.tar.gz: d299a4f555b8723176c78dbf47c97c7cd02e0cc6c85d51c72b1dc244745d4d6ad74c343cd93266eb805fc1a234ed75548ccc9ffdfee2e5825b857d61a4321514
|
data/lib/sibit.rb
CHANGED
@@ -221,7 +221,7 @@ class Sibit
|
|
221
221
|
checked += 1
|
222
222
|
end
|
223
223
|
count += 1
|
224
|
-
@log.info("We checked #{checked} txns and #{checked_outputs} outputs
|
224
|
+
@log.info("We checked #{checked} txns and #{checked_outputs} outputs \
|
225
225
|
in block #{block} (by #{json[:provider]})")
|
226
226
|
block = json[:next]
|
227
227
|
if block.nil?
|
data/lib/sibit/bestof.rb
CHANGED
@@ -107,6 +107,8 @@ class Sibit
|
|
107
107
|
errors = []
|
108
108
|
@list.each do |api|
|
109
109
|
results << yield(api)
|
110
|
+
rescue Sibit::NotSupportedError
|
111
|
+
# Just ignore it
|
110
112
|
rescue Sibit::Error => e
|
111
113
|
errors << e
|
112
114
|
@log.info("The API #{api.class.name} failed at #{method}(): #{e.message}") if @verbose
|
data/lib/sibit/firstof.rb
CHANGED
@@ -112,6 +112,8 @@ class Sibit
|
|
112
112
|
result = yield api
|
113
113
|
done = true
|
114
114
|
break
|
115
|
+
rescue Sibit::NotSupportedError
|
116
|
+
# Just ignore it
|
115
117
|
rescue Sibit::Error => e
|
116
118
|
errors << e
|
117
119
|
@log.info("The API #{api.class.name} failed at #{method}(): #{e.message}") if @verbose
|
data/lib/sibit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sibit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.21.
|
4
|
+
version: 0.21.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yegor Bugayenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backtrace
|