radiator 0.2.3rc1 → 0.2.3rc2

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: 56887d373579a7fd261b7bebef0632f2e452583e
4
- data.tar.gz: d79bf060be9de2b3b20cdcc26f9fe4d10344126a
3
+ metadata.gz: c832e0ab4bf5f0426beb0b70df404dd97072d179
4
+ data.tar.gz: e2e9752862b2759d54f204395b624779cfc2cf96
5
5
  SHA512:
6
- metadata.gz: 5adf735e8a5cb69b063186ee6fbb58604393ef965bbe376c9bcda987f06f7a2b64cd11ad3b897fa5d79b7828c3ef1096a867c52d754c3d6393aa9530fcd5ec58
7
- data.tar.gz: 24eb7cbdd6971add9318083ee0f9ecfa8f98e1e51de5e5859ffa26287a25f4adba738a26481f8bf58ceb94bcf7b01fec6eae07f4944799357133aa02ee2d25fc
6
+ metadata.gz: 8d86849dee2532620c2e28a9623dbab64f7c49b46798009145daf30736b18a94b1a9cd1d2597e5b7860681007230d7bcf611073c8f0a4959899321cd50fc2145
7
+ data.tar.gz: 19fe732cdd44863bb815d4e56637837bb014842a5a24acc396eaeb8f3621e7dc2c407b3f4f00c5c03395d3b6bd67a74b0d3589a53e9836d8c9e59132dd63b8f9
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- radiator (0.2.3rc1)
4
+ radiator (0.2.3rc2)
5
5
  bitcoin-ruby (= 0.0.10)
6
6
  ffi (= 1.9.18)
7
7
  hashie (~> 3.5, >= 3.5.5)
data/README.md CHANGED
@@ -194,8 +194,8 @@ Example of the output:
194
194
  Transactions are supported:
195
195
 
196
196
  ```ruby
197
- stream.transactions do |tx|
198
- puts tx.to_json
197
+ stream.transactions do |tx, trx_id|
198
+ puts "[#{trx_id}] #{tx.to_json}"
199
199
  end
200
200
  ```
201
201
 
@@ -234,8 +234,8 @@ Example of the output:
234
234
  Even whole blocks:
235
235
 
236
236
  ```ruby
237
- stream.blocks do |bk|
238
- puts bk.to_json
237
+ stream.blocks do |bk, num|
238
+ puts "[#{num}] #{bk.to_json}"
239
239
  end
240
240
  ```
241
241
 
@@ -6,7 +6,7 @@ module Radiator
6
6
  def initialize(value)
7
7
  super(:amount, value)
8
8
 
9
- @amount, @asset = @value.strip.split(' ')
9
+ @amount, @asset = value.strip.split(' ')
10
10
  @precision = case @asset
11
11
  when 'STEEM' then 3
12
12
  when 'VESTS' then 6
@@ -1,3 +1,3 @@
1
1
  module Radiator
2
- VERSION = '0.2.3rc1'
2
+ VERSION = '0.2.3rc2'
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.3rc1
4
+ version: 0.2.3rc2
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-06-29 00:00:00.000000000 Z
11
+ date: 2017-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler