radiator 0.2.1a → 0.2.1b

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
  SHA1:
3
- metadata.gz: a16d92d977af25c419fe19d3c6aeaa1e37d2e7ed
4
- data.tar.gz: 05dcd811b33ff75bd35a5042da1d716690ed7213
3
+ metadata.gz: c878997567c89db3bb201a67182e2e07a8c0aadb
4
+ data.tar.gz: 6ace1e4cdd1cff2cfa19ee6de6cfbca2cf389639
5
5
  SHA512:
6
- metadata.gz: 160bff8c769bd29781e4c6a86fc3438556e41d3994a653f95b344f926df6735e24e754192e08c07000cae5a91b062101446ef706570293ab46aaa5a7a28ad9a7
7
- data.tar.gz: fdfb85e716db3afbea0875ce19494b124f84a25e925ecbf05bb2e4f221035498928a092ca7ebd2ce64e1be40e11ff97f944b435b8a3fb2dc092ecd579847502f
6
+ metadata.gz: a4408834b1902c222df4c741f104434ef29d99be8d068fcf23cc25df34282be5a7b74854f24c4f1226eb9f785cfd3e0c95fd0868c5ff94d00113aa08a985f46b
7
+ data.tar.gz: 42bfe6ec18ed22c11397ece74fa12d1c9ac67452d9ac5f9faf35563a747ce37cb8c7a05a53bac1ef5c6e223282c90d51f9c7b91eb984718d708e3a4060fa564a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- radiator (0.2.1a)
4
+ radiator (0.2.1b)
5
5
  bitcoin-ruby (= 0.0.10)
6
6
  ffi (= 1.9.17)
7
7
  hashie (~> 3.5, >= 3.5.5)
data/lib/radiator/api.rb CHANGED
@@ -57,9 +57,9 @@ module Radiator
57
57
  # @return [Hash]
58
58
  def find_block(block_number, &block)
59
59
  if !!block
60
- yield get_blocks(block_number)
60
+ yield get_blocks(block_number).first
61
61
  else
62
- get_blocks(block_number)
62
+ get_blocks(block_number).first
63
63
  end
64
64
  end
65
65
 
@@ -1,3 +1,3 @@
1
1
  module Radiator
2
- VERSION = '0.2.1a'
2
+ VERSION = '0.2.1b'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1a
4
+ version: 0.2.1b
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Martin