nano_rpc 0.12.0 → 0.13.0

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: 06caeedce48a1cc0e468ca6f0cc98be0f452759601dfb75d4c706da2685a13d3
4
- data.tar.gz: 1293ed07fb6fa65c46d775c950c3c411e8c7d656ba8d8258d179ce69a06a8824
3
+ metadata.gz: 577ee5ef54630ae1dbcb7bb7b1d37257dbf9f57be63a2ef42995fcb07db7a254
4
+ data.tar.gz: 1d1bb1e816d3ab049a9a61bef87dffda1507a4ad15eb8f9e567bf6258a121428
5
5
  SHA512:
6
- metadata.gz: a5f1ed287ecf01ecade72a3f111dcc68c1e4ce03826632286c675d3621c566199265b07cdb209c9abf9bdc033c45a294524b9fe7e3487015972f31ea50d63f27
7
- data.tar.gz: 8556558303db38de3e60f4d8f58297c8f80050039f80ad147daa2b64f02c4339cf25d0278a5014d274541fc51e14373e70da13aba50d024095605e8149de0304
6
+ metadata.gz: 5d664a284d29fc69474d22b52637cbecf1d32308cfd15469f80ff772f5516121613395cd6b223df489ba5faf23fc0dc122127c664ba56d6fdcd3881e92d2daba
7
+ data.tar.gz: e7374e0985cf7deb27c8d305a9a29ab2f8239b9d96739f5578f05549d940fb394cf5ddbe0480667c4afb7ae7070c4122c33edabbdfeae8b0a6fb3b2c41d76559
data/README.md CHANGED
@@ -10,6 +10,8 @@ Nano RPC is a Ruby wrapper for making Remote Procedure Calls against Nano digita
10
10
 
11
11
  To run a Nano node locally, see [Nano Docker Docs](https://github.com/clemahieu/raiblocks/wiki/Docker-node).
12
12
 
13
+ **This gem is compliant with Nano release v14.1.**
14
+
13
15
  ## Installation
14
16
 
15
17
  Add this line to your application's Gemfile:
data/lib/nano_rpc/node.rb CHANGED
@@ -87,7 +87,9 @@ module NanoRpc
87
87
  proxy_method :version
88
88
  proxy_method :wallet_create
89
89
  proxy_method :work_cancel, required: %i[hash]
90
- proxy_method :work_generate, required: %i[hash]
90
+ proxy_method :work_generate,
91
+ required: %i[hash],
92
+ optional: %i[use_peers]
91
93
  proxy_method :work_peer_add, required: %i[address port]
92
94
  proxy_method :work_peers
93
95
  proxy_method :work_peers_clear
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module NanoRpc
3
- VERSION = '0.12.0'
3
+ VERSION = '0.13.0'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nano_rpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Craig-Kuhn (JCK)
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-06 00:00:00.000000000 Z
11
+ date: 2018-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler