neh 0.0.15 → 0.0.16

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: f0fcd7a31e9cd33e09713b00d1f7cc0b4f50c2cf8318e6030133d27959ecc742
4
- data.tar.gz: d85ae50d14de761edfb5d7b00ec7a99a1b82a04ef8cecc5d394fd80956cda89d
3
+ metadata.gz: dfe0d65e3408f013ff78b8fd68f4681631e603145afa2ba459d00f29295fb0b3
4
+ data.tar.gz: a866fbb1d874bd0be0e9ef608674bc45a0f57ef13242a45b0715919871838ca0
5
5
  SHA512:
6
- metadata.gz: 14190faccda79ce77123c39b8e658b5829e9f6aacef8395f8429a5cdf6a67a899387c0ae5957d152f8e64aef3832e52014b41e192f41de919b26851d0e431eb5
7
- data.tar.gz: b7a9d0a744422f6c6b2fde1a2bfce49dcce667b967d3fd2962d60d2cc51a19b7d3ddbf5c4194c533fe6ff59a58ca9499ec1118b42026db37298efe8ed890253c
6
+ metadata.gz: 825a107e9afe80f70e6c0736392b29c3ae604062552a1ce93a8cf2dec9c44eaa4661084efb89029f8817a8d48455a1815d3930d1c2664e81b8695b701966cd36
7
+ data.tar.gz: 27e0f1c9215e4e0e52edc15011843cb7840bf59fdc08952ffcee42180a42298e11a3ee0de0a3c6e1999d35e7b7ea64d865d45919af9a8107c6f49893eb26e476
data/lib/neh/cli/base.rb CHANGED
@@ -25,14 +25,12 @@ class Neh::Cli::Base
25
25
  end
26
26
 
27
27
  def execute
28
- Async do |_task|
29
- Async::WebSocket::Client.connect(@endpoint, headers: { 'Authorization' => "Bearer #{token}" }) do |connection|
30
- while (message = connection.read)
31
- parsed_message =
32
- JSON.parse(message, symbolize_names: true)
33
-
34
- on_receive(connection, parsed_message)
35
- end
28
+ Async::WebSocket::Client.connect(@endpoint, headers: { 'Authorization' => "Bearer #{token}" }) do |connection|
29
+ while (message = connection.read)
30
+ parsed_message =
31
+ JSON.parse(message, symbolize_names: true)
32
+
33
+ on_receive(connection, parsed_message)
36
34
  end
37
35
  end
38
36
  end
data/lib/neh/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Neh
4
- VERSION = "0.0.15"
4
+ VERSION = "0.0.16"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Atsushi Ishida