scale_rb 0.4.0 → 0.4.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
  SHA256:
3
- metadata.gz: 51cde569bc10814d0163c4b972c1d926a5ef69a044d02e88085db5bfdd9119a0
4
- data.tar.gz: 694a2356b2626d1491c2dbb5cca8207179e614a88579c99bbd43a312c2435f9d
3
+ metadata.gz: 15825760ac8babb0cfa263f8cdaf72c8cdad02cc24c5c7816d1ff6febf6db8de
4
+ data.tar.gz: a93953348decaf1fb7f220a9e0929e84e7ba4ee3ae7c53562c2064cea6a4d892
5
5
  SHA512:
6
- metadata.gz: cbe20c371a268df323e64fcd9b142a8d04b87dc00e7079e1fd5e0979cbd4311de10b20687928200c427c407d839ce6ba0c804d5e08c72001a05d16b25b6faee8
7
- data.tar.gz: 7e36ec4ef1d6e0b5584464498836fa5f19f4f7d194856c15bd25165bc6dd7f9f01e97cf0c736bc734806be83a26cc70b1fcb3b5986f95ba8fde0361dc76227b5
6
+ metadata.gz: 6abb7a322f18aa546886081a03775824b02a988389572ab58c4ecbf58fa130c1391fb46d5ef8355e61752d0add3690085758f9b7a2e27ab4080ba57630eb5406
7
+ data.tar.gz: '0377164249cb083560b6f8b5eb70f510413b4c620d7a51675da23d23cb4038c33e8e54040135b4a70ff9faeba0b1afba001408172e46cbc19f72c636e3a6a256'
data/README.md CHANGED
@@ -7,7 +7,7 @@ It is still under heavy development. Use the latest version.
7
7
  Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
- gem 'scale_rb', '~> 0.3.5'
10
+ gem 'scale_rb', '~> 0.4.0'
11
11
  ```
12
12
 
13
13
  And then execute:
@@ -135,10 +135,10 @@ module ScaleRb
135
135
  private
136
136
 
137
137
  def request(method, params = [])
138
- response_future = Async::Notification.new
138
+ response_future = Async::Variable.new
139
139
 
140
140
  @response_handler.register(@request_id, proc { |response|
141
- response_future.signal(response[:result])
141
+ response_future.resolve(response[:result])
142
142
  })
143
143
 
144
144
  request = { jsonrpc: '2.0', id: @request_id, method: method, params: params }
@@ -1,3 +1,3 @@
1
1
  module ScaleRb
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scale_rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aki Wu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-04 00:00:00.000000000 Z
11
+ date: 2024-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base58