sibit 0.18.1 → 0.18.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sibit/version.rb +1 -1
  3. data/lib/sibit.rb +2 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f810c351d3ad18140344b8b03097f20c41d9dfb01f9155ceeab9fb4f26e4e9c
4
- data.tar.gz: 2f5cd230919bd8e30208c7de5df603412f6160320a02ff5b5927c2b62688e7b1
3
+ metadata.gz: d8ca0eb020ad7fad1626643ba08dc54ee7d08de9776a8c31a2596a2aa1414d63
4
+ data.tar.gz: 8624b9cb75385f0e75e21edeab19545fa56a700583dea5a64fa135c5a73a0481
5
5
  SHA512:
6
- metadata.gz: b3cb7ce3b3f8761518114186fd23eaef09d8291d94491a98375d0606a85e35aaf67877c26b53168ce684a4cd066cc23911d06ef8a7cb492e0c0d17047e8b2b2a
7
- data.tar.gz: 3a861ba62140714344eacf87a69a23a1ba2f49ada6c83de111239ce83e66222437c3647c0a3bf7874a9787391972aab6e4b88d8e8e7b9c122c6a0a84ad4cfcff
6
+ metadata.gz: eb1b32bfbf32de73e37a59cc99607e5c4fc42187de5fe55e25b9d54f17f1e7423aeffbbef85c3ed61dace466e3d91f71f96799ba518fbdd06425ce3d7c9acac5
7
+ data.tar.gz: d877f747c08c6536a46030b36b7a1fe10884cfbd847e7ddb82f257bbe0b9d97743eb9aa555f43ca596c6bcb7dbe10e3054dabfa3960052d25501a0742d714612
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.18.1'
29
+ VERSION = '0.18.2'
30
30
  end
data/lib/sibit.rb CHANGED
@@ -181,6 +181,7 @@ class Sibit
181
181
  block = start
182
182
  count = 0
183
183
  wrong = []
184
+ json = {}
184
185
  loop do
185
186
  json = first_one { |api| api.block(block) }
186
187
  if json[:orphan]
@@ -221,7 +222,7 @@ class Sibit
221
222
  break
222
223
  end
223
224
  end
224
- block
225
+ json[:hash]
225
226
  end
226
227
 
227
228
  private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sibit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.1
4
+ version: 0.18.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko