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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5fedd8437c2839f08b7848a6451cadf574a59cb8fa4ea4ef98440612f031d240
4
- data.tar.gz: b847db96a5b91a8b8c361d52d554573b6c1aea0ab340df3b410731bc7d7ed4a4
3
+ metadata.gz: 50666b6edfe2a5cfe5020fe7e2457b2b79ef3675960d5f3d36f6fc977462d05b
4
+ data.tar.gz: 6abb381f5b710c959cecc339d1a0070b6925a14e4bb43652e3f7d9248ca5278e
5
5
  SHA512:
6
- metadata.gz: 354a33e9fd0e1fb0360f4f0e80f29f1aa60de51e0dfa25ae8d6434a2547570fa814645c26b66f6c572b0e50ada6fa0121086fe328a5351a8b6fc70445d4705d5
7
- data.tar.gz: ae351875b79a6ea30c026ac788780b3c15efd390ec67f4fc6ff9481b248d18671d813ce62687c0832bea0144416e55bd93973e4ab77b1c2f29dc389098f04486
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
@@ -26,5 +26,5 @@
26
26
  # License:: MIT
27
27
  class Sibit
28
28
  # Current version of the library.
29
- VERSION = '0.21.6'
29
+ VERSION = '0.21.7'
30
30
  end
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.6
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-26 00:00:00.000000000 Z
11
+ date: 2021-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backtrace