radiator 0.2.1b → 0.2.1

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: c878997567c89db3bb201a67182e2e07a8c0aadb
4
- data.tar.gz: 6ace1e4cdd1cff2cfa19ee6de6cfbca2cf389639
3
+ metadata.gz: 48d78f3aecd0d6dab2141d2e8eec45594864a651
4
+ data.tar.gz: 6772482fe30e9cf8da78390fb869e5948d1219fb
5
5
  SHA512:
6
- metadata.gz: a4408834b1902c222df4c741f104434ef29d99be8d068fcf23cc25df34282be5a7b74854f24c4f1226eb9f785cfd3e0c95fd0868c5ff94d00113aa08a985f46b
7
- data.tar.gz: 42bfe6ec18ed22c11397ece74fa12d1c9ac67452d9ac5f9faf35563a747ce37cb8c7a05a53bac1ef5c6e223282c90d51f9c7b91eb984718d708e3a4060fa564a
6
+ metadata.gz: fbb8ca75dae837973b8c06a92e3f4b41c2b752492719acea746a52f7668a6e9f1545ba1693ebd5a36bafb6a7b0f253be8b77312c0bd3e0af01cc970aa1651f7a
7
+ data.tar.gz: 811b1efb6ec7ab45ced3feb40a95ccd5ebd11c6cce73e47cd749085d05c0a8d6188ede17889e48eeca68f27f9ce34bc0407555b5efbb383666ba2712a083afac
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- radiator (0.2.1b)
4
+ radiator (0.2.1)
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).first
60
+ yield get_blocks(block_number).result
61
61
  else
62
- get_blocks(block_number).first
62
+ get_blocks(block_number).result
63
63
  end
64
64
  end
65
65
 
@@ -1,3 +1,3 @@
1
1
  module Radiator
2
- VERSION = '0.2.1b'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1b
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Martin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-30 00:00:00.000000000 Z
11
+ date: 2017-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -400,9 +400,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
400
400
  version: '0'
401
401
  required_rubygems_version: !ruby/object:Gem::Requirement
402
402
  requirements:
403
- - - ">"
403
+ - - ">="
404
404
  - !ruby/object:Gem::Version
405
- version: 1.3.1
405
+ version: '0'
406
406
  requirements: []
407
407
  rubyforge_project:
408
408
  rubygems_version: 2.4.8